From peter@grenna.net Sun Oct 1 00:23:12 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 1 Oct 2000 00:23:12 +0100 Subject: [Zope] Hexcolors and DTML Message-ID: <001b01c02b35$67513450$01d4a8c0@peppe> This might be a math-python question but... All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 I can do a loop from 1 to 255, but I don't know where to go from there. BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? From zope@philosoft.at Sun Oct 1 02:52:40 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sun, 01 Oct 2000 03:52:40 +0200 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? Message-ID: <200010010352400046.182B82FD@192.7.2.223> --=====_97036516041=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Since XML blows lots of overhead over the line sending large amounts of data via XML becomes a performance question. There exist XML-compressors, for example XMill that address this problem. What I need is integrating such an XML compressor into the Zope XMLRPC= mechanism, Before I do something that is already done by somebody else: Did anybody play with XML compressors for Zope or at least have a hint how= to do that? thanks --=====_97036516041=_ Content-Type: text/html; charset="us-ascii"
Since XML blows lots of overhead over the line sending large amounts of
data via XML becomes a performance question.
 
There exist XML-compressors, for example XMill that address this problem.
 
What I need is integrating such an XML compressor into the Zope XMLRPC mechanism,
Before I do something that is already done by somebody else:
 
Did anybody play with XML compressors for Zope or at least have a hint how to do that?
 
thanks
--=====_97036516041=_-- From chrism@digicool.com Sun Oct 1 03:47:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 30 Sep 2000 22:47:17 -0400 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? References: <200010010352400046.182B82FD@192.7.2.223> Message-ID: <39D6A5B5.D77B08CE@digicool.com> Phillip, If your data transfers are bounded between a number of systems that you control, it's possible to solve this problem the sledgehammer way by having them communicate via a channel such as a compressed ssh tunnel (if your processors aren't a bottleneck). -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From twcook@iswt.com Sun Oct 1 03:59:40 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 30 Sep 2000 21:59:40 -0500 Subject: [Zope] Hexcolors and DTML References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <39D6A89C.EA2B0341@iswt.com> Peter Bengtsson wrote: > > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > > BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? Not an expert on this at all. But, I believe that all the websafe colors are defined in pairs of the following hex digits. 00, 33, 66, 99, cc, & ff. So only colors that are composed of those pairs are websafe. If that's true then yes there are shades of gray that are not web safe. Checkout this link for more info. http://www.reallybig.com/visibone/lab/index.shtml Therefore there are only six shades of websafe gray. 000000, 333333, 666666, 999999, cccccc, & ffffff. Put those in a list? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From wilson@visi.com Sun Oct 1 05:32:48 2000 From: wilson@visi.com (Timothy Wilson) Date: Sat, 30 Sep 2000 23:32:48 -0500 (CDT) Subject: [Zope] handling date properties in Message-ID: Hi everyone, I've created a simple ZClass to allow our Human Resources dept. to post job openings on our Web site. There's a DTML method that iterates through a folder containing all of the 'Job Board Entry' instances and displays them in an HTML table. No problem there. The ZClass has a number of properties including two dates, 'date_posted' for the date that the job is officially available and 'offer_expires' for the date the job opening officially closes. I want to display only those jobs for which the current date is on or after the 'date_posted' and on or before 'offer_expires'. I've tried a bunch of things, but haven't hit upon the winning answer. Any takers? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From nolan_d@bigfoot.com Sun Oct 1 07:26:15 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Sun, 01 Oct 2000 01:26:15 -0500 Subject: [Zope] Z class complexities Message-ID: <20001001012615P.nolan@tiny> I'm having a kinda complex problem, and hopefully my explanation can do it justice. :) I'm using zope to construct an XML document from the contents of a folder. Basically, the folder's index.xml iterates through the folder's contents, rendering each object to produce the final document. The objects are separate z classes which combine various properties into a small snippet of the larger XML document. The z class has a render() method which combines the properties into the XML snippet. I have a Render view configured to run this method, and it works. (Though for some reason it adds a ..., which I'd really like to get rid of. How can I?) I've written the index_html to collect the individual objects and concatenate their contents into an XML document. The code for the method is below: This almost gives me what I want (I say "almost" because everything works, short of the render() call.) Viewing this results in: +----------------------------------------------------------------------------+ ||Zope Error | || | ||Zope has encountered an error while publishing this resource. | || | ||Error Type: KeyError | ||Error Value: title | ||---------------------------------------------------------------------------| || | ||Troubleshooting Suggestions | || | || o This resource may be trying to reference a nonexistent object or | || variable title. | || o The URL may be incorrect. | || o The parameters passed to this resource may be incorrect. | || o A resource that this resource relies on may be encountering an error. | || | ||For more detailed information about the error, please refer to the HTML | ||source for this page. | || | ||If the error persists please contact the site maintainer. Thank you for | ||your patience. | +----------------------------------------------------------------------------+ Traceback (innermost last): File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/e1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/e1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index.xml) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index.xml) File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: PARENTS[0].objectValues('ESPPackage')) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[_['id']].render()) (Info: _) File <string>, line 0, in ? File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: render) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: render) KeyError: (see above) --> I have a title variable in the z class which this index.xml method is referencing. And, as previously stated, the render() method runs without errors when invoked via the view. Yet, trying to display this document from within another doesn't work. Can anyone please advise? Thanks a bunch in advance. From stefan@epy.co.at Sun Oct 1 09:38:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Sun, 1 Oct 2000 10:38:17 +0200 (CEST) Subject: [Zope] DTMLTemplate on Zope 2.2.1 Message-ID: I a trying to make the DTMLTemplate Product work on Zope 2.2.1 No luck so far ;( I can add a DTMLTemplate instance but when I try to edit it, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: first argument must be sequence of strings Traceback (innermost last): File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: MyBlocks) File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 271, in recordMetaData TypeError: (see above) I believe it worked with Zope 2.1.6. Any hints appreciated. Stefan -- Stefan H. Holek, stefan@epy.co.at From rsepulveda@linuxmty.org Sun Oct 1 09:39:07 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 03:39:07 -0500 Subject: [Zope] Use variable value by other file In-Reply-To: Dieter Maurer's message of "Sat, 30 Sep 2000 22:10:17 +0200 (CEST)" References: <14806.18483.33225.450699@lindm.dm> Message-ID: <87og15x8es.fsf@linuxmty.org> Dieter Maurer writes: > It is not necessary for "standard_html_footer" to be > in the same folder than your file. Yes, I realize that it was a mistake in the variable name: - instead of a _. -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From rsepulveda@linuxmty.org Sun Oct 1 11:06:41 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 05:06:41 -0500 Subject: [Zope] One page for different selections Message-ID: <87k8bsyixa.fsf@linuxmty.org> Is there a way to make a variable change its value depending which 'href' the user clicks in order to change the contents of the next page viewed? For example, I want to have a page with six links, and depending which of them the user clicks, a variable will change its value so the next page will display that data refered on the link clicked. Is there a way to do this without having six files, one for each other; just having one file with that variable? -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From sebbacon@email.com Sun Oct 1 13:42:25 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:42:25 +0100 Subject: [Zope] One page for different selections References: <87k8bsyixa.fsf@linuxmty.org> Message-ID: <39D73131.60633ECD@email.com> I'm not sure exactly what you mean when you say > Is there a way to do this without having six files, one for each > other; just having one file with that variable? but one answer to what I think you're asking is Foo Bar and then in the next_page document: this will render the foo object if someone clicks on "Foo", etc. HTH, seb. "Rafael Sepúlveda" wrote: > > Is there a way to make a variable change its value depending which > 'href' the user clicks in order to change the contents of the next > page viewed? > > For example, I want to have a page with six links, and depending which > of them the user clicks, a variable will change its value so the next > page will display that data refered on the link clicked. > From sebbacon@email.com Sun Oct 1 13:48:50 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:48:50 +0100 Subject: [Zope] handling date properties in References: Message-ID: <39D732B2.FD73DA33@email.com> Hi, > ... I want to display only those jobs > for which the current date is on or after the 'date_posted' and on or > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > the winning answer. Any takers? Try Job:
Seb. From mail@okstudio.com.au Sun Oct 1 16:58:18 2000 From: mail@okstudio.com.au (George Osvald) Date: Mon, 2 Oct 2000 01:58:18 +1000 Subject: [Zope] working crontab restart script on FreeBsd Message-ID: <000001c02bc0$6a977580$48f438cb@gosvald> I was trying to do this for a little while so in case anyone's interested, here it is. Most of the code was kindly sent to me by other people so do not blame me for the mistakes. This script(auto) checks ZOPE every 15'th minute and if it does not run, it will restart it. It has been working without a problem on FreeBSD 4.0 after I patched ZOPE's pidfile for LF's. (without that little operation it returns an error message and restarts ZOPE every time without checking it) I am running this from crontab: SHELL=/bin/sh 0,15,30,45 * * * * /home/user/auto And this script(auto) is sitting in my user directory: #!/bin/sh ZOPEDIR="/home/user/zope" INFOMAIL="mail@okstudio.com.au" STARTFILE="$ZOPEDIR/start" STOPFILE="$ZOPEDIR/stop" PIDFILE="$ZOPEDIR/var/Z2.pid" PID1ACTIVE=0 PID2ACTIVE=0 if [ -x $STARTFILE ]; then if [ -r $PIDFILE ]; then PID1=`cut -d" " -f1 $PIDFILE` PID2=`cut -d" " -f2 $PIDFILE` if kill -0 $PID1 2>/dev/null then PID1ACTIVE=1 fi if kill -0 $PID2 2>/dev/null then PID2ACTIVE=1 fi fi if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then $STOPFILE >/dev/null 2>&1 sleep 10 $STARTFILE date | mail -s"Zope restarted" $INFOMAIL >/dev/null 2>&1 fi fi Regards, George From roeder@berg.net Sun Oct 1 16:41:26 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 17:41:26 +0200 Subject: [Zope] handling date properties in References: <39D732B2.FD73DA33@email.com> Message-ID: <39D75B26.2646394B@berg.net> Hi ! seb wrote: > > Hi, > > > ... I want to display only those jobs > > for which the current date is on or after the 'date_posted' and on or > > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > > the winning answer. Any takers? > > Try > > > > > Job:
>
>
>
I have added it to he ZSnippets: http://zdp.zope.org/projects/zsnippet/snippets/time/expiration Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From roeder@berg.net Sun Oct 1 17:02:18 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 18:02:18 +0200 Subject: [Zope] Z class complexities References: <20001001012615P.nolan@tiny> Message-ID: <39D7600A.565060D4@berg.net> Hi Nolan ! Nolan Darilek wrote: > > I'm having a kinda complex problem, and hopefully my explanation can > do it justice. :) > > I'm using zope to construct an XML document from the contents of a > folder. Basically, the folder's index.xml iterates through the > folder's contents, rendering each object to produce the final > document. The objects are separate z classes which combine various > properties into a small snippet of the larger XML document. > > The z class has a render() method which combines the properties into > the XML snippet. I have a Render view configured to run this method, > and it works. (Though for some reason it adds a ..., which > I'd really like to get rid of. How can I?) Attach the following code: > I've written the index_html to collect the individual objects and > concatenate their contents into an XML document. > > > > > > > > Something like this should work if you have a DTML Method to_xml: Place the to_xml in the ESPPackage ZClass Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From andym@ActiveState.com Sun Oct 1 20:54:18 2000 From: andym@ActiveState.com (Andy McKay) Date: Sun, 1 Oct 2000 12:54:18 -0700 Subject: [Zope] SQL errors References: <14805.3989.417931.96225@lindm.dm> Message-ID: <005c01c02be1$62bb9370$ae03a8c0@fork> Of course, thank you. That works just fine. ----- Original Message ----- From: "Dieter Maurer" To: "Andy McKay" Cc: Sent: Friday, September 29, 2000 2:55 PM Subject: Re: [Zope] SQL errors > Andy McKay writes: > > Using ZODBC Database Adapter to connect to an MSSQL and I can call the sql > > method in dtml eg: > > > > > > > > > > Error! > > > > > > But does anyone know a way of trapping the specific error eg: database down, > > key violation etc...? Or do I have to hack ZODBC to return different errors? > You know the "error_value" variable defined inside the "dtml-except"? > > Maybe, it can give you additional information about the kind > of error. > If it is the wrong one, reraise the exception. > > > Dieter > > _______________________________________________ > 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 ) > From jensebaer@hotmail.com Sun Oct 1 22:09:36 2000 From: jensebaer@hotmail.com (jensebaer) Date: Sun, 1 Oct 2000 23:09:36 +0200 Subject: [Zope] LocalFS manage_addFolder solution? Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, while searching for a solution to add a folder to LocalFS, I found this = message: _________________________________________________________________________= _____ > Folder creation isn't really supported in LocalFS at the moment. Very = > low level support is there (module function _save_Folder) but it's not = > intended to be called externally and there doesn't seem to be any path = > to call it. There is certainly not a local definition of > manage_addFolder in LocalDirectory. This is on my list of stuff to do = > for our site, but I don't know if it's on Jonothan's list for the real > product. It is. It's hard. I'm going to need some help with this one, I'm afraid. --jfarr _________________________________________________________________________= _____ My question: Is there now a solution to perfom manage_addFolder to LocalFS? Thank You=20 Jens ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
while searching for a solution to add a = folder to=20 LocalFS, I found this message:
________________________________________________________________= ______________
> Folder creation isn't really = supported in=20 LocalFS at the moment.  Very
> low level support is there = (module=20 function _save_Folder) but it's not
> intended to be called = externally=20 and there doesn't seem to be any path
> to call it.  There = is=20 certainly not a local definition of
> manage_addFolder in=20 LocalDirectory.  This is on my list of stuff to do
> for our = site,=20 but I don't know if it's on Jonothan's list for the real
>=20 product.

It is. It's hard. I'm going to need some help with this = one, I'm=20 afraid.

--jfarr

________________________________________________________________= ______________
 
 
My question:
 
Is there now a solution to perfom = manage_addFolder=20 to LocalFS?
 
Thank You
 
Jens
------=_NextPart_000_0005_01C02BFC.AAFAF3E0-- From scott@launchpoint.net Sun Oct 1 22:13:59 2000 From: scott@launchpoint.net (Scott Burton) Date: Sun, 01 Oct 2000 14:13:59 -0700 Subject: [Zope] sendmail tag strangeness Message-ID: > 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. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I have searched around about sendmail tag problems on the list and have found similar answers to my question. However none of them work. I have used this syntax To: <> From: Subject: body.... I pay close attention to not having any whitespace before the To: and From: headers. I receive this error from multiple SMTP hosts: 503 must have sender and recipient first I can send an email with this syntax: body... The problem is, I have to put in the recipient by hand. This method is supposed to email a recipient after filling out a form so the recipient has to be a variable. When I try using or &dtml-recipient; or _[recipient] I still have errors or the SMTP log shows that the variable does not get evaluated and shows up as a string of <&dtml-recipient;> as being the recipient in the SMTP header. Is this a bug? Is there something else I could try? TIA Scott B. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable sendmail tag strangeness I have searched around about sendmail tag problems on the list and have fou= nd similar answers to my question. However none of them work.

I have used this syntax
<dtml-sendmail mailhost=3D"MailHost">
To: <<dtml-var recipient>>
From: <me@mydomain.com>
Subject: <Whatever>

body....

</dtml-sendmail>

I pay close attention to not having any whitespace before the To: and From:= headers.

I receive this error from multiple SMTP hosts: 503 must have sender and recipient first


I can send an email with this syntax:

<dtml-sendmail mailhost=3D"MailHost" mailto=3D"you@yourdomain= .com" mailfrom=3D"me@mydomain.com">

body...

</dtml-sendmail>

The problem is, I have to put in the recipient by hand. This method is supp= osed to email a recipient after filling out a form so the recipient has to b= e a variable. When I try using <dtml-var recipient> or &dtml-recip= ient; or _[recipient] I still have errors or the SMTP log shows that the var= iable does not get evaluated and shows up as a string of <&dtml-recip= ient;> as being the recipient in the SMTP header.

Is this a bug? Is there something else I could try?

TIA

Scott B.
--MS_Mac_OE_3053254440_367021_MIME_Part-- From roeder@berg.net Sun Oct 1 23:02:01 2000 From: roeder@berg.net (Maik Roeder) Date: Mon, 02 Oct 2000 00:02:01 +0200 Subject: [Zope] sendmail tag strangeness References: Message-ID: <39D7B459.2C3D96BD@berg.net> Hi Scott ! Scott Burton wrote: > The problem is, I have to put in the recipient by hand. This method is > supposed to email a recipient after filling out a form so the recipient > has to be a variable. When I try using or &dtml-recipient; > or _[recipient] I still have errors or the SMTP log shows that the variable > does not get evaluated and shows up as a string of <&dtml-recipient;> > as being the recipient in the SMTP header. > > Is this a bug? Is there something else I could try? I have tested the following code on the ZDP site, and it works: To: <> From: The CommentClass constructor Subject: A new Comment has been added to ZDP ! Dear Tom ! Under the following URL, a Comment has been added: URL: / Name: Nickname: Content: Have a nice day, The CommentClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/CommentClass_add/manage_main) Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 Process ID: 1478 (1024) Running for: 34 days 4 hours 6 min 32 sec Maybe you can test the above code and see if it works. It may be possible to track down the bug by comparing the code from 2.1.3 with the code from your Zope version. Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From curtis@cardgate.net Mon Oct 2 00:27:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 10:27:56 +1100 Subject: [Zope] Hexcolors and DTML In-Reply-To: <001b01c02b35$67513450$01d4a8c0@peppe> References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <00100210275606.02655@localhost.localdomain> On Sun, 01 Oct 2000, Peter Bengtsson wrote: > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for > a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > ">BLAH
> BTW, are there non-websafe greycolors? Can the loop be for only websafe > ones? > According to a recent study, there are approximately 13 'web safe' colours, out of the full 16,777,216. Can you be bothered restricting yourself to support the 'lowest common denominator' ? If you really want to know what they are, do a quick search back on www.slashdot.org for the link. Have a better one, Curtis Maloney From jatwood@bwanazulia.com Mon Oct 2 00:52:14 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 1 Oct 2000 19:52:14 -0400 Subject: [Zope] ANN: ZUBB/ZDiscussions 0.6.0 Released In-Reply-To: <005c01c02be1$62bb9370$ae03a8c0@fork> References: <14805.3989.417931.96225@lindm.dm> <005c01c02be1$62bb9370$ae03a8c0@fork> Message-ID: http://www.zope.com/Members/BwanaZulia/ZUBB With the help of Jeffrey and Angel here is 0.6.0 Changes in Version 0.6.0 Fixed the problem (again) with 2.2.2 (submitted by Angel Garcia) Added message count to the main view (submitted by Jeffrey Harris) Added last post to main view (submitted by Jeffrey Harris) Modified thread view so it will show entire thread (Submitted by Jeffrey Harris) Modified both README and header of ZDiscussions.py Upgraded status to STABLE from DEVELOPMENT as it has now been in production on five of my sites with no problems. Example Sites: http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES Report bugs and such to: http://www.bwanazulia.com/discussions/test/ If you have a ZUBB/ZDiscussion installation and would like to be added to the list please let me know. Thanks, J From jens@grewen.de Mon Oct 2 02:48:16 2000 From: jens@grewen.de (Grewen.de) Date: Mon, 2 Oct 2000 03:48:16 +0200 Subject: [Zope] How to use manage_addLocalFS Message-ID: <000801c02c12$d597c220$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I want to create an LocalFS object. I use but that doesn=B4t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I want to create an LocalFS = object.
 
I use <dtml-call = "manage_addLocalFS('LocalFS',=20 'Tis is the title', '/home/zope/productimages')"> but that doesn=B4t=20 work.
 
Simular to <dtml-call=20 "manage_addFolder('Folder', 'Tis is the title')">
 
Any ideas?
 
May I have to use a externel methode = like in the=20 mail I posted before?
 
 
------=_NextPart_000_0005_01C02C23.988B08E0-- From wilson@visi.com Mon Oct 2 04:19:19 2000 From: wilson@visi.com (Timothy Wilson) Date: Sun, 1 Oct 2000 22:19:19 -0500 (CDT) Subject: [Zope] Allright, who broke acquisition? Message-ID: Hi everyone, I'm running Zope 2.2.2 on Linux. All of the sudden I've got some DTML methods that are no longer being acquired in subfolders. I changed the HTML a bit and the whole thing stopped working! I've got some little navigation menus that I'd like to reuse in subfolders by simply referring to them via and having them acquired from the parent folder. Anybody know when this is happening? Here's a sample of the code and the traceback:
Quick Links
Site map
District Information
Site feedback
E-Mail System
About our site
Web-devel Page
Any ideas? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From curtis@cardgate.net Mon Oct 2 05:50:02 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 15:50:02 +1100 Subject: [Zope] Limited file size editing... Message-ID: <00100215500209.02655@localhost.localdomain> Just curious... I've seen several times on this list people pointing out that the limit on the size of files you can edit in Zope via the web interface is a result of your browser. The sizes I recall were somewhere in the vacinity of 64K. I currently have a 470K file open for editing in Netscape 4.75 (under Linux). What are the limits on various browsers? Ignore me if you think this is too far off topic.... Curtis. From lda@rice.edu Mon Oct 2 06:38:25 2000 From: lda@rice.edu (Larry Albert) Date: Mon, 02 Oct 2000 00:38:25 -0500 Subject: [Zope] ZopeTime().Date() confusion Message-ID: <0G1S00DR7FMEX0@mta4.rcsntx.swbell.net> This is driving me batty. I am trying to do something very simple. I want a method to perform an update no more than once a day. I know there are other approaches to this issue -- such as using bobobase_modification_time, not to mention Xron -- but I would like to use a date property for reasons I won't go into here. I am using Zope 2.2.1. Every time the method updates, I update the date property called last_updated with this: This gives me a date that appears to be accurate, such as 2000/10/01. Then, every time the page gets called, I want to check to see if it is time to call the method, so I use: don't update method update method store new last_updated This worked fine until, at the appointed hour, last_updated began to sense that even though it appeared to be "2000/10/01" (and even when I typed it in that way by hand), the time in Greenwich was actually more important to its sense of identity than was its appearance to me. So even when ZopeTime().Date() gave me 2000/10/01, last_updated.isCurrentDay() would evaluate to false(!). So the method would update every time the page was called. As a kluge, I changed my update command to , which works, but causes the update to occur, I presume, at midnight GMT, rather than midnight here, which would be nicer (actually, I'd love to be able to control the precise hour updates should occur, but I can't figure out how to do that). This is also complicated -- but not relevantly, I hope? -- by the fact that the Zope installation seems to think the time zone is GMT+2 rather than GMT-5 (I'm in Texas). I understand that the previously counterintuitive use of strftime was changed for 2.2.1 -- but I am not using strftime, I am using Date() and isCurrentDay(). I've tried all sorts of combinations of switching time zones but succeeded only in confusing myself. So three questions: 1. Is there a better way to do this (still using a property called last_updated)? 2. Does the use of Date() and isCurrentDay(), etc. still switch everything to GMT, even though strftime was changed? If so, what is the list of methods that compare GMT, and which that compare the local installation time? 3. This appears to be a perfect example of something that should be very simple becoming needlessly complicated. Couldn't some more user-friendly ("beginner") time or date objects be implemented in DTML? Thanks for any help! Larry Albert lda@rice.edu From rbickers@logicetc.com Mon Oct 2 07:05:00 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 02:05:00 -0400 Subject: [Zope] How to use management tabs not for management Message-ID: I want to create create HTML pages with my own Zopish looking tabs that have nothing to do with Zope management. Is there a simple way to use manage_tabs for this, or do I need to make my own version of it? Everything I've tried gets me caught up in the Zope management system. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From Danny@Adair.net Mon Oct 2 14:57:53 2000 From: Danny@Adair.net (Danny William Adair) Date: Mon, 2 Oct 2000 15:57:53 +0200 Subject: [Zope] Access problems Message-ID: What has happened? Whatever resource I'm trying to access (including the management IF), I get this (running a 2.2.1 Zope on Unix) --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) TIA, Prost, Danny From jatwood@bwanazulia.com Mon Oct 2 15:00:03 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 10:00:03 -0400 Subject: [Zope] Zope bug collector on zope.org available? Message-ID: http://classic.zope.org:8080/Collector/ Does anyone know what product this is and if it is available for download? I am looking for something that is similar to BugZilla. Ethan? Paul? Anyone? Thanks, J From skip@mojam.com (Skip Montanaro) Mon Oct 2 15:52:32 2000 From: skip@mojam.com (Skip Montanaro) (Skip Montanaro) Date: Mon, 2 Oct 2000 09:52:32 -0500 (CDT) Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? In-Reply-To: <532696846@toto.iv> Message-ID: <14808.41264.48003.973440@beluga.mojam.com> Philipp> Did anybody play with XML compressors for Zope or at least have Philipp> a hint how to do that? I use a slightly modified version of Fredrik Lundh's xmlrpclib.py module that will often use zlib compression to compress responses. Running over a wide area network such as the Internet I've seen speedups of as much as 5-to-1. Instructions and my current version of xmlrpclib.py are available from my Python Bits page: http://www.musi-cal.com/~skip/python/ I believe it is a drop-in replacement for Zope's version, though note that my code has other mods as well (in particular, it specifies the encoding as Latin-1 for all requests and responses). You should compare it with the versions distributed with Zope or by PythonWare to decide what changes you want to incorporate in your own system. -- Skip Montanaro (skip@mojam.com) http://www.mojam.com/ http://www.musi-cal.com/ From brian@digicool.com Mon Oct 2 16:23:06 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 2 Oct 2000 11:23:06 -0400 Subject: [Zope] FYI: Python product tutorial updated In-Reply-To: <4036A094D96A9549A6D6CCD979F1F3630C2477@engin-mail2.ad.engin.umich.edu> Message-ID: > This tutorial looks great...it explained a lot of things to me > that I wasn't > able to put together before. > > But...on looking at it, a nagging thought keep recurring...this > is a really > quite long and complicated process for a Poll product. As much as I like > Zope and thing it is a great platform on which to develop web > applications, > I often wonder about the complexity and obscurity of some of the > procedures > that need to executed while making what are, on the face of it, > often quite > simple web objects or applications. Consequently I have honestly > had quite a > hard time convincing PHP-savvy colleagues that the path to Zope Zen is > something worth starting on. Does anyone else experience these nagging > doubtful thoughts occasionally ? I think yours is a valid criticism. Zope provides the infrastructure to do a lot of powerful and complex things, with the downside that (currently) as a developer a lot of the details are "in your face". One major goal I have for Zope going forward is to strive for "optional complexity" - not only for day-to-day use of Zope but also for component developers. I'd be very interested to hear any ideas you folks have on ways to help "make simple things simple" for development and to allow people to deal with complexity only as they begin to need it... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From dan@sol.control.com Mon Oct 2 17:08:15 2000 From: dan@sol.control.com (Dan L. Pierson) Date: 02 Oct 2000 11:08:15 -0500 Subject: [Zope] LocalFS manage_addFolder solution? In-Reply-To: "jensebaer"'s message of "Sun, 1 Oct 2000 23:09:36 +0200" References: Message-ID: "jensebaer" writes: > ______________________________________________________________________________ > > > Folder creation isn't really supported in LocalFS at the moment.  Very > > low level support is there (module function _save_Folder) but it's not > > intended to be called externally and there doesn't seem to be any path > > to call it.  There is certainly not a local definition of > > manage_addFolder in LocalDirectory.  This is on my list of stuff to do > > for our site, but I don't know if it's on Jonothan's list for the real > > product. > It is. It's hard. I'm going to need some help with this one, I'm afraid. > --jfarr > ______________________________________________________________________________ > > My question: > > Is there now a solution to perfom manage_addFolder to LocalFS? The general case _is_ hard, but special cases can be much easier. In an earlier message Jonothan recommended using external methods to add folders. We plan to take this approach for our use. For one thing it makes enforcing our site policies much easier than a general approach. From rbickers@logicetc.com Mon Oct 2 16:26:09 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 11:26:09 -0400 Subject: [Zope] How to use management tabs not for management In-Reply-To: <007601c02c63$1866ab20$01d4a8c0@peppe> Message-ID: I didn't mean to imply that I didn't want to use any DTML. If there's a way to set manage_options and call manage_tabs though DTML or a Python method, that would be ideal. I would like to avoid having to create my own modified manage_tabs for this purpose, but if that's what it takes, so be it. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com > -----Original Message----- > From: Peter Bengtsson [mailto:peter@grenna.net] > Sent: Monday, October 02, 2000 7:23 AM > To: Ron Bickers > Cc: zope@zope.org > Subject: Re: [Zope] How to use management tabs not for management > > > Viewing the HTML source of your Zope management and highlightning > the tabs HTML? There is no DTML there. > However, there are some images. src="/p_/ltab" and src="/p_/rtab" > Could that be it? > > > > > I want to create create HTML pages with my own Zopish looking > tabs that have > > nothing to do with Zope management. Is there a simple way to use > > manage_tabs for this, or do I need to make my own version of > it? Everything > > I've tried gets me caught up in the Zope management system. From roche@ybm.co.za Mon Oct 2 17:35:15 2000 From: roche@ybm.co.za (Roch'e Compaan) Date: Mon, 2 Oct 2000 18:35:15 +0200 Subject: [Zope] Mailhost TypeError Message-ID: <000f01c02c8e$be68c7d0$0102a8c0@roche.up-front.co.za> I'm recreated a mailhost in Zope 2.2.0. Whenever I want to send mail with sendmail tag I get a TypeError. This worked in Zope 2.1.x. This is the traceback: Traceback (innermost last): File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/2-2-0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/2-2-0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/Products/Etailer/OrderManager.py, line 136, in manage_editProperties (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/App/special_dtml.py, line 120, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/SendMailTag.py, line 188, in render (Object: MailHost) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/MailHost.py, line 220, in send (Object: MailHost) File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 465, in sendmail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 349, in mail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 118, in quoteaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 451, in parseaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 496, in getaddrlist File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 504, in getaddress File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 484, in gotonext TypeError: len() of unsized object --> The source for my DTML method: To: <> From: <> Subject: Test email from Hi, This is a test email from your online shop. If you have received this email, then you will also receive an email for each of the orders that are placed at your online store. From rroeber@unlserve.unl.edu Mon Oct 2 17:47:51 2000 From: rroeber@unlserve.unl.edu (Ronald L. Roeber) Date: Mon, 2 Oct 2000 11:47:51 -0500 Subject: [Zope] Zope Dies with FastCGI In-Reply-To: <00092909360005.17524@tokey.kedai.com.my> Message-ID: <000301c02c90$80dc2e00$9968fea9@rroeber.unl.edu> > > > > Two types of messages: > > > > First in its death throws: > > [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm > > with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 > > sec) > > > > And later when its all over: > > [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection > > refused > > > > : FastCGI: failed to connect to server "apache_server_path/htdocs/zope": > > > > connect() failed > > > > It will run fine for quite some time but then it dies. > > There are no other refereces to zope in the error logs. > > I am looking into possible network issues. > > I will likely try daemontools this weekend. > > > i've seen this problem only when there's a lot of connection;s > usually more > than 100 connections at any one time. to test this out, maybe > you can use > apache ab and step up until something breaks. I can't seem to break it... ab -n 1500 -c 300 I get the same errors as in my original posting but Zope doesn't die. I left it alone after these tests and it died about 25 minutes later with noone using it. (its behind a firewall) This weekend I installed daemontools and can keep it running or at least restart it. The problem is most definitely not with load. I probably has to do with the way I have (mis)configured it. But for the life of me I can't see what it would be. Another odd thing with this set up is that some page requests from Netscape 4.x clients are very slow for what they are doing. IE and the new Mozilla engine are lightening fast...same page. Doesn't matter what platform of Netscape(*nix, Windows,Mac). The EventFolder product is the most obvious case. It locks Netscape for minutes while IE and Moz browsers load the page just fine. I will try some other things. Thanks for the ideas. > > also, try setting fastcgiexternalserver with -appConnTimeout 0 > Did this, doesn't seem to make a difference... > tell us how it goes. > > Thanks for your help. > > > > Ron... > > > > > > _______________________________________________ > > > > _______________________________________________ > > 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 ) > > -- > > http://www.kedai.com.my/kk > http://www.kedai.com.my/eZine > > if you SMELLLLLLL ... what the Rock is cookin > From Jerry.Spicklemire@IFLYATA.COM Mon Oct 2 18:02:26 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 2 Oct 2000 12:02:26 -0500 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <977A39E65CFCD3119ABF00D0B741D84973386A@innt-73.ata.com> Hi Brian, Regarding: > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... One of the features the stands when a newbies starts poking around at Zope.org is the wealth of contributed modules. Most of these were created as an aid to development, sort of a "make the process of creating a complex thing into a simpler process" approach. However, it's kind of like all the goodies available for Linux, or Perl, or Python itself, and any number of other Open Source projects that have generated lot's of add-ons. The problem is that finding time to try them all to see which turn out to be useful is another kind of complexity in itself. It seems like the Zope community should be able to benefit by leveraging all the great stuff that's there. On the other hand, the sheer volume turns out to be a barrier. I keep coming back to the notion of building a subset of the most useful, solid, and well documented modules into a "core" Zope distribution, so that they are available as "add" options without lot's unzipping, restarting, etc. Beyond that, a painless way to upgrade versions of all things Zope would definitely encourage folks to keep up with security fixes, and other improvements. Think about Debian's and FreeBSD's update tools. In order to get to the "consulting ware" vision of a more productiive Zope, "out of the box", this is the kind of thinking that needs to be adopted. We know there are wonderful and astounding things that are possible if you aren't afraid to get your hands dirty reading source code, but most folks expect anything they need to do to be sitting there waiting behind a menu option! This sounds to me like a higher level of object creation, Martijn Faassen's Formulator comes to mind, that can be selected and integrated into an existing site that has graphic standards already defined, which is itself another high level object that could help. A Graphic Standards "Template" that can be applied in the form of a "wrapper", and can be adjusted trough a forms based interface with options for colors, type style, background images, etc. Thanks, Jerry S. From thaths@netscape.com Mon Oct 2 18:21:00 2000 From: thaths@netscape.com (Sudhakar Chandra) Date: Mon, 02 Oct 2000 10:21:00 -0700 Subject: [Zope] [Q] Generating a dynamic navigation bar... References: <39D4D460.C287D0DC@netscape.com> <39D5EA93.A6891A8B@berg.net> Message-ID: <39D8C3FC.BFE7AE74@netscape.com> Maik Roeder proclaimed: > Sudhakar Chandra wrote: > > Questions: > > 1. The problem with this DTML method is that all the DTML Documents and > > Folders are represented as a link in the nav bar. I want to build > > intelligence into this DTML method to make the tab / cell for the current > > document just textual (as opposed to a link). If I am calling this method > > from foo_html, I do not the "tab" for foo_html to be a link. How do I do > > this? I'm guessing some kind of #if. > > First you can store the your url: > > > > Then, when you call your method, you can test whether your > url is the current url > > > > The must be another way of doing this, but I can't remember. Does > someone else see how this could be done differently ? Thanks. It took a bit of hackage on my part because I was calling the subcategories DTML Method like so: As you can see, I'm in a different name space inside the DTML method. I put in the REQUEST.set in the main DTML Document instead of the DTML method and it worked like a charm. Only pain now is that all my DTML Documents now need to have the REQEST.set directive in them. Not a big deal. > > 2. Currently, the TD cells of the table vary in length based on the > > contents of the cell. I want all the TDs to be of equal length. I want to > > first count the number of DTML Documents and Folders and make each TD to be > > width 100/n % (where n is the number of Documents and Folders). Any ideas > > on how I can do math inside DTML methods? > You can set a REQUEST variable with the result of your computation: > This worked like a charm. Thanks! S. -- Lisa: It's full, Dad, that means you have to take out the trash. Bart: Yup, that's the rule. "He who tops it off, drops it off." Homer: Nuh-uh. "It isn't filled until it's spilled." Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From ckant@fazenda.gov.br Mon Oct 2 18:49:41 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Mon, 02 Oct 2000 14:49:41 -0300 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> Message-ID: <39D8CAB5.DC46529B@fazenda.gov.br> Maik Roeder wrote: > > > Clicking in the "submit" button, it gives me an error, telling that > > 'username' is not defined. So I included an hidden field with > > name="username" and value="", but I'm thinking this > > is not the better way to do that... > > To my knowledge, it's the only way to do it, and if it works, why bother ? And from the first link, there are a way to include such a hidden field when calling a link? That is the real question: how to substitute the 'someuser' using hidden fields? ManageUserProperties is an DTML method, and are differents calls, with differents usernames in the same page (if I put a hidden field it's value will be the same to all the calls to the DTML Method in question). I'm thinking that maintaining some "session attributes" in a cookie is another idea, and sustitute the direct call to the method to a call to a JavaScript, but I don't want to use the most complicated method... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html If you know the answer to a question, don't ask. -- Petersen Nesbit From shane@digicool.com Mon Oct 2 18:58:41 2000 From: shane@digicool.com (Shane Hathaway) Date: Mon, 02 Oct 2000 13:58:41 -0400 Subject: [Zope] Hotfix_2000-10-02 Message-ID: <39D8CCD1.A0F6087A@digicool.com> http://www.zope.org/Products/Zope/Hotfix_2000-10-02/Hotfix_2000-10-02.tar.gz This hotfix addresses an important security issue that affects Zope versions 2.2.0, 2.2.1, and 2.2.2. It is sometimes possible to access, through a URL only, objects protected by a role which the user has in some context, but not in the context of the accessed object. Currently, the validate() method of all known user folder implementations validates against the users' roles in the context of PARENTS[0]. PARENTS[0] refers to the acquisition context of the object being published. All security checks, however, should check an object's containment, not its acquisition context. validate(), therefore, needs to verify the user's roles in the context of the object being published. This hotfix forces that to occur by temporarily leaving the object at PARENTS[0] then removing it after validation has been performed. Unfortunately, this is not an ideal correction. In the near future all user folder validate() implementations need to perform security checks using the new Zope security policy subsystem. Until that is completed, this hotfix should close the security problem. While we know of no instances of this issue being used to exploit a site, we recommend that any Zope 2.2.x site that is accessible by untrusted clients have this hotfix product installed to mitigate the issue. The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. From sebbacon@email.com Mon Oct 2 19:17:17 2000 From: sebbacon@email.com (seb) Date: Mon, 02 Oct 2000 19:17:17 +0100 Subject: [Zope] FYI: Python product tutorial updated References: Message-ID: <39D8D12D.2E5DDA80@email.com> > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... I entirely agree with Jerry's points about the standard zope distribution. There are various architecture / grammar / security issues that need to be adressed in Zope. However, I believe a much higher priority should be given to a rationalised set of documentation, plus a core set of products and templates, to be included with the standard Zope distribution. It should be easier to upgrade or add modules; I read a suggestion somewhere that a product standard should be produced, to which all products must conform (package layout, etc). Here's my thoughts in more detail, FWIW: Who are the target users of zope? My personal take is: 1) application developers (in the unzoped world, java, php, perl hackers) 2) interface developers (html coders, designers) 3) content managers I've been using zope for about a month now, (and *thinking* about using it for more than a year!) and my thoughts on simplicity for these users are: 1) application developers Application developers should *expect* a steep initial learning curve. Even python took me a little while to get my head round, but it was worth it. PHP is only easy because it follows a paradigm that people have learned elsewhere. There's no point trying to shield application developers from the complexity of zope. But we need to hold their hand until they can do it by themselves. The _ONLY_ hurdle to my zope enlightenment is (surprise) the documentation. In particular, what consistently holds me back is the lack of api documentation. I'd like to see something like javadoc-style API descriptions. I know, it's open source, I could do it myself. I know, I'm covering old ground. But I can't state enough how immensely frustrating it is to spend 5 hours trying to work out how to do something that you *know* you could do in 5 minutes in PHP. I don't know much about the ZDP and I'm sure they're putting in a lot of effort, but my feeling is that it is _very_much_ in the best interests of DC to promote a decent set of references. Even something as simple as repackaging the ZQR and including it in the standard distribution would be a start. When I get some time I'd love to help with this. 2) dtml is too much like a programming language and I'm finding it a big effort to abstract the logic away from DTML sufficiently. Interface developers want "" rather than "...", etc, in their HTML. The mechanisms for doing this are already present in zope but the onus is too much on the application designer to come up with ways of doing this. I always end up doing application logic in DTML documents because it's easier (and _quicker_) than spending a while coming up with an abstract design and then coding it all in python and loading it as External methods and then having to debug it all. Efforts like ZPatterns and the PTK are the way forward here: toolkits and design patterns that make common tasks easier. A project to come up with patterns and toolkits for common template-building tasks would be valuable. It should also be easier for application developers to create custom DTML tags. There should be a simple way to package tags and install tags, and then a library could be started on zope.org. For example, a question recently posed on the mailing list was how to include the contents of another web page in your own document. The obvious answer is an External method - however, wouldn't it be neater to encapsulate this functionality in a tag? (i'm sure this debate has been worked through before...) > ... A Graphic Standards > "Template" that can be applied in the form of a "wrapper", > and can be adjusted trough a forms based interface with > options for colors, type style, background images, etc. > 3) I understand skinnable CMS interfaces are on their way. At the moment I have to re-code the whole management interface from the bottom up for each client, which is a real drag. I'm really looking forward to this feature. Seb From jfarr@real.com Mon Oct 2 19:23:11 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 2 Oct 2000 11:23:11 -0700 Subject: [Zope] How to use manage_addLocalFS References: <000801c02c12$d597c220$0300a8c0@windows> Message-ID: <037801c02c9d$d2716bb0$416917ac@poly> That should work. Can you post the traceback? --jfarr ----- Original Message ----- From: "Grewen.de" To: Sent: Sunday, October 01, 2000 6:48 PM Subject: [Zope] How to use manage_addLocalFS Hi all, I want to create an LocalFS object. I use but that doesn´t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? From luis.mateos@MatraNortel.com Mon Oct 2 19:56:43 2000 From: luis.mateos@MatraNortel.com (Mateos, Luis) Date: Mon, 2 Oct 2000 20:56:43 +0200 Subject: [Zope] Reusing images from properties menu Message-ID: <200010021905.VAA07115@jupiter.matranortel.com> Hello all! I'm trying to reuse property values to add images dynamically. In other words, when selecting values from a multiple selection in the properties menu, like English, French, Spanish..., will add the respective image flag into a search results page for example. At times, it could be more than one image... I tried to use "dtml-var image" as a value and it didn't work, then i tried using the "img src" tag and it work using a string but it didn't when using a multiple selection. Could somebody feed me on how to reuse images from the properties menu? Or whether there are some other better options to get the same job done?! Thanks in advance, Luis From darcyc@engin.umich.edu Mon Oct 2 20:51:51 2000 From: darcyc@engin.umich.edu (Darcy Clark) Date: Mon, 2 Oct 2000 15:51:51 -0400 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <4036A094D96A9549A6D6CCD979F1F3630C24CE@engin-mail2.ad.engin.umich.edu> Brian, thanks for the reply ... I am currently more hopeful and feeling a little better about the amount of time and effort that I have put into Zope; knowing that the Zope book is coming also helps a lot. As someone else on the list replied, the obscurity problem will be partially solved with the book and others that will hopefully follow. I am in particular looking forward to some case studies that show how to use *and* why you should use some of the more complex Zope functionality. After being immersed in Zope for so long (about a year), I decided it was time to take a survey of the other tools out there - after doing a quick survey, I came away still unimpressed with most of them. I still think Zope requires more conceptual understanding (Zen?) that the other tools, but I'm still convinced that these concepts, many of which I am still yet to fully understand, offer far deeper and more elegant solutions to web development problems than the majority of the other tools. It's going to be tricky to achieve "optional complexity" - but that is exactly the nature of Zope. There are several levels or layers of Zen - after reaching each layer new potential ways to solve problems become possible. For instance, I know enough DTML and SQL to implement most of the functionality that I need and I have been writing my own ZClasses also. But I don't yet fully grasp the full possibilities of the Catalog, and Python/External Methods and I have had no luck getting any of the alternative User/Membership systems to work for me. These latter concepts/tools constitute my next level of complexity. Anyway, that's just my 2 cents .... Darcy > -----Original Message----- > From: Brian Lloyd [mailto:brian@digicool.com] > Sent: Monday, October 02, 2000 11:23 AM > To: Darcy Clark; zope@zope.org > Subject: RE: [Zope] FYI: Python product tutorial updated > > > > This tutorial looks great...it explained a lot of things to me > > that I wasn't > > able to put together before. > > > > But...on looking at it, a nagging thought keep recurring...this > > is a really > > quite long and complicated process for a Poll product. As > much as I like > > Zope and thing it is a great platform on which to develop web > > applications, > > I often wonder about the complexity and obscurity of some of the > > procedures > > that need to executed while making what are, on the face of it, > > often quite > > simple web objects or applications. Consequently I have honestly > > had quite a > > hard time convincing PHP-savvy colleagues that the path to > Zope Zen is > > something worth starting on. Does anyone else experience > these nagging > > doubtful thoughts occasionally ? > > I think yours is a valid criticism. Zope provides the > infrastructure to do a lot of powerful and complex things, > with the downside that (currently) as a developer a lot of > the details are "in your face". One major goal I have for > Zope going forward is to strive for "optional complexity" - > not only for day-to-day use of Zope but also for component > developers. > > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.com > > > From dieter@handshake.de Mon Oct 2 21:39:04 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:39:04 +0200 (CEST) Subject: [Zope] ZopeTime().Date() confusion In-Reply-To: <70420886@toto.iv> Message-ID: <14808.61734.808117.717671@lindm.dm> Larry Albert writes: > .... > I am using Zope 2.2.1. Every time the method updates, I update the date > property called last_updated .... > .... checking last update at least 1 day ago .... "ZopeTime()" returns a "DateTime.DateTime" object. Such objects can be substracted giving the difference in days. This means, you can use: to set "last_updated" and = 1"> to check that the last update is at least 1 day ago. Dieter From dieter@handshake.de Mon Oct 2 21:32:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:32:52 +0200 (CEST) Subject: [Zope] sendmail tag strangeness In-Reply-To: <68800227@toto.iv> Message-ID: <14808.61477.749840.288959@lindm.dm> Scott Burton writes: > I have searched around about sendmail tag problems on the list and have > found similar answers to my question. However none of them work. > ... > > I pay close attention to not having any whitespace before the To: and From: > headers. > > I receive this error from multiple SMTP hosts: 503 must have sender and > recipient first Is it possible that you installed ZDebug. As several people on the list pointed out, ZDebug is incompatible with "sendmail" (at least some ZDebug versions). Dieter PS: I do not like Mime mails in this list, because the stupid mailman installation discards Mime headers in the digest. As a consequence, my mail reader is unable to decode such messages :-( From steve@spvi.com Mon Oct 2 22:21:54 2000 From: steve@spvi.com (Steve Spicklemire) Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: References: Message-ID: <200010022121.QAA54340@mercury.spvi.com> Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve >>>>> "J" == J Atwood writes: J> http://classic.zope.org:8080/Collector/ J> Does anyone know what product this is and if it is available J> for download? I am looking for something that is similar to J> BugZilla. J> Ethan? Paul? Anyone? J> Thanks, J J> _______________________________________________ Zope maillist - J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No J> cross posts or HTML encoding! ** (Related lists - J> http://lists.zope.org/mailman/listinfo/zope-announce J> http://lists.zope.org/mailman/listinfo/zope-dev ) From mindlace@digicool.com Mon Oct 2 22:34:38 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 02 Oct 2000 17:34:38 -0400 Subject: [Zope] zope.org issues Message-ID: <39D8FF6E.3C5E00CC@digicool.com> Zopatistas, zope.org is currently having some difficulties that can kill the server. We're working on them. Thanks, ~ethan From jatwood@bwanazulia.com Mon Oct 2 23:11:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 18:11:57 -0400 Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: <200010022121.QAA54340@mercury.spvi.com> Message-ID: Hey Steve, Exactly. It is really full-featured. I am impressed. Thanks, J > From: Steve Spicklemire > Reply-To: steve@spvi.com > Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) > To: jatwood@bwanazulia.com > Cc: zope@zope.org > Subject: Re: [Zope] Zope bug collector on zope.org available? > > > Hi J., > > Is this what you're looking for? > > http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions > > -steve >>>>>> "J" == J Atwood writes: > > J> http://classic.zope.org:8080/Collector/ > > J> Does anyone know what product this is and if it is available > J> for download? I am looking for something that is similar to > J> BugZilla. > > J> Ethan? Paul? Anyone? > > J> Thanks, J > > > J> _______________________________________________ Zope maillist - > J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No > J> cross posts or HTML encoding! ** (Related lists - > J> http://lists.zope.org/mailman/listinfo/zope-announce > J> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From curtis@cardgate.net Mon Oct 2 23:27:12 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 3 Oct 2000 09:27:12 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: <39D850CB.B88DBB0A@nipltd.com> References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> Message-ID: <0010030927120A.02655@localhost.localdomain> On Mon, 02 Oct 2000, Chris Withers wrote: > Curtis Maloney wrote: > > According to a recent study, there are approximately 13 'web safe' > > colours, out of the full 16,777,216. Can you be bothered restricting > > yourself to support the 'lowest common denominator' ? > > What makes the other 15,777,203 'unsafe'? > As I understand it, it's due to system palettes. On low colour machines (256 or even 16colour) some colours are reserved for the system GUI so that you can match the 'theme', leaving you with fewer than the full capacity of the display you are using. Admittedly, since most people these days are running 15bit or higher colour depths, and non-paletted video modes, for the majority of users this isn't a problem. (Thus my 'lowest common denominator' comment.) The only other possible reason I can recall is that some of the 'named' colours are not supported by all browsers, or are not interpreted the same. > cheers, > > Chris Have a better one, Curtis From dario@ita.chalmers.se Mon Oct 2 23:55:45 2000 From: dario@ita.chalmers.se (Dario Lopez-Kästen) Date: Tue, 3 Oct 2000 00:55:45 +0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software Message-ID: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> as seen on cms list. Would this affect Zope in any way? /dario ----- Original Message ----- >From: "Evan Williams" > > Interesting: > ----------------------------- > Information Today: http://www.infotoday.com/it/oct00/news14.htm > "eMedicine, Inc. (http://www.emedicine.com), the medical-education network > and developer of the first online peer-reviewed medical reference series, > has announced that the U.S. Patent and Trademark Office has granted a patent > to the company's proprietary Group Publishing System (GPS) software. The GPS > enables collaborative, enterprisewide publishing and allows authors and > editors to create large, multi-author projects-online content, journals, > books, and manuals-entirely on the Internet. > "Jeff Berezin, chief technical officer and architect of the GPS system, > said: 'The software is unique-it is the only enterprise software that allows > all production to take place on the Internet. The system allows authoring > and editing within the GPS environment or through word-processing programs > like Word.' Software engineer Joanne Berezin, who co-developed the system, > said, 'Our system is a complete authoring, editing, and version-control > system with complete management-tracking tools and a built-in communications > network.'" > ----------------------------- > > -------------------------- > Subscribe: http://www.camworld.com/cms/ > More Info: http://cms.filsa.net/ > Post: cms-list@camworld.com > From tseaver@digicool.com Tue Oct 3 01:53:40 2000 From: tseaver@digicool.com (Tres Seaver) Date: Mon, 02 Oct 2000 20:53:40 -0400 Subject: [Zope] Zope bug collector on zope.org available? References: <200010021900.MAA25416@zope.codeit.com> Message-ID: <39D92E14.28F5EF4C@digicool.com> "J. Atwood" asked: > > http://classic.zope.org:8080/Collector/ > > Does anyone know what product this is and if it is available for download? I > am looking for something that is similar to BugZilla. > > Ethan? Paul? Anyone? The Collector is an *ancient* piece of software -- you probably want Ken Mannheimer's Tracker:: http://www.zope.org/Members/klm/TrackerWiki Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From twcook@iswt.com Tue Oct 3 04:14:41 2000 From: twcook@iswt.com (Tim Cook) Date: Mon, 02 Oct 2000 22:14:41 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> Message-ID: <39D94F21.E0E4D38A@iswt.com> "Dario Lopez-Kästen" wrote: > > as seen on cms list. Would this affect Zope in any way? Standard IANAL disclaimer. But, I read the patent. It looks like Zope is okay. You just can't build an application on it (or anything else where multiple people edit the same document online). Watch ZWiki!!!! :-) -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From lalo@hackandroll.org Tue Oct 3 05:03:48 2000 From: lalo@hackandroll.org (Lalo Martins) Date: Tue, 3 Oct 2000 02:03:48 -0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software In-Reply-To: <39D94F21.E0E4D38A@iswt.com>; from twcook@iswt.com on Mon, Oct 02, 2000 at 10:14:41PM -0500 References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> Message-ID: <20001003020348.B27959@hackandroll.org> On Mon, Oct 02, 2000 at 10:14:41PM -0500, Tim Cook wrote: > "Dario Lopez-Kästen" wrote: > > > > as seen on cms list. Would this affect Zope in any way? > > Standard IANAL disclaimer. But, I read the patent. It looks like > Zope is okay. You just can't build an application on it (or > anything else where multiple people edit the same document > online). Watch ZWiki!!!! So wouldn't the original WikiWikiWeb be prior art? []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar From twcook@iswt.com Tue Oct 3 06:07:25 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:07:25 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> Message-ID: <39D9698D.81ED236E@iswt.com> Lalo Martins wrote: > > anything else where multiple people edit the same document > > online). Watch ZWiki!!!! > > So wouldn't the original WikiWikiWeb be prior art? I would think there is a lot of prior art. What I wrote above should have been enclosed in tags. :) After citing several other patents there big key is supposed to be not ahving to download a version of the document and work on it locally and then upload it again. Also I noticed that their software only works (according to them) with Mac & MS OS's. I guess DC should file for a patent based on total cross-platform use! Our patent office doesn't have a clue and doesn't seem to research very much either. It's becoming worse than useless. One of the developers that frequents the openhealth mailing lists recently indicated that he had been contacted because he supposedly infringed on someones patent. No details yet but he indicated that it was some basic implementation that many developers have done before. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From sebbacon@email.com Tue Oct 3 10:07:29 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 10:07:29 +0100 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> Message-ID: <39D9A1D1.2B4C4D7B@email.com> "César A. K. Grossmann" wrote: > > Maik Roeder wrote: > > > > > Clicking in the "submit" button, it gives me an error, telling that > > > 'username' is not defined. So I included an hidden field with > > > name="username" and value="", but I'm thinking this > > > is not the better way to do that... > That is the real question: how to substitute the > 'someuser' using > hidden fields? M > I'm thinking that maintaining some "session attributes" in a cookie is > another idea, and sustitute the direct call to the method to a call to a > JavaScript, but I don't want to use the most complicated method... There are only two ways of doing this: 1) hidden form inputs 2) cookies 3) session variables (kind of like number 2) Using the former solution, you can make your link be the submit button for the form, either by using Javascript (yuk: someuser) or by making it a graphical button rather than a text link ( as far as I remember, but I might be wrong). Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb From chrisw@nipltd.com Tue Oct 3 10:15:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 10:15:04 +0100 Subject: [Zope] Off Topic: Patent Offices References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> <39D9698D.81ED236E@iswt.com> Message-ID: <39D9A398.27DF2975@nipltd.com> Tim Cook wrote: > > Our patent office doesn't have a clue and doesn't seem to > research very much either. Name me one that does ;-) Chris From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 10:54:54 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 11:54:54 +0200 Subject: [Zope] Guidelines for showing most exciting things of Zope? Message-ID: <3.0.6.32.20001003115454.0092cda0@poirot> Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you think would need to be told to convince people that it's worth looking at it by themselfs? Do people think such a practical guideline would be usefull? Tom. From Danny@Adair.net Tue Oct 3 11:24:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 3 Oct 2000 12:24:46 +0200 Subject: [Zope] Access problems Message-ID: Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) Furthermore, I have to authenticate on _every_ occasion, even with objects I know are totally available to Anonymous. After (http) authentication I get the above mentioned attribute error. I'm clueless. What is this about? Thanking you so much in advance, Prost, Danny P.S.: Of course I can't recall doing anything rude to my installation, actually I can't recall doing _anything_. (What they all say) From Aitor.Grajal@teleline.es Tue Oct 3 11:39:05 2000 From: Aitor.Grajal@teleline.es (Aitor Grajal) Date: Tue, 03 Oct 2000 12:39:05 +0200 Subject: [Zope] SiteRoot, can i do????? Message-ID: <200010031239050003.0099451F@mailhost.teleline.es> --=====_97056954541=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying do that SiteRoot can this : If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all= links 'http://xyz.mydomain.com/Zope" but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put= in all links 'https://xyz.mydomain.com/Zope" . The second is the new, so can access for http o https at the same contens,= and this is very nice. My idea is change the source code of Site Root. It=B4s possible ?? Somebody can help my? Thanks --=====_97056954541=_ Content-Type: text/html; charset="us-ascii"
Hello, I'm trying do that SiteRoot can this :
 
If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'http://xyz.mydomain.com/Zope"
 
but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" .
 
The second is the new, so can access for http o https at the same contens, and this is very nice.
My idea is change the source code of Site Root.
It´s possible ??
 
Somebody can help my?
 
Thanks
--=====_97056954541=_-- From juliodinis@hotmail.com Tue Oct 3 13:49:42 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Tue, 03 Oct 2000 12:49:42 WEST Subject: [Zope] script execution timeout? Message-ID: Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From magnus@websys.no Tue Oct 3 14:11:14 2000 From: magnus@websys.no (Magnus Alvestad) Date: 03 Oct 2000 15:11:14 +0200 Subject: [Zope] 'websafe' colours In-Reply-To: Curtis Maloney's message of "Tue, 3 Oct 2000 09:27:12 +1100" References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> <0010030927120A.02655@localhost.localdomain> Message-ID: [Curtis Maloney] | As I understand it, it's due to system palettes. On low colour | machines (256 or even 16colour) some colours are reserved for the | system GUI so that you can match the 'theme', leaving you with fewer | than the full capacity of the display you are using. Actually the problem with many colours is that there is slight difference between how they are shown in for example BGCOLOR and in a gif. There was an article about this in the online version of Wired. -Magnus From sebbacon@email.com Tue Oct 3 13:19:16 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:19:16 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> Message-ID: <39D9CEC4.32C712DC@email.com> Hello, Whenever I do a > def play(self,sound): > return sound and a > I get a > Error Type: TypeError > Error Value: not enough arguments; expected 2, got 1 Now, I thought 'self' was passed _implicitly_, as explained in http://www.zope.org/Documentation/How-To/ExternalMethods, but I'm actually having to do a > to pass the context to 'self' in the External method. Explanations gratefully received. Thanks, seb. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 13:19:00 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 14:19:00 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello everybody, I started to play with Zope in order to use it as intranet platform. For this I need database access. I tried odbc and MySQL and got it working fine. However we have some existing warehouse queries which take minutes to complete. When I set up ZODBC connection and ZSQL method to access such query, it halts all other Zope activities until it finishes. I tried this both with NT Zope and Linux Zope, ODBC and MySQL DAs. As long as the query runs, no other requests are serviced. I understand that long query blocks database connection, but I thought Zope is threaded, so it should run other requests not using this database connection just fine, no? Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this morning looking for solution to this problem on the net, but with no luck yet. Can anybody enlighten me why is that? And what can I do to fix this. Otherwise I like Zope a lot. Easy, featured, just great. Thanks in advance and Best regards, Petr Hrasky -------------------------------------------- IT Department BNP-Dresdner Bank (CR), a.s. +420-2-57006474 From chrisw@nipltd.com Tue Oct 3 13:33:49 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:33:49 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> Message-ID: <39D9D22D.BB48DFA6@nipltd.com> Shane Hathaway wrote: > I'm not sure how well MailHost scales, but you can certainly store > thousands of names in a ZODB-managed list. Tests done for the > BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if you're sending the mail to a few thousand people is to be non-blocking. IIRC, currently, a method/page with a tag pair in it will only return when the mail has been sent to all the recipients. So, if the mails going to lots of people, the page takes ages to return. This is the problem I had where our mail server was taking lots of time to send messages (it was doing lots of stuff to make sure the address was valid) so submitting posts on Squishdot.org was taking ages too. What, IMHO, is really needed is a mailhost/sendmail tag type thing that gets a message and a list of addresses to send it to. If it could do that in a seperate thread/process/whatever so that whatever calls it doesn't block, that'd be great. Of course, it'd need to have a 'hook back' method provided so any errors that occured could be dealt with. I wonder how mailman does this stuff and if the code could be borrowed for Zope? cheers, Chris From akm@mail.theinternet.com.au Tue Oct 3 13:35:05 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:35:05 +1000 Subject: [Zope] 'self' in external methods In-Reply-To: <39D9CEC4.32C712DC@email.com>; from seb on Tue, Oct 03, 2000 at 01:19:16PM +0100 References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> Message-ID: <20001003223505.D97561@zeus.theinternet.com.au> +-------[ seb ]---------------------- | Hello, | | Whenever I do a | > def play(self,sound): | > return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From sebbacon@email.com Tue Oct 3 13:44:13 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:44:13 +0100 Subject: [Zope] script execution timeout? References: Message-ID: <39D9D49D.2B6AA8F9@email.com> > Is there a place to define a script execution timeout? not in the urllib module. Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. seb From akm@mail.theinternet.com.au Tue Oct 3 13:32:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:32:44 +1000 Subject: [Zope] database connection problem (halting Zope) In-Reply-To: ; from Hrasky Petr on Tue, Oct 03, 2000 at 02:19:00PM +0200 References: Message-ID: <20001003223243.C97561@zeus.theinternet.com.au> +-------[ Hrasky Petr ]---------------------- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case. | Could it be that the python binary used is not compiled for threading? Perhaps, but, I think Zope will fail to start if your python does not support threading. | I spent yesterday afternoon and this | morning looking for solution to this problem on the net, but with no | luck yet. | | Can anybody enlighten me why is that? And what can I do to fix this. It might be that the ODBC driver for MySQL is serialising all accesses to MySQL (i.e. the MySQL ODBC driver is not threaded). This is a bit of a guess though. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From chrisw@nipltd.com Tue Oct 3 13:52:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:52:03 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> <20001003223505.D97561@zeus.theinternet.com.au> Message-ID: <39D9D673.532FD8AC@nipltd.com> Andrew Kenneth Milton wrote: > > +-------[ seb ]---------------------- > | Hello, > | > | Whenever I do a > | > def play(self,sound): > | > return sound > > You don't define self as a parameter to an external method, so: > > def play(sound): > > will work fine in an external method. It's not as simple as that. The mechnism involved here is complex and arguably broken. This is becoming a FAQ, see the mailing list archives for previous versions of this discussion which will provide all the detail. cheers, Chris From twcook@iswt.com Tue Oct 3 14:13:13 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 08:13:13 -0500 Subject: [Zope] database connection problem (halting Zope) References: Message-ID: <39D9DB69.4EBC6E70@iswt.com> > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From owrede@khm.de Tue Oct 3 14:39:22 2000 From: owrede@khm.de (Oliver Wrede) Date: Tue, 3 Oct 2000 15:39:22 +0200 Subject: [Zope] SiteAccess2 problem Message-ID: --============_-1241542131==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one): Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: 'string' object has no attribute 'name' ------------------------------------------------------------------------ Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: www/AccessRuleAdd) (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_getAccessRule(this())) (Info: manage_getAccessRule) File , line 0, in ? File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule (Object: Traversable) AttributeError: (see above) -- .. Oliver Wrede .. owrede@khm.de .. Academy of Media Arts, Cologne .. Peter-Welter-Platz 2 . 50676 Koeln, Germany .. http://www.khm.de .. ICQ# 6580315 .. PGP 6.0 Fingerprint: .. 922C FFA2 9A07 5B8E CB2A 10A2 C370 6A62 2232 196C --============_-1241542131==_ma============ Content-Type: text/html; charset="us-ascii" SiteAccess2 problem
I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects.

Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one):


Zope Error

Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: 'string' object has no attribute 'name'

------------------------------------------------------------------------

Troubleshooting Suggestions

*       The URL may be incorrect.
*      The parameters passed to this resource may be incorrect.
*       A resource that this resource relies on may be encountering an error.


For more detailed information about the error, please refer to the HTML source for this page.

If the error persists please contact the site maintainer. Thank you for your patience.




Traceback (innermost last):
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__
    (Object: www/AccessRuleAdd)
    (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
    (Object: manage_getAccessRule(this()))
    (Info: manage_getAccessRule)
  File <string>, line 0, in ?
  File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule
    (Object: Traversable)
AttributeError: (see above)

--
.. Oliver Wrede
.. owrede@khm.de

.. Academy of Media Arts, Cologne
.. Peter-Welter-Platz 2 . 50676 Koeln, Germany
.. http://www.khm.de
.. ICQ# 6580315
.. PGP 6.0 Fingerprint:
.. 922C FFA2 9A07 5B8E CB2A  10A2 C370 6A62 2232 196C
--============_-1241542131==_ma============-- From chalaoux@cybercable.fr Tue Oct 3 14:27:02 2000 From: chalaoux@cybercable.fr (FR Chalaoux) Date: Tue, 03 Oct 2000 15:27:02 +0200 Subject: [Zope] Looking for BSDI version of Zope Message-ID: <39D9DEA6.DD49A6DE@cybercable.fr> Hi, I looking for a recent compiled Zope version running on BSDI/OS 4.0.1 with its python attached Thanks, FR. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 15:04:01 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 16:04:01 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello, thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong queries and halt Zope. I have no such queries for Sybase yet. I will try to recompile python for linux, but I can't do so for WinNT as I have no compiler. Anyway I thought the python distributed with binary release of Zope is threaded, no? So, does anybody know of either binary and threaded Zope driver for Oracle , Sybase etc. or the same ODBC driver? And what is the state of python threading on WinNT paltform? Thanks, Petr -----Original Message----- From: Tim Cook [mailto:twcook@iswt.com] Sent: Tuesday, October 03, 2000 3:13 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: Re: [Zope] database connection problem (halting Zope) > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From zope@isp.lu Tue Oct 3 15:10:39 2000 From: zope@isp.lu (zope) Date: Tue, 03 Oct 2000 16:10:39 +0200 Subject: [Zope] how to access the items of an array... Message-ID: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Hi In a form, I defined an array variable as follows: After submitting the form, gives me following result: ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] My question is now how to access the different items of that array? Thanks a lot for your help. Marc From evan@4-am.com Tue Oct 3 15:43:35 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 3 Oct 2000 10:43:35 -0400 Subject: [Zope] SiteAccess2 problem References: Message-ID: <004101c02d48$4f320fb0$3e48a4d8@digicool.com> From: Oliver Wrede > I am trying to use SiteAccess2 with a site which has imported > SiteAccess1 objects. Have you used Extensions/updata.py to upgrade these objects? Cheers, Evan @ digicool & 4-am From bkc@murkworks.com Tue Oct 3 15:53:52 2000 From: bkc@murkworks.com (Brad Clements) Date: Tue, 3 Oct 2000 10:53:52 -0400 Subject: [Zope] Only superuser can set Proxy on DTML methods? Message-ID: <39D9BABF.24116.3B75549@localhost> It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. But I can't see anywhere how to enable my userid to have this proxy role. So only the superuser can set the proxy role for a document. But once I do that, I can't edit it anymore as Manager (expected) So .. how can a Manager grant the proxy role on documents? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From chrisw@nipltd.com Tue Oct 3 15:51:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 15:51:17 +0100 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <39D9F265.62CEB365@nipltd.com> Brad Clements wrote: > > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. The wording is crap. What it means is that the user object you are authenticated with must have the role you are trying to give to the object by proxy. ...which makes sense if you think about it. ...but is frustrating if the role actually nothing to do with you, and has less permissions that your role. For example, you, as someone with only the Manager role, can't give a Customer proxy role to an object, even though Customers can do much less than Managers, because you don't have the Customer role. So, you have to go to acl_users and give yourself the Customer role just to complete the operation, and then, more than likely, remove the Customer role from yourself later... I can see why it's like it is, btu sureyl the Manager could be made to eb an exception? Or mayeb that's what's happening with the Superuser object? > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) Hmm... you imply the superuser has ended up owning an object, which shouldn't be possible (yes, that can of worms again :P) so does anyone know what's going on here? cheers, Chris From maxm@normik.dk Tue Oct 3 16:05:00 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 3 Oct 2000 17:05:00 +0200 Subject: [Zope] Sorting and accessing elements in the Message-ID: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> I am making a mailer zClass where it will only be nessecary to make the form fields with the values you want to send, then the zClass will give you a reply on the webpage and send a nicely formatted e-mail. The problem is that the form elements are unknown but they need to be set up in predictable order to format the output automatically. To do this I need the form values in a sorted order. I can then give the form fields names like this: ------------------------------------ Then the mail can be automatically formatted like this: 1) First Name Max M 2) Last Name Rasmussen etc.... ------------------------------------ I have tried to use the sequence-item as a key in REQUEST.form, but it doesn't work like I want it to. ---------------------------------

:

<---- THIS IS WHAT DOESNT WORK --------------------------------- Regards Max M From joachim.werner@iuveno.de Tue Oct 3 16:17:00 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Tue, 3 Oct 2000 17:17:00 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100317251000.05524@promotor> Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope site. The latter two seem to have been unmaintained for quite a while. Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an alternative solution? We are working on an integrated groupware solution (it will all be open sourced) and want to either store all documents (incl. mail) in a single Zope-based storage or at least simulate that by dynamically wrapping the mails into objects (similar to what Local_FS does with files on the file system). Thanks in advance! Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From jatwood@bwanazulia.com Tue Oct 3 16:56:02 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 03 Oct 2000 11:56:02 -0400 Subject: [Zope] IMAP and Zope! In-Reply-To: <00100317251000.05524@promotor> Message-ID: Why not just pick apart the pieces you need from WorldPilot. It seems a shame to have to start from scratch. J > From: Joachim Werner > Organization: Iuveno - Smart Communication > Date: Tue, 3 Oct 2000 17:17:00 +0200 > To: zope@zope.org > Subject: [Zope] IMAP and Zope! > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have > found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. > > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? > > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > > -- > Iuveno - Smart Communication > > > Joachim Werner > > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) > > From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 17:15:34 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 18:15:34 +0200 Subject: [Zope] List Message-ID: <3.0.6.32.20001003181534.008ef9c0@poirot> Hi, I'm storing a selection of a user to a database as string. This selection is a multiple selection from a select box and is outputted as a list. Now I want to iterate over this list (after retrieving it from the database), but how can I do this? How can I tell Zope that the string is actually a list? How can I typecast in Zope? Thanks, Tom. From andym@ActiveState.com Tue Oct 3 17:37:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:37:28 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <001f01c02d58$383b0d60$ae03a8c0@fork> You need to let item=sequence-item since sequence-item is interpreted in python as a mathemtical operation sequence minus item. : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:38:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:38:34 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <002601c02d58$5f25f930$ae03a8c0@fork> Although this could be simpler (you dont need the REQUEST.set): : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:42:17 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:42:17 -0700 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <002c01c02d58$e4037e20$ae03a8c0@fork> If you want to put a string into a list you can use to split a string up. What database are you using and what are actually getting back? ----- Original Message ----- From: "Tom Deprez" To: Sent: Tuesday, October 03, 2000 9:15 AM Subject: [Zope] List > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? > > Thanks, Tom. > > > _______________________________________________ > 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 ) > From kthangavelu@earthlink.net Tue Oct 3 12:38:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 03 Oct 2000 04:38:37 -0700 Subject: [Zope] IMAP and Zope! References: <00100317251000.05524@promotor> Message-ID: <39D9C53D.6CF93A58@earthlink.net> Joachim Werner wrote: > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. I agree, WorldPilot is nice but its hard to split into component functionality for integration into an a site. > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? LoginManager. > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > -- > Iuveno - Smart Communication > > Joachim Werner > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) From andym@ActiveState.com Tue Oct 3 17:51:52 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:51:52 -0700 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <004601c02d5a$3b04c9d0$ae03a8c0@fork> Use the in tag: ----- Original Message ----- From: "zope" To: Sent: Tuesday, October 03, 2000 7:10 AM Subject: [Zope] how to access the items of an array... > Hi > > In a form, I defined an array variable as follows: > > > > > > > > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > > > _______________________________________________ > 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 ) > From peter@grenna.net Tue Oct 3 18:07:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:07:09 +0100 Subject: [Zope] A hint on FSSession References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> <39D9A1D1.2B4C4D7B@email.com> Message-ID: <002c01c02d5c$7e830210$01d4a8c0@peppe> > Why use javascript to access cookies? You can set and get them purely > using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why > not install a session product (HappySession, FSSession, SQLSession...), > it'll probably make your life easier in the long run... > > seb > Yes, and if you choose to use FSSession, remember to rename the object to something other that "FSSession". Having an object called "FSSession" in more than one place can f**k things up in the namestack, so to be on the safe side, rename (note "rename") the FSSession object to something more unique after having created one. This caused me a lot of brain damage, and I had it explained by a friend after may failed attempts to understand the error messages. From jwashin@vt.edu Tue Oct 3 18:06:58 2000 From: jwashin@vt.edu (Jim Washington) Date: Tue, 03 Oct 2000 13:06:58 -0400 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <39DA1232.D58E830F@vt.edu> Tom Deprez wrote: > > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? Use a python or external method to make a list from your string. I am supposing you are storing a string representation of the list that looks like: "['fred', 'bob', 'mary']" Get rid of any punctuation you do not want with (e.g.) theString = string.replace(theString, '[', ' ') (Yes, there are more efficient ways to do this!) Then, once you have a space-delimited list of items, you may use theList = string.split(theString) which will make a list of the words in the string. Return theList. -- Jim Washington From peter@grenna.net Tue Oct 3 18:26:24 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:26:24 +0100 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <005001c02d5f$0ebfae80$01d4a8c0@peppe> > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > Here's the syntax. where X is an integer. or
> > _______________________________________________ > 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 ) > From SuzetteR@ngc.co.tt Tue Oct 3 19:23:47 2000 From: SuzetteR@ngc.co.tt (Suzette Ramsden) Date: Tue, 3 Oct 2000 14:23:47 -0400 Subject: [Zope] IIS port problem Message-ID: <569FC7E4C179D311ABAF009027B11327198F08@icys> I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small discussion forum that can be accessed via the INTRANET. My Web server name is SRNT and is installed on my F:\ partition drive I installed Zope in the root cgi-bin directory and called my website ZopeSite. I selected the "Run as a win32 service" F:\InetPub\wwwroot\cgi-bin\ZopeSite\ I went to my browser (MS Internet Explorer 5.0) and accessed the Zope Site using the URL: http://srnt:8080/manage I successfully accessed my Zope site manager and everything was working just fine. Now comes the problem: I do not want to connect to the Intranet using the server port (8080) in the URL to access the Zope pages . I installed both Squishdot and TinyTables products on Zope and started building a Squishdot site, which I named ChatClub. However, the URL to access the Squishdot site looks like: http://srnt:8080/Control_Panel/Products/Squishdot/ChatClub/index_html I WANT IT TO AT LEAST SAY: http://srnt/Control_Panel/Products/Squishdot/ChatClub/index_html OR http://srnt/ChatClub/index_html I don't want any reference to the server port 8080. I have read several help documents on IIS and PCGI AND THEY ALL SAY DIFFERENT THINGS. One document said to copy the Zope.pcgi to the IIS cgi-bin folder and another said to copy it to the IIS scripts folder. One document showed the Zope.pcgi file path configuration completely different from mine. The document showed : PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py And mine showed PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope The document even had files I didn't have anywhere in my directory like pcgi.soc and some in completely different folders like: Help document: PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid My file: PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid I know there must be a a simple way to accomplish this. I just need someone to tell me how to do it STEP BY STEP. I am a Programmer/Analyst, but I am only a novice when it comes to servers and all the details. PLEASE HELP Regards, Suzette E. Ramsden From klm@digicool.com Tue Oct 3 20:12:29 2000 From: klm@digicool.com (Ken Manheimer) Date: Tue, 3 Oct 2000 15:12:29 -0400 (EDT) Subject: [Zope] Re: 'Offline' mailhost In-Reply-To: <39D9D22D.BB48DFA6@nipltd.com> Message-ID: On Tue, 3 Oct 2000, Chris Withers wrote: > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? I don't have a quick answer. (It's been a long time since i worked on mailman, and this stuff in particular has changed a lot.) It looks like the code in Mailman/Handlers/SMTPDirect.py is what's of interest, and it doesn't depend too elaborately on the rest of mailman, which is good. I'm have no idea whether it solves the problem of doing unblocking delivery in a way that lets the delivery requester get a status back. Ken klm@digicool.com From code@ou.edu Tue Oct 3 20:17:25 2000 From: code@ou.edu (Leichtman, David J) Date: Tue, 3 Oct 2000 14:17:25 -0500 Subject: [Zope] Zope stalls indefinitely Message-ID: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running 2.1.6 on Solaris with pgsql and the ZPyGre adapter and the most recent copy of FSSession. Any thoughts. I've posed this question to a lot of people many times. Now that it's back, I'm hoping for fresh insight. From edc@8days.com Tue Oct 3 21:18:49 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:18:49 -0600 Subject: [Zope] LoginManager Error Message-ID: Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter redefined Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addLoginManager) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addLoginManager) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 237, in manage_addLoginManager File /usr/local/zope/lib/python/Products/ZPatterns/PlugIns.py, line 313, in _constructPlugIn TypeError: (see above) From edc@8days.com Tue Oct 3 21:24:42 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:24:42 -0600 Subject: [Zope] UserDB plus crypt Message-ID: --============_-1241517811==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do? My modified UserDb.py is attached. Thanks! -ed- --============_-1241517811==_============ Content-Id: Content-Type: text/plain; name="UserDb.py"; charset="us-ascii" ; format="flowed" Content-Disposition: attachment; filename="UserDb.py" ; modification-date="Tue, 3 Oct 2000 14:24:04 -0600" """User Db product This product provides support for User Folder-like objects that store data in back-end databases. CREATE TABLE users ( username varchar(255) NOT NULL, password varchar(255) NOT NULL, domains varchar(255), roles varchar(255) ); """ __version__='$Revision: 1.13 $'[11:-2] import Globals, App.Undo, socket, regex from Products.ZSQLMethods.SQL import SQL from Globals import PersistentMapping from Globals import Persistent from Globals import HTMLFile, MessageDialog from string import join,strip,split,lower from App.Management import Navigation, Tabs from Acquisition import Implicit from OFS.SimpleItem import Item from OFS.Document import Document from base64 import decodestring, encodestring from urllib import quote, unquote from ImageFile import ImageFile from AccessControl.Role import RoleManager from AccessControl.User import BasicUser, BasicUserFolder from string import split, join, upper, lower ## Crypt toolkit ## import crypt, random ListType=type([]) class User(BasicUser): icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class UserDb(BasicUserFolder): """ """ meta_type='User Db' id ='acl_users' title ='User Db' icon ='misc_/UserDb/UserDb_icon' isPrincipiaFolderish=1 isAUserFolder=1 encryptedpasswords=1 manage_options=( {'label':'Contents', 'action':'manage_main'}, {'label':'Properties', 'action':'manage_properties'}, {'label':'Security', 'action':'manage_access'}, {'label':'Undo', 'action':'manage_UndoForm'}, ) __ac_permissions__=( ('View management screens', ['manage','manage_menu','manage_main','manage_copyright', 'manage_tabs', 'manage_properties', 'manage_UndoForm']), ('Undo changes', ['manage_undo_transactions']), ('Change permissions', ['manage_access']), ('Manage users', ['manage_users']), ('Change User Dbs', ['manage_edit']), ) manage_properties=HTMLFile('properties', globals()) def __init__(self, conn_id, cookie_mode=0): self.conn_id=conn_id self.cookie_mode=cookie_mode self.docLogin =Document(_docLogin, __name__='docLogin') self.docLogout=Document(_docLogout, __name__='docLogout') self.docLogin.__roles__=None self.docLogout.__roles__=None self.sqlListQuery=SQL('sqlListQuery', '', conn_id, '', _sqlListQuery) self.sqlUserQuery=SQL('sqlUserQuery', '', conn_id, 'username', _sqlUserQuery) self.sqlAddQuery=SQL('sqlAddQuery', '', conn_id, 'username password domains roles', _sqlAddQuery) self.sqlEditQuery=SQL('sqlEditQuery', '', conn_id, 'username password domains roles', _sqlEditQuery) self.sqlDelQuery=SQL('sqlDelQuery', '', conn_id, 'username', _sqlDelQuery) def getUserNames(self): """Returns a list of user names or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: data.append(sqlattr(ob, 'username')) data.sort() return data def getUsers(self): """Return a list of user objects or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: user=User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) data.append(user) return data def getUser(self, name): """Return the named user object or None if no such user exists""" if name==self._super.getUserName(): return self._super try: ob=self.sqlUserQuery(username=name) except: return None if not ob: return None ob=ob[0] return User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) def _doAddUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlAddQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlAddQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doChangeUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlEditQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlEditQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doDelUsers(self, names): for name in names: self.sqlDelQuery(username=name) # ---- def old_std_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] # If no authorization, only a user with a # domain spec and no passwd or nobody can # match if not auth: for ob in self.getUsers(): domains=ob.getDomains() if domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob return None # Only do basic authentication if lower(auth[:6])!='basic ': return None name,password=tuple(split(decodestring(split(auth)[-1]), ':')) user=self.getUser(name) if user is None: return None # Try to authenticate user encryptedpass = str(crypt.crypt(str(password),'ab')) #print encryptedpass if not user.authenticate(encryptedpass, request): return None # We need the user to be able to acquire! user=user.__of__(self) # Try to authorize user if user.allowed(parent, roles): return user return None std_validate=BasicUserFolder.validate def cookie_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] req_has=request.has_key resp=request['RESPONSE'] if req_has('__ac'): c=request['__ac'] c=unquote(c) try: c=decodestring(c) except: resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) name,password=tuple(split(c, ':')) encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): return user resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) if req_has('__ac_name') and req_has('__ac_password'): name=request['__ac_name'] password=request['__ac_password'] encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): token='%s:%s' % (name, password) token=encodestring(token) token=quote(token) resp.setCookie('__ac', token, path='/') request['__ac']=token try: del request['__ac_name'] del request['__ac_password'] except: pass return user raise 'LoginRequired', self.docLogin(self, request) if auth: return None # Try domain matching for ob in self.getUsers(): domains=ob.getDomains() if ob.domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob # Allow anonymous access to things under UserDbs, # if the object is public. nobody=self._nobody if nobody.allowed(parent, roles): ob=nobody.__of__(self) return ob raise 'LoginRequired', self.docLogin(self, request) def validate(self,request,auth='',roles=None): if self.cookie_mode: return self.cookie_validate(request, auth, roles) return self.std_validate(request, auth, roles) def __len__(self): return len(self.sqlListQuery()) def enumQueries(self): list=[] type=SQL.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def enumDocuments(self): list=[] type=Document.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def manage_edit(self, connection_id, cookie_mode, REQUEST=None): """Change properties""" if connection_id != self.conn_id: # Connection changed - update sql methods! self.conn_id=connection_id for ob in self.enumQueries(): title=ob.title args=ob.arguments_src src=ob.src ob.manage_edit(title, self.conn_id, args, src) self.cookie_mode=cookie_mode if REQUEST: return MessageDialog( title ='UserDb Changed', message='UserDb properties have been updated', action =REQUEST['URL1']+'/manage_properties', target ='manage_main') logout__roles__=None def logout(self, REQUEST): """Logout""" REQUEST['RESPONSE'].expireCookie('__ac', path='/') return self.docLogout(self, REQUEST) manage_addUserDbForm=HTMLFile('addUserDb', globals()) def manage_addUserDb(self, connection_id, cookie_mode=0, REQUEST=None): """ """ if hasattr(self.aq_base, 'acl_users'): return MessageDialog( title ='Item Exists', message='This object already contains a User Folder', action ='%s/manage_main' % REQUEST['PARENT_URL']) ob=UserDb(connection_id, cookie_mode) self._setObject('acl_users', ob) self.__allow_groups__=self.acl_users if REQUEST: return self.manage_main(self,REQUEST,update_menu=1) addr_match=regex.compile('[0-9\.\*]*').match host_match=regex.compile('[A-Za-z0-9\.\*]*').match def domainSpecValidate(spec): for ob in spec: sz=len(ob) if not ((addr_match(ob) == sz) or (host_match(ob) == sz)): return 0 return 1 def domainSpecMatch(spec, request): if request.has_key('REMOTE_HOST'): host=request['REMOTE_HOST'] else: host='' if request.has_key('REMOTE_ADDR'): addr=request['REMOTE_ADDR'] else: addr='' if not host and not addr: return 0 if not host: host=socket.gethostbyaddr(addr)[0] if not addr: addr=socket.gethostbyname(host) _host=split(host, '.') _addr=split(addr, '.') _hlen=len(_host) _alen=len(_addr) for ob in spec: sz=len(ob) _ob=split(ob, '.') _sz=len(_ob) if addr_match(ob)==sz: if _sz != _alen: continue fail=0 for i in range(_sz): a=_addr[i] o=_ob[i] if (o != a) and (o != '*'): fail=1 break if fail: continue return 1 if host_match(ob)==sz: if _hlen < _sz: continue elif _hlen > _sz: _item=_host[-_sz:] else: _item=_host fail=0 for i in range(_sz): h=_item[i] o=_ob[i] if (o != h) and (o != '*'): fail=1 break if fail: continue return 1 return 0 # A getattr-like helper that hopefully can compensate for the # various oddities in data returned by different stupidbases. import Missing mt=type(Missing.Value) def typeconv(val): if type(val)==mt: return '' return val def sqlattr(ob, attr): name=attr if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=upper(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=lower(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) raise NameError, name def absattr(attr): if callable(attr): return attr() return attr def reqattr(request, attr): try: return request[attr] except: return None _docLogin=""" Login

Name
Password
""" _docLogout=""" Logout

You have been logged out of the system.
""" _sqlListQuery=""" This query retrieves rows representing all users schema: username password domains roles SELECT * FROM users """ _sqlUserQuery=""" This query retrieves a row representing a given user schema: username password domains roles SELECT * FROM users """ _sqlAddQuery=""" This query adds a new user INSERT INTO users VALUES ( , , , ) """ _sqlEditQuery=""" This query updates a users data UPDATE users SET password=, domains=, roles= """ _sqlDelQuery=""" This query removes a user DELETE from users """ import __init__ __init__.need_license=1 --============_-1241517811==_============-- From rik.hoekstra@inghist.nl Tue Oct 3 21:39:45 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:39:45 +0200 Subject: [Zope] IIS port problem References: <569FC7E4C179D311ABAF009027B11327198F08@icys> Message-ID: <003f01c02d7a$114ea280$fe5da182@michieltje> > http://srnt/ChatClub/index_html note that most probably the reference will look something like http://srnt/cgi-bin/Zope.pcgi/ChatClub/index_html That is, you'll loose the port, but you rape your url. If you want a shorter url, you most probably have to do other (isapi like) things to IIS > > I don't want any reference to the server port 8080. > I have read several help documents on IIS and PCGI AND THEY ALL SAY > DIFFERENT THINGS. > One document said to copy the Zope.pcgi to the IIS cgi-bin folder and > another said to copy it to the IIS scripts folder. > the main point is you need _one_ (not several) Zope.pcgi file that has the proper locations of all the things needed in it. It does not matter where you put it. In your /pcgi/util directory there is a pcgifile.py script that will help you check the pcgi info file (that is the very Zope.pcgi file I referred to). If this doesn't report any errors, your IIS-pcgi connection will probably work. > One document showed the Zope.pcgi file path configuration completely > different from mine. The document showed : > PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py > > And mine showed > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope > this may be true, but it's a strange place for a Zope installation > The document even had files I didn't have anywhere in my directory like > pcgi.soc and some in completely different folders like: hm, IIRC the soc file is Unix only. > Help document: > PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid > > My file: > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid > > I know there must be a a simple way to accomplish this. It can be simple, but it may turn into a nightmare if it doesn't work (you have been warned). As a comfort, it took me no more than a quarter of an hour to get it installed on several different NT machines. I just need someone > to tell me how to do it STEP BY STEP. Your best step by step guide is on http://zdp.zope.org/projects/zbook/book/VII/PlatformInstallation/InstallDraf ts/instwindraft3/ hth Rik From rik.hoekstra@inghist.nl Tue Oct 3 21:45:40 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:45:40 +0200 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> <39DA1232.D58E830F@vt.edu> Message-ID: <004901c02d7a$e5509f20$fe5da182@michieltje> > > I'm storing a selection of a user to a database as string. This selection > > is a multiple selection from a select box and is outputted as a list. > > Now I want to iterate over this list (after retrieving it from the > > database), but how can I do this? How can I tell Zope that the string is > > actually a list? How can I typecast in Zope? , but that won't work in this case as you'll get a resultant [something,] > > Use a python or external method to make a list from your string. I am > supposing you are storing a string representation of the list that looks > like: > > "['fred', 'bob', 'mary']" > > Get rid of any punctuation you do not want with (e.g.) > > theString = string.replace(theString, '[', ' ') > > (Yes, there are more efficient ways to do this!) > > Then, once you have a space-delimited list of items, you may use > > theList = string.split(theString) > > which will make a list of the words in the string. Return theList. > a python/external method is more elegant, but if you want this can be done in the same way from DTML: or using dtml-let But whether all this works depends much on what your database returns. Rik From kworth@engin.umich.edu Tue Oct 3 21:52:17 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Tue, 3 Oct 2000 16:52:17 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems Message-ID: I just recently upgraded to 2.2.2. Upon upgrading, all instances of products that I created are broken. The products themselves are not, just every instance of every product that I made. External and standard products work just fine. Strange part coming up: I can make new instaces replacing the broken ones. However, 10-30 minutes after creating these new instances, the new instances are broken. I've tried this twice, with the same results. Anyone have any ideas? Thanks Kevin -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From rik.hoekstra@inghist.nl Tue Oct 3 22:11:52 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 23:11:52 +0200 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <00e001c02d7e$8e15daa0$fe5da182@michieltje> > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. > > But I can't see anywhere how to enable my userid to have this proxy > role. > > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) > > So .. how can a Manager grant the proxy role on documents? If I read your description correctly, it is closely related to a problem I reported several times to the collector (a year ago), but was never solved. See: http://classic.zope.org:8080/Collector/916/view Rik From dieter@handshake.de Tue Oct 3 22:00:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:00:08 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <97129676@toto.iv> Message-ID: <14810.18474.904823.246608@lindm.dm> =?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes: > Is there a place to define a script execution timeout? I do not think so. > I've been using urllib and there is no way to kill a urllib.open > if its taking too long. Does zope has that implemented? There is a patch to Python's "httplib" providing a socket timeout option. Unfortunately, not all OS support the necessary socket system call, e.g. my Linux 2.0.36 does not. Maybe, your OS does. Dieter From dieter@handshake.de Tue Oct 3 21:56:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 22:56:45 +0200 (CEST) Subject: [Zope] Access problems In-Reply-To: <45749606@toto.iv> Message-ID: <14810.17844.51565.241516@lindm.dm> Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter From dieter@handshake.de Tue Oct 3 22:16:39 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:16:39 +0200 (CEST) Subject: [Zope] database connection problem (halting Zope) In-Reply-To: <110283996@toto.iv> Message-ID: <14810.19006.650936.544140@lindm.dm> Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter From dieter@handshake.de Tue Oct 3 22:05:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:05:59 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <50582432@toto.iv> Message-ID: <14810.18680.261585.547328@lindm.dm> seb writes: > > Is there a place to define a script execution timeout? > Try setting an alarm using the signal module, wrapping the GET request > in a try clause, and then setting the alarm to 0 in the finally clause. Be very careful with signals of any kind inside Zope: I had to patch ZServer, as the Oracle client library used signals (probably SIGALRM) when the Oracle server was unavailable. Under Solaris 2.7, this resulted in ZServer's "select" call being aborted with "Interrupted system call". Zserver was unprepared for this event and died. Dieter From jatwood@bwanazulia.com Tue Oct 3 22:32:56 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 3 Oct 2000 17:32:56 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems In-Reply-To: References: Message-ID: Hey Kevin, I had the same problem when upgrading from 2.1.6 - 2.2.2 but have not found an answer at all. I followed the directions that I found on Zope.org to the letter but to no avail. I checked the products and they all work in a clean install of 2.2.2 If you find out anything let me know. Thanks, J At 4:52 PM -0400 10/3/2000, Kevin Worth wrote: >I just recently upgraded to 2.2.2. Upon upgrading, all instances of >products that I created are broken. The products themselves are not, >just every instance of every product that I made. External and >standard products work just fine. > >Strange part coming up: I can make new instaces replacing the broken >ones. However, 10-30 minutes after creating these new instances, the >new instances are broken. I've tried this twice, with the same >results. > >Anyone have any ideas? > >Thanks > >Kevin >-- >----------------------------------------------- >Kevin Worth >Computer Systems Specialist II and Adjunct Lecturer >Department of Materials Science and Engineering >University of Michigan >_______________________________________________ >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 ) From fred@ontosys.com Wed Oct 4 00:21:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Tue, 3 Oct 2000 18:21:53 -0500 Subject: [Zope] why does squishdot url_quote email address values? Message-ID: <20001003182153.A16179@enteract.com> Version 0-7-2 of Squishdot seems to use the url_quote option when accessing the value of admin_address in particular, so when a DTML page has code like and admin_address is a property with the value "foo@bar.com", the resulting HTML code is foo%40bar.com which doesn't work correctly, particularly when used as the value of a 'mailto:' URL. So what's the solution? Is Squishdot wrong to use url_quote this way? Why is url_quote hiding the "@" anyway -- I don't see any reason for escaping it this way. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From hannu@tm.ee Wed Oct 4 06:52:43 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 04 Oct 2000 08:52:43 +0300 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> Message-ID: <39DAC5AB.CE9CC1EE@tm.ee> Chris Withers wrote: > > Shane Hathaway wrote: > > I'm not sure how well MailHost scales, but you can certainly store > > thousands of names in a ZODB-managed list. Tests done for the > > BTreeFolder product prove it. > > Sadly, I think MailHost doesn't scale too well :-( > > What it'd need to do if you're sending the mail to a few thousand people > is to be non-blocking. > IIRC, currently, a method/page with a addresses> tag pair in it will only return when the > mail has been sent to all the recipients. So, if the mails going to lots > of people, the page takes ages to return. Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Also you could send just one message to all the recipients instead of sending individual messages. > This is the problem I had where our mail server was taking lots of time > to send messages (it was doing lots of stuff to make sure the address > was valid) so submitting posts on Squishdot.org was taking ages too. > > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? Maybe you could just use mailman as MTA, greating temporary mailing-lists. -------- Hannu From lheber@debis.com Wed Oct 4 08:14:47 2000 From: lheber@debis.com (Lars Heber) Date: Wed, 04 Oct 2000 09:14:47 +0200 Subject: [Zope] Namespace problems... Message-ID: <39DAD8E7.ACB56A3@debis.com> Hi there, I've still got to build a bigger website. So I stored my headers and footers and many other things in root/pub. All the other documents are stored in root/Intra and below. I've got my standard_html_header, with which I can display user-defined titles which may also contain values of global properties. The user-defined title is being built in the document before the header is called, e. g. something like: In the standard_html_header method I'm checking whether there is a titel attribute or not. This works fine. But for general use I want to keep the possibility of displaying the title_or_id of the document when I don't introduce a user-defined title. This would be no problem if s_h_h wasn't situated in root/pub, so I have to call it within the . But doing this, pub is on the top of my namespace, so that calling title_or_id returns the title_or_id of the container of s_h_h, i. e. pub! How can I nevertheless access within the s_h_h to the title_or_id of my original document? Thanks. Lars From frederic.quin@free.fr Wed Oct 4 09:18:05 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Wed, 04 Oct 2000 10:18:05 +0200 Subject: [Zope] A temporary python object defined in a dtml-let tag ??? Message-ID: <39DAE7BD.385186F@free.fr> Hi all, I wonder if it's possible to create temporary a python object in a dtml-let tag. If someone knows more about how to do this, please, help me... Thanks Fred Quin From stephan.goeldi@datacomm.ch Wed Oct 4 10:06:31 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Wed, 04 Oct 2000 09:06:31 GMT Subject: [Zope] SiteRoot Message-ID: I have a problem with SiteAccess: My site runs with Apache and Zope 2.0.0. Apache has 2 Domains: www.domain1.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain1.com/ in Zope exists: /provider/www/domain1.com www.domain2.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain2.com/ in Zope exists: /provider/www/domain2.com In both subdirectories (domain1.com and domain2.com) exist the SiteRoot method. In the SiteRoot method is written: Title: www.domain1.com Base: http://www.domain1.com Path: / When I point my Browser to www.domain1.com everything works ok. Now I create /provider/www/domain2.com OK I create the acl_user domain2.com with a password. OK I create a SiteRoot: Title: www.domain2.com Base: http://www.domain2.com path: / OK I restart Zope and Apache OK Now when I point my Browser to www.domain2.com I get the Website of www.domain1.com. I go to http://www.domain2.com/manage and get the folder: /provider/www/domain1.com instead of /provider/www/domain2.com When I log in as domain1.com I get the folder /provider/www/domain1.com and everything works ok. But I can go up to the folder /provider/www and see what else is in this folder. But domain1.com has no access to this folder, i.e. there is no acl_user in this folder. What goes wrong? I already tried to upgrade to 2.2.1 and 2.2.2 but this destroys the data structure. Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From dzienniak@sawan.com.pl Wed Oct 4 11:06:17 2000 From: dzienniak@sawan.com.pl (Marcin Dzienniak) Date: Wed, 4 Oct 2000 11:06:17 +0100 Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: <001001c02dea$c3a21370$63020101@sawan.com.pl> Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I have Oracle 8i 8.1.6 . Please send me some information for my adress dzienniak@sawan.com.pl Thank you for your attention. From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:08:00 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:08:00 +0200 Subject: [Zope] List In-Reply-To: <39DA1232.D58E830F@vt.edu> References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <3.0.6.32.20001004120800.0093a330@poirot> Hi all, Thanks for the lots of correct answers. With a small modification (looking up several python docs :-) ) all things worked! Thanks in advance, Tom. At 13:06 03/10/2000 -0400, you wrote: >Tom Deprez wrote: >> >> Hi, >> >> I'm storing a selection of a user to a database as string. This selection >> is a multiple selection from a select box and is outputted as a list. >> Now I want to iterate over this list (after retrieving it from the >> database), but how can I do this? How can I tell Zope that the string is >> actually a list? How can I typecast in Zope? > >Use a python or external method to make a list from your string. I am >supposing you are storing a string representation of the list that looks >like: > >"['fred', 'bob', 'mary']" > >Get rid of any punctuation you do not want with (e.g.) > >theString = string.replace(theString, '[', ' ') > >(Yes, there are more efficient ways to do this!) > >Then, once you have a space-delimited list of items, you may use > >theList = string.split(theString) > >which will make a list of the words in the string. Return theList. > >-- Jim Washington > From bruno@xs2.greenpeace.org Wed Oct 4 11:13:22 2000 From: bruno@xs2.greenpeace.org (bruno@xs2.greenpeace.org) Date: Wed, 4 Oct 2000 12:13:22 +0200 (MEST) Subject: [Zope] PCGI and images not displaying Message-ID: Hello My set up: Linux (X/OS distribution based on RedHat 6.0), Zope 2.1.6 + PCGI + Apache 1.3.9 We have a DTML document that shows an image based on the selection from the user, something like this: (I snipped all the rest because it's of no interest here). The image is stored as an object in the ZODB. When the user requests that page, sometimes, the image is not returned to the browser. What I see in the log from Apache is a return code 304 (not changed) and a return code 200 in the Z2.log ... Does anyone knows of this? Is there a workaround besides putting the image in the filesystem and serving it as a URL from Zope only? TIA. /B From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:28:43 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:28:43 +0200 Subject: [Zope] IMAP and Zope! In-Reply-To: References: <00100317251000.05524@promotor> <00100317251000.05524@promotor> Message-ID: <3.0.6.32.20001004122843.00921020@poirot> Hi, I thought that WorldPilot told at the LinuxTag that version 2, would be more modular in design. I guess you can always ask the developers about the new release. Tom From fjesteban@uco.es Wed Oct 4 12:03:03 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 04 Oct 2000 13:03:03 +0200 Subject: [Zope] DCOracle 1.3.2 for Windows NT References: <001001c02dea$c3a21370$63020101@sawan.com.pl> Message-ID: <39DB0E66.2611FC44@uco.es> I'm not tried it yet, but you can get an VC6 Workspace for DCOracle in this page: http://starship.python.net/crew/arpadk/ Marcin Dzienniak escribió: > Hello, > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . > > Please send me some information for my adress dzienniak@sawan.com.pl > > Thank you for your attention. > > _______________________________________________ > 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 ) From Jean@mosaicsoftware.com Wed Oct 4 12:36:22 2000 From: Jean@mosaicsoftware.com (Jean Jordaan) Date: Wed, 4 Oct 2000 13:36:22 +0200 Subject: [Zope] Last-modified header missing -- time-stamps turned off. Message-ID: Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to do with the http headers returned by Zope. Does Zope not include last-modified headers since it predominantly serves dynamic pages? Regards, -- Jean Jordaan -- technical writer -- Mosaic Software -- Zope 2.2 on WinNT and W2K From Petr.Hrasky@bnp-dresdner-bank.cz Wed Oct 4 12:37:27 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Wed, 4 Oct 2000 13:37:27 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: thanks again, yes, the python versions I use are compiled for threads, they link against libpthread under linux. I have also found ZmxODBCDA adapter and it does not work for me yet - it shows in Zope as broken product. I also spoke to local Oracle hotline and they said that ODBC access is not thread safe until 8.1.6.1.1 due to some error in OCI libs. Now I am downloading Oracle for Linux and Sybase for Linux and I will try to compile OracleDA and SybaseDA. Thanks a lot all. Regards, Petr -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Tuesday, October 03, 2000 11:17 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: RE: [Zope] database connection problem (halting Zope) Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter _______________________________________________ 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 ) From Danny@Adair.net Wed Oct 4 12:59:09 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 13:59:09 +0200 Subject: [Zope] Access problems In-Reply-To: <14810.17844.51565.241516@lindm.dm> Message-ID: >Is it possible, that you upgraded from an earlier Zope installation? > >The traceback suggests that your requests tries to access >the object "broken", probably an object from a broken >product. Thanks, I've found the problem: It was a broken ZPatterns. I've updated to 0.4.2a3, but left an "old" compiled Dynpersist.so in the directory (V 0.3). After updating this, everything was fine. I guess I just have to be prepared to get the weirdest sstuff to see as long as I 1.) use alpha/beta products to authenticate my users on root level, and 2.) keep refusing to wear glasses (Actually, this beta ZPatterns is fine). Thanks, Prost, Danny -----Ursprungliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Dieter Maurer Gesendet: Dienstag, 3. Oktober 2000 22:57 An: Danny@adair.net Cc: zope@zope.org Betreff: Re: [Zope] Access problems Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter _______________________________________________ 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 ) From maxm@normik.dk Wed Oct 4 13:03:56 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 4 Oct 2000 14:03:56 +0200 Subject: [Zope] Namespace problem with the dtml-sendmail and the smtphost Message-ID: <7BD10B680501D411B9DF009027E06F32011C12@exchange> I have a dtml method in a zClass that looks like this: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! "theSMTPHost" is defined as a property in the zClass. But when i use the method I get a: Error Type: error Error Value: host not found If i write: It gets send without a hitch. and if I write it returns mail.tele.dk as expected. I then try this, which also fails. Mailhost: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! Is it not possible to set the smtphost to a string in a dtml variabel? Regards Max M From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 13:35:29 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 14:35:29 +0200 Subject: [Zope] Integers in ZSQLMethod Message-ID: <3.0.6.32.20001004143529.0092d4b0@poirot> Hi, Is it possible to use following code in ZSQLMethod : , But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. From jonathan@home-all.org.uk Wed Oct 4 14:10:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 04 Oct 2000 14:10:17 +0100 Subject: [Zope] Detecting Roles not working Message-ID: <39DB2C39.3824562B@home-all.org.uk> Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in the index_html of my zclass i have edit this
so if the user is anonymous or logged in without the Staff role assigned they should not see the "edit this" link ... Doesn't work! It basically never returns a 'true' response thus never displays the edit this link even when logged in. Tried various permutations and variations on this theme without any success. Help! Without this, I am not sure how to customize the interface for different user groups. I am on 2.2.0 but I think it was similar under 2.1.6. Absolutely any clues no matter how obscure would be gratefully received (or indeed the glaringly obvious solution etc :-) Cheers Jonathan From heinkel@cenix-bioscience.com Wed Oct 4 14:12:53 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Wed, 4 Oct 2000 15:12:53 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <3.0.6.32.20001004143529.0092d4b0@poirot> References: <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <00100415145201.00737@celap> On Wed, 04 Oct 2000, you wrote: > Hi, > > Is it possible to use following code in ZSQLMethod : > > , > > But also allow null as value for the integer? (Thus not filled in) > use or the newer syntax Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 14:26:05 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 15:26:05 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <00100415145201.00737@celap> References: <3.0.6.32.20001004143529.0092d4b0@poirot> <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <3.0.6.32.20001004152605.009222d0@poirot> Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: >On Wed, 04 Oct 2000, you wrote: >> Hi, >> >> Is it possible to use following code in ZSQLMethod : >> >> , >> >> But also allow null as value for the integer? (Thus not filled in) >> > >use > >or the newer syntax > >Ralph > > >------------------------------------------------------------------ >Ralph Heinkel Cenix Bioscience GmbH >Director of the IT-Unit Tel : +49 6221/387 915 >Meyerhofstr. 1 Fax : +49 6221/387 971 >69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com > From ergul@ccs.neu.edu Wed Oct 4 15:59:20 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Wed, 4 Oct 2000 10:59:20 -0400 (EDT) Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-970671560=:2377 Content-Type: TEXT/PLAIN; charset=US-ASCII Marcin Dzienniak wrote: > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . I had compiled DCOracle 1.3.1 b1 libraries as .dll's a while back on WinNT4.0 against Oracle 8.1.6.0 and they worked fine for me until we moved onto Linux. I've attached it hoping it works for you (and maybe others). Ayhan Ergul ---559023410-851401618-970671560=:2377 Content-Type: APPLICATION/ZIP; name="DCOracle-1.3.1b1-compiled.zip" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="DCOracle-1.3.1b1-compiled.zip" UEsDBBQAAgAIAAp+FynlIMBQrZ0AAACQAQAIAAAAb2NpXy5kbGzsW310FFWW r04XSQEFXUpHeiQyjdOuKMhm7TgDJqyASchIhOrudDdMvkSQaSMfGexWZkyU 2N1Oqh89G3aye9iz2bMw45zjqMdlZ5iz0XGhQxNCWMcB1BXWj0XUtTIdNAdm MSpQe+97VZ3OJybHc/afFKdSXe/j3vvuu/d373uvuP8HLZyZ4zgebk3juHaO Xcu4a1+n4Z757Vdmcgem/mFeu6n8D/MqAg8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0K7VbtS+rt2ifR/G4m6g3gS0z0C/XtR2aHu0Up1cF6JT6YpMK02lJidI lSrTWtN600bTq6bXTW/BHNtmeh/m2UemXabdphrTflOjqcl0xHQCZt0ZkECt Jq/poqnd1GHqNvWYKLPULDPLzUpzkDnYHGJWmdUwL/VmM8ioeHOSeYbZap5r XmzeFb07emDxG3gGnoFn4Bl4Bp6BZ+D5/+/5P1BLAQIUABQAAgAIAAp+Fynl IMBQrZ0AAACQAQAIAAAAAAAAAAAAIAC2gQAAAABvY2lfLmRsbFBLAQIUABQA AgAIAAR+FylpgC6DCksAAACwAAAKAAAAAAAAAAAAIAC2gdOdAABCdWZmZXIu ZGxsUEsFBgAAAAACAAIAbgAAAAXpAAAAAA== ---559023410-851401618-970671560=:2377-- From chrisw@nipltd.com Wed Oct 4 16:16:59 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:16:59 +0100 Subject: [Zope] dunno References: <20001003182153.A16179@enteract.com> Message-ID: <39DB49EB.69E89B1A@nipltd.com> Fred Yankowski wrote: > > Version 0-7-2 of Squishdot seems to use the url_quote option when > accessing the value of admin_address in particular, so when a DTML > page has code like > > Where does this code occur? (all occurences please ;-) > and admin_address is a property with the value "foo@bar.com", the > resulting HTML code is > > foo%40bar.com > > which doesn't work correctly, particularly when used as the value of a > 'mailto:' URL. How odd... Where have you got a mailto: URL? I've never had problem with this. What evrsion of Zoep are you using? > So what's the solution? Is Squishdot wrong to use url_quote this way? Dunno... > Why is url_quote hiding the "@" anyway -- I don't see any reason for > escaping it this way. Dunno... Anyone with clues, please give me one :-) cheers, Chris From chrisw@nipltd.com Wed Oct 4 16:19:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:19:31 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: <39DB4A83.6858FB20@nipltd.com> Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? > Also you could send just one message to all the recipients instead of > sending individual messages. Urm, they could be pretty unfriendly mail messages if they're being sent to a coupla thousand people. The bandwidth dcoming out of your server alone would be far higher than it needed to be :-( > > I wonder how mailman does this stuff and if the code could be borrowed > > for Zope? > > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. Any how-to's for this or how hard it would be to set up? cheers, Chris From kthangavelu@earthlink.net Wed Oct 4 11:33:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 03:33:37 -0700 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> Message-ID: <39DB0781.C577FBE2@earthlink.net> Jonathan Cheyne wrote: > > Hi all > > I have built the basis of a site with full, form-based webediting of > objects. Coming round to cleanup time and I wanted to remove certain > visible functions from the default object views unless you have already > logged in (with various possible roles) > > in the index_html of my zclass i have > > > edit this
>
> so if the user is anonymous or logged in without the Staff role assigne > they should not see the "edit this" link ... > > Doesn't work! It basically never returns a 'true' response thus never > displays the edit this link even when logged in. try (untested) Cheers Kapil From l.caroti@wayin.net Wed Oct 4 16:41:21 2000 From: l.caroti@wayin.net (Luciano Caroti) Date: Wed, 4 Oct 2000 17:41:21 +0200 Subject: [Zope] Implementing a distributing mirror Message-ID: Hi, I would like to implement a system to distribute PDF document. I would like to use ZOPE on 5 server distributed in Europe. I would like to build a system that send an email to a paying user where I put an URL. I would like that in URL I send temporary authentication information to allow access to a virtual directory where I put only documents or images files that user purchased. Have you any hints on how implement this architecture? Thank you in advance, Luciano Caroti. From amonta@regents.state.la.us Wed Oct 4 16:45:55 2000 From: amonta@regents.state.la.us (Dr. Anthony Monta) Date: Wed, 04 Oct 2000 10:45:55 -0500 Subject: [Zope] help! dtml-if question Message-ID: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Hi, I've tried to find a solution myself but now am stuck. I created a little "Blurb" product for a university department website so that faculty members can announce recent publications on the department's homepage. They create these ZClass instances in their own folders, and a DTML method in the top-level folder grabs and displays them at random. (I want to avoid using ZCatalog for the time being.) What the method does is randomly choose a faculty folder, and then randomly choose a Blurb instance within that folder. Here's the hack I came up with: (end tags omitted) The problem is that this method will produce an Index Error when it comes across a folder that doesn't contain an instance of "Blurb" class. So I need to make the selection of a folder conditional on Zope's finding a Blurb in that folder. Here's what I tried after reading up: Some default Blurb would appear. This method fails. Can someone help? Cheers, Anthony ~~~~~~~~~~~~~~~~ Anthony Brietz Monta Coordinator of Curricular Assessment & Academic Reporting Louisiana Board of Regents 150 Third Street, Suite 129 Baton Rouge, LA 70801-1389 225.342.4253, ext. 143 amonta@regents.state.la.us From klm@digicool.com Wed Oct 4 16:54:40 2000 From: klm@digicool.com (Ken Manheimer) Date: Wed, 4 Oct 2000 11:54:40 -0400 (EDT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: On Wed, 4 Oct 2000, Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. This seems like a good idea. It makes it hard to get disposition status for the delivery in the transaction - but that problem is intrinsic to email communications, and probably best addressed by using the "sender" header (i think it is), so delivery failure notifications go to someone who needs to know about the failure. Even better - but lots more complicated: have the failure notifications directed to a program which queues the fact of the failure for the sending program to use. I haven't used it, but contemporary MTAs have catchall aliases, by which you can handle a pattern of recipients. Have the envelope sender fit the pattern, and encode the information about the program that needs to get back the failure information. I think this kind of architecture is necessary for comprehensive mail sending from zope, with delivery failure accounting, since mail sending is inherently asynchronous. > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. This is also a good idea in principle, but would wind up being cumbersome. Mailling list "objects" are heavy weight components in mailman - each one having a list metadata and archive directory, mta aliases, etc. Plus, you may have to leave the list up until the last delivery is completed (successful or not). Better, i think, to adopt techniques and steal code from mailman, to take the pieces you want. Ultimately, i don't think you'd be taking that much - there's a lot in python that gets you a lot of the way. It's the embedded knowledge that's useful... -- Ken klm@digicool.com From joachim.werner@iuveno.de Wed Oct 4 17:00:03 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Wed, 4 Oct 2000 18:00:03 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100418001401.10603@promotor> Thanks for the input I got! Just a small wrap-up of what I learned: - The NotMail and old IMAP Adapter code don't seem to be seriously used by anybody - WorldPilot could be a solution, but it only if it was more modular. Ryan Hughes promised to integrate it into Zope by release 2 (incl. a ZODB-based document storage - There is a similar project by Morten W. Petersen that also will feature a ZODB-based message storage that will be searchable, Catalog-aware etc. Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de ------------------------------------------------------- -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From bill@carbonecho.com Wed Oct 4 17:11:41 2000 From: bill@carbonecho.com (Bill Welch) Date: Wed, 4 Oct 2000 16:11:41 +0000 (GMT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DB4A83.6858FB20@nipltd.com> Message-ID: Techniques for effeciently sending a message to a large number of recipients are covered extensively in majordomo documentation - www.greatcircle.com/majordomo. Also check out ftp://cs.utk.edu/pub/moore/bulk_mailer Bill. On Wed, 4 Oct 2000, Chris Withers wrote: > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( From sfl@beehive.de Wed Oct 4 17:15:16 2000 From: sfl@beehive.de (Sebastian Luehnsdorf) Date: Wed, 4 Oct 2000 18:15:16 +0200 (CEST) Subject: [Zope] cookies & ie5.5 win Message-ID: hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution? any help would be appreciated. ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99 From drusch@globalcrossing.com Wed Oct 4 17:23:20 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 04 Oct 2000 11:23:20 -0500 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> Message-ID: <39DB5978.8F8CF1EF@globalcrossing.com> This works for me, no pun intended :) Dan Kapil Thangavelu wrote: > > Jonathan Cheyne wrote: > > > > Hi all > > > > I have built the basis of a site with full, form-based webediting of > > objects. Coming round to cleanup time and I wanted to remove certain > > visible functions from the default object views unless you have already > > logged in (with various possible roles) > > > > in the index_html of my zclass i have > > > > > > edit this
> >
> > so if the user is anonymous or logged in without the Staff role assigne > > they should not see the "edit this" link ... > > > > Doesn't work! It basically never returns a 'true' response thus never > > displays the edit this link even when logged in. > > try (untested) > > > or (tested) > > > > Cheers > > Kapil > > _______________________________________________ > 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 ) From jwashin@vt.edu Wed Oct 4 17:30:15 2000 From: jwashin@vt.edu (Jim Washington) Date: Wed, 04 Oct 2000 12:30:15 -0400 Subject: [Zope] help! dtml-if question References: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Message-ID: <39DB5B17.5050307@vt.edu> Hi, Anthony how about: 0"> Your _.has_key() (I think you meant _.hasattr()) statement was looking for something named "Blurb", not a thing of type"Blurb", so of course it failed. The objectValues(['atype']) statement returns a list of the things of the type, so checking for a non-zero length of the list will do what you need. -- Jim Washington Dr. Anthony Monta wrote: > Hi, > > I've tried to find a solution myself but now am stuck. I created a > little "Blurb" product for a university department website so that > faculty members can announce recent publications on the department's > homepage. They create these ZClass instances in their own folders, > and a DTML method in the top-level folder grabs and displays them at > random. (I want to avoid using ZCatalog for the time being.) What > the method does is randomly choose a faculty folder, and then randomly > choose a Blurb instance within that folder. Here's the hack I came up > with: > > > > > > > > > (end tags omitted) > > The problem is that this method will produce an Index Error when it > comes across a folder that doesn't contain an instance of "Blurb" > class. So I need to make the selection of a folder conditional on > Zope's finding a Blurb in that folder. Here's what I tried after > reading up: > > > > > > > > > > > Some default Blurb would appear. > > This method fails. Can someone help? > From Danny@Adair.net Wed Oct 4 18:57:56 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 19:57:56 +0200 Subject: [Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3 In-Reply-To: <39DB36A2.4080601@cat-box.net> Message-ID: >You can build one yourself on that server. Thanks, I've built one. :-) From grundhan@cs.tu-berlin.de Thu Oct 5 21:21:39 2000 From: grundhan@cs.tu-berlin.de (Hannes) Date: Thu, 05 Oct 2000 21:21:39 +0100 Subject: [Zope] Client.py and timeouts Message-ID: <39DCE2D1.F8EE2D4B@cs.tu-berlin.de> I recently used Client.py to get data from the web into the zope machinery, the setup was exactly as proposed in the ZClient How-To. Maybe I missed something, but the Client module seems to support the setting of an timeout, but I was unable to finger out the right syntax I thought of: web_client(url='http://someserver.com', timeout=60) or some variants of it. (or it doesnt work at all for some other reasons.) Any help would be appreciated.. Hannes From mindlace@digicool.com Wed Oct 4 20:23:42 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 15:23:42 -0400 Subject: [Zope] zope.org restarting Message-ID: <39DB83BE.109AA5AB@digicool.com> Zopatistas, we're tracking down a memory leak. Thanks for your patience, ~ethan From jatwood@bwanazulia.com Wed Oct 4 20:38:43 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 04 Oct 2000 15:38:43 -0400 Subject: [Zope] Wierd 2.2.2 start up problem Message-ID: I have installed 2.2.2 on more than a few machines.... on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line 446, in setstate ImportError: No module named Document I have tried wiping it away and trying again like three times. Anyone know what this? Why it is not happening in installs. All RH Linux. Thanks, J From peter@grenna.net Wed Oct 4 21:10:54 2000 From: peter@grenna.net (Peter Bengtsson) Date: Wed, 4 Oct 2000 21:10:54 +0100 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> <39DB5978.8F8CF1EF@globalcrossing.com> Message-ID: <004001c02e3f$34595160$01d4a8c0@peppe> Stolen somewhere from this list, and I don't remember from who. ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". > > > This works for me, no pun intended :) > > Dan > > Kapil Thangavelu wrote: > > > > Jonathan Cheyne wrote: > > > > > > Hi all > > > > > > I have built the basis of a site with full, form-based webediting of > > > objects. Coming round to cleanup time and I wanted to remove certain > > > visible functions from the default object views unless you have already > > > logged in (with various possible roles) > > > > > > in the index_html of my zclass i have > > > > > > > > > edit this
> > >
> > > so if the user is anonymous or logged in without the Staff role assigne > > > they should not see the "edit this" link ... > > > > > > Doesn't work! It basically never returns a 'true' response thus never > > > displays the edit this link even when logged in. > > > > try (untested) > > > > > > > or (tested) > > > > > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) > From shane@digicool.com Wed Oct 4 21:21:58 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:21:58 -0400 Subject: [Zope] timecards@digicool.com Message-ID: <39DB9166.575C595D@digicool.com> This is a multi-part message in MIME format. --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry for the tardiness. Shane --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000917.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000917.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAM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AsE4AAU AAoApAABACEAAAAREQgECAQABAsE4AAUAAcApAABACAAAAABEQgACAQABAwE4AAUAAoApAAB ACEAAAAQAQAECAAABAsE4AAUAAoApAABACEAAAARAQgECAAABAsE4AAUAAcApAABACAAAAAR AQgECAAABAsE4AAUAAcApAABACAAAAABAQgACAAABAwE4AAUAAwApAABACAAAAAAAAAAAAAA AIkE4AAUAAcApAABACAAAAAAAAAAAAAAAIkEkwIEABCAA/+TAgQAEYAG/5MCBAASgAX/kwIE AACAAP+TAgQAE4AE/5MCBAAUgAf/kgDiADgAAAAAAP///wCAAAAA///AAMDAwAD/AAAA/wD/ AAD//wCAAAAAAIAAAAAAgACAgAAAgACAAACAgADAwMAAgICAAJmZ/wCZM2YA///MAMz//wBm AGYA/4CAAABmzADMzP8AAACAAP8A/wD//wAAAP//AIAAgACAAAAAAICAAAAA/wAAzP8AzP// AMz/zAD//5kAmcz/AP+ZzADMmf8A/8yZADNm/wAzzMwAmcwAAP/MAAD/mQAA/2YAAGZmmQCW lpYAADNmADOZZgAAMwAAMzMAAJkzAACZM2YAMzOZADMzMwBgAQIAAACFAA4ADQwAAAAABgBT aGVldDGMAAQAMQAxAK4BBAABAAEEFwACAAAAGAAsAAAAABANAAAAAAAAAAAAAFNIQVJFRF9G T1JNVUxBXzAlAAAAAPnA/8BiAQQAGAAsAAAAABANAAAAAAAAAAAAAFNIQVJFRF9GT1JNVUxB XzElAAAAAPnA/8BiAQQA6wBaAA8AAPBSAAAAAAAG8BgAAAABBAAAAgAAAAEAAAABAAAAAQAA AAEAAAAzAAvwEgAAAL8ACAAIAIEBCQAACMABQAAACEAAHvEQAAAADQAACAwAAAgXAAAI9wAA EPwAggEiAAAAIgAAAAQAAE5hbWUOAABTaGFuZSBIYXRoYXdheQ0AAFdlZWsgU1RBUlRJTkcE AABEYXRlCAAAQ3VzdG9tZXIHAABQcm9qZWN0BAAAVGFzawMAAFN1bgMAAE1vbgMAAFR1ZQMA AFdlZAMAAFRodQMAAEZyaQMAA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AgACQAJAAiACIAFgAiACIAIgAiAAkABgAjABIACgAlAAAAAAAAAAAAAwAAAAAADQAl EgASAAPACcBCAQQAvgAaABMAAAAgACQAJAAiABYAIgAiACIAIgAiAAkABgAjABMACgAlAAAA AAAAAAAAAwAAAAAADQAlEwATAAPACcBCAQQAvgAaABQAAAAgACQAJAAiABYAFgAWABYAFgAi AAkABgAjABQACgAlAAAAAAAAAAAAAwAAAAAADQAlFAAUAAPACcBCAQQAvgAaABUAAAAgACQA JAAiACIAIgAiACIAIgAiAAkABgAjABUACgAlAAAAAAAAAAAAAwAAAAAADQAlFQAVAAPACcBC AQQAvgAaABYAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABYACgAlAAAAAAAAAAAAAwAA AAAADQAlFgAWAAPACcBCAQQAvgAaABcAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABcA CgAlAAAAAAAAAAAAAwAAAAAADQAlFwAXAAPACcBCAQQAvgAaABgAAAAgACQAJAAiACIAIgAi ACIAIgAiAAkABgAjABgACgAlAAAAAAAAAAAAAwAAAAAADQAlGAAYAAPACcBCAQQAvgAaABkA AAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABkACgAlAAAAAAAAAAAAAwAAAAAADQAlGQAZ AAPACcBCAQQAvgAaABoAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABoACgAlAAAAAAAA AAAAAwAAAAAADQAlGgAaAAPACcBCAQQAvgAaABsAAAAgACQAJAAiACIAIgAiACIAIgAiAAkA BgAjABsACgAlAAAAAAAAAAAAAwAAAAAADQAlGwAbAAPACcBCAQQAvgAaABwAAAAgACQAJAAi ACIAIgAiACIAIgAiAAkABgAjABwACgAlAAAAAAAAAAAAAwAAAAAADQAlHAAcAAPACcBCAQQA vgAaAB0AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB0ACgAlAAAAAAAAAAAAAwAAAAAA DQAlHQAdAAPACcBCAQQAvgAaAB4AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB4ACgAl AAAAAAAAAAAAAwAAAAAADQAlHgAeAAPACcBCAQQAvgAaAB8AAAAgACQAJAAiACIAIgAiACIA IgAiAAkABgAjAB8ACgAlAAAAAAAAAAAAAwAAAAAADQAlHwAfAAPACcBCAQQAvgAaACAAAAAm ACcAJwAoACgAKAAoACgAKAAoAAkABgAjACAACgApAAAAAAAAAAAAAwAAAAAADQAlIAAgAAPA CcBCAQQACAIQACAAAAALAAGBAAAAAAABDwAIAhAAIQAAAAEAAYEAAAAAAAEPAAgCEAAiAAAA CwABgQAAAAAAAQ8AvgAcACEAAAAWABYAFgAWABYAFgAWABYAFgAWABYACgC+ABQAIgAAABYA FgAWABYAFgAWABYABgD9AAoAIgAHACoAIQAAAL4ACgAiAAgAKgAqAAkABgAjACIACgArAAAA AAAAAAAAAwAAAAAADQAlBAAgAArACsBCAQQA7ABQAA8AAvBIAAAAEAAI8AgAAAABAAAAAAQA AA8AA/AwAAAADwAE8CgAAAABAAnwEAAAAAAAAAAAAAAAAAAAAAAAAAACAArwCAAAAAAEAAAF AAAAPgISALYGAAAAAEAAAAAAAAAAAAAAAB0ADwADAAAAAAAAAQAAAAAAAAAKAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAA/hwAAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000924.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000924.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQAaAMg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////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAANR0AAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72-- From shane@digicool.com Wed Oct 4 21:36:21 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:36:21 -0400 Subject: [Zope] timecards@digicool.com References: <39DB9166.575C595D@digicool.com> Message-ID: <39DB94C5.89CB6B7A@digicool.com> Shane Hathaway wrote: > > Sorry for the tardiness. Uh, ahem, please disregard. Sorry for sending that to the wrong place. Shane From bennettt@am.appstate.edu Wed Oct 4 23:03:28 2000 From: bennettt@am.appstate.edu (TMGB) Date: Wed, 04 Oct 2000 18:03:28 -0400 Subject: [Zope] client proxy setting Message-ID: <39DBA930.875750F0@am.appstate.edu> Can I get the user's client proxy setting using 'REQUEST' or some other syntax, product, or utility. This is not Proxy Roles or ProxyPass, but the client's proxy settings if any. I am working on a help page to debug a user's settings if he or she can't get to certain pages with our proxy server settings on their browser. I've found this to work for testing cookies acceptance:(set a cookie and then try to get it) YES, You Do Have Cookies Enabled NO, Your browser is not accepting cookies Thanx, Thomas -- -------------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org -------------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library bennettt@am.appstate.edu http://www.library.appstate.edu/webmaster/ Voice: 828 262 6587 FAX: 828 262 3001 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine From terry@adroit.net Thu Oct 5 00:25:19 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 05 Oct 2000 09:25:19 +1000 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> Message-ID: <39DBBC5F.9D375761@adroit.net> Chris Withers wrote: > Hannu Krosing wrote: > > Perhaps it would be better to solve this by configuring your sendmail > > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. > > Can you tell me how to set that up with exim? > > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( > How would the bandwidth change?? > > > > I wonder how mailman does this stuff and if the code could be borrowed > > > for Zope? > > > > Maybe you could just use mailman as MTA, greating temporary > > mailing-lists. > > Any how-to's for this or how hard it would be to set up? > > 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 ) -- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124 From ewalstad@yahoo.com Wed Oct 4 23:01:53 2000 From: ewalstad@yahoo.com (Eric) Date: Wed, 04 Oct 2000 15:01:53 -0700 Subject: [Zope] external method import error (ImportError)... Message-ID: Hi, To summarize: How do I import modules in an External Method's .py file? I have an external method that points to a .py file that has an import statement at the top. The import statement loads another module of mine (CProject.py). I've placed both files (pwToxml.py and CProject.py) in the Zope/Extensions directory. When I try to create an external method on the pTox.py file with the following parameters: ID = pTox Function Name = pTox Python Module File = pwToxml I get the following error: Error Type: ImportError Error Value: No module named CProject Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 130, in manage_addExternalMethod File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 178, in __init__ (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 201, in manage_edit (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 210, in getFunction (Object: pTox) File /usr/local/Zope/lib/python/App/Extensions.py, line 217, in getObject (Info: ('/usr/local/Zope/Extensions/pwToxml.py', 'pwToxml')) File /usr/local/Zope/Extensions/pwToxml.py, line 1, in ? ImportError: (see above) I checked the sys.path for my Python installation and placed the CProject.py file there, but I still get the same error. Here's the top of my pwToxml.py file: import CProject, string def pTox(self, REQUEST): """Function to map pw to CProject Objects""" P=CProject.CProject() dictData = REQUEST.form.items() strTemp = "" strError = "Error Retrieving Dictionary Value" ...etc... Thanks for any help you can provide. From curtis@cardgate.net Wed Oct 4 23:48:38 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 5 Oct 2000 09:48:38 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: References: Message-ID: <00100509483801.00895@localhost.localdomain> On Wed, 04 Oct 2000, Stephan Goeldi wrote: > > > > According to a recent study, there are approximately 13 'web safe' > > > > colours, out of the full 16,777,216. > > > > > > What makes the other 15,777,203 'unsafe'? > > If you mean the 'browsersafe colours' then there are 218. > Yes, my mistake. I did mean 'browser safe'. I was aware of the previous belief of 216 (mostly because of 256 colour modes less 40 system colours), but as I stated, a recent study has "dispelled the myth", claiming (and now I correct myself :) only 22 browser safe colours. http://slashdot.org/articles/00/09/08/1622204.shtml has some more details, and a link to the actual article. > >The only other possible reason I can recall is that some of the 'named' > >colours are not supported by all browsers, or are not interpreted the > > same. > > No, the problem is, that they are not displayed the same. > Not long after posting my message I realised this also. (o8 > -goe- > Have a better one, Curtis Maloney From mindlace@digicool.com Wed Oct 4 23:43:00 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:43:00 -0400 Subject: [Zope] Zope stalls indefinitely References: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Message-ID: <39DBB274.2BA7F0D9@digicool.com> "Leichtman, David J" wrote: > > Thought we had a problem of ours fixed, but here it is once again, a month > later. > Zope, every once in a while, will just stall indefinitely. The Zope process > doesn't die, it just hangs. > Any thoughts. I've posed this question to a lot of people many times. Now > that it's back, I'm hoping for fresh insight. hm. have you been using -M to see which things are being called when it hangs? ~ethan From mindlace@digicool.com Wed Oct 4 23:54:50 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:54:50 -0400 Subject: [Zope] Last-modified header missing -- time-stamps turned off. References: Message-ID: <39DBB53A.39A6F0CD@digicool.com> Jean Jordaan wrote: > > Hi all > > Just a note from the blue .. I'm snarfing the ZB using > wget -np -m http://www.zope.org/Members/michel/ZB/ > and for every document I'm seeing: > > Last-modified header missing -- time-stamps turned off. > > What's the significance of this? I assume something to > do with the http headers returned by Zope. Does Zope not > include last-modified headers since it predominantly serves > dynamic pages? This is correct. No Last-Modified headers except for files and images (and that is specific to zope.org). Including a last modified header isn't hard, however: http://www.zope.org/Members/rbeer/caching ~ethan From aboulanger@ldeo.columbia.edu Thu Oct 5 00:31:21 2000 From: aboulanger@ldeo.columbia.edu (Albert Boulanger) Date: Wed, 04 Oct 2000 19:31:21 -0400 Subject: [Zope] WDDX anyone? Message-ID: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also there is full rdf. From: http://www.wddx.org/ Welcome to WDDX.ORG, the home of the WDDX SDK and related projects. WDDX.ORG seeks to empower Web developers with technology that enables them to create new forms of value on the Internet using distributed data and Web syndicate networks. The Web Distributed Data Exchange, or WDDX, is a free, open XML-based technology that allows Web applications created with any platform to easily exchange data with one another over the Web. To learn more about WDDX, check out the Understanding WDDX section of the site. Who created WDDX? Allaire created WDDX in order to solve key problems in exchanging data between Web applications. In particular, Simeon Simeonov, Allaire's language technology architect, created WDDX to support problems of distributed computing within ColdFusion. This work was generalized into a cross-language framework, and resulted in the creation of the WDDX SDK and WDDX.org. The WDDX SDK was created by Nate Weiss, an independent Web developer, with the support of Allaire and a number of other third parties. How does WDDX work? All of the standard programming environments on the Web (ColdFusion, Perl, ASP, Java, JavaScript, PHP, etc) include native data structures such as arrays, record sets or value pairs. WDDX provides a module for each language that will automatically serialize or translate the native data structures into an abstract representation in XML, or deserialize WDDX XML into a native data structure. For example, you could use WDDX to take a complex array in ColdFusion, serialize it into XML, send it to an ASP server, and then deserialize from XML into a VBScript array object with all the types natively converted. This conversion process between languages is relatively transparent to developers by shifting any XML processing and interaction into the WDDX modules, eliminating developers from having to directly program or manipulate XML themselves, This is not an RMI mechanism. Regards, Albert Boulanger aboulanger@vpatch.com From nestor@engendro.com Thu Oct 5 01:06:26 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Wed, 4 Oct 2000 19:06:26 -0500 (COT) Subject: [Zope] Product Testing In-Reply-To: Message-ID: HI, i'm trying to learn how to make products, i have been able to modify the poll product that comes with the product tutorial, and now i'm creating a new product however i need to restart zope for the changes to take effect, i think i can omit this if i can compile (generate the *.pyc) in the product directory, can anybody send me a few bits of how can i made that? thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From michel@digicool.com Mon Oct 2 21:41:25 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: [Zope] Fw: ZSQL Methods in ZClasses, not working References: Message-ID: <39D8F2F5.B825620@digicool.com> Just wanted to get this point archived... Thanks Michel. Forwarded by Alexander Schonfeld ---------------- Original message follows ---------------- From: Michel Pelletier To: alex@garage.co.jp Cc: " \(DC Support List\)" Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: Re: [Support] [ZOPE Collector] Z SQL Methods Bug entry: ZSQL Methods in ZClasses, not working -- alex@garage.co.jp wrote: > > A new bug entry was added with the following information: > > Title: ZSQL Methods in ZClasses, not working > > At: http://classic.zope.org:8080/Collector/Collector/1664/sview > > Submitter: Alex > > Email: alex@garage.co.jp > > Description: Adding a ZSQL method to a ZClass and trying to access it from a method in that class gives permission denied and no matter what the password, denies access. You need to select *Use Database Methods* on your ZClasses *Permissions* view, and then select each ZSQL method you create and map *Use Database Methods* to *Use Database Methods*. I haven't really groked why it's that hard, but it works. -Michel From mandrews@netgenics.com Thu Oct 5 01:17:36 2000 From: mandrews@netgenics.com (Andrews, Martin) Date: Wed, 4 Oct 2000 20:17:36 -0400 Subject: [Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2 Message-ID: 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_000_01C02E61.AA7FFC96 Content-Type: text/plain; charset="iso-8859-1" When I have the 2000-10-02 hotfix installed I can no longer authenticate to zope. I fails with the attached message (Error Type: AttributeError, Error Value: editabsolute_url). I am guessing the problem is related to the fact that I am using GUF 1.2.4 (patched to have the getUserById() method). Any ideas? Martin mandrews@netgenics.com ------_=_NextPart_000_01C02E61.AA7FFC96 Content-Type: application/octet-stream; name="zope.err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zope.err" Zope=0A=

=0A= =0A=
=0A= Zope=0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= 3D"Zope"=0A= =0A=

Zope Error

=0A=

Zope has encountered an error while publishing this resource.=0A=

=0A= =0A=

=0A= Error Type: AttributeError
=0A= Error Value: manageabsolute_url
=0A=

=0A= =0A=
=0A= =0A=

Troubleshooting Suggestions

=0A= =0A=
    =0A=
  • The URL may be incorrect.
  • =0A=
  • The parameters passed to this resource may be incorrect.
  • =0A=
  • A resource that this resource relies on may be encountering an = error.
  • =0A=
=0A= =0A=

For more detailed information about the error, please=0A= refer to the HTML source for this page.=0A=

=0A= =0A=

If the error persists please contact the site maintainer.=0A= Thank you for your patience.=0A=

=0A=
=0A= =0A= =0A=

Last modified: 2000/10/04 15:55:28.369 US/Eastern=0A= =0A= ------_=_NextPart_000_01C02E61.AA7FFC96-- From kthangavelu@earthlink.net Thu Oct 5 00:16:09 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 16:16:09 -0700 Subject: [Zope] WDDX anyone? References: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Message-ID: <39DBBA39.8C7C26E1@earthlink.net> Albert Boulanger wrote: > > Has anyone considered WDDX for Zope? This seems like a nice next step to > > exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs > for CF, perl, etc. > > I have some applications in mind for intranet syndication that goes > beyond what RSS can do. Also there is full rdf. > > From: http://www.wddx.org/ > WDDX provides a module for > each language that will automatically serialize or translate the native > data structures into an abstract representation in XML, or deserialize > WDDX XML into a native data structure. For example, you could use WDDX > to take a complex array in ColdFusion, serialize it into XML, send it to > an ASP server, and then deserialize from XML into a VBScript array > object with all the types natively converted. This conversion process > between languages is relatively transparent to developers by shifting > any XML processing and interaction into the WDDX modules, eliminating > developers from having to directly program or manipulate XML themselves, > > This is not an RMI mechanism. So what about this couldn't be emulated with xml-rpc? Curious, Kapil From roman@speeder.org Thu Oct 5 06:35:53 2000 From: roman@speeder.org (Roman Milner) Date: 05 Oct 2000 00:35:53 -0500 Subject: [Zope] LDAP won't work - yes I've applied the patch Message-ID: <871yxvluiu.fsf@blip.speeder.zoe> I'm trying to get ldap methods to work with 2.2.2. I can access the attributes of the objects returned from an ldap method with a python extension fine, but dtml-in'ing the returned list doesn't work. I keep getting an error (traceback below). Any ideas? Thanks, ^Roman Your action caused an unknown error to occur. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From ppetru@ppetru.net Fri Oct 6 04:00:44 2000 From: ppetru@ppetru.net (Petru Paler) Date: Fri, 6 Oct 2000 06:00:44 +0300 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DCE3C8.3E9F6BD2@digicool.com>; from michel@digicool.com on Thu, Oct 05, 2000 at 01:25:44PM -0700 References: <39DCE3C8.3E9F6BD2@digicool.com> Message-ID: <20001006060044.C1065@ppetru.net> On Thu, Oct 05, 2000 at 01:25:44PM -0700, Michel Pelletier wrote: > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > > > Hi Brad - > > > > SOAP is still something we want to do, but it is on hold right > > now (we just don't have the resources at the moment). I've been > > hoping that someone might take the lead and start a project on > > dev.zope.org, but so far that hasn't happened :( > > Take a look at: > > http://classic.zope.org:8080/Collector/1360/view > > I remember glancing at it for a bit, it might be a good start to at > least get it to the same level of support as xml-rpc. Glad to see that people finally show some interest in that :) That patch was the result of a long night, but I'm sure it can be gotten to work properly (right now I think it has problems with exception handling). -- Petru Paler, mailto:ppetru@ppetru.net http://www.ppetru.net - ICQ: 41817235 From kthangavelu@earthlink.net Fri Oct 6 01:55:12 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Thu, 05 Oct 2000 17:55:12 -0700 Subject: [Zope] sudden ZClass breakage References: Message-ID: <39DD22F0.CD3E5F7B@earthlink.net> Timothy Wilson wrote: > > Hi everyone, > > I've been working away on a ZClass-based product that will provide a > searchable job board for our Human Resources Dept. here at school. Things > were going along fine until, it seemed, out of the blue I started getting an > error message about an "Invalid Date-Time String" and a lengthy > traceback. I'm wondering if anyone can glean anything from the > traceback. Is this one of those obvious errors that I'm just missing? I'm > really puzzled. Any advice would be appreciated. Here's the traceback: You're trying to change the zclass properties after creating it but you're not passing in a valid date time string and hence you're getting this error. Make sure the string you're passing in conforms to a date time format. (check ZOPE_HOME/lib/python/DateTime/DateTime.py for the supported formats), or just cast it explicitly like . I've noticed some behavior earlier today where i change all my zclass properties in a manage_changeProperties (depends on where) even ones not listed in the request. if this is your problem and you don't have date_time string set in the REQUEST you can try explicitly passing in a dummy date time string (ZopeTime or distant past), or setting it to its default value, i'd chuck this into the Collector/Tracker. i'm sure others have good solutions. > > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > wilson@visi.com | | http://linux.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 ) From stephan.goeldi@datacomm.ch Fri Oct 6 09:15:26 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 06 Oct 2000 08:15:26 GMT Subject: [Zope] browsable parent directories Message-ID: I successfully installed and used SiteAccess on my Zope 2.2.0. There is a directory /www on my server, where subdirectories are stored. Customer domains point to those subdirectories: /www/domain1 /www/domain2 etc. in domain1 and domain2 are the acl_user folders with manager permission for the customer. And there are the SiteRoot methods as Title = www.domain1.com Base = http://www.domain1.com Path = / When the customer accesses the manage screen, in the left frame everything is correct displayed (as www.domain1.com/). In the right folder it isn't. On the top of the right frame is the current path displayed as: /toplevel/www/domain1 The customer can browse to /toplevel/www and look who else is on this server. This is bad security IMHO. Is there a workaround for this? I downloaded SiteAccess 2, because I didn't know which version I installed some weeks ago. There was no 'Product' directory in my Zope root. So I created the directory and untarred SiteAccess2. I don't know how to delete SiteAccess 1. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From knight@righteous.net Fri Oct 6 09:37:37 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:37:37 -0700 (PDT) Subject: [Zope] redirect to user's folder not working In-Reply-To: <00100610043506.00895@localhost.localdomain> Message-ID: > On Fri, 06 Oct 2000, Andy McKay wrote: > > AUTHENTICATED_USER is not a string so need to cast it before doing the > > string operation: > > > > > > > > effectively does the same thing, it calls the > > string representation of AUTHENTICATED_USER. > > > > A more 'polite' way to get the user name is to use > AUTHENTICATED_USER.getUserName(). Not as short, true, but definitely more > explicit. Agreed. Any remember, several user managers don't completely conform to the AUTHENTICATED_USER "standards", and you might see calling AUTHENTICATED_USER directly fail completely. ;] Knight knight@phunc.com From knight@righteous.net Fri Oct 6 09:41:30 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:41:30 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: > How do I get a zope database connection from an enternal method? You can access your db using your existing ZSQL Methods by calling them from the namespace passed in, specifically self. Example: def myextmethod(self): mfl_id = 3 results = self.sqlCountUsers(mfl_id=mfl_id) for result in results: print result[0], result[3] Keep in mind that a list is returned, not a dictionary. Knight knight@phunc.com From knight@righteous.net Fri Oct 6 10:05:26 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 02:05:26 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) > > From matt@virtualspectator.com Fri Oct 6 10:55:53 2000 From: matt@virtualspectator.com (matt) Date: Fri, 6 Oct 2000 22:55:53 +1300 Subject: [Zope] XMLDocument create attributes problem Message-ID: <00100622591302.00925@localhost.localdomain> Hi, I'm trying to make an external method create and set some attributes of nodes in an XML document. The following is a fragment of the code, and the error. I can't even get a valid attribute created, let alone set. Does anyone have some examples? Please could you reply to me as well as the list, regards Matt from Products.XMLDocument.XMLDocument import Document def add(self, id, title): ob=Document() ob.title=title ob.id=id id=self._setObject(id, ob) log_node = ob.createElement('log') an_at = ob.createAttribute('attribute1') Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: too many arguments; expected 3, got 4 Traceback (innermost last): File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: addxmldoc('test', 'some_title_test')) (Info: addxmldoc) File , line 0, in ? File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ExternalMethod/ExternalMethod.py, line 270, in __call__ (Object: addxmldoc) (Info: (('test', 'some_title_test'), {}, None)) File /usr/local/zope/Zope-2.2.0-linux2-x86/Extensions/addxmldoc.py, line 11, in add (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/XMLDocument/XMLDocument.py, line 283, in createAttribute (Object: Manageable) TypeError: (see above) From rbeer@uni-goettingen.de Fri Oct 6 12:19:11 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 6 Oct 2000 13:19:11 +0200 Subject: [Zope] Migrating from 2.1.6 to 2.2.2 In-Reply-To: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> References: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> Message-ID: Take a look at http://www.zope.org/Products/Zope/2.2.0/upgrading_to_220. Ragnar >I have a Zope based web site running under 2.1.6. I want to move it >to a different machine which will be running 2.2.2. Can someone >identify the steps I need to take to make this move? What things do >I need to be aware of in moving between these versions? Do I just >need to copy the data.fs along with any required product files, or >do I need move/configure other things. > >Thanks. > > >_______________________________________________ >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 ) From ssmith6@bigpond.net.au Fri Oct 6 13:17:11 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Fri, 6 Oct 2000 22:17:11 +1000 Subject: [Zope] Passing lists to zsql methods Message-ID: <000101c02f8f$5b8a6840$be348490@vic.bigpond.net.au> I have a form comprising two selection lists, each supporting multiple selection. I want the inputs to become parameters to a zsql method. I find the input works if the user selects at least one item from each list, but fails with a 'bad object id' message if either list is left unselected. I have tried providing a default list value, no luck. Any ideas out there? The form looks like:

Use this form to specify the parameters for your query or submission

All fields are optional

Multiple selection is supported - hold down the CONTROL key

and the zsql method reads: use thetable BEGIN transaction INSERT INTO rumours (Description) VALUES () DECLARE @rumourid int SELECT @rumourid = MAX(rumourid) FROM rumours COMMIT INSERT INTO roperators(rumourid, OperatorID) VALUES (@rumourid, ) INSERT INTO rclasses(rumourid, ClassID) VALUES (@rumourid, ) From sebbacon@email.com Fri Oct 6 13:52:37 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 13:52:37 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: I've got a ZClass "A" that subclasses another ZClass "B". I can use the default propertysheets/B/manage method to update B's properties; but how do I access the properties of A through the management interface? Many thanks Seb. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of knight Sent: 06 October 2000 10:05 To: zope@zope.org Cc: Mark Twiddy Subject: Re: [Zope] external method database connection Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) From knight@righteous.net Fri Oct 6 14:07:20 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 06:07:20 -0700 (PDT) Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Either I don't fully understand your question, or I'm misinterpreting what you are trying to accomplish. If you are subclassing A, calling it B, then it _already_ has the properties of A when it was subclassed. However, if you have two instances running, one A, and one subclass of A called B, then you can not access that data in A from B since they are seperate instances. Maybe you could clarify what you are trying to accomplish (example maybe)... Regards, Knight knight@phunc.com On Fri, 6 Oct 2000, Seb Bacon wrote: > I've got a ZClass "A" that subclasses another ZClass "B". I can use the > default propertysheets/B/manage method to update B's properties; but how do > I access the properties of A through the management interface? > > Many thanks > > Seb. > > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of > knight > Sent: 06 October 2000 10:05 > To: zope@zope.org > Cc: Mark Twiddy > Subject: Re: [Zope] external method database connection > > > Also, you could always import the specific module for your database, and > create a db connection, then execute() and fetch() directly. Although, if > you are putting this in an external method, it would be wiser to use your > existing ZSQL methods ;] > > Knight > knight@phunc.com > > On Fri, 6 Oct 2000, knight wrote: > > > > > > How do I get a zope database connection from an enternal method? > > > > You can access your db using your existing ZSQL Methods by calling them > > from the namespace passed in, specifically self. > > > > Example: > > > > def myextmethod(self): > > mfl_id = 3 > > results = self.sqlCountUsers(mfl_id=mfl_id) > > for result in results: > > print result[0], result[3] > > > > > > > > Keep in mind that a list is returned, not a dictionary. > > > > Knight > > knight@phunc.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 ) > > > _______________________________________________ > 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 ) > > From odeckmyn.list@teaser.fr Fri Oct 6 14:16:23 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 15:16:23 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ Message-ID: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Hi all, What is the new way to apply the "__no_before_traverse__" using SiteAccess2 ? When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not apply ; this enabling to play with the management interface on a broken SiteAcces configuration... What is the "nowadays way to to this (TM)" ? Please help ! Thanx ! --- We are Micro$oft. You will be assimilated. Resistance is futile. From jjunior@cidadei.com.br Fri Oct 6 14:40:05 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Fri, 6 Oct 2000 10:40:05 -0300 Subject: [Zope] variable Message-ID: <70DA17B25830D411AD6500508B11CB4B3689D2@PRIMA-EXC01> It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. From evan@4-am.com Fri Oct 6 15:30:06 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 10:30:06 -0400 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> From: Olivier Deckmyn > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 Two ways, and it's factored so that you can turn SiteAccess objects off more selectively. First, you can turn all SiteRoots or Access Rules in your site off by restarting Zope with environment variables SUPPRESS_SITEROOT and/or SUPPRESS_ACCESSRULE set. Second, you can insert _SUPPRESS_SITEROOT or _SUPPRESS_ACCESSRULE in a URL right after the name of a container that has one you want to suppress. You can include both, in either order, if a folder has both an Access Rule and a SiteRoot that you want to turn off. Cheers, Evan @ digicool & 4-am From odeckmyn.list@teaser.fr Fri Oct 6 15:23:47 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 16:23:47 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <033c01c02fa1$0a274600$0d00000a@ODECKMYN2K> the new magic buzz word is : "_SUPPRESS_SITEROOT" et voila ! Olivier. ----- Original Message ----- From: "Olivier Deckmyn" To: Sent: Friday, October 06, 2000 3:16 PM Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ > Hi all, > > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 > ? > > When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : > http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not > apply ; this enabling to play with the management interface on a broken > SiteAcces configuration... > > What is the "nowadays way to to this (TM)" ? > > Please help ! > > Thanx ! > > --- > We are Micro$oft. You will be assimilated. Resistance is futile. > > > > _______________________________________________ > 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 ) > > From lheber@debis.com Fri Oct 6 15:24:48 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:24:48 +0200 Subject: [Zope] Animated GIFs Message-ID: <39DDE0B0.B461CE18@debis.com> Hi there, I've got a strange problem. I want to upload an animated GIF to my Zope, but when I want to view it, animation stops at the last frame instead of looping indefinitely. When not uploaded to Zope, the animation works fine, also, when I download the GIF by rightclick from a Zope site and view it again outside Zope, it works perfectly! What's going on here??? Any ideas? PS.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 15:29:21 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 16:29:21 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <200010061629210601.00EAF59D@mail.inetsysonline.com> --=====_9708425616334=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with Zope speed. I've done benchmarking in two machines, with the same hardware. (K7 700= MHz, 128 MB, 20GB HD) Windows machine : W 2000 Professional with Zope for Windows Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 Windows 2000----------------------------------------------------------- Server Hostname: windows Server Port: 80 Document Path: /index_html Document Length: 486 bytes Concurrency Level: 25 Time taken for tests: 1.807 seconds Complete requests: 1000 Failed requests: 137 (Connect: 0, Length: 137, Exceptions: 0) Non-2xx responses: 864 Total transferred: 660974 bytes HTML transferred: 473471 bytes Requests per second: 553.40 Transfer rate: 365.79 kb/s received Connnection Times (ms) min avg max Connect: 0 0 10 Processing: 11 42 356 Total: 11 42 366 ----------------------------------------------------------------------------= ------- Linux-----------------------------------------------------------------------= ---- Server Hostname: linux Server Port: 8088 Document Path: /Contactos Document Length: 396 bytes Concurrency Level: 25 Time taken for tests: 7.688 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 595000 bytes HTML transferred: 396000 bytes Requests per second: 130.07 Transfer rate: 77.39 kb/s received Connnection Times (ms) min avg max Connect: 0 8 224 Processing: 102 181 54 Total: 102 189 278 ----------------------------------------------------------------------------= --------------------------- There's a big difference in the number of requests per second, four times= more in the Windows machine. Anyone knows why? Does it mean that Zope running in Windows is better than= in Linux? /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Inform=E1tica Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ --=====_9708425616334=_ Content-Type: text/html; charset="us-ascii"
Hi, I have a problem with Zope speed.
I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD)
 
Windows machine : W 2000 Professional with Zope for Windows
Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1
 
Windows 2000-----------------------------------------------------------
 
Server Hostname:        windows
Server Port:            80
 
Document Path:          /index_html
Document Length:        486 bytes
 
Concurrency Level:      25
Time taken for tests:   1.807 seconds
Complete requests:      1000
Failed requests:        137
   (Connect: 0, Length: 137, Exceptions: 0)
Non-2xx responses:      864
Total transferred:      660974 bytes
HTML transferred:       473471 bytes
Requests per second:    553.40
Transfer rate:          365.79 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     0    10
Processing:    11    42   356
Total:         11    42   366
-----------------------------------------------------------------------------------
Linux---------------------------------------------------------------------------
 
Server Hostname:        linux
Server Port:            8088
 
Document Path:          /Contactos
Document Length:        396 bytes
 
Concurrency Level:      25
Time taken for tests:   7.688 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      595000 bytes
HTML transferred:       396000 bytes
Requests per second:    130.07
Transfer rate:          77.39 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     8   224
Processing:   102   181    54
Total:        102   189   278
-------------------------------------------------------------------------------------------------------
 
There's a big difference in the number of requests per second, four times more in the Windows machine.
Anyone knows why? Does it mean that Zope running in Windows is better than in Linux?

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
Aitor Grajal Crespo
Director General
 
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66
 
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--=====_9708425616334=_-- From lheber@debis.com Fri Oct 6 15:31:38 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:31:38 +0200 Subject: [Zope] Problems with animated GIFs Message-ID: <39DDE24A.2F98F486@debis.com> Hi there, I've got a strange problem with animated GIFs: They work fine in any browser. Uploading to Zope, viewing it. Animation goes up to the last frame, but instead of looping indefinitely, it stops at the last frame. Downloading that file from Zope, viewing it in any browser outside Zope, works perfectly! What's going on here??? Any ideas? P.S.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From joachim.werner@iuveno.de Fri Oct 6 15:16:06 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 6 Oct 2000 16:16:06 +0200 Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> References: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> Message-ID: <00100616363700.19497@promotor> I also don't get the LDAP Methods to work, even tried on 2.1.6. The test tab works as usual, but when I use them in DTML I don't have success either. Can anybody who got them working please try to explain the syntax step by step? The provided examples don't work for me. That's what I do: 1. I have a working LDAP Connection 2. If I create an LDAP method ("ldapmethod") with the argument "sn" and the filter "sn=" I get the correct result with the test tab. 3. I try to use the method in DTML: ,
This raises an Error Type: KeyError Error Value: sn The strange thing is that the method itselfs seems to work but passes no data: If I just use .
then the number of "." equals the number of entries the method should pass. Also, results in things like "[, ]", again the number of empty elements is correct, they just shouldn't be empty ... ______________________ Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From sebbacon@email.com Fri Oct 6 15:30:09 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 15:30:09 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Thanks, I'll rephrase it using my real life problem: I have a Picture class, which comprises image, title, description, etc. I also have a ProductItem class, which subclasses Picture to include a price, etc. So finally I have got a ProductItem class, which has a title, image, price, ... I can access properties inherited from the Picture no problem. The problem is that the default management screen for editing the properties of ProductItem, propertysheets/Details/manage, only provides a means of editing the unique properties of ProductItem. Is there a means of managing all the properties of a ZClass, including those of its parent class? Or do I have to code my own management screen to do this? And if so, what is the correct way of refering to these properties in DTML? Feeling a bit dumb...cheers, Seb From bkc@murkworks.com Fri Oct 6 15:46:54 2000 From: bkc@murkworks.com (Brad Clements) Date: Fri, 6 Oct 2000 10:46:54 -0400 Subject: [Zope] FCGI or PCGI for Zope behind Stronghold for SSL, which way to go? Message-ID: <39DDAD9B.13445.1324009B@localhost> Can anyone offer their suggestion as to which method will be better, both in terms of speed and reliability? I do not need virtual hosting, just SSL. Thanks for comments.. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From konermann@inf.tu-dresden.de Fri Oct 6 15:54:32 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Fri, 06 Oct 2000 16:54:32 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <39DDE7A8.F5EB9BC2@inf.tu-dresden.de> Hi all. Correct me, if i am wrong, but AFAIK ZServer (coming with Zope) is multi-threaded by default, whereas Apache/Zope uses PCGI or FCGI and is *not* multi-treaded. Best regards, Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From brian@digicool.com Fri Oct 6 16:20:38 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:20:38 -0400 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DC9E22.6297.EFF90F6@localhost> Message-ID: > Okay, has anything been done at all? > > Where would I start? What's left to do? Petru Paler contributed some preliminary work: http://classic.zope.org:8080/Collector/1360/view While I think that this is a good thing and I'm glad he did it, I think that experience has shown that just suddenly making *everything* available via a new protocol (xml-rpc, SOAP) is not really the right approach. There are a number of people who have recently voiced their (legitimate) concern that by default *practically everything* on their site is xml-rpc enabled - and they have no easy way to turn it off or make things selectively available. This is a very important point - I think people would rather be able to implement SOAP services selectively rather than by One Big Switch that may expose just about anything. I would very much like to see a project started on dev.zope.org that starts off by drafting a "user manual" that describes how SOAP services would be implemented from the standpoint of a Zope developer. This would give us a good way to come to agreement without worrying about code just yet. Some attention should be given to how SOAP services get exposed by other systems at this point (they do *not* just suddenly expose every in-memory object to SOAP). We should also anticipate some of the work being done in "discoverability" of SOAP services in our draft (which I think will affect how you go about "defining" a Web service. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From brian@digicool.com Fri Oct 6 16:30:39 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:30:39 -0400 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Linux-------- > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > There's a big difference in the number of requests per second, > four times more in the > Windows machine. Anyone knows why? Does > it mean that Zope running in Windows is better than in Linux? No - look at your results. Every request failed on the win32 box (and they all succeeded on linux). You have some sort of problem in your windows setup, and you'll always get higher throughput for errors than you can for completed requests... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From tom.deprez@uz.kuleuven.ac.be Fri Oct 6 16:27:57 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Fri, 06 Oct 2000 17:27:57 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <3.0.6.32.20001006172757.00948330@poirot> Why do you test the one with ZServer and the other with Apache? If you want correct results you've to test both with ZServer or both with Zope behind Apache. Not? Tom. From wmiller@mediaone.net Fri Oct 6 16:43:51 2000 From: wmiller@mediaone.net (wmiller@mediaone.net) Date: Fri, 06 Oct 2000 15:43:51 -0000 Subject: [Zope] ZSQL returns integer only Message-ID: <8rkrvn+pupe@eGroups.com> The Oracle8i recordset I'm retrieving includes a few columns which are NUMBER(10,0) format which are milliseconds. I would like to divide each by 1000 and use the ROUND function to return a result with one decimal place, e.g. ROUND(column1/1000, 1). This works as expected in SQL*Plus. It returns the results as a number formated to one decimal place. ZSQL however returns only an integer. Any suggestions on how to get the decimal places to show? From jwh@allencreek.com Fri Oct 6 16:50:58 2000 From: jwh@allencreek.com (James Howe) Date: Fri, 06 Oct 2000 11:50:58 -0400 Subject: [Zope] Zope with Apache Message-ID: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> I asked this question a couple of months ago but received no response, so I figured I would ask it again to see if anyone can answer the question... We are running Zope behind an Apache server. We've got things configured so that it mostly works. However, we noticed that the "breadcrumbs" list at the top of a workspace screen doesn't work correctly. For example, if I'm looking at the object /Foo/Bar/Baz, the list of items in the breadcrumbs might look like this: DTMLDocument at / Foo / Bar / Baz The links to Foo and Bar do not correctly take into account the extra item needed to tell Apache that the link goes to the Zope site. For example, the link to Foo needs to say something like http://foo.bar.com/Zope/Foo/manage_workspace instead of http://foo.bar.com/Foo/manage_workspace The tabs for the management screens work fine, however. In looking at what is happening, I believe the problem exists because the links in the breadcrumbs line are relative links. The link to "foo" would look like this: Foo instead of Message-ID: <39DDF5A7.6B4485DA@vt.edu> Hi, Seb Go to the "Views" tab of the ProductItem ZClass. You should be able to add another tab referring to propertysheets/Picture/manage. This has worked for me in a similar situation. -- Jim Washington Seb Bacon wrote: > > Thanks, > > I'll rephrase it using my real life problem: > > I have a Picture class, which comprises image, title, description, etc. > I also have a ProductItem class, which subclasses Picture to include a > price, etc. > > So finally I have got a ProductItem class, which has a title, image, price, > ... > > I can access properties inherited from the Picture no problem. The problem > is that the default management screen for editing the properties of > ProductItem, propertysheets/Details/manage, only provides a means of editing > the unique properties of ProductItem. Is there a means of managing all the > properties of a ZClass, including those of its parent class? Or do I have > to code my own management screen to do this? And if so, what is the correct > way of refering to these properties in DTML? From lheber@debis.com Fri Oct 6 17:25:01 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:25:01 +0200 Subject: [Zope] HTML-Code in variables Message-ID: <39DDFCDD.99EF5C3F@debis.com> Hi again, this time I'd like to put some html-code in a variable via . Unfortunately, when I have the following: ... results in the following string: "<h1>this is some html</h2> What can I do against it??? TIA Lars From frederic.quin@free.fr Fri Oct 6 17:37:46 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Fri, 06 Oct 2000 18:37:46 +0200 Subject: [Zope] Problem with Z SQL Method associated with a class... Message-ID: <39DDFFDA.EBD09896@free.fr> Hi all, I associated a Z SQL Method to a class. This class MUST have attributes but I obtain a Zope error on them. Did anyone know why and what I can do ??? Thanks Fred HERE IS THE ERROR ---------------------------------------- Error Zope has encountered an error while publishing this resource. See below for details. Error Type: AttributeError Error Value: interests_founded Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Version 2.0.1 -- © 2000 Profile For You -- Internal use only. Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLMethod.py, line 146, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: sqlSiteProfileDetails( WEBSITEID=REQUEST.id, PAGEID=REQUEST.pg )) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: XMLToDict(REQUEST.pstor)) (Info: REQUEST) File , line 0, in ? File /Zope/Extensions/IntranetToolKit.py, line 132, in XMLToDict (Object: Profile4uXMLParser) AttributeError: (see above) HERE IS MY CLASS ---------------------------------------------------- import string import sys from Shared.DC.xml import * from Shared.DC.xml.pyexpat import * class Profile4uXMLParser: # Necessary method to make the pyexpat module works def start_element(self, name, attrs): self.current_name = name # Simple tag for which we just want to store the attributes or the value situated just after the tag if ((name != 'interests') and (self.interests_founded == 0)): for i in range(len(attrs)): if ((i % 2) == 0): self.datas[attrs[i]] = attrs[i+1] # If we have a value just after the tag, it will be associate with the name of the tag after if (name != 'profile'): self.datas[name] = '' # We find the tag interests so... elif (self.interests_founded == 0): self.interests_founded = 1 # Tag founded in the tag interests else: tmp = {} tmp['level'] = string.replace(name,'l','') for i in range(len(attrs)): if ((i % 2) == 0): tmp[attrs[i]] = attrs[i+1] self.interests.append(tmp) # Necessary method to make the pyexpat module works def end_element(self, name): # End of interests : we can find others simple tags if (name == 'interests'): self.interests_founded = 0 # Necessary method to make the pyexpat module works def char_data(self, data): # Association of the value founded just after the tag with the name of the tag if ((self.current_name != 'interest') and (self.interests_founded == 0)): # If the data need to be decoded... if (string.find(data,':') >= 0): tmp2 = {} tmp = string.split(data,':') for i in range(len(tmp)): if ((i % 3) == 0): tmp2[tmp[i]] = [tmp[i+1],tmp[i+2]] self.datas[self.current_name] = tmp2 else: self.datas[self.current_name] = data def XMLToDict(self, dict): self.interests_founded = 0 # To know when we have found the interests self.datas = {} # To store all general informations self.current_name = '' # To associate the information located just after a tag to the name of this tag (see char_data method) self.interests = [] # To store temporaly the interests p = pyexpat.ParserCreate() p.StartElementHandler = self.start_element p.EndElementHandler = self.end_element p.CharacterDataHandler= self.char_data if (self.INTEREST != 'false'): p.Parse(self.INTEREST) dict[self.datas['type']] = [self.datas,self.interests] return dict From lheber@debis.com Fri Oct 6 17:46:56 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:46:56 +0200 Subject: [Zope] HTML-Code in variables (addition) Message-ID: <39DE0200.8F65CAF5@debis.com> Sorry, I mixed something up. Normal html is no problem at all. The problem is how to use quotes or such things. Of course I get an error by typing: Yahoo!"> I tried typing " instead of ", but then the """ also goes into the html code on my page - thus the link is broken... Are there any possibilities to let Zope change the " into ", or perhaps there is another way to do it like with the \" in C. Thanks to you all! Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 17:56:45 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 18:56:45 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> References: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: <200010061856450247.0171E71C@mail.inetsysonline.com> both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) thanks. *********** REPLY SEPARATOR *********** On 06/10/2000 at 17:27 Tom Deprez wrote: >Why do you test the one with ZServer and the other with Apache? >If you want correct results you've to test both with ZServer or both with >Zope behind Apache. Not? > >Tom. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ From steve@spvi.com Fri Oct 6 19:40:16 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 6 Oct 2000 13:40:16 -0500 (EST) Subject: [Zope] Zope with Apache In-Reply-To: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> (message from James Howe on Fri, 06 Oct 2000 11:50:58 -0400) References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <200010061840.NAA80566@mercury.spvi.com> Hi James, Are you using SiteAccess? If not.. it would probably be worth a try. It will take care of setting BASE0 etc to soemthing intelligent. -steve >>>>> "James" == James Howe writes: James> I asked this question a couple of months ago but received James> no response, so I figured I would ask it again to see if James> anyone can answer the question... James> We are running Zope behind an Apache server. We've got James> things configured so that it mostly works. However, we James> noticed that the "breadcrumbs" list at the top of a James> workspace screen doesn't work correctly. For example, if James> I'm looking at the object /Foo/Bar/Baz, the list of items James> in the breadcrumbs might look like this: James> DTMLDocument at / Foo / Bar / Baz James> The links to Foo and Bar do not correctly take into account James> the extra item needed to tell Apache that the link goes to James> the Zope site. For example, the link to Foo needs to say James> something like James> http://foo.bar.com/Zope/Foo/manage_workspace James> instead of James> http://foo.bar.com/Foo/manage_workspace James> The tabs for the management screens work fine, however. James> In looking at what is happening, I believe the problem James> exists because the links in the breadcrumbs line are James> relative links. The link to "foo" would look like this: James> Foo James> instead of James> request to "foo.bar.com:8080/Zope". When my browser sees James> the relative path, it prepends the "foo.bar.com" instead of James> "foo.bar.com:8080/Zope" because it doesn't know any better. James> I've managed to get around the problem by changing some James> code in the tabs_path_info method found in Management.py. James> Basically I modifed the code to prepend "BASE0" to each of James> the items in the breadcrumbs list. This way, I get James> absolute links instead of relative. However, I'm wondering James> if there is just some additional configuration I need to do James> in Apache to fix this problem without modifying Zope James> itself. Has anyone else encountered this and is this a bug James> in Zope, or is this simply a configuration issue that I James> need to resolve. If its a configuration issue, what would I James> need to change. Any help would be appreciated. James> Thanks. James> James W. Howe mailto:jwh@allencreek.com Allen Creek James> Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann James> Arbor, MI 48103 James> _______________________________________________ Zope James> maillist - Zope@zope.org James> http://lists.zope.org/mailman/listinfo/zope ** No cross James> posts or HTML encoding! ** (Related lists - James> http://lists.zope.org/mailman/listinfo/zope-announce James> http://lists.zope.org/mailman/listinfo/zope-dev ) From simon@joyful.com Fri Oct 6 20:27:57 2000 From: simon@joyful.com (Simon Michael) Date: 06 Oct 2000 12:27:57 -0700 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ In-Reply-To: "Olivier Deckmyn"'s message of "Fri, 6 Oct 2000 15:16:23 +0200" References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <87r95tbwhu.fsf@joyful.com> You need to set an environment variable and restart zope, see the siteaccess2 documentation on zope.org for more details. -Simon From sdm7g@virginia.edu Fri Oct 6 20:55:51 2000 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Fri, 6 Oct 2000 15:55:51 -0400 (EDT) Subject: [Zope] Can Free Software Manage Your Web Site? Message-ID: Inside magazine has a feature on Zope: "Can Free Software Manage Your Web Site?" ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- "All operating systems want to be unix, All programming languages want to be lisp." From caz@tcdi.com Fri Oct 6 20:53:14 2000 From: caz@tcdi.com (Corey Zimmet) Date: Fri, 6 Oct 2000 15:53:14 -0400 Subject: [Zope] ZopeLDAP 1.0b4 breaks the root directory security tab Message-ID: Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: string member test needs char left operand Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) (Info: /usr/local/Zope/lib/python/AccessControl/access.dtml) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177, in TypeError: (see above) Removing the product returns the system back to normal. Does anyone know what I can patch to remove this? Thanks, Corey From diego@magicwebdesign.com.br Fri Oct 6 20:59:26 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Fri, 6 Oct 2000 16:59:26 -0300 Subject: [Zope] Fwd: Re: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <00100616595700.01857@belzebu.magicwebdesign.com.br> Are you using Zope behind apache under Linux? Or it's a direct request to ZServer? As I can see the files are not the same, try to bench exactly the same file... On Fri, 06 Oct 2000, you wrote: > > Hi, I have a problem with Zope speed. > I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD) > > Windows machine : W 2000 Professional with Zope for Windows > Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 > > Windows 2000----------------------------------------------------------- > > Server Hostname: windows > Server Port: 80 > > Document Path: /index_html > Document Length: 486 bytes > > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 0 10 > Processing: 11 42 356 > Total: 11 42 366 > > ----------------------------------------------------------------------------------- > Linux--------------------------------------------------------------------------- > > Server Hostname: linux > Server Port: 8088 > > Document Path: /Contactos > Document Length: 396 bytes > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 8 224 > Processing: 102 181 54 > Total: 102 189 278 > > ------------------------------------------------------------------------------------------------------- > > There's a big difference in the number of requests per second, four times more in the Windows machine. > Anyone knows why? Does it mean that Zope running in Windows is better than in Linux? > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.com > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From nestor@engendro.com Fri Oct 6 21:23:36 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:23:36 -0500 (COT) Subject: [Zope] Data.fs has invalid transaction header In-Reply-To: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> Message-ID: Hi, I was working with zope and try to use the "-D" flag within it but a terrible thing happend when i was restarting the server: Starting Zope................................Traceback (innermost last): File "/usr/sbin/zope-z2", line 558, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/lib/zope/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 301, in __init__ self._pos, self._oid, tid = read_index( File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 1556, in read_index panic('%s has invalid transaction header at %s', name, pos) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 218, in panic raise CorruptedTransactionError, message ZODB.FileStorage.CorruptedTransactionError: /var/lib/zope/var/Data.fs has invalid transaction header at 46034131 ............................... failed. The problem is that it never start again :'''( so i'am nervous only thinking that i can loose all of my work, there is any way to fix that? Thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From nestor@engendro.com Fri Oct 6 21:31:56 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:31:56 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: I forgot: Zope version 2.2.0-1 (On a Debian Potato i386) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 21:39:30 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 13:39:30 PDT Subject: [Zope] Java equivalent to WorldPilot? Message-ID: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From nestor@engendro.com Fri Oct 6 22:05:46 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 16:05:46 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: Sorry for the spam. Well i was able to fix it, i read the mail list at http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/0d9670dbe206a11c8025687e005919a3?OpenDocument and it tell that i can split the file at position 46034131 i do this: split --bytes=46034131 Data.fs cp xaa Data.fs i loose: 3089 bytes, however i don't know this correspond to. and starts zope, and everything goes OK. i make a final test and provide the "-D" option for Zope and everything comes OK, and better because the traceback is printed in the pages that shows an error. I think the problem was made when i install some products from the mk-zprod package. Well i am happy again :) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 22:22:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 14:22:25 PDT Subject: [Zope] HTTP user authentication in Python Message-ID: Hi, Where can I find out more information on HTTP user authentication? I have seen the RFC before, but it's a bit too technical to follow. I think Python does not include the authentication/cookie handling part probably because out of concern about abuses. :) Does anyone know where I can find more info on the authentication and cookie protocol stuff? Is there any Python module already written to handle these things? The idea is to be able to fetch external webpages automatically using Python, including providing the necessary auth and cookie info. Of course this opens up a whole can of security worms, but heck, it's open information and someone must already have written something in Python already. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From asc@vineyard.net Fri Oct 6 22:29:46 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 17:29:46 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions Message-ID: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I can't seem to figure out, specifically, which permissions to give a user that will allow them to read ZopeTime(). (see below) For the admin user, I have set the Access content information and View * options globally. I've tried guessing at some others, but there are alot of possible combinations to try so I thought maybe I would just ask. Related, is there a detailed description of the default Security settings? I've checked the mailing lists and the Zope docs and if it's there, I guess I missed it. Thanks, Traceback (innermost last): File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: test) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: test) File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: REQUEST.set('ts', ZopeTime())) (Info: REQUEST) File , line 0, in ? NameError: (see above) From fred@ontosys.com Fri Oct 6 22:42:42 2000 From: fred@ontosys.com (Fred Yankowski) Date: Fri, 6 Oct 2000 16:42:42 -0500 Subject: [Zope] one external method calling another; what possibilities? Message-ID: <20001006164242.A91552@enteract.com> I'm using some example code that defines an External Method to process a form. That External Method calls another utility function to log some data. I'm not quite sure what choices I have for creating that utility function, so I created another External Method for it. Both functions are in the same Python source file in the Extensions folder. Anyway, the main external function calls the utility function like this: self.function2(arg1=valuex, arg2=valuey) I expected that function2 would have to be defined like this: def function2(self, **kwargs) but it turned out that that fails at runtime with a complaint about a mismatch between the number of arguments sent and expected (0 and 1, respectively). The following does work: def function2(**kwargs) So, why isn't function2 called as a method function? Was there some better way I could have implemented function2, rather than as an external method? Where is reference documentation on External Methods? I couldn't find anything other than a very cursory overview in one of the PDF'ed documents (I forget which). -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Charlie.E.Wilkinson@irs.gov Fri Oct 6 23:08:56 2000 From: Charlie.E.Wilkinson@irs.gov (Wilkinson Charlie E) Date: Fri, 6 Oct 2000 18:08:56 -0400 Subject: [Zope] Zope, Threads and Signals Message-ID: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> 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_01C02FE2.05E0E2F4 Content-Type: text/plain; charset="iso-8859-1" It all began when I was a small child, but I'll skip ahead a bit.... Last night I wrote a network client class with plans to use it as an External Method in Zope. Works great from the command line. My first real Python program. Mom and Dad were so proud! However, when I plugged it into Zope and tried to call it from a document method, I got this: Error Type: ValueError Error Value: signal only works in main thread Gack!! Um... Silly me, but I wrote all this code to use sigalarm and blocking I/O. Anyone know how I can overcome this great adversity, aside from rewriting it all to use non-blocking I/O? Know of any good examples of External Method network clients you could point me at? Or would making it a Zope Product somehow fix everything? (Sorry, I had to ask...) -cw- -- Charlie Wilkinson TRIS Development Systems Administrator IS:SD:CT:CC:TD Phone: 202-283-3241 MSMail: Charlie.E.Wilkinson@irs.gov SMTP: cwilkins@tris.irs.gov Home: cwilkins@boinklabs.com This message constructed from 90% post-consumer electrons. ------_=_NextPart_001_01C02FE2.05E0E2F4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Zope, Threads and Signals

It all began when I was a small child, but I'll skip = ahead a bit....  Last night I wrote a network client class with = plans to use it as an External Method in Zope.  Works great from = the command line.  My first real Python program.  Mom and Dad = were so proud!  However, when I plugged it into Zope and tried to = call it from a document method, I got this:

        Error = Type: ValueError
        Error = Value: signal only works in main thread

Gack!!  Um...  Silly me, but I wrote all = this code to use sigalarm and blocking I/O.  Anyone know how I can = overcome this great adversity, aside from rewriting it all to use = non-blocking I/O?  Know of any good examples of External Method = network clients you could point me at?  Or would making it a Zope = Product somehow fix everything?  (Sorry, I had to = ask...)

-cw-

--
Charlie Wilkinson
TRIS Development Systems Administrator
IS:SD:CT:CC:TD
Phone: 202-283-3241
MSMail:   = Charlie.E.Wilkinson@irs.gov
SMTP:  cwilkins@tris.irs.gov
Home:  cwilkins@boinklabs.com
This message constructed from 90% post-consumer = electrons.

------_=_NextPart_001_01C02FE2.05E0E2F4-- From evan@4-am.com Fri Oct 6 23:30:27 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 18:30:27 -0400 Subject: [Zope] Zope with Apache References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <010d01c02fe5$07166ba0$3e48a4d8@digicool.com> From: James Howe > We are running Zope behind an Apache server. We've got things configured so > that it mostly works. However, we noticed that the "breadcrumbs" list at > the top of a workspace screen doesn't work correctly. This was broken with respect to virtual hosting, as well, and the fix for that in the CVS trunk may also take care of what you're seeing. Should be in Zope 2.3 (soon, I hope). Cheers, Evan @ digicool & 4-am From peter@grenna.net Sat Oct 7 00:32:53 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 7 Oct 2000 00:32:53 +0100 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? ;-) Especially to all Linux supporters for the badwill of the emails title. I would really be interested in its correct results. Cheers everyone > > Failed requests: 137 > > No - look at your results. Every request failed on the win32 > box (and they all succeeded on linux). You have some sort of > problem in your windows setup, and you'll always get higher > throughput for errors than you can for completed requests... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.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 ) > From konermann@inf.tu-dresden.de Sat Oct 7 00:57:40 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Sat, 07 Oct 2000 01:57:40 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: <39DE66F4.EA44AFDB@inf.tu-dresden.de> Hi all! Peter Bengtsson wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? Definitely, yea! > I would really be interested in its correct results. Me too. :-) Cheerio! Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From jfarr@real.com Sat Oct 7 02:23:43 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 6 Oct 2000 18:23:43 -0700 Subject: [Zope] Zope, Threads and Signals References: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: <014701c02ffd$3b6e0030$416917ac@poly> I would just use the asynchronous network clients in asyncore and asynchat. Since ZServer also uses them you would be automagically plugged into the ZServer select loop if you were sitting behind ZServer. --jfarr ----- Original Message ----- From: "Wilkinson Charlie E" To: Sent: Friday, October 06, 2000 3:08 PM Subject: [Zope] Zope, Threads and Signals > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From kthangavelu@earthlink.net Fri Oct 6 21:23:30 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 13:23:30 -0700 Subject: [Zope] Java equivalent to WorldPilot? References: Message-ID: <39DE34C2.7277B9C7@earthlink.net> Hung Jung Lu wrote: > > Hi, > > Does anyone know any Java software (commercial or not) that is equivalent to > WorldPilot? > > regards, > > Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal format) and also javawebmail.sourceforge.net From knight@righteous.net Sat Oct 7 02:29:40 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:29:40 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: On Fri, 6 Oct 2000, Tom Deprez wrote: > Why do you test the one with ZServer and the other with Apache? > If you want correct results you've to test both with ZServer or both with > Zope behind Apache. Not? > > Tom. Exactly, or atleast both ZServer. You can definately attribute some latency due to the Apache integration... (minimal, but still needs to be noted!) Knight knight@phunc.com From knight@righteous.net Sat Oct 7 02:35:21 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:35:21 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061856450247.0171E71C@mail.inetsysonline.com> Message-ID: To get ACCURATE timings, you need to create the situations almost identical, other than the operating system. So, that means: 1) Windows and Linux tunings should be similar; are you running extra daemons on the Linux box that Windows isn't (smtp, ftp, etc)? 2) The server architecture should be the same (identical hardware) 3) The software architecture should be the same; are you running both Zope and Apache on each machine, or are you spliting these services up somehow. A server with Apache+Zope, and then another server with just Zope will NOT match up. Just keep that in mind... Knight knight@phunc.com On Fri, 6 Oct 2000, Aitor Grajal Crespo wrote: > both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) > thanks. > > *********** REPLY SEPARATOR *********** > > On 06/10/2000 at 17:27 Tom Deprez wrote: > > >Why do you test the one with ZServer and the other with Apache? > >If you want correct results you've to test both with ZServer or both with > >Zope behind Apache. Not? > > > >Tom. > > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.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 ) > > From knight@righteous.net Sat Oct 7 02:37:55 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:37:55 -0700 (PDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:42:49 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:42:49 -0700 (PDT) Subject: [Zope] one external method calling another; what possibilities? In-Reply-To: <20001006164242.A91552@enteract.com> Message-ID: External methods are not extensions to any Zope classes. External methods allow you to incorporate external functionality from Zope, as you already know. You can define classes that are referenced in your functions though. Keep in mind, that the external method that you created that gets called is just a function. By default, self gets passed in, so be sure its in your function definition. When calling _another_ function from your external method, self does NOT get passed, since your external method does not belong to a specific class instance... i.e. there's no container to pass as self. So you have to pass self explicitly. Example: def myextmethod(self, somevar): something() morethings() myotherfunc(self, somevar): def myotherfunc(self, somevar): print somevar If this doesn't help, please clarify what exactly you are trying to do... Knight knight@phunc.com On Fri, 6 Oct 2000, Fred Yankowski wrote: > I'm using some example code that defines an External Method to process > a form. That External Method calls another utility function to log > some data. I'm not quite sure what choices I have for creating that > utility function, so I created another External Method for it. Both > functions are in the same Python source file in the Extensions folder. > > Anyway, the main external function calls the utility function like this: > > self.function2(arg1=valuex, arg2=valuey) > > I expected that function2 would have to be defined like this: > > def function2(self, **kwargs) > > but it turned out that that fails at runtime with a complaint about a > mismatch between the number of arguments sent and expected (0 and 1, > respectively). The following does work: > > def function2(**kwargs) > > So, why isn't function2 called as a method function? > > Was there some better way I could have implemented function2, rather > than as an external method? > > Where is reference documentation on External Methods? I couldn't find > anything other than a very cursory overview in one of the PDF'ed > documents (I forget which). > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:45:38 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:45:38 -0700 (PDT) Subject: [Zope] Zope, Threads and Signals In-Reply-To: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: cw, Are you spawning additional threads by chance? Or just the threads that Zope creates? Knight knight@phunc.com On Fri, 6 Oct 2000, Wilkinson Charlie E wrote: > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From knight@righteous.net Sat Oct 7 02:49:56 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:49:56 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > ;-) > Especially to all Linux supporters for the badwill of the emails title. > > I would really be interested in its correct results. > > Cheers everyone Especially with all this press I've seen in publications over the last month or two regarding Windows 2000 is outperforming *nix. (over my dead _dead_ body) Knight > > > > Failed requests: 137 > > > > No - look at your results. Every request failed on the win32 > > box (and they all succeeded on linux). You have some sort of > > problem in your windows setup, and you'll always get higher > > throughput for errors than you can for completed requests... > > > > > > Brian Lloyd brian@digicool.com > > Software Engineer 540.371.6909 > > Digital Creations http://www.digicool.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 ) > > From asc@vineyard.net Sat Oct 7 04:17:22 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 23:17:22 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: > Aaron, you left out the error. What was it... > > On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > > > Hi, > > > > My name is Aaron. > > > > I am trying to set up zope with (atleast) three roles : manager, admin, > > user. > > > > I'd like to give the last two the bare minimum Security permissions > > possible and adding them as needed later on. > > > > My problem is that I can't seem to figure out, specifically, which > > permissions to give a user that will allow them to read ZopeTime(). > > > > (see below) > > > > For the admin user, I have set the Access content information and View * > > options globally. I've tried guessing at some others, but there are alot > > of possible combinations to try so I thought maybe I would just ask. > > > > Related, is there a detailed description of the default Security > > settings? I've checked the mailing lists and the Zope docs and if it's > > there, I guess I missed it. > > > > Thanks, > > > > > > > > > > > > > > Traceback (innermost last): > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > > publish_module > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > > publish > > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > > zpublisher_exception_hook > > (Object: Traversable) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > > publish > > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > > mapply > > (Object: test) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > > call_object > > (Object: test) > > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > > __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > > 528, in __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > > 337, in eval > > (Object: REQUEST.set('ts', ZopeTime())) > > (Info: REQUEST) > > File , line 0, in ? > > NameError: (see above) > > > > > > _______________________________________________ > > 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 ) > > > > > > From matt@virtualspectator.com Sat Oct 7 04:20:49 2000 From: matt@virtualspectator.com (matt) Date: Sat, 7 Oct 2000 16:20:49 +1300 Subject: [Zope] xmldocument and properties In-Reply-To: <39DE66F4.EA44AFDB@inf.tu-dresden.de> References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <00100716220803.00855@localhost.localdomain> Does anyone have a simple example of creating and setting the properties of a node within an xml document, using xmldocument and external methods. thanks Matt From kthangavelu@earthlink.net Sat Oct 7 03:40:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 19:40:58 -0700 Subject: [Zope] Underscore Caracter References: Message-ID: <39DE8D3A.D9618763@earthlink.net> Chris McDonough wrote: > > Yes. Thank you. > > Note however that methods of modules accessed via the underscore namespace > may be filtered individually, so although 'replace' exists as a method of > the Python string module, this does not necessarily make it accessible > implicitly through Zope via _.string.replace. It happens to be accessible > in this case, but I'd bet there are cases in which methods accessible > via modules of the _ namespace have been removed for "safe scripting" > purposes. having recently gone through the code to produce ZModules (defined interface for adding modules to _), it was apparent that all the modules that live in namespace are completely exposed. Kapil From iap@y2fun.com Sat Oct 7 09:58:33 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Sat, 7 Oct 2000 16:58:33 +0800 Subject: [Zope] Problem of Catalog "Find items to ZCatalog" References: <39DE8D3A.D9618763@earthlink.net> Message-ID: <02d201c0303c$c76f3920$6601a8c0@y2fun.com> Hi, In the management view of a Catalog (ex. /Catalog), there is a tab named "Find items to ZCatalog". In that tab, there is a field "Find objects of type:". The options listed there were retrieved from the "factory" of a ZClass. (The "add list name" field, a good feature for people who are not native speakers of English.). I doubt that what "Find items to ZCatalog" actually searched is the meta_type of the objects not the value of "add list name" in its ZClass. Because I have to identify these two in order to find my items to ZCalalog. Is that true? Iap, Singuan From knight@righteous.net Sat Oct 7 10:08:36 2000 From: knight@righteous.net (knight) Date: Sat, 7 Oct 2000 02:08:36 -0700 (PDT) Subject: [Zope] Underscore Caracter In-Reply-To: <39DE8D3A.D9618763@earthlink.net> Message-ID: > Chris McDonough wrote: > > > > Yes. Thank you. > > > > Note however that methods of modules accessed via the underscore namespace > > may be filtered individually, so although 'replace' exists as a method of > > the Python string module, this does not necessarily make it accessible > > implicitly through Zope via _.string.replace. It happens to be accessible > > in this case, but I'd bet there are cases in which methods accessible > > via modules of the _ namespace have been removed for "safe scripting" > > purposes. > > having recently gone through the code to produce ZModules (defined > interface for adding modules to _), it was apparent that all the modules > that live in namespace are completely exposed. What's the problem with that? Aren't most, if not all, the modules living in the _ namespace just standard python modules available anyways? Knight From zope@philosoft.at Sat Oct 7 10:42:32 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sat, 07 Oct 2000 11:42:32 +0200 Subject: [Zope] HTTP user authentication in Python In-Reply-To: References: Message-ID: <200010071142320968.38BFDB97@192.7.2.223> The core of HTTP authentication is the following (you have to put the authentication into the HTTP header): import httplib h=httplib.HTTP(....) .... h.putheader("AUTHORIZATION", "Basic %s" % string.replace( encodestring("%s:%s" % (self.username, self.password)), "\012", "")) .... there is a xmlrpc howto where you find a detailed description: http://www.zope.org/Members/Amos/XML-RPC good luck phil *********** REPLY SEPARATOR *********** On 06.10.2000 at 14:22 Hung Jung Lu wrote: >Hi, > >Where can I find out more information on HTTP user authentication? I have >seen the RFC before, but it's a bit too technical to follow. I think Python >does not include the authentication/cookie handling part probably because >out of concern about abuses. :) > >Does anyone know where I can find more info on the authentication and cookie >protocol stuff? Is there any Python module already written to handle these >things? > >The idea is to be able to fetch external webpages automatically using >Python, including providing the necessary auth and cookie info. Of course >this opens up a whole can of security worms, but heck, it's open information >and someone must already have written something in Python already. > >regards, > >Hung Jung >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) From tav" hi, i am running into a slight problem due to STILL not being able to understand namespaces perfectly, and would appreciate if someone could help out. ----- the situation is this: ----- i have a dtml document called "pageowners", on which i have a list property called owners. which changes every hour. lets assume right now, it says tav and Bill. now, in the same folder, i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". there is a dtml document corresponding to each owner. each of the three documents have a title and content. parseit simply gives them a table layout, which simplified immensely, looks like:

what i want to do is display whomever is listed as an owner, in such nice tables. ----- the problem is this: ----- in "standard_html_header", it looks up which owners are listed in "pageowners", and then runs through them in a sequence. however, (and this is where it gets tricky), i want the owners to be formatted by running them thru "parseit". however i get stuck when in parseit, as i dont know how to do , i tried to set Bill in the namespace by using , and then tried to call within "parseit" but that doesn't work :/ and, again, i want this to be done automatically, so i dont want to have to manually list Bill, tav, noa, etc.... i am pretty sure that DTML can handle this, and this is one of the reasons why i like zope, because it lends itself to a structured system which is easily maintainable, e.g. the owners could increase from 5 to a 1000, and this would still work. Any help would be much appreciated. Thanks in advance -- best regards, tav From jan@haul.de Thu Oct 5 17:40:44 2000 From: jan@haul.de (Jan H. Haul) Date: Thu, 05 Oct 2000 18:40:44 +0200 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> <39DBBC5F.9D375761@adroit.net> Message-ID: <39DCAF0C.3A3EF78D@haul.de> Terry Kerr wrote: > > Chris Withers wrote: > > > Hannu Krosing wrote: > > > > > Also you could send just one message to all the recipients instead of > > > sending individual messages. > > > > Urm, they could be pretty unfriendly mail messages if they're being sent > > to a coupla thousand people. The bandwidth dcoming out of your server > > alone would be far higher than it needed to be :-( > > How would the bandwidth change?? Well, suppose you send a message of, say, 2 KByte (about one page of typed text) to 1,000 recipients. You'll make about 1,000 connections to the recipients' MX hosts. Each of these will be around 42 KByte large. Huh? Why that? you ask. Because in the header of each mail, the whole recipient list will be listed under To: or Cc: (I assumed 40 bytes per address as a roundabout figure). In the envelope (what the SMTP protocol *uses* to deliver the message, only one address will be used, the body To: list is mainly for the recipients' use (to show them who else got it). Besides, there are other problems why you will want separate mails: - privacy: You would not like to have "your" recipients end up on other people's mailing lists - stability: When E-mail bounces, you would like to hanle it intelligently, like trying this address once again (as it could be a temporary outage) and take the address off the list if it still bounces a week or so later - stability again: You woulld not like to be blacklisted as either a spammer or clueless by the recipients' postmaster :-) I would probably use a stable MTA (like qmail, which has good mailing list processing software, or postfix) for the job. Cheers, Jan From dieter@handshake.de Sat Oct 7 13:08:30 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:08:30 +0200 (CEST) Subject: [Zope] Quotes in DTML (Python) expressions (was: [Zope] HTML-Code in variables (addition)) (was: [Zope] HTML-Code in variables (addition)) In-Reply-To: <41808890@toto.iv> Message-ID: <14815.4428.764737.937930@lindm.dm> Lars Heber writes: > Yahoo!
"> I.e. you use Python's hexadecimal (or octal) quoting for '"' (\x22) inside the Python string. Dieter From dieter@handshake.de Sat Oct 7 13:03:29 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:03:29 +0200 (CEST) Subject: [Zope] Container Class questions In-Reply-To: <92758925@toto.iv> Message-ID: <14815.4163.366826.967501@lindm.dm> geoff@northernwastes.org writes: > .... product with associated image .... > Should I create a product that can contain said images? If so, how do > I do this? Should I simply force a naming conventions for the images > and tie them together with the sample catalog items that way? I would use a ZClass to model the product. I would inherid from "Folder". This makes the ZClass folder-like. Especially, I can place images and other related objects inside them (if they do not easily fit in properties). Dieter From dieter@handshake.de Sat Oct 7 12:59:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:59:23 +0200 (CEST) Subject: [Zope] Problem with In-Reply-To: <130555996@toto.iv> Message-ID: <14815.3907.275735.867783@lindm.dm> Tim Gildersleeve writes: > The line is > > > Error Type: TypeError > Error Value: number coercion failed I can assure you, that the "number coercion failed" is not raised in the above "REQUEST.set". "set" accepts any type. The problem arises at a later time, probably because "fSTART" or some other computation incredient does not have the correct type. You know about the magic ":type" suffixes in form variables. There is a howto about them at Zope.org. Dieter From dieter@handshake.de Sat Oct 7 12:45:16 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:45:16 +0200 (CEST) Subject: [Zope] external method import error (ImportError)... In-Reply-To: <100746361@toto.iv> Message-ID: <14815.2891.316428.490745@lindm.dm> Eric writes: > To summarize: How do I import modules in an External Method's .py file? I remember, I read this in some "External Method" related documentation. You do *NOT* place such modules inside the folder "Extensions" but put them somewhere else reachable by "PYTHONPATH". The documentation suggests that you create a subpackage inside "Shared", say "Extensions", and place there your module (don't forget "__init__.py" in the subfolder representing the subpackage), say "". Then, in your external method, you would use: from Shared.Extensions import Dieter From dieter@handshake.de Sat Oct 7 12:38:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:38:31 +0200 (CEST) Subject: [Zope] client proxy setting In-Reply-To: <47365137@toto.iv> Message-ID: <14815.2582.805065.344135@lindm.dm> TMGB writes: > Can I get the user's client proxy setting using 'REQUEST' or some other > syntax, product, or utility. This is not Proxy Roles or ProxyPass, but > the client's proxy settings if any. I am working on a help page to > debug a user's settings if he or she can't get to certain pages with our > proxy server settings on their browser. I am not sure, I understand what you want to know. I you mean: how is the browser's proxie configuration: manually, direct connection or automatic (with what configuration file). Then, I fear, you will not get this information. If you want to know, which proxie was used for a given request, then there is some chance. Some proxies set the HTTP "VIA" header. Inside Zope, you access it as "HTTP_VIA". It can tell you through which proxies the request was routed. Dieter From dieter@handshake.de Sat Oct 7 12:31:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:31:15 +0200 (CEST) Subject: [Zope] Wierd 2.2.2 start up problem In-Reply-To: <115532451@toto.iv> Message-ID: <14815.2238.216040.114955@lindm.dm> J. Atwood writes: > I have installed 2.2.2 on more than a few machines.... on my fifth machine I > got this after doing the install. > > 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\000\003' > Traceback (innermost last): > File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line > 446, in setstate > ImportError: No module named Document > > I have tried wiping it away and trying again like three times. Anyone know > what this? Why it is not happening in installs. All RH Linux. On your fifth machine, the ZODB seems to contain an object referencing a module "Document" which apparently is not installed. Activate the logging facility (by starting Zope with "start .... STUPID_LOG_FILE=zope.log ...") and check, whether you see anything suspicious in "zope.log". Dieter From dieter@handshake.de Sat Oct 7 12:50:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:50:23 +0200 (CEST) Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <32820358@toto.iv> Message-ID: <14815.3305.716063.19539@lindm.dm> Roman Milner writes: > I'm trying to get ldap methods to work with 2.2.2. I can access the > attributes of the objects returned from an ldap method with a python > extension fine, but dtml-in'ing the returned list doesn't work. I keep > getting an error (traceback below). > zope.org) AccessRule in your top (logical) folder to modify your REQUEST object as you like. Dieter From dieter@handshake.de Thu Oct 12 08:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 09:59:43 +0200 (CEST) Subject: [Zope] How to see if two objects are the same (minor fix) In-Reply-To: <40435241@toto.iv> Message-ID: <14821.27476.628244.862590@lindm.dm> Ron Bickers writes: > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 What you see here, is Zope's (more precisely ExtensionClass's) acquisition magic: when you access "object.attribute", you (usually) will not get the object corresponding to "attribute" but a new object: "attribute.__of__(object)" i.e. the attribute object in the context of "object". When you look up an attribute of this object, it will first in the object itself and when it does not success there, it will look in the context. That is what you like with acquisition. The downside: When you access the "same" object via different contexts, you will in fact get different objects (as the contexts are different). "is" will return false, as it should be. But, even, if you use "==", you will get "false". There have been some discussion in the list, whether this is the best behaviour. What can you do? You can use the "aq_base" attribute to strip away any context and get to the base object. At least in Zope 2.2.1, "aq_base" was not exposed to DTML. Thus, you would need an external method, say "getBaseObject", to get at the base: def getBaseObject(object): return getattr(object,'aq_base',object) With this function, you can compare the base objects: Be careful, however: Even, if such a test returns true for two objects, the objects may nevertheless have different behaviour (as the contexts are different). Dieter From amador@alomega.com Thu Oct 12 09:12:06 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Thu, 12 Oct 2000 03:12:06 -0500 Subject: [Zope] int and string comparisons Message-ID: <39E57256.54A427DD@alomega.com> --------------F181E4C9DE8090EF2366B5AC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) --------------F181E4C9DE8090EF2366B5AC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet

   <dtml-in "_.range(1,32,1)">
        <option value="&dtml-sequence-item;"
        <dtml-let item=sequence-item>
        <dtml-if begin_day>
        <dtml-if expr="item == REQUEST.begin_day"> selected </dtml-if>
<dtml-comment>CONVERTIR A INT</dtml-comment>
        </dtml-if>
        </dtml-let>
        >&dtml-sequence-item;</option>
      </dtml-in>

The comparison fails because item is an int and REQUEST.begin_day is a string (i guess).  How can I coerce item into a string, or REQUEST.begin_day into an int?
 I tried python's builtin int() function around REQUEST.begin_day.  Won't work.

Any suggestions?

-- 
Manuel Amador (Rudd-O)
  --------------F181E4C9DE8090EF2366B5AC-- From lheber@debis.com Thu Oct 12 09:29:24 2000 From: lheber@debis.com (Lars Heber) Date: Thu, 12 Oct 2000 10:29:24 +0200 Subject: [Zope] Re: How to use standard html headers and footers properly (was: Re: [Zope] Namespace problems...) [Zope] Namespace problems...) References: <39DAD8E7.ACB56A3@debis.com> <39E54C2D.D071677F@alomega.com> Message-ID: <39E57664.4997EAE3@debis.com> Hi, first, thanks for your advice! "Manuel Amador (Rudd-O)" schrieb: > > > > > > on your document, WILL work fine. > > But I suggest recreating standard_html_header as a METHOD and calling OK, once again: My standard_html_header is still a METHOD!!! And within it, I DO access to the variables of the calling document / method! > > > > That's _exactly_ what I did! I only inserted a to pass this var to standard_html_header. > > Since methods don't have properties, they will use calling object's > properties. Read again. Do NOT use DTML documents for headers and > footers. Use METHODS. I DON'T! >> So I stored my headers and footers and many other things in >> root/intra/pub. >> >> All the other documents are stored in root/intra and below. >> >> I've got my standard_html_header, with which I can display >> user-defined >> titles which may also contain values of global properties. The >> user-defined title is being built in the document before the header >> is >> called, e. g. something like: > Look above! >> In the standard_html_header !!!>>>_method_<<> whether there is a titel attribute or not. > >> This works fine. > >> But for general use I want to keep the possibility of displaying the >> >> title_or_id of the document when I don't introduce a user-defined >> title. >> >> This would be no problem if s_h_h wasn't situated in root/intra/pub, >> so I have >> to call it within the . >> >> But calling it within the , pub is on the top of my >> namespace, so that calling title_or_id returns the title_or_id of >> the container of s_h_h, i. e. >> pub, INSERTED: and not as wanted the title_or_id of the calling >> document! > >> How can I nevertheless access within the s_h_h to the title_or_id of >> my >> original document? INSERTED: i. e. explicitely accessing to a >> layer of the namespace which isn't on its top! > Hope I now explained it well enough. Thank you very much. Lars From chrisw@nipltd.com Thu Oct 12 09:58:44 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 09:58:44 +0100 Subject: [Zope] aq_base References: <14821.27476.628244.862590@lindm.dm> Message-ID: <39E57D44.DC711E9A@nipltd.com> Dieter Maurer wrote: > At least in Zope 2.2.1, "aq_base" was not exposed > to DTML. ...and I don't think it ever would or should be sicne it strips off all security context and would probably let you do 'bad things' :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:05:05 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:05:05 +0100 Subject: [Zope] What contains an object.... References: Message-ID: <39E57EC1.11A1B425@nipltd.com> Ron Bickers wrote: > > > > > So, is there another way in DTML I can see if an object was acquired from > PARENTS[-1] or not? Is there a way to check an objects container out of > context? Hmmm... try the following as a replacement for the above stuff: cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:06:35 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:06:35 +0100 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> Message-ID: <39E57F1B.D2637FDF@nipltd.com> "Geoffrey L. Wright" wrote: > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > The above should now work... ...if it doesn't please explain in what way ;-) cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:08:40 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:08:40 +0100 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> Message-ID: <39E57F98.5610C3B3@nipltd.com> Paul Winkler wrote: > > Hi, > > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? IIRC, zope.org's acl_users has about 11,000 people in it without too many problems... Ethan, can you confirm? cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:12:27 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:12:27 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: Message-ID: <39E5807B.46071A34@nipltd.com> Tony McDonald wrote: > to reply to Andy? In my own reportlab distribution I changed; > import Image > to > from PIL import Image Well, it sounds right and if it works then it probably is ;-) It probably depends exactly where you install PIL, though, which I haven't done yet :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:18:57 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:18:57 +0100 Subject: [Zope] int and string comparisons References: <39E57256.54A427DD@alomega.com> Message-ID: <39E58201.7889A0@nipltd.com> "Manuel Amador (Rudd-O)" wrote: > selected Try replacing the above with: ...and stop posting HTML to a non-HTML list! cheers, Chris From sebbacon@email.com Thu Oct 12 10:13:39 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:13:39 +0100 Subject: [Zope] int and string comparisons In-Reply-To: <39E57256.54A427DD@alomega.com> Message-ID: if you're submitting from a form, you can coerce strings into other data types by giving the form items special names, e.g.: Your REQUEST then has variables called foo and bar which are ints and floats, respectively. also, don't post html mail - not everyone can read it. seb. -----Original Message----- From: rudd-o@usm.edu.ec [mailto:rudd-o@usm.edu.ec]On Behalf Of Manuel Amador (Rudd-O) Sent: 12 October 2000 09:12 To: zope@zope.org Subject: [Zope] int and string comparisons This is the snippet >&dtml-sequence-item; The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) From heinkel@cenix-bioscience.com Thu Oct 12 10:21:34 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Thu, 12 Oct 2000 11:21:34 +0200 Subject: [Zope] SybaseDA and ASA In-Reply-To: <39E54DBD.BA0A33F2@alomega.com> References: <39E54DBD.BA0A33F2@alomega.com> Message-ID: <00101211262701.00750@celap> On Thu, 12 Oct 2000, you wrote: > I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDA against > sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the > latest one). Loading python and importing sy_occ works perfectly. > > BUT, I can't create a SybaseDA SQL connection object . Specifically, > trying to create it sez connection failed. I've tried EVERY POSSIBLE > parameter combination on the creation form. None worked. > > By the way, I'm using Adaptive Server Anywhere for linux, 6.0.3. It is > NOT ASE. It is ASA. > > Does sy_occ work with ASA, or only with ASE? Any experiences? > Last week I was trying to upgrade from Zope V 2.1.6 (with working sybase adapter) to a 2.2.x version, and my sybase adapter stop working (yes I recompiled it). We are using ASE 11.9.2 on a linux box. Seems like Zope has introduced some incompatibilities which no one has discovered so far. Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From Marcin.Kasperski@softax.com.pl Thu Oct 12 10:33:31 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Thu, 12 Oct 2000 11:33:31 +0200 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> Message-ID: <39E5856B.43E0755D@softax.com.pl> > > As I finally installed mod_proxy_add_forward, I get original address in > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > The question is: can I do something easy to automatically perform > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > set remote_ip = whatever is in X-Forwarded-For > > logic? In particular, I would like changed IP to be used by Zope access > > control and Zope log. > We have had similar problems. > > Friendly people from NIP made a HowTo patch Apache to let the > information through. > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > AccessRule in your top (logical) folder to modify your > REQUEST object as you like. > Does there exist some sample of such usage? Can such a change be performed before authorization? I use SiteRoot to translate addressess between external and internal (in subdirectories, not in main directory). Can those approaches be merged one with another? -- http://www.mk.w.pl / Marcin.Kasperski | Sztuczki i kruczki w C++: @softax.com.pl | http://www.mk.w.pl/porady/porady_cplusplus @bigfoot.com \ From sebbacon@email.com Thu Oct 12 10:46:38 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:38 +0100 Subject: [Zope] Content Management System Message-ID: This query started out in a separate thread about permissions, but it's sufficiently important to me to pose again here. I've been struggling to make the CMS abilities of zope user-friendly enough for 'joe average' end-users. Really it's designed for a 'power' content manager who delegates, secures, and generally has taken the time to study all the Content Management docs, etc. However, most of my clients don't have those kinds of requirements and aren't that technologically savvy, so I end up coding ultra-simplified interfaces for them on a per-project basis. I know you can restrict permissions on just about every available method, and I am aware of the current skinnable zope project, which may improve the situation drastically. But I'm interested to know, how many of you offer the Zope TTW interface to clients as a content management system, and how many just use it as a development interface? I'm beginning to wonder if content management and system administration should be split out into separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, syndication, etc...). But I'm still far from being a zope power user myself, and have yet to appreciate the range of its potential. What do you people think? Seb. From sebbacon@email.com Thu Oct 12 10:46:40 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:40 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14820.48557.338437.974103@lindm.dm> Message-ID: oops, I forgot to foward my last mail on this subject to the list. My response here to Dieter's response captures contains the main points though... > > > I think, the implementation would be easy. > > > Management, however, would be more difficult, as there are no > > > good defaults for the "URL Traversable" permission. > > > It is not easy, to determine (e.g.) for a DTML method/document > > > whether it is only used as a component (such as > > > "standard_html_header") or is a full grown presentation method. > > > > Um, I don't think I understand. [ snip ] > Currently, Zope tries to have very few explicit, object specific > permissions. The ideal is that permissions are specified high above in > the hierarchy and acquired by lower objects. > This is quite possible with the current scheme. > Implementing an "URL accessible" permission would require > much more tweaking of single object permissions. > > There are other ways to solve your problem by organization > (putting things that should not be seen somewhere else) > that do not require an additional permission. Now I understand... I would disagree, however: I think there is a sensible default value. The default would be that anonymous does not have 'traverable' permission, but the manager / owner does. The cases where an authenticated user is able to traverse some objects but not others would, as you point out, be rare, because you could instead manage these by organisation. You would still use organisation to avoid having to set too many additional permissions. However, this solution would solve the 'security' issue of the anonymous user being able to list objectIds in any folder TTW. It would also allow the developer more flexibilty in how they designed their application, which can only be a Good Thing? seb. From iap@y2fun.com Thu Oct 12 11:08:50 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Thu, 12 Oct 2000 18:08:50 +0800 Subject: [Zope] "from" is a reserved word? References: Message-ID: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Hi,The following dtml couse error, The workaround is to change "from" to other words. Iap, Singuan From tdickenson@geminidataloggers.com Thu Oct 12 11:11:41 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 12 Oct 2000 11:11:41 +0100 Subject: [Zope] Re: Upload just file headers? In-Reply-To: References: <39E4C569.B2E6B51F@yahoo.com> Message-ID: <1e3bus02d70n10b17j81789u3dh94qhfi2@4ax.com> On Wed, 11 Oct 2000 15:41:16 -0700 (PDT), knight wrote: > infilename = REQUEST.form['attached_file'].filename # Get filename > infile = REQUEST.form['attached_file'] # Get the file descriptor > myheader = infile.read(500) # Read up to 500 bytes > infile.close() # Close the stream > >This should be in an external method or product. > >I haven't tested whether or not this will only let the client upload the >first 500 bytes Im sure it wont >it's very possible zope takes in the entire file, and >puts it into a buffer that is like a file descriptor (hence StringIO). File uploads are spooled into a temporary file, and the request is only dispatched into Zope once the whole request has arrived. Anything smarter than that will require some ZServer hacking. Toby Dickenson tdickenson@geminidataloggers.com From chrisw@nipltd.com Thu Oct 12 11:25:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 11:25:00 +0100 Subject: [Zope] doesn't... References: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: <39E5917C.D3D2EB94@nipltd.com> "iap_y2fun.com" wrote: > > > Don't worry... the problems are mainyl caused 'cos doesn't do what most people would expect it to... *grinz* Chris From odeckmyn.list@teaser.fr Thu Oct 12 11:47:18 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 12 Oct 2000 12:47:18 +0200 Subject: [Zope] [Job] Zope Job in France Message-ID: <069f01c03439$cb18e340$0d00000a@ODECKMYN2K> Jeune Start-up dans le monde de l'internet recherche développeurs/chefs de projet Internet / Zope. Diplômé BAC+2/5 (ingénieur ou universitaire), vous avez une première expérience (éventuellement un stage significatif) en développement d'applications avec Zope. Connaissant bien HTML et HTTP, vous maîtrisez parfaitement au moins un langage de programmation objet (Python, Delphi, Java, C++, ...). Vous avez une connaissance de UML et de l'objet en général. Une connaissance de XML et LDAP serait un GROS plus. Vous êtes rigoureux et organisé. De plus, vous avez une bonne connaissance des SGBDR et êtes capable de lire et rédiger des documents en anglais. Votre mission : Vous participez à la conception, au développement et à la gestion du site. Selon votre potentiel, vous évoluerez au sein de la société vers de plus amples responsabilités notamment en prenant une part de plus en plus importante dans le déroulement des projets. Expérience : N'hésitez pas à joindre à votre candidature tout document pouvant démontrer vos compétences (ex : URLs de vos réalisations) Profil : Vous êtes rigoureux et organisé, dynamique et passionné et prêt à travailler dans une équipe jeune et très ambitieuse. Ce poste, basé à Paris-La Défense, est à pourvoir immédiatement dans le cadre d'un CDI. Rémunération proposée : 210KF à 290KF selon profil et expérience. Contact : Merci d'adresser CV et une lettre de motivation à : olivier.deckmyn@experts-md.com Olivier Deckmyn, CTO eXperts-MD.com From rik.hoekstra@inghist.nl Thu Oct 12 13:10:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:10:08 +0200 Subject: [Zope] Content Management System References: Message-ID: <00cf01c03445$5e59b8e0$fe5da182@michieltje> > This query started out in a separate thread about permissions, but it's > sufficiently important to me to pose again here. > > I've been struggling to make the CMS abilities of zope user-friendly enough > for 'joe average' end-users. Really it's designed for a 'power' content > manager who delegates, secures, and generally has taken the time to study > all the Content Management docs, etc. However, most of my clients don't > have those kinds of requirements and aren't that technologically savvy, so I > end up coding ultra-simplified interfaces for them on a per-project basis. > > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? The PTK might offer you some help in this respect. Zope as a CMS _is_ possible, but IMO you'll have to wrap the parts of the management interface that you want to expose to your users and hide the rest. This will effectively limit you as to what you will let your users add to Zope, but in a CMS situation, this will probably be the case anyway. The management interface as is won't mean much to most of them, but custom forms can also call the manage methods. It's probably a good idea to use something like the HTML Widgets product that was recently announced here, or the HiperDom thing. For most of the user management parts you will probably need someone with affinity for web developing, though as long as you keep the tasks constrained, some simple instructions will probably suffice. I have been developing something similar in what should be a course framework (a product that I don't seem to be able able to finish) that is geared toward an educational situation. It's predecessor has been in use at a university for some time and it seems to suffice as least as good as commercial packages. hth Rik From mj@digicool.com Thu Oct 12 13:12:23 2000 From: mj@digicool.com (Martijn Pieters) Date: Thu, 12 Oct 2000 14:12:23 +0200 Subject: [Zope] Re: Upload just file headers? In-Reply-To: <39E4C569.B2E6B51F@yahoo.com>; from slinkp23@yahoo.com on Wed, Oct 11, 2000 at 03:54:17PM -0400 References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> Message-ID: <20001012141223.A9744@zopatista.com> On Wed, Oct 11, 2000 at 03:54:17PM -0400, Paul Winkler wrote: > For example, take a .gif or .jpeg file and throw away all > but the first (let's say) 1 kb of the file. > If you try to open this truncated file with an image editor > (gimp, photoshop, whatever) you'll have problems. But useful > information is still stored in that first part of the file, > as we can see using python and PIL. > Example, on linux: > > head --bytes 1000 foo.gif > foo_truncated.gif > python > ... > >>> import Image > >>> test = Image.open('foo_truncated.gif', 'r') > >>> test.size > (210, 210) > > So in this case, we can find out that foo.gif is 210 x 210 > pixels even if we only have access to the first 1 kb of the > 12 kb file. This doesn't hold true for JPEG's. A JPEG encoded image consists of a set of segments, each encoding some aspect of the image. The image dimensions can be found in the frame header segment, but this segment may be preceded by tables, comments and application specific data. These extra segments could easily take up your 1K chunk. AP press for example, uses an application specific segment to encode image metadata such as subject, caption and photographer. If you have a look at the Image dimension detection code for JPEGs you'll see that it scans for a frame header (marked by C0, C1, C2 or C3 depending on the encoding used). Once found, it extracts the width and height. More information of the JPEG file encoding format can be found at: http://www.w3.org/Graphics/JPEG/itu-t81.pdf For a GIF file, the first 10 bytes should suffice, for a PNG you need the first 24. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From rik.hoekstra@inghist.nl Thu Oct 12 13:37:05 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:37:05 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: <39E5807B.46071A34@nipltd.com> Message-ID: <00fb01c03449$21c528c0$fe5da182@michieltje> > > to reply to Andy? In my own reportlab distribution I changed; > > import Image > > to > > from PIL import Image > > Well, it sounds right and if it works then it probably is ;-) It > probably depends exactly where you install PIL, though, which I haven't > done yet :-S The Photo product and the ExtImage products do more or less the same - this seems to become the standard way. It would be nice to have one place to put PIL, though. the lib/python/shared directory would be a good place I think. Rik From cs@comlounge.net Thu Oct 12 13:59:24 2000 From: cs@comlounge.net (Christian Scholz) Date: Thu, 12 Oct 2000 14:59:24 +0200 Subject: [Zope] Content Management System In-Reply-To: ; from Seb Bacon on Thu, Oct 12, 2000 at 10:46:38AM +0100 References: Message-ID: <20001012145924.B30498@central.comlounge.net> Hi! > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? We have some client who use Zope for (at least partly) doing CMS on their site. But these are quite simple (thus no commitments, etc.) When switching from a database centered approach to a more Zope based (e.g. doing it via Zope Products) I actually splitted the management interface in one for the main manager (we) and one more simple and configurable one for the clients (starting with ..../admin ). I now used it in two subprojects and it seems to work. The only thing I need to think about more specifically is how to factor out the client-side of the management interface more clearly as right now it's very much weaved into the actual classes. Also I am thinking about possibilities to split the actual data from the presentation and to make the presentation pluggable. But this is quite raw at the moment ;-) cheers, Christian From paul.zwarts@oratrix.com Thu Oct 12 15:24:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 16:24:07 +0200 Subject: [Zope] dtml-in loop to capture records Message-ID: <39E5C987.3D0D7D1F@oratrix.com> Hi all, I have a number of simple forms that retrieve all occurences of a table into editable fields in a page. Each input tag is named: ... ...
Note, only the primary key field is actually a hidden type input and the rest are text and so on. In test of the submit button, the dtml-sql method called is structured: update table set field2= where field1= &dtml-sql_delimiter; and the conditions of the method are item:records. The intention is to submit in one go the entire list of occurences and update anything that has changed. You can do this with checkboxes valued on the primary key and other ways. The important thing is to leave something that you use as the key in the WHERE statement. Okay, this works fine, in MOST of my forms, but I have other forms where this doesnt work at all and I get errors saying that the ITEM is a bad request. I dont get it, what am I missing here that this works some places and in other places with almost identical syntax, it falls over. The form is correctly tagged, does the name attrib of the form tag have to do with the ... doesnt seem to be but tried it. Im wondering if because the dtml-document is quite large with seperate subloops and forms that publish in a sequence of events that this doesnt work. Hopefully someone has insight I'm missing here? Cheers and thanks again, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From tony.mcdonald@ncl.ac.uk Thu Oct 12 15:26:18 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 15:26:18 +0100 Subject: [Zope] Using UserDB objects with DreamWeaver Message-ID: Hi all, Has anyone managed to get acl_users folders that use UserDB (and I presume any other kind of cookie-based authentication) to work alongside DreamWeaver. Whenever I try to get into a UserDB locked folder I get FTP authentication errors. Any ideas? tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From rbickers@logicetc.com Thu Oct 12 16:40:14 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Thu, 12 Oct 2000 11:40:14 -0400 Subject: [Zope] RE: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> Message-ID: > -----Original Message----- > From: Chris Withers [mailto:chrisw@nipltd.com] > > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ...and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S Well... aq_base appears to work just fine in a Python method (not external). Is that a bad thing? I ended up creating a sameObject Python method that compares two objects' aq_base and it does what I expect. I'm using it to determine if I need to display the global menu under the local menu, or if the global menu *is* the local menu, so different context behavior isn't an issue. I suppose an upcoming Zope will take care of this problem if it gives the intuitive results with an == comparison. Thanks for all of your help!! _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From 444@hiretechs.com Thu Oct 12 16:53:34 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 08:53:34 -0700 Subject: [Zope] Competing writes and reindexing objects Message-ID: <39E5DE7E.8682AF02@hiretechs.com> Zopists, I am trying to eliminate the competing writes that are plaguing my app at the moment. One way I know of is to make sure that people aren't creating/modifying objects in the same folder at the same time. This is becuase the parent object gets modified too. Does anyone have a "object creation/folder distribution" code that works for them that they would be willing to share? Lastly, even if I distribute my objects, doesn't reindexing any Zope object inthe Catalog at the same time create a conlict? I'd love to know if I'm fighting a losing battle here. All my best, Jason Spisak 444@hiretechs.com From ololo@zeus.polsl.gliwice.pl Thu Oct 12 17:03:25 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Thu, 12 Oct 2000 18:03:25 +0200 (CEST) Subject: [Zope] "from" is a reserved word? In-Reply-To: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: On Thu, 12 Oct 2000, iap_y2fun.com wrote: > Hi,The following dtml couse error, > > > > > > The workaround is to change "from" to other words. "from" is a python reserved word. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From tony.mcdonald@ncl.ac.uk Thu Oct 12 17:18:28 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 17:18:28 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module In-Reply-To: <00fb01c03449$21c528c0$fe5da182@michieltje> References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: At 2:37 pm +0200 12/10/00, Rik Hoekstra wrote: > > > to reply to Andy? In my own reportlab distribution I changed; >> > import Image >> > to >> > from PIL import Image >> >> Well, it sounds right and if it works then it probably is ;-) It >> probably depends exactly where you install PIL, though, which I haven't >> done yet :-S > >The Photo product and the ExtImage products do more or less the same - this >seems to become the standard way. It would be nice to have one place to put >PIL, though. the lib/python/shared directory would be a good place I think. > >Rik Is this because you're thinking of the binary releases of Zope? If you're using the reportlab libraries, then you've probably installed them into /usr/local/lib/python1.5/site-packages (ie you're used to using source distributions). If you can do that, you're probably ok with putting PIL into lib/python/shared. So why not have it in site-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From chrisw@nipltd.com Thu Oct 12 17:17:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 17:17:30 +0100 Subject: [Zope] RE: aq_base References: Message-ID: <39E5E41A.6E32AC97@nipltd.com> Ron Bickers wrote: > > Well... aq_base appears to work just fine in a Python method (not external). > Is that a bad thing? Probably, although someone from DC would need to comment why... Hmm... Evan, should that be the case? cheers, Chris From slinkp23@yahoo.com Thu Oct 12 17:35:27 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 12 Oct 2000 12:35:27 -0400 Subject: [Zope] Re: Upload just file headers? References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> <20001012141223.A9744@zopatista.com> Message-ID: <39E5E84F.203E1111@yahoo.com> Martijn Pieters wrote: > This doesn't hold true for JPEG's. (snip) Aha, thanks. I'll have to think of a way to deal with this... --PW ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From juliodinis@hotmail.com Thu Oct 12 18:34:29 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 12 Oct 2000 17:34:29 WEST Subject: [Zope] Database Pack Message-ID: Hi all, is there a way to do a pack to zodb without using the managment screens pack button? Maybe a python script we could execute from the file system. Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From evan@4-am.com Thu Oct 12 17:39:52 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:39:52 -0400 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <006801c0346b$0bcc3050$3e48a4d8@digicool.com> From: Marcin Kasperski > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > Does there exist some sample of such usage? Can such a change be > performed before authorization? You could do this with an Access Rule in your root folder, containing: Cheers, Evan @ digicool & 4-am From paul.zwarts@oratrix.com Thu Oct 12 17:38:56 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 18:38:56 +0200 Subject: [Zope] [Fwd: Re: [Zope] dtml-in loop to capture records] Message-ID: <39E5E920.50BBD0@oratrix.com> Me again, To further explain my dilemna, I just noticed that using the in ITEM loop doesnt seem to work if the dtml-call statement has an extra parameter. I had publish.. ... ... Then use as in other working forms: publish.. ... ... Mdate is the primary key, again. This gave me the ITEM Bad Request error. Now, if I remove the mdate call, and remove the condition in the ZSQL method, i can at least now get an error: File /var/Zope-201/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: ) File /var/Zope-201/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: item) File /var/Zope-201/lib/python/Shared/DC/ZRDB/sqlvar.py, line 168, in render (Object: vswitch) Missing Input: (see above) So, the item is rendering. The variable named item.vswitch is not... nor is mdate which had to be named as an item.mdate instead of being passed in the dtml-call statement as an argument. In forms where this works, i simply call the method and the item renders everything in properly. Now I can do none it seems. One other note is that I var in the form that the input item.fieldname parts are contained, so the calling method to render item is not the same document as the item components. Oi, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From evan@4-am.com Thu Oct 12 17:56:21 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:56:21 -0400 Subject: [Zope] RE: aq_base References: <39E5E41A.6E32AC97@nipltd.com> Message-ID: <008e01c0346d$58def420$3e48a4d8@digicool.com> From: Chris Withers > Ron Bickers wrote: > > > > Well... aq_base appears to work just fine in a Python method (not external). > > Is that a bad thing? > > Probably, although someone from DC would need to comment why... > > Hmm... Evan, should that be the case? Shh! Not so loud! ;-) Yes, sadly, this is an area where the current release of PythonMethod fails to correctly implement security. Cheers, Evan @ digicool & 4-am From phd@phd.dada.ru Thu Oct 12 17:56:19 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Thu, 12 Oct 2000 16:56:19 +0000 (GMT) Subject: [Zope] Database Pack In-Reply-To: Message-ID: On Thu, 12 Oct 2000, Júlio Dinis Silva wrote: > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Just call the pack over HTTP. I run a cron job to do this. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From webmaster@advl.org Thu Oct 12 17:50:29 2000 From: webmaster@advl.org (Emmanuel DISCORS) Date: Thu, 12 Oct 2000 18:50:29 +0200 Subject: [Zope] Thanks : bobo : where to find it ? Message-ID: <00101218243600.01256@sultan> Thanks to you Paul & Jim Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2) - DocumentTemplate - ZPublisher BUT NO BoboPos directory in the lib/python ; only ZODB. Is there a mistake in the README.txt or forget in the lib/python directory ? Need a DB system to try the Trinkets.py (Having ZODB from Zope 2.2.2 and BoboPOS3-alpha1 & BoboPOS-2.0.2 from old backup...) What is the best way ? Old BoboPos or start now with ZODB ? Thanks Emmanuel -- ================ Emmanuel DISCORS Tel & Fax : 02 54 56 80 61 ================ Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ Jim : ==== We o longer distribute Bobo, although I'm sure you can find it on some archive somewhere. Of course, the pieces that made up Bobo are still available, in updated form, as part of the Zope distribution. The medusa bobo is available in the medusa CVS in the contrib directory. If there is still a medusa distribution, I imagine it contains this directory too. Jim Paul : ===== Hello Emmanuel. Bobo has been folded into Zope: http://www.zope.org/ --Paul From hungjunglu@hotmail.com Thu Oct 12 19:51:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 11:51:25 PDT Subject: [Zope] Medusa Monitor Message-ID: Thanks for the follow-ups on Medusa Monitor. But as I can see (after using Zope for 1.5 years, now), few people actually use it. Unless one is really into the guts of Zope itself, the monitor is pretty useless for debugging. It of course could be made more useful, but one must implement some Python programs first. Even for dynamic reloading of modules, I usually just write External methods to do the job, instead of firing up the monitor. A more useful debuging tool would be some monitor where you can receive print message logs in real time. That would be great, especially if you have multiple thread problems. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From wilson@visi.com Thu Oct 12 19:52:14 2000 From: wilson@visi.com (Timothy Wilson) Date: Thu, 12 Oct 2000 13:52:14 -0500 (CDT) Subject: [Zope] Problem with 2.2.2 and date properties? Message-ID: Hi everyone, I'm having trouble with a ZClass I've created that uses, among others, two date properties. I'm suddenly having problems creating new instances or working with existing instances of my ZClass. I can't be sure, but it seems like the onset of the problems coincided with my upgrade to 2.2.2. Has anyone else seen any problems with date properties and Zope 2.2.2? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From 444@hiretechs.com Thu Oct 12 19:53:56 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 11:53:56 -0700 Subject: [Zope] Catalog and Proximity searches Message-ID: <39E608C4.AA47CBD1@hiretechs.com> Zopsters, Does anyone know if the Catalog is supposed to do proximity searches, ie: "visual basic" would return the phrase. Thanks, Jason Spisak 444@hiretechs.com From gchiu@compkarori.co.nz Thu Oct 12 20:08:34 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 13 Oct 2000 08:08:34 +1300 Subject: [Zope] Tiny tables Message-ID: I would like to run some regular reports based upon sqlmethods. The input to these are a mixture of normal values, and some tokenised values. I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens, it gets changed to just criteria. Any suggestions as to how to store the input as tokens for my reports? -- Graham Chiu From rik.hoekstra@inghist.nl Thu Oct 12 20:14:51 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 21:14:51 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Imagemodule References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: <016401c03480$b3500d00$fe5da182@michieltje> > > > > to reply to Andy? In my own reportlab distribution I changed; > >> > import Image > >> > to > >> > from PIL import Image > >> > >> Well, it sounds right and if it works then it probably is ;-) It > >> probably depends exactly where you install PIL, though, which I haven't > >> done yet :-S > > > >The Photo product and the ExtImage products do more or less the same - this > >seems to become the standard way. It would be nice to have one place to put > >PIL, though. the lib/python/shared directory would be a good place I think. > > > >Rik > > Is this because you're thinking of the binary releases of Zope? yes, that's my reference at least ;-) > > If you're using the reportlab libraries, then you've probably > installed them into /usr/local/lib/python1.5/site-packages (ie you're > used to using source distributions). If you can do that, you're > probably ok with putting PIL into lib/python/shared. So why not have > it in site-packages? ok, that's a good choice if you're working from source distributions. > > Or have I missed something obvious (I probably have - it's been a looong day). no, you missed nothing, I just thought it would be good to make a remark about this. The point is that the Photo product puts the thing in it's own subdirectory (or so it seems, I haven't used it really) _and_ uses the PIL.pth thing. And PIL comes with a PIL.pth itself. If PIL is used by more products, it is a good idea to put it inone place, be it lib/python/shared or /usr/local/lib/python1.5/site-packages or whatever directory in your Python Path. But note that acoording to the site.py documentation these do not exist in windows or mac installations and that .pth file may contain any directory. Rik From karl@digicool.com Thu Oct 12 21:19:09 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:19:09 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Jens Vagelpohl's message of "Wed, 11 Oct 2000 07:43:14 -0400" References: Message-ID: Jens Vagelpohl writes: > terry, > > you forgot the step of actually connecting to the monitor :) there is a very > short howto on using the correct client program to log into the monitor at: > > http://www.zope.org/Members/teyc/howtoMonitorClient > > and similar info at: > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt I don't use the monitor anymore, I just mount the database from a Python prompt: lefty /usr/local/zope/2.2.0/lib/python= python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import ZServer, Zope >>> app = Zope.app() >>> dir(app) ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] >>> I'm not sure what the usefulness of the monitor is these days. I always run ZEO, so I don't have to stop publishing to connect to the database from the prompt. Does the monitor give you something that interactive python doesn't? I do know that python in a shell is more robust than the monitor was - the monitor used to crash when dumping lots of info, like printing a large dictionary. -- Karl Anderson karl@digicool.com From Oliver Bleutgen Thu Oct 12 20:33:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Thu, 12 Oct 2000 21:33:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010121942.MAA00203@zope.codeit.com> Hi, I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4. I encountered a problem with dtml-sqltest and capitals in column names. Well, I simply couldn't get it to work because postgres requires column-names with "special characters" like capitals to be enclosed with quotation marks, ie. "COLUMNNAME" instead of COLUMNNAME - IIRC '_' also won't work. The problem is that dtml-sqltest only renders select * from table where COLUMNNAME='5' which will be interpreted by postgres like select * from table where columnname='5' Unfortunatly throws the obvious error and everything else I tried didn't work too. In the end I patched lib/python/Shared/DC/ZRDB/sqltest.py to do what I want. 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+args['column']+'"' > else: self.column='"'+self.__name__+'"' Any comment whether this would also apply/be necessary for other dbs? And if not, would there a better place (anywhere in ZPopyDA) to change/add some code? Or did I just miss something obvious and there's a sane way to make dtml-sqltest work with postgres and capitals. cheers, oliver From karl@digicool.com Thu Oct 12 21:24:49 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:24:49 -0700 Subject: [Zope] Database Pack In-Reply-To: "=?iso-8859-1?q?J=FAlio?= Dinis Silva"'s message of "Thu, 12 Oct 2000 17:34:29 WEST" References: Message-ID: "Júlio Dinis Silva" writes: > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Mount the database, then call manage_pack (untested python with cwd in lib/python): import ZServer, Zope Zope.app().Control_Panel.Database.manage_pack(days = 1) -- Karl Anderson karl@digicool.com From dieter@handshake.de Thu Oct 12 11:09:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:09:40 +0200 (CEST) Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? In-Reply-To: <39E5856B.43E0755D@softax.com.pl> References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <14821.35947.985554.923938@lindm.dm> Marcin Kasperski writes: > > > As I finally installed mod_proxy_add_forward, I get original address in > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > > > The question is: can I do something easy to automatically perform > > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > > set remote_ip = whatever is in X-Forwarded-For > > > logic? In particular, I would like changed IP to be used by Zope access > > > control and Zope log. > > .... > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > > AccessRule in your top (logical) folder to modify your > > REQUEST object as you like. > > > > Does there exist some sample of such usage? Can such a change be > performed before authorization? The SiteAccess HowTo (documentation?) contains an example how to turn a path component into a REQUEST binding. Your case is much simpler, very straight forward. > I use SiteRoot to translate addressess between external and internal (in > subdirectories, not in main directory). Can those approaches be merged > one with another? They can. If you like, you can replace your SiteRoot (which in fact are simple forms of AccessRules) with full blown AccessRules and put the REMOTE_IP justification into them. However, I would do it in the root folder to have it at a single place. Dieter From dieter@handshake.de Thu Oct 12 11:21:12 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:21:12 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14820.48557.338437.974103@lindm.dm> Message-ID: <14821.36358.972286.290879@lindm.dm> Seb Bacon writes: > .... > > Currently, Zope tries to have very few explicit, object specific > > permissions. The ideal is that permissions are specified high above in > > the hierarchy and acquired by lower objects. > > This is quite possible with the current scheme. > > Implementing an "URL accessible" permission would require > > much more tweaking of single object permissions. > > > > There are other ways to solve your problem by organization > > (putting things that should not be seen somewhere else) > > that do not require an additional permission. > > Now I understand... > I would disagree, however: I think there is a sensible default value. The > default would be that anonymous does not have 'traverable' permission, but > the manager / owner does.... The "traversable" permission would be an additional requirement to view any object. Its main purpose would be to distinguish between "use via Web" and "use in DTML only". "standard_html_*" would be usable in DTML but could not be viewed via the web. They would not give "traversable" permission to Anonymous. Many DTML objects, however, would need to give the "traversable" permission even to Anonymous in order to be useful. Dieter From dieter@handshake.de Thu Oct 12 12:01:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 13:01:08 +0200 (CEST) Subject: [Zope] Re: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> References: <14821.27476.628244.862590@lindm.dm> <39E57D44.DC711E9A@nipltd.com> Message-ID: <14821.35597.65242.939789@lindm.dm> Chris Withers writes: > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ....and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S I do not think, an object without any acquisition (and security) context is a big security risk. The lack of a security context means, that the default security setting built into the Zope security policy is used. In Zope 2.2.2., this means, only "Manager" can do anything, unless the object itself mapped some permissions itself to roles (which then remain valid even for the base object). However, I see another danger. As old (now fixed) bugs in "ZopeFind" have demonstrated, objects stripped of their acquisition context lead to very strange errors, where suddenly even Manager cannot use the object any more. Thus, I agree that "aq_base" should not be exposed, even if for a different reason. Dieter From michel@digicool.com Thu Oct 12 21:27:22 2000 From: michel@digicool.com (Michel Pelletier) Date: Thu, 12 Oct 2000 13:27:22 -0700 Subject: [Zope] Thanks for the comments Message-ID: <39E61EAA.B20B81A7@digicool.com> Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better book and ensuring Zope's future. if you've felt in the past that you may not be technically proficient enough to contribute to the technology of Zope, you can certainly contribute to the documentation by catching our mistakes and making good observations and asking good questions. It is really, really helping. Keep it up, cuz we're not done yet! Thanks, Michel and Amos From fred@ontosys.com Thu Oct 12 21:39:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 12 Oct 2000 15:39:55 -0500 Subject: [Zope] Using ProxyPass and SiteRoot References: Message-ID: <39E6219B.1DAE5026@ontosys.com> It looks to me like you'd need the following in Apache's httpd.conf: NameVirtualHost 206.131.108.102 ServerName www.isd197.k12.mn.us ProxyPass / http://206.131.108.103:8080/ ProxyPassReverse / http://206.131.108.103:8080/ and the following settings in a SiteRoot object at the root of the Zope tree for the site: base: http://www.isd197.k12.mn.us path: / Timothy Wilson wrote: > I've been developing a new Zope site on a separate machine at > http://206.131.108.103:8080/ using just ZServer and I would like to use > ProxyPass to pass a request for www.isd197.k12.mn.us through to this new > site. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From complaw@hal-pc.org Thu Oct 12 22:24:11 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:24:11 GMT Subject: [Zope] and question Message-ID: <200010122123.QAA15858@mail.hal-pc.org> First, thanks for the help these last several days. I'm glad to report that I have a useful Zope site up and running that is the envy of the law firm. Now its time to get a little fancy. Unfortunately, after having read the DTML Reference, and the Zope Quick Reference, I still haven't been able to figure out how to get today's date into a dtml-var. Case in point: I want to put a table of dates and hyperlinks. If the day has already passed, I want to shade the table cell (). In this case, the object has a date property called event_date.
The above code gives me a NameError. Another example would be to simply get the integer value of the year so that it can be included in a copyright statement. E.g., Copyright © , All rights reserved. Unfortunately, this doesn't work either. Can someone point me in the right direction? From complaw@hal-pc.org Thu Oct 12 22:35:16 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:35:16 GMT Subject: [Zope] Thanks for the comments Message-ID: <200010122134.QAA20148@mail.hal-pc.org> Just out of curiosity, how often do you update the book (i.e., the version on the web)? Or, put another way, how long should we consider that catching a typo or split infinitive will have already been brought to your attention but hadn't yet made it to the web site? If you update on a continuous basis, then my question is moot. However, if you update on a periodic basis, could you drop me (or this list group) a note to indicate that the next version is available for our hungry eyes? Just a suggestions... Ron ./. > Just thought we'd mention that we have gotten lots of great comments on > the Zope book so far, especially in the last week or so. You're all > helping make it a better book and ensuring Zope's future. if you've > felt in the past that you may not be technically proficient enough to > contribute to the technology of Zope, you can certainly contribute to > the documentation by catching our mistakes and making good observations > and asking good questions. It is really, really helping. Keep it up, > cuz we're not done yet! From dieter@handshake.de Thu Oct 12 22:45:50 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:45:50 +0200 (CEST) Subject: [Zope] dtml-in loop to capture records In-Reply-To: <92589132@toto.iv> Message-ID: <14822.11869.374666.869834@lindm.dm> Paul Zwarts writes: > ... bad request exception from SQL method ... This error indicates, that an input parameter was not provided. The error value gives the list of all missing input parameters. I would suggest, you replace your "SQL method" (the complete "dtml-in") with "" and analyse what form variables do arrive. Dieter From dieter@handshake.de Thu Oct 12 22:33:42 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:33:42 +0200 (CEST) Subject: [Zope] dtml-let ? In-Reply-To: <59788518@toto.iv> Message-ID: <14822.11765.363407.206130@lindm.dm> Mark Twiddy writes: > Im totaling columns returned from a zsql thingy is there an easy way to do > this in dtml. can do that for you. Look at the documentation, section "variables for statistics". Dieter From dieter@handshake.de Thu Oct 12 22:32:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:32:23 +0200 (CEST) Subject: [Zope] Any limit on number of users? In-Reply-To: <32876900@toto.iv> Message-ID: <14822.11473.24132.596177@lindm.dm> Paul Winkler writes: > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? "UserFolder" uses a dictionary to manage its users. This implies, if one user object is accessed, the complete dictionary is brought into memory (if it is not already there). This might pose problems for a very large user number. Dieter From dieter@handshake.de Thu Oct 12 22:27:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:27:31 +0200 (CEST) Subject: [Zope] help!- version locked up site In-Reply-To: <114600569@toto.iv> Message-ID: <14822.11090.645270.708534@lindm.dm> sean@horse101.com writes: > I cannot view my site...the version has locked it up with the following > message (I cannot even delete the version- which is not currently open): > Error Type: VersionLockError > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > 'h101Latest') Your problem description is not very clear. Are you completely unable to access your site? Apparently not, as you can try to delete the version. Try to go to your version, use the "save/discard" tab and discard (or save) your version. This should remove the look. If you can no longer access your site, it might help to delete "var/Data.fs.tmp". Be carefull! Make a backup before! I do not know, what will happen. Dieter From dieter@handshake.de Thu Oct 12 22:20:37 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:20:37 +0200 (CEST) Subject: [Zope] Computed attribute access (was: [Zope] dtml-with syntax question) In-Reply-To: <103078562@toto.iv> Message-ID: <14822.10841.203981.44604@lindm.dm> Geoffrey L. Wright writes: > I think I am finally getting a decent handle on namespace issues in > Zope, and I can now with the dtml-with tag with reasonable efficacy in > simple situations. But I have run into something of a brick wall on > one issue. > > What I would like to be able to do is something like this: > > > > > > > > > > > Where objectName2 is actually an attribute of objectName1. It seems (though it is not clear) that you want a computed attribute access? Your "objectName2" is an attribute of "objectName1" and contains the "id" of an object in "folder.subfolder"? Then, you use "_.getattr". That's for accessing an attribute you have the name for (and the name is not constant). In your case, you would use it as: Dieter From dieter@handshake.de Thu Oct 12 22:47:35 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: <38671166@toto.iv> Message-ID: <14822.12583.68373.267795@lindm.dm> Hung Jung Lu writes: > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. You know Zope's logging support? It provides a kind of "print message logs", you receive in real time (in your log file). Dieter From knight@righteous.net Thu Oct 12 22:59:09 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 14:59:09 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <200010122134.QAA20148@mail.hal-pc.org> Message-ID: On a side note, how about also including a PDF version (if possible) for us developers who are busy hacking away at source and don't have time to convert it ourselves... ;] Knight knight@phunc.com On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > Just out of curiosity, how often do you update the book (i.e., the version on > the web)? Or, put another way, how long should we consider that catching a typo > or split infinitive will have already been brought to your attention but hadn't > yet made it to the web site? > > If you update on a continuous basis, then my question is moot. However, if you > update on a periodic basis, could you drop me (or this list group) a note to > indicate that the next version is available for our hungry eyes? > > Just a suggestions... > > Ron > ./. > > > Just thought we'd mention that we have gotten lots of great comments on > > the Zope book so far, especially in the last week or so. You're all > > helping make it a better book and ensuring Zope's future. if you've > > felt in the past that you may not be technically proficient enough to > > contribute to the technology of Zope, you can certainly contribute to > > the documentation by catching our mistakes and making good observations > > and asking good questions. It is really, really helping. Keep it up, > > cuz we're not done yet! > > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Thu Oct 12 23:06:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 12 Oct 2000 15:06:34 -0700 Subject: [Zope] Any limit on number of users? References: <14822.11473.24132.596177@lindm.dm> Message-ID: <01de01c03498$af6fffc0$ae03a8c0@fork> Login Manager or Generic User Folder and Shanes excellent BTreeFolder provide a solution for a large number of users. ----- Original Message ----- From: "Dieter Maurer" To: "Paul Winkler" Cc: "Zope mailing list" Sent: Thursday, October 12, 2000 2:32 PM Subject: Re: [Zope] Any limit on number of users? > Paul Winkler writes: > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > "UserFolder" uses a dictionary to manage its users. > This implies, if one user object is accessed, the complete > dictionary is brought into memory (if it is not already there). > This might pose problems for a very large user number. > > > > Dieter > > _______________________________________________ > 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 ) > From gwright@integritysi.com Thu Oct 12 23:34:28 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> Message-ID: <14822.15476.737672.457573@localhost.localdomain> Chris Withers writes: > "Geoffrey L. Wright" wrote: > > > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > > > > > > > > > > > > > The above should now work... > > ...if it doesn't please explain in what way ;-) Hmmm... OK. Here is my relevant code, complete with resulting error message: etc... And Zope sez: Error Type: KeyError Error Value: short_desc attribute1, attribute2 and attribute3 are all attributes of sidebar_item. If I change the to read (where weepee_the_weewee is the actual name of the object I'm trying to refer to), then I see the short_desc attribute of weepee_the_weewee perfectly. Don't I have to do something in my syntax to indicate that I'm looking for the the value of attribute3 rather than an object with the literal id "attribute3"? > cheers, > > Chris Dazed & Confused, //glw From hungjunglu@hotmail.com Thu Oct 12 23:16:52 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 15:16:52 PDT Subject: [Zope] Medusa Monitor Message-ID: I know that, the stupid log file thingy. But you'll have to write an independent thread to display the log file (or peek the file manually each time), or implement some CString stuff to capture the file output (if that is possible). It'll be more fun if all this is already done, and the user can just tap into the monitor console screen (even remotely). A good monitor should actually display hit information, memory usage, etc, and preferably with charts, all in real time. Too much to ask? I don't think so. :) Hung Jung >From: Dieter Maurer >To: "Hung Jung Lu" >CC: zope@zope.org, jens@digicool.com, terry@adroit.net >Subject: Re: [Zope] Medusa Monitor >Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) > >Hung Jung Lu writes: > > A more useful debuging tool would be some monitor where you can receive > > print message logs in real time. That would be great, especially if you >have > > multiple thread problems. >You know Zope's logging support? > >It provides a kind of "print message logs", you receive in real time >(in your log file). > > > >Dieter _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From gwright@integritysi.com Thu Oct 12 23:51:43 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: Message-ID: <14822.16511.306738.502938@localhost.localdomain> knight writes: > Timothy, > > Without going into too much detail, you are going to want to set up a > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > that virtual host you will want to add your ProxyPass lines similar to my > example: [...] And just for reference, here's another working example with ProxyPass: NameVirtualHost 172.17.10.13 ServerName syslog.integritysi.com ServerAdmin geoff@integritysi.com ProxyPass / http://vishnu.integritysi.com:8080/syslog/ ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ ErrorLog logs/syslog.integritysi.com TransferLog logs/syslog.integritysi.com Good luck, and don't forget to enable the ProxyPass module. //glw From terry@adroit.net Thu Oct 12 23:43:02 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:43:02 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63E76.61F456C4@adroit.net> Useless for debugging? I find it very useful and sometimes necessary....but I right all my products in python so maybe it is different for ZClass people. terry Hung Jung Lu wrote: > Thanks for the follow-ups on Medusa Monitor. > > But as I can see (after using Zope for 1.5 years, now), few people actually > use it. Unless one is really into the guts of Zope itself, the monitor is > pretty useless for debugging. It of course could be made more useful, but > one must implement some Python programs first. Even for dynamic reloading of > modules, I usually just write External methods to do the job, instead of > firing up the monitor. > > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. > > regards, > > Hung Jung > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From terry@adroit.net Thu Oct 12 23:45:14 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:45:14 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63EFA.FE2BF947@adroit.net> I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Karl Anderson wrote: > Jens Vagelpohl writes: > > > terry, > > > > you forgot the step of actually connecting to the monitor :) there is a very > > short howto on using the correct client program to log into the monitor at: > > > > http://www.zope.org/Members/teyc/howtoMonitorClient > > > > and similar info at: > > > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt > > I don't use the monitor anymore, I just mount the database from a > Python prompt: > > lefty /usr/local/zope/2.2.0/lib/python= python > Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import ZServer, Zope > >>> app = Zope.app() > >>> dir(app) > ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] > >>> > > I'm not sure what the usefulness of the monitor is these days. I > always run ZEO, so I don't have to stop publishing to connect to the > database from the prompt. > > Does the monitor give you something that interactive python doesn't? > I do know that python in a shell is more robust than the monitor was - > the monitor used to crash when dumping lots of info, like printing a > large dictionary. > > -- > Karl Anderson karl@digicool.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 ) -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From sean@horse101.com Thu Oct 12 23:58:21 2000 From: sean@horse101.com (sean@horse101.com) Date: Thu, 12 Oct 2000 15:58:21 -0700 Subject: [Zope] help!- version locked up site In-Reply-To: <14822.11090.645270.708534@lindm.dm> References: <114600569@toto.iv> Message-ID: <39E5DF9D.22490.10755C9F@localhost> Thanks, I did figure it out and when I go into save/discard version and discard I was able to get back to normal. On 12 Oct 2000, at 23:27, Dieter Maurer wrote: > sean@horse101.com writes: > > I cannot view my site...the version has locked it up with the following > > message (I cannot even delete the version- which is not currently open): > > Error Type: VersionLockError > > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > > 'h101Latest') > Your problem description is not very clear. > > Are you completely unable to access your site? > Apparently not, as you can try to delete the version. > > Try to go to your version, use the "save/discard" tab > and discard (or save) your version. This should remove > the look. > > If you can no longer access your site, it might help > to delete "var/Data.fs.tmp". Be carefull! Make a backup before! > I do not know, what will happen. > > > Dieter > From phil.harris@zope.co.uk Thu Oct 12 00:19:01 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 00:19:01 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> As another side note, I generally make it into an eBook ready for the Microsoft Reader. If anyone's interested let me know. Phil phil.harris@zope.co.uk ----- Original Message ----- From: "knight" To: Cc: "Michel Pelletier" ; ; ; Sent: Thursday, October 12, 2000 10:59 PM Subject: Re: [Zope] Thanks for the comments > On a side note, how about also including a PDF version (if possible) for > us developers who are busy hacking away at source and don't have time to > convert it ourselves... ;] > > Knight > knight@phunc.com > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > Just out of curiosity, how often do you update the book (i.e., the version on > > the web)? Or, put another way, how long should we consider that catching a typo > > or split infinitive will have already been brought to your attention but hadn't > > yet made it to the web site? > > > > If you update on a continuous basis, then my question is moot. However, if you > > update on a periodic basis, could you drop me (or this list group) a note to > > indicate that the next version is available for our hungry eyes? > > > > Just a suggestions... > > > > Ron > > ./. > > > > > Just thought we'd mention that we have gotten lots of great comments on > > > the Zope book so far, especially in the last week or so. You're all > > > helping make it a better book and ensuring Zope's future. if you've > > > felt in the past that you may not be technically proficient enough to > > > contribute to the technology of Zope, you can certainly contribute to > > > the documentation by catching our mistakes and making good observations > > > and asking good questions. It is really, really helping. Keep it up, > > > cuz we're not done yet! > > > > > > > > _______________________________________________ > > 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 ) From joe@iuveno.de Fri Oct 13 01:15:55 2000 From: joe@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 02:15:55 +0200 Subject: [Zope] Content Management System References: <20001012145924.B30498@central.comlounge.net> Message-ID: <005b01c034aa$cbfe4fe0$af81e491@iuvenonet.de> >> I'm beginning to wonder if > > content management and system administration should be split out into > > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > > syndication, etc...). We (iuveno) are currently preparing a major project to write a full-featured CMS on base of Zope. The first client will be a university, but the system will also be usable in commercial environments, and it will be open source from the first day on (except for the client-specific stuff of course). The first draft of the general architecture is as follows: There is a ZClass- or Python-product-based toolkit that provides the standard functionality, like base classes, workflow logic, etc. Plugin ZClasses implement the actual organization logic, so you can choose between building a university, a sports club, or maybe a consulting business by just choosing the corresponding modules. Chromes (logos, stylesheets, ...) and Views (page layouts) are also implemented as plugins. There will be a full-fledged workflow/project management component (at least in the long run). The concept will build upon ideas from the PTK and the ZDP-tools. There is a very simple prototype we will make public after some clean-ups. We are checking at the moment if we should set up a now project homepage or wiki or join an existing effort like the ZDP-tool-based initiative of Maik Röder on or the PTK. BTW: My experience with "dumb users" working with the Zope interface is quite positive. As long as they just have to add, change or delete predefined objects it doesn't seem to be that bad. They just shouldn't have to know about DTML or even acquisition. Joachim. From knight@righteous.net Fri Oct 13 01:23:20 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 17:23:20 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> Message-ID: Send it over ;] On Thu, 12 Oct 2000, Phil Harris wrote: > As another side note, I generally make it into an eBook ready for the > Microsoft Reader. > > If anyone's interested let me know. > > Phil > phil.harris@zope.co.uk > ----- Original Message ----- > From: "knight" > To: > Cc: "Michel Pelletier" ; ; > ; > Sent: Thursday, October 12, 2000 10:59 PM > Subject: Re: [Zope] Thanks for the comments > > > > On a side note, how about also including a PDF version (if possible) for > > us developers who are busy hacking away at source and don't have time to > > convert it ourselves... ;] > > > > Knight > > knight@phunc.com > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > Just out of curiosity, how often do you update the book (i.e., the > version on > > > the web)? Or, put another way, how long should we consider that > catching a typo > > > or split infinitive will have already been brought to your attention but > hadn't > > > yet made it to the web site? > > > > > > If you update on a continuous basis, then my question is moot. However, > if you > > > update on a periodic basis, could you drop me (or this list group) a > note to > > > indicate that the next version is available for our hungry eyes? > > > > > > Just a suggestions... > > > > > > Ron > > > ./. > > > > > > > Just thought we'd mention that we have gotten lots of great comments > on > > > > the Zope book so far, especially in the last week or so. You're all > > > > helping make it a better book and ensuring Zope's future. if you've > > > > felt in the past that you may not be technically proficient enough to > > > > contribute to the technology of Zope, you can certainly contribute to > > > > the documentation by catching our mistakes and making good > observations > > > > and asking good questions. It is really, really helping. Keep it up, > > > > cuz we're not done yet! > > > > > > > > > > > > _______________________________________________ > > > 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 ) > > > _______________________________________________ > 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 ) > > From phil.harris@zope.co.uk Thu Oct 12 01:37:48 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 01:37:48 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> I'll stick onto my Zope members page http://zope.org/Members/philh Phil ----- Original Message ----- From: "knight" To: "Phil Harris" Cc: "knight" ; ; "Michel Pelletier" ; ; ; Sent: Friday, October 13, 2000 1:23 AM Subject: Re: [Zope] Thanks for the comments > Send it over ;] > > On Thu, 12 Oct 2000, Phil Harris wrote: > > > As another side note, I generally make it into an eBook ready for the > > Microsoft Reader. > > > > If anyone's interested let me know. > > > > Phil > > phil.harris@zope.co.uk > > ----- Original Message ----- > > From: "knight" > > To: > > Cc: "Michel Pelletier" ; ; > > ; > > Sent: Thursday, October 12, 2000 10:59 PM > > Subject: Re: [Zope] Thanks for the comments > > > > > > > On a side note, how about also including a PDF version (if possible) for > > > us developers who are busy hacking away at source and don't have time to > > > convert it ourselves... ;] > > > > > > Knight > > > knight@phunc.com > > > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > > > Just out of curiosity, how often do you update the book (i.e., the > > version on > > > > the web)? Or, put another way, how long should we consider that > > catching a typo > > > > or split infinitive will have already been brought to your attention but > > hadn't > > > > yet made it to the web site? > > > > > > > > If you update on a continuous basis, then my question is moot. However, > > if you > > > > update on a periodic basis, could you drop me (or this list group) a > > note to > > > > indicate that the next version is available for our hungry eyes? > > > > > > > > Just a suggestions... > > > > > > > > Ron > > > > ./. > > > > > > > > > Just thought we'd mention that we have gotten lots of great comments > > on > > > > > the Zope book so far, especially in the last week or so. You're all > > > > > helping make it a better book and ensuring Zope's future. if you've > > > > > felt in the past that you may not be technically proficient enough to > > > > > contribute to the technology of Zope, you can certainly contribute to > > > > > the documentation by catching our mistakes and making good > > observations > > > > > and asking good questions. It is really, really helping. Keep it up, > > > > > cuz we're not done yet! > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 ) > > > > > > _______________________________________________ > > 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 ) > > > > From gwright@integritysi.com Fri Oct 13 03:24:11 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" Kindly Zopistas: Am curious how to go about building an "alternate Property Sheet View" for custom ZClasses. The default view is great for me and other developers, but I need to build the something that looks a bit more customer-friendly. I spend about 20 minutes looking around the Zope site, but haven't yet turned about any useful information. Perhaps somebody could point me to a relevant HOWTO or some example code? Many thanks! //glw From twcook@iswt.com Fri Oct 13 03:09:59 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:09:59 -0500 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> Message-ID: <39E66EF7.563F0451@iswt.com> "\"Geoffrey L. Wright\" > Don't I have to do something in my syntax to indicate that I'm looking > for the the value of attribute3 rather than an object with the literal > id "attribute3"? I'm sure someone will correct me if I'm wrong. But I believe you want: -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Fri Oct 13 03:58:40 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:58:40 -0500 Subject: [Zope] non-Zope object attribute admin interface References: <14822.29259.893382.868680@localhost.localdomain> Message-ID: <39E67A60.BCBF6A7@iswt.com> "\"Geoffrey L. Wright\" > > Kindly Zopistas: > > Am curious how to go about building an "alternate Property Sheet View" for > custom ZClasses. The default view is great for me and other > developers, but I need to build the something that looks a bit more > customer-friendly. > > I spend about 20 minutes looking around the Zope site, but haven't yet > turned about any useful information. Perhaps somebody could point me > to a relevant HOWTO or some example code? Take a look at the Job Board HOWTO. HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From ergul@ccs.neu.edu Fri Oct 13 04:26:54 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Thu, 12 Oct 2000 23:26:54 -0400 (EDT) Subject: [Zope] Connection Problem with Oracle Message-ID: > I created a connection to an Oracle database. Frequently, > the connection breaks and I got a database error in the page that > displays the query result. When I logon as a manager I find that the > connection is closed (by itself, nothing changed in Oracle or Zope), > when I try to open it I get an error "Invalid connection string". Even > if I create another connection it can't work.. After a while it > works. Even after restarting the Zope server the problem persists. I'm not sure why the same connection string would work only some of the time. Maybe some other error from sqlnet is misreported. In any case, look for sqlnet.log at the directory where zope was started. You can get more info on the errors you're experiencing. Furthermore try running zope with nohup and monitor the nohup.out file that gets generated. You can see how frequently your zope goes down (if running as deamon under linux). Frequent problems with Oracle setup stem from read permissions on files used by sqlnet (e.g. message files). Make sure such files are readable by whatever user your zope is running as. Ayhan Ergul From bak@nstp.com.my Fri Oct 13 07:29:29 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Fri, 13 Oct 2000 14:29:29 +0800 Subject: [Zope] OT: maybe - max file, proc limits on linux and zope Message-ID: <0010131429290B.00692@tokey.kedai.com.my> hi all, this may be off topic, feel free to ignore. while trying to stop zope i encountered error stating max file limit met. what i did to stop this is running echo "8192" >/proc/sys/fs/file-max can i do this? good bad? any tips on tuning max file open, process open, etc? linux and zope newbie <--that's me. tia -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From mj@digicool.com Fri Oct 13 09:13:17 2000 From: mj@digicool.com (Martijn Pieters) Date: Fri, 13 Oct 2000 10:13:17 +0200 Subject: [Zope] Zope nominated for Webtechniques Web Tools Awards Message-ID: <20001013101317.A17757@zopatista.com> Zope has been nominated for the Webtechniques Webtool Awards, and the pollboxes are open! Go vote by putting you email address (or any email address you like ;)) at the end of the following URL: http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl? So, I voted at the URL ending in ballot_gen.pl?mj@digicool.com. Every email address can vote once. Go give Zope a great showing! -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Fri Oct 13 09:44:12 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 09:44:12 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14821.36358.972286.290879@lindm.dm> Message-ID: Oh dear, I fear that this is going round and round and round in circles a bit, and that no-one else is following it, but here goes anyway :> > The "traversable" permission would be an additional requirement > to view any object. Its main purpose would be to distinguish > between "use via Web" and "use in DTML only". > "standard_html_*" would be usable in DTML but could not be viewed > via the web. They would not give "traversable" permission to > Anonymous. > Many DTML objects, however, would need to give the "traversable" > permission even to Anonymous in order to be useful. OK, I think we're talking about the same thing now...but could you give me an example of any object that would need to be traversable by Anonymous? index_html, for example, doesn't need to be traversable (I still prefer 'listable'). Viewable TTW, yes, but that's all. seb. From paul.zwarts@oratrix.com Fri Oct 13 11:23:53 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Fri, 13 Oct 2000 12:23:53 +0200 Subject: [Zope] and question References: <200010122123.QAA15858@mail.hal-pc.org> Message-ID: <39E6E2B9.7B97CAEF@oratrix.com> Hi there, I've been having problems with DateTimes as well. My colleague and I (using Zope 201) found a problem with the module that causes any dbase timestamp to be rendered to a non-standard UNIX time that has an annoying DST appended if in the Daylight savings time zone, thus leaving the timestamp as useless when performing expressions against it. In our situation we used a scan from pos 0-29 to trap the proper timestamp syntax. Then from there, I use an expression as follows: This is just a small part of the code, and im sure there is a better way, but hey, it works. Dont know if this helps you, but perhaps will give you an idea.... Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From stephan.goeldi@datacomm.ch Fri Oct 13 11:23:37 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 13 Oct 2000 10:23:37 GMT Subject: [Zope] Non-existing Zope-Security!!! Message-ID: OK let me state that I don't think so (subject line). I had to choose this subject, because it seems to me, that nobody was interested in my previous attempts to get information about my problem. So here is my newbie (?) question again: I have the folders: /www/folder1 /www/folder2 Apache redirects domain1 to folder1 and domain2 to folder2. The manager of folder1 is able to browse to /www and see what folders exist there. He shouldn't, because he only exists in the acl_user of /www/folder1. He even can look into the folder /www/folder2 (but not into the objects). Is it possible to disable the access for the folder1-manager above folder1? It doesn't seem to me. If it really isn't possible, there is no security at all for ISP uses of Zope. But I'm sure, there should be a possibility. I even created a local role in /www/folder1 too. Even with the local role I can browse /www and /www/folder2! Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From jkinsley@horus.bticc.net Fri Oct 13 11:42:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Fri, 13 Oct 2000 06:42:54 -0400 (EDT) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... Message-ID: I am building a framed site using Zope and I am trying to get functionality that after hours of reading documentation I am beginning to think is not possible, but since what I have read is so obscure I have decided to post a message before giving up. The code examples below *DO NOT* work, but are being used in an attempt to illustrate what I am attempting to do as I thought it would work. After reading documentation for the last several hours I am now more confused then when I started. Given the following URL's: http://...../Files/?dir=/foo/bar/&file=baz.html http://...../?section=/Files&dir=/foo/bar/&file=baz.html And the Following /index_html - DTML Method .... .... /FrameSet - DTML Method .... XXX - How can I negate this? IE. XXX - I do not think calling REQUEST.set() is the best way to accomplish this. What is a better way? .... /ViewFrame - DTML Method .... .... XXX - I can not get this to work at all. Topframe should be set or true if the visitor arrived in the /Files Folder from the top level frameset and /Files/ViewFrame will be loaded into the view_frame target. If the visitor came directly to /Files and topframe is unset or false, then I want to redirect them back to the toplevel /FrameSet to load the top frames then display the /Files/ViewFrame in the view_frame target and pass along dir and file from the URL query string. /Files/Index - DTML Method .... .... XXX - If this method is called from the top level FrameSet method, how to I access dir and file from the original request? /Files/ViewFrame - DTML Method .... .... Over the last few days I have tried all sorts of things to make this work, but all attempts have failed. I am sure there is a very simple solution that one of you Zope Gurus could quickly explain. If you are going to respond with RTFM, the please cite specific references in the manual. ;-) Thanks in advance. Regards, Jarrod Kinsley From twcook@iswt.com Fri Oct 13 12:28:10 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 13 Oct 2000 06:28:10 -0500 Subject: [Zope] Non-existing Zope-Security!!! References: Message-ID: <39E6F1CA.8AA09C20@iswt.com> Stephan Goeldi wrote: > > OK let me state that I don't think so (subject line). I had to choose this > subject, because it seems to me, that nobody was interested in my previous > attempts to get information about my problem. So here is my newbie (?) > question again: > > I have the folders: > > /www/folder1 > /www/folder2 > > Apache redirects domain1 to folder1 and domain2 to folder2. > The manager of folder1 is able to browse to /www and see what folders exist > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > He even can look into the folder /www/folder2 (but not into the objects). > > Is it possible to disable the access for the folder1-manager above folder1? > It doesn't seem to me. If it really isn't possible, there is no security at > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > I even created a local role in /www/folder1 too. Even with the local role I > can browse /www and /www/folder2! > > Any suggestions? Create the user in the top level folder that they are allowed to see. Not in the /www folder HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From mario@curiango.ipen.br Fri Oct 13 12:47:17 2000 From: mario@curiango.ipen.br (Mario Olimpio de Menezes) Date: Fri, 13 Oct 2000 09:47:17 -0200 (EDT) Subject: [Zope] Converting PHP3 -> Zope Message-ID: Hi, I'm planning to convert (migrate) a entire site from php3 to zope and i'm looking for suggestions, hints, etc on this. It's a GPL management school system done in php3+postgresql, and any user must be authenticated against a database and his privileges are those from the postgresql. The system is in portuguese (www.univates.br/sagu) if someone is interested. Does somebody have experience in such kind of migration (conversion) and can give me some "in advance" advice to avoid this or that or don't do this, etc, etc? Any comments? []s, Mario O.de Menezes "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br From DLANCE@kc.rr.com Fri Oct 13 12:59:37 2000 From: DLANCE@kc.rr.com (Dale Lance) Date: Fri, 13 Oct 2000 06:59:37 -0500 Subject: [Zope] Fw: mysqldb Message-ID: <031a01c0350d$0f89a5e0$0301a8c0@home> Hi, I am trying to build ZMySQLDA 1.20 mysql has been built successfully on RedHat 7.0 and resides in /usr/local/mysql I have followed the instructions for editing /etc/ld/so/conf adding /usr/local/mysql/lib/mysql /usr/local/mysql/lib /usr/local/mysql to it. (just tomake sure) yet I still get the following error anyone know where mysqlclient is supposed to be? Dale > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > _mysqlmodule.so > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make: *** [_mysqlmodule.so] Error 1 > Traceback (innermost last): > File "build.py", line 14, in ? > import MySQLdb > File "MySQLdb.py", line 19, in ? > from _mysql import * > ImportError: No module named _mysql > > From jensebaer@hotmail.com Fri Oct 13 13:44:19 2000 From: jensebaer@hotmail.com (jensebaer) Date: Fri, 13 Oct 2000 14:44:19 +0200 Subject: [Zope] Fw: mysqldb Message-ID: ----- Original Message ----- From: "jensebaer" To: "Dale Lance" Sent: Friday, October 13, 2000 2:43 PM Subject: Re: [Zope] Fw: mysqldb > Hi Dale, > > put this in your setup or/and setup.in file under > ....../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/ > > *shared* > # Only one line should be uncommented. > # Adjust -L and -I as necessary for your local configuration. > # If you have dynamic MySQL libraries, they will need to be on your > # LD_LIBRARY_PATH at runtime. > _mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient > # Uncomment for Windows > #_mysql > _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32 > > > or may _mysql > _mysqlmodule.c -L/usr/local/lib/mysql -I/usr/local/include/mysql -lmysqlclie > nt > > Jens > > ----- Original Message ----- > From: "Dale Lance" > To: > Sent: Friday, October 13, 2000 1:59 PM > Subject: [Zope] Fw: mysqldb > > > > Hi, > > I am trying to build ZMySQLDA 1.20 > > mysql has been built successfully on RedHat 7.0 and resides in > > /usr/local/mysql > > I have followed the instructions for editing /etc/ld/so/conf adding > > /usr/local/mysql/lib/mysql > > /usr/local/mysql/lib > > /usr/local/mysql > > to it. (just tomake sure) > > yet I still get the following error > > anyone know where mysqlclient is supposed to be? > > > > Dale > > > > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > > _mysqlmodule.so > > > /usr/bin/ld: cannot find -lmysqlclient > > > collect2: ld returned 1 exit status > > > make: *** [_mysqlmodule.so] Error 1 > > > Traceback (innermost last): > > > File "build.py", line 14, in ? > > > import MySQLdb > > > File "MySQLdb.py", line 19, in ? > > > from _mysql import * > > > ImportError: No module named _mysql > > > > > > > > > > > > > > _______________________________________________ > > 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 ) > > > > > From phd@phd.dada.ru Fri Oct 13 13:59:25 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Fri, 13 Oct 2000 12:59:25 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so. Check to see it's there. It is usually symlink to libmysqlclient.so.6.23.13 or such. If it is not - find it on your system and put the directory to -L flag, e.g gcc -shared _mysqlmodule.o -L/usr/local/lib/mysql -lmysqlclient -o _mysqlmodule.so Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From joachim.werner@iuveno.de Fri Oct 13 13:59:47 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 14:59:47 +0200 Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> References: <39E6F1CA.8AA09C20@iswt.com> Message-ID: <00101315232701.14779@promotor> > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder That alone wouldn't do it if we are talking about "seeing the objects", e.g. by calling the "objectIds" method in the root folder. You also have to switch off the root folder's "Access contents information" rights for Anonymous and the sub-tree managers. I think Zope security is really a bit weak here because the standard settings are NOT blocking "Access contents information" and blocking it makes programming a bit harder ... BUT: You CAN configure it correctly if you want to. Joachim -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From tseaver@digicool.com Fri Oct 13 14:43:20 2000 From: tseaver@digicool.com (Tres Seaver) Date: Fri, 13 Oct 2000 09:43:20 -0400 Subject: [Zope] How to see if two objects are the same (minor fix) References: <200010111900.MAA11051@zope.codeit.com> Message-ID: <39E71178.68EB60B1@digicool.com> Ron Bickers wrote: > > **** From my previous post, it looked like the parent was changing. I had > the first two lines swapped. Fixed below. > > ---- > > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 > > It returns the following in a folder where there is another myObject: > > > > 0 > > What am I missing in the comparison? You are seeing the result of a (mis)feature of acquisition: the objects you are comparing are actually AcquisitionImplicitWrappers around the real 'myObject'; because the two wrappers are different, and because the underlying object doesn't define a custom '__cmp__()' method, the two wrappers are compared for identity (which is bogus). I recently fixed this in response to a Collector issue: http://classic.zope.org:8080/Collector/1650/view You can get the patch from that page, or just wait for Zope 2.3 (RSN, I'm sure). Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From bill@carbonecho.com Fri Oct 13 15:11:23 2000 From: bill@carbonecho.com (Bill Welch) Date: Fri, 13 Oct 2000 14:11:23 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: In Debian, this library is in a separate packge. On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? From zope_ddi@hotmail.com Fri Oct 13 17:34:28 2000 From: zope_ddi@hotmail.com (Roland C. Reumerman) Date: Fri, 13 Oct 2000 16:34:28 CEST Subject: [Zope] Authentication headers & firewall port redirection Message-ID: As stated in an email some time before I ran into some problems concerning accessing my password protected Zope site. The situation: * Zope 2.2.2 runs on a web server called www.datadistilleries.com on port 8080 * the web site it offers is protected with Zope's own authentication mechanism * the firewall redirects any HTTP requests for www.datadistilleries.com/ddsn (i.e., port 80) to www.datadistilleries.com:8080/ddsn. However, one has to click 3 times on that Login link before the login dialog appears. Then it seems to build up a connection, but doesn't. I click on the login link again, and I'm in and everything works as expected. Now it seems that somehow the combination of Zope-generated authenticated headers and the firewall redirection rule do not match: does the header include URL information? That would imply it tries to access www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly www.datadistilleries.com:80/ddsn (firewall listen port). BTW, it cannot run on port 80 because the default web server is already listening to that port. Question: is it possible to somehow make Zope send HTTP authentication headers that have port 80 included instead of port 8080? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From ecolmar@uswest.net Fri Oct 13 15:40:34 2000 From: ecolmar@uswest.net (ed colmar) Date: Fri, 13 Oct 2000 08:40:34 -0600 Subject: [Zope] LoginManager - with SQL? References: Message-ID: <018101c03523$8c046680$0400000a@caliber> Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would really love to get this working instead of having to revert back to older depreciated products. Thanks for any help! -e- From: "Aleksander Salwa" > > I remember I had some troubles trying to put methods rolesForUser, > domainsForUser, authenticateUser in UserSource class. They can be moved to > user class. I did so. > But your case is harder then mine, cause you don't have objects > representing users in ZODB. Maybe there are problems with retrieveItem > method ? > Maybe you should build wrapper class around your database > data - something like "pluggable brains" ? > I have no more ideas :( From Oliver Bleutgen Fri Oct 13 15:51:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Fri, 13 Oct 2000 16:51:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010131455.HAA17298@zope.codeit.com> Talking to myself .... A slight correction to my patch so that tablename.columname will be rendered as to "tablename"."columnname". 146c146 < from string import find, split, join, atoi, atof --- > from string import find, split, join, atoi, atof, replace 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+replace(args['column'], '.', '"."')+'"' > else: self.column='"'+replace(self.__name__, '.', '"."')+'"' It would be nice if someone could comment whether this makes sense for other dbs too. cheers, oliver From sburch@ordway.org Fri Oct 13 16:11:27 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 10:11:27 -0500 Subject: [Zope] Variable name use in with statement Message-ID: I'm working on a simple auction site as a newbe challenge. I am taking bids on three static items, none will be added or removed. I have a folder named bid_records in which there is a folder for each item. These item folders have current bid information in properties and bid history in ZClass items stored in them. When I'm working with a specific auction item I have the name of the folder in a REQUEST variable. I am finding myself doing the following and am sure there is a simpler way to do this. Any help would be greatly appreciated! Thanks. -- Scott B. Burchill, MIS Manager Ordway Center for the Performing Arts 345 Washington Street St. Paul, MN 55102-1495 voice +1 (651) 282-3082 cell +1 (651) 248-2713 pager +1 (612) 818-7600 fax +1 (651) 224-1820 efax +1 (508) 519-6133 http://www.ordway.org \:)> /:(> From grund@zblmath.FIZ-Karlsruhe.DE Fri Oct 13 16:17:03 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Fri, 13 Oct 2000 17:17:03 +0200 Subject: [Zope] ZCatalog question. boolean and wildcards. Message-ID: <00101317244505.31282@donald> Im running Zope 2.2.2 on Linux 2.2.13. When mixing boolean operators and wildcards '*' in queries within a Textindex the 'AND' operator is replaced by 'OR'. Also, the possibility of constructing nested terms using brackets seems to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). The setting is straightforward, several indexes (text-index, keyword-indexes) are used indexing a about 5000 Zclasses. Are there any patches to apply or what else can i do ? Thanks in advance. Hannes. From sebbacon@email.com Fri Oct 13 16:51:08 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 16:51:08 +0100 Subject: [Zope] product.dat Message-ID: In the Zope PTK there are a couple of products that have been packaged as product.dats. What format are these? How do I do it? Cheers seb From neeloy_saha@infy.com Fri Oct 13 12:56:03 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Fri, 13 Oct 2000 17:26:03 +0530 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog Message-ID: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Hi all, I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to load the data.fs Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? Thx and regards. -neeloy From complaw@hal-pc.org Fri Oct 13 18:29:47 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Fri, 13 Oct 2000 17:29:47 GMT Subject: [Zope] Any examples of use of manage_addFile()? Message-ID: <200010131729.MAA05467@mail.hal-pc.org> I want to create a user-interface so that users can upload files to my Zope site. I have done this with DTMLDocuments, however I don't quite understand how to get the file itself into the Zope site via ... self.manage_addProduct['OFSP'].manage_addFile() ..that is in Python. I looked through the HOWTO's but didn't find anything. Does someone have an example of a Form/DTMLMethod/Python script that does this sort of thing? Thanks in advance, Ron ./. From mvmendes@emdata.com.br Fri Oct 13 16:33:41 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Fri, 13 Oct 2000 15:33:41 +0000 Subject: [Zope] Database Pack References: Message-ID: <39E72B55.7912A5EA@emdata.com.br> "Júlio Dinis Silva" wrote: > > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. > > Regards, > Júlio Dinis Silva > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.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 ) Hello, I'm using OracleStorage and I'd like know if can I pack my Database as I do with data.fs. Are there any differences? Thanks. Marcus Mendes From gwright@integritysi.com Fri Oct 13 19:00:04 2000 From: gwright@integritysi.com (Geoffrey L. Wright) Date: Fri, 13 Oct 2000 10:00:04 -0800 (AKDT) Subject: [Zope] dtml-with syntax question In-Reply-To: <39E66EF7.563F0451@iswt.com> References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> <39E66EF7.563F0451@iswt.com> Message-ID: <14823.19876.493839.469796@localhost.localdomain> Tim Cook writes: > I'm sure someone will correct me if I'm wrong. But I believe you > want: > > Haven't tried it in my code yet, but thanks to your post I found the section about _.getitem(). That'll come in handy all over the place, so many thanks for the pointer! //glw From lehmann@catworkx.de Fri Oct 13 18:24:05 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Fri, 13 Oct 2000 19:24:05 +0200 Subject: [Zope] LoginManager - with SQL? In-Reply-To: <018101c03523$8c046680$0400000a@caliber> References: <018101c03523$8c046680$0400000a@caliber> Message-ID: <00101319240501.00448@cat-pc-holle> Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: > Has anyone been able to use LoginManager with a SQL db? with or without > encryption? > > I'm still baffled by this how-to: > http://www.zope.org/Members/jok/SQL_based_LoginManager > > In this example, there are dtml-methods that do the work of the UserSource, > but there is no retrieveItem? > > I would really love to get this working instead of having to revert back to > older depreciated products. > > Thanks for any help! > > -e- > > From: "Aleksander Salwa" > > > I remember I had some troubles trying to put methods rolesForUser, > > domainsForUser, authenticateUser in UserSource class. They can be moved > > to user class. I did so. > > But your case is harder then mine, cause you don't have objects > > representing users in ZODB. Maybe there are problems with retrieveItem > > method ? > > Maybe you should build wrapper class around your database > > data - something like "pluggable brains" ? > > I have no more ideas :( > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From jfarr@real.com Fri Oct 13 18:57:12 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 13 Oct 2000 10:57:12 -0700 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog References: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Message-ID: <0bfb01c0353f$03a80a50$416917ac@poly> There are some patches floating around to add cataloging to LocalFS objects. I haven't gotten around to including them in the standard distro. --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Friday, October 13, 2000 4:56 AM Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog > Hi all, > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to load the data.fs > > Now. I am running into search problems. How do i do a search the filesystem > file? and also ensure that the search results come from both the filesystem > files and the portal zcatalog.?? > > Thx and regards. > > -neeloy > > _______________________________________________ > 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 ) > From Robert_J_Roberts@rl.gov Fri Oct 13 20:34:08 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Fri, 13 Oct 2000 12:34:08 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D0A@APEXCH11.rl.gov> What are my options for debugging External Methods in Zope running on Windows NT? Is there ANY way to get the external method to run in a DOS window that I can watch? What little tricks/techniques have others use to make debugging external methods easier/possible? Thanks, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From dittmar@snafu.de Fri Oct 13 20:40:24 2000 From: dittmar@snafu.de (Daniel Dittmar) Date: Fri, 13 Oct 2000 21:40:24 +0200 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <39E76528.7D05A2AB@dittmar.net> Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage? Is it simply the convenience to have the data in one place (for backup etc)? Does it scale better? In connection with ZEO? I'm asking because I'm contemplating writing such a storage for a specific RDBMS and I would like to know whether it's worth the trouble. Daniel Dittmar From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 20:58:17 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 14:58:17 -0500 Subject: [Zope] Variable name use in with statement Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B6@innt-73.ata.com> Scott Butchill wonders if: "there is a simpler way to do this." Not much simpler, but how about: From dieter@handshake.de Fri Oct 13 20:41:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 21:41:22 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14821.36358.972286.290879@lindm.dm> Message-ID: <14823.24484.984596.626290@lindm.dm> Seb Bacon writes: > OK, I think we're talking about the same thing now...but could you give me > an example of any object that would need to be traversable by Anonymous? > index_html, for example, doesn't need to be traversable (I still prefer > 'listable'). Viewable TTW, yes, but that's all. I do not agree with you: I should be able to list what I am able to view (in order to learn what I can view). I think, more than 30 per cent of my objects are like "index_html". They are designed to be viewed by Anonymous. The others are not destined to be viewed but to be used as components in viewed objects (like "standard_html_*"). The current Zope security requires that Anonymous has view permissions for them, too. But this allows Anonymous to view them in isolation which almost surely will give strange results (exceptions, empty pages, etc.). My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. If we succeed, then Anonymous can do nothing at all with them and it is no longer necessary to list them (for him). Thus, a solution for this problem may also be a solution for the other problem. However, a "listable" permission would not solve the distinction between directly viewable via the web and only indirectly viewable. Dieter From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 21:15:36 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 15:15:36 -0500 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B7@innt-73.ata.com> Daniel asked: "Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage?" The folks I know that have asked for that feature have stated their concerns as being: Keeping everything in a single large file is risky, since if that file becomes corrupted, the entire Web Site will be down until recovery is complete. The other side of that one goes something like, "As if we've never seen systems down for RDBMS recovery". Keeping data in a form that's more accessible by external systems is an advantage. And the comeback for that is, "This stuff is not tabular, it's Web Content, and Code". It's not like you can run queries against it, and print reports. Using an RDBMS that has online backup, and quick recovery features is cheap insurance. Cheap is relative. if you happen to have an expensive RDBMS, maybe you can call using it for one more applicaiotn "cheap". Making a copy of data.fs is pretty easy, and recovery is completed by copying over a damaged file. Not exactly rocket science. Also, Tranalyzer makes it pretty painless to recover up to the last good update, which is usually more than you can get from a backup! As you can see, I don't "get" the arguments, but that's what people say, and if they happen to be the people who can veto Zope, you try to find a way to meet their requirements. Later, Jerry S. From asc@vineyard.net Fri Oct 13 21:23:05 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 13 Oct 2000 16:23:05 -0400 (EDT) Subject: [Zope] proxied proxies with Zope & Apache Message-ID: Hi, I have Zope set up running with Apache/SSL using mod_proxy and the SiteRoot product. Everything works fine. The thing is, if I understand stuff correctly, all the requests to https://hostname.com get handed off to Zope. I would like to be able use the same hostname for plain old Apache-isms (cgi php etc) because the users of the site shouldn't have to rememeber YA-hostname. I would like to be able to do the following : https://hostname/foo-->https://zope.hostname/foo -->http://hostname:8080/foo https://hostname/bar-->/htdocs/bar a) hostname:443 ProxyPass /foo https://zope.hostname/foo b) zope.hostname:443 ProxyPass / http:hostname:8080/ (where the SiteRoot in the Zope tree points to https://zope.hostname) When I try to do this, regardless of whether I use mod_proxy or mod_rewrite, Apache returns a 403 error : "You don't have permission to access /documents on this server." Should the Zope SiteRoot point to https://hostname instead of https://zope.hostname? I know that I could set up multiple ProxyPass statements (and corresponding SiteRoot objects) in the Apache conf file, but I would really prefer to set up a standalone Zope https setup (mostly for administrative purposes) and then proxy those aspects of Zope that are pubic automagically to the default Apache setup. I am dreaming? The rewrite/proxy stuff is still like voodoo for me most days so any advice or suggestions would be welcome. Thanks, From sburch@ordway.org Fri Oct 13 21:50:00 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 15:50:00 -0500 Subject: [Zope] RE: Variable name use in with statement Message-ID: Ok, this worked : Thanks for the direction, Jerry! sbb > -----Original Message----- > From: Spicklemire, Jerry [mailto:Jerry.Spicklemire@IFLYATA.COM] > Sent: Friday, October 13, 2000 2:58 PM > To: 'sburch@ordway.org' > Cc: 'zope@zope.org' > Subject: Variable name use in with statement > > > Scott Butchill wonders if: > > "there is a simpler way to do this." > > Not much simpler, but how about: > > > > > > > > > > > > > > > > From peter@grenna.net Fri Oct 13 22:29:45 2000 From: peter@grenna.net (Peter Bengtsson) Date: Fri, 13 Oct 2000 22:29:45 +0100 Subject: [Zope] Any examples of use of manage_addFile()? References: <200010131729.MAA05467@mail.hal-pc.org> Message-ID: <001f01c0355c$b61e3430$01d4a8c0@peppe> Here you go. This uploads a file in the current working directory. thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you have to put '' double-apostrofies for the ID then. You try. ----- Original Message ----- From: To: Sent: Friday, October 13, 2000 6:29 PM Subject: [Zope] Any examples of use of manage_addFile()? > I want to create a user-interface so that users can upload files to my Zope > site. I have done this with DTMLDocuments, however I don't quite understand how > to get the file itself into the Zope site via ... > > self.manage_addProduct['OFSP'].manage_addFile() > > ..that is in Python. > > I looked through the HOWTO's but didn't find anything. Does someone have an > example of a Form/DTMLMethod/Python script that does this sort of thing? > > Thanks in advance, > > Ron > ./. > > > > _______________________________________________ > 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 ) > From phil.harris@zope.co.uk Thu Oct 12 22:55:38 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 22:55:38 +0100 Subject: [Zope] Thanks for the comments References: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> <39E6B903.7DA9B83D@inghist.nl> Message-ID: <00d001c03497$29fdaa50$84f331d4@harrisf4scs8le> Rik, I've upped both the Zope_book.lit and the Zope quick Reference. The ZQR is not as readable as the zBook due to the formatting. I'll get the XML and reformat it to look a bit better. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Rik Hoekstra" To: "Phil Harris" Sent: Friday, October 13, 2000 8:25 AM Subject: Re: [Zope] Thanks for the comments > > > Phil Harris wrote: > > > > I'll stick onto my Zope members page > > > > http://zope.org/Members/philh > > > except that the http://www.zope.org/Members/philh/zope_book.lit is dead > ;-) > > Rik From michaelangelo@intelligenesis.net Fri Oct 13 22:38:51 2000 From: michaelangelo@intelligenesis.net (michael angelo ruberto) Date: Fri, 13 Oct 2000 17:38:51 -0400 Subject: [Zope] date comparison In-Reply-To: <39E4B716.726347FF@earthlink.net> Message-ID: hi, i had tried something similar already without success. here is the error your script caused: DOH! Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: unsubscriptable object for some reason Zope just doesn't want to compare ZopeTime with bobobase_modification_time. i started reading the readme i found for the python DateTime method but it hasn't shed any light on the situation yet. i will try doing it with javascript. i can write the modification dates of the objects into arrays and do the comparisons using a scripting language that works. thanks -- -----Original Message----- From: ender@earthlink.net [mailto:ender@earthlink.net]On Behalf Of Kapil Thangavelu Sent: Wednesday, October 11, 2000 2:53 PM To: michael angelo ruberto Cc: zope@zope.org Subject: Re: [Zope] date comparison michael angelo ruberto wrote: > > i want to create an index page that displays whether or not a page has been > updated in the past 7 days or the past 20 days. however, i can't figure out > how to get the bobobase_modification_date to compare with ZopeTime. can > someone give me a clue before i rush blindly down Zope's undocumented dark > alleys. > > mike untested
  • New
  • Somewhat New
  • Old
kapil _______________________________________________ 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 ) From dieter@handshake.de Fri Oct 13 21:58:34 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:58:34 +0200 (CEST) Subject: [Zope] and question In-Reply-To: <17863365@toto.iv> Message-ID: <14823.30276.535159.677990@lindm.dm> complaw@hal-pc.org writes: > ... get today's date into a dtml-var ... Look at the "DateTime" documentation, if this does not give you the needed date format. Dieter From dieter@handshake.de Fri Oct 13 21:52:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:52:54 +0200 (CEST) Subject: [Zope] Tiny tables In-Reply-To: <13855503@toto.iv> Message-ID: <14823.30085.867024.89836@lindm.dm> Graham Chiu writes: > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. Probably, This is a ZPublisher feature. It interpretes ":" suffixes of form variable and parameter names to call for a type conversion of the value. As far as I know, there is not escape possibility. Can you change the ':' into a different character? Dieter From dieter@handshake.de Fri Oct 13 21:20:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:20:54 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: References: Message-ID: <14823.28044.869154.167828@lindm.dm> Hung Jung Lu writes: > I know that, the stupid log file thingy. But you'll have to write an > independent thread to display the log file (or peek the file manually each > time), or implement some CString stuff to capture the file output (if that > is possible). As I understand it, the logging module can be customized to stuck its log into a variable in Zope itself, viewable through the web. You may search the list archive to find the corresponding post. Maybe, you find it, too, via zope.org. > It'll be more fun if all this is already done, and the user can just tap > into the monitor console screen (even remotely). > > A good monitor should actually display hit information, memory usage, etc, > and preferably with charts, all in real time. Too much to ask? I don't think > so. :) Of cause, you can ask for it. However, someone must implement it. Dieter From dieter@handshake.de Fri Oct 13 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] Variable name use in with statement In-Reply-To: <75381091@toto.iv> Message-ID: <14823.31346.354571.370582@lindm.dm> Burchill, Scott B. writes: > .... > I am finding myself doing the following and am sure > there is a simpler way to do this. > > Any help would be greatly appreciated! Thanks. > > > > > > > > > > > > > > > > If you are sure, that only these values can occur in "selection" (as I expect, as otherwise, it would not be a selection), then you can use: Dieter From dieter@handshake.de Fri Oct 13 22:10:55 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:10:55 +0200 (CEST) Subject: [Zope] Authentication headers & firewall port redirection In-Reply-To: <113940424@toto.iv> Message-ID: <14823.31019.45266.485541@lindm.dm> Roland C. Reumerman writes: > Now it seems that somehow the combination of Zope-generated authenticated > headers and the firewall redirection rule do not match: does the header > include URL information? That would imply it tries to access > www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly > www.datadistilleries.com:80/ddsn (firewall listen port). I know, that basic authentication is sent by the browser on a domain basis. I do not know, where the domain information originates, but it may well be Zope. You may want to use Shanes excellent "tcpwatch" utility to analyse what really happens between the server and your browser. Alternatively, you may have a look at SiteAccess. This Zope product helps you handle these forms of redirection. Even, if your authentication problem could be solved without it, you will soon hit other problems that require SiteAccess. Thus, go directly for it. Dieter From dieter@handshake.de Fri Oct 13 22:05:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:05:15 +0200 (CEST) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... In-Reply-To: <89660556@toto.iv> Message-ID: <14823.30599.585158.779477@lindm.dm> J Kinsley writes: > /FrameSet - DTML Method > ..... > XXX - How can I negate this? IE. > > > > > > XXX - I do not think calling REQUEST.set() is the best way to > accomplish this. What is a better way? It is ineffective, as you do not use "topframe" later (in *this* request). > > > > > > > > ..... > XXX - I can not get this to work at all. Topframe should be set or > true if the visitor arrived in the /Files Folder from the top level > frameset and /Files/ViewFrame will be loaded into the view_frame > target. The frameset and its frames parts are fetched in *different* requests. The "REQUEST.set" only affects the REQUEST object for the frameset. The REQUEST objects for the frame components are not affected. You have two options: * a session product (there are some around on zope.org) it allows you to save information across web requests * passing the additional information through a query string key=value pair (do not forget to "url_quote_plus") > XXX - If this method is called from the top level FrameSet method, > how to I access dir and file from the original request? see above. Dieter From knight@righteous.net Fri Oct 13 23:26:35 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:26:35 -0700 (PDT) Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> Message-ID: Also, consider adding an accessrule. This won't stop them from using __no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it 'appear' there is nothing more than the current level. knight knight@phunc.com On Fri, 13 Oct 2000, Tim Cook wrote: > Stephan Goeldi wrote: > > > > OK let me state that I don't think so (subject line). I had to choose this > > subject, because it seems to me, that nobody was interested in my previous > > attempts to get information about my problem. So here is my newbie (?) > > question again: > > > > I have the folders: > > > > /www/folder1 > > /www/folder2 > > > > Apache redirects domain1 to folder1 and domain2 to folder2. > > The manager of folder1 is able to browse to /www and see what folders exist > > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > > He even can look into the folder /www/folder2 (but not into the objects). > > > > Is it possible to disable the access for the folder1-manager above folder1? > > It doesn't seem to me. If it really isn't possible, there is no security at > > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > > > I even created a local role in /www/folder1 too. Even with the local role I > > can browse /www and /www/folder2! > > > > Any suggestions? > > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder > > HTH, > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management > Project Coordinator http://www.freepm.org > OSHCA Founding Supporter http://www.oshca.org > > _______________________________________________ > 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 ) > > From knight@righteous.net Fri Oct 13 23:28:53 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:28:53 -0700 (PDT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: Have you run ldconfig after editting the /etc/ld/so/conf file? Run ldconfig -v | grep mysqlclient and see if the library appears. If so, everything is all set. Also try an ls -l /usr/local/mysql/lib/libmysql*. Knight knight@phunc.com On Fri, 13 Oct 2000, Dale Lance wrote: > Hi, > I am trying to build ZMySQLDA 1.20 > mysql has been built successfully on RedHat 7.0 and resides in > /usr/local/mysql > I have followed the instructions for editing /etc/ld/so/conf adding > /usr/local/mysql/lib/mysql > /usr/local/mysql/lib > /usr/local/mysql > to it. (just tomake sure) > yet I still get the following error > anyone know where mysqlclient is supposed to be? > > Dale > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient > > collect2: ld returned 1 exit status > > make: *** [_mysqlmodule.so] Error 1 > > Traceback (innermost last): > > File "build.py", line 14, in ? > > import MySQLdb > > File "MySQLdb.py", line 19, in ? > > from _mysql import * > > ImportError: No module named _mysql > > > > > > > > _______________________________________________ > 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 ) > > From 444@hiretechs.com Sat Oct 14 00:16:24 2000 From: 444@hiretechs.com (Jason Spisak) Date: Fri, 13 Oct 2000 16:16:24 -0700 Subject: [Zope] Creating Recursive Folders Message-ID: <39E797C8.D61D4173@hiretechs.com> Zopists, I am trying to use DTML to create folders within folders for me 3 levels deep. Two levels works, but 3 won't. For example: This works: But this: Throws an unathorized no matter who I am. How can I get 3 levels of recursion. I tried using 'let' to stand for the object, with no luck. BTW, I accidently sent the last post to dev, forgive me. All my best, Jason Spisak 444@hiretechs.com From andres@corrada.com Sat Oct 14 00:40:08 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:40:08 -0400 Subject: [Zope] Tiny tables In-Reply-To: ; from Graham Chiu on Fri, Oct 13, 2000 at 08:08:34AM +1300 References: Message-ID: <20001013194008.A15613@corrada.com> The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such. One quick way to get around this is to quote your field value - "criteria:tokens" You may have to deal with the quotes later on, although I think they get stripped after the value survives the tokenize.py module. On Fri, Oct 13, 2000 at 08:08:34AM +1300, Graham Chiu wrote: > > I would like to run some regular reports based upon > sqlmethods. The input to these are a mixture of normal > values, and some tokenised values. > > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. > > Any suggestions as to how to store the input as tokens for > my reports? > > -- > Graham Chiu > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From andres@corrada.com Sat Oct 14 00:43:35 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:43:35 -0400 Subject: [Zope] Converting PHP3 -> Zope In-Reply-To: ; from Mario Olimpio de Menezes on Fri, Oct 13, 2000 at 09:47:17AM -0200 References: Message-ID: <20001013194335.B15613@corrada.com> Take a look at my HOWTO: www.zope.org/Members/Mamey/PHP On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote: > > Hi, > > I'm planning to convert (migrate) a entire site from php3 to > zope and i'm looking for suggestions, hints, etc on this. > It's a GPL management school system done in php3+postgresql, and > any user must be authenticated against a database and his privileges > are those from the postgresql. The system is in portuguese > (www.univates.br/sagu) if someone is interested. > Does somebody have experience in such kind of migration > (conversion) and can give me some "in advance" advice to avoid this or > that or don't do this, etc, etc? > Any comments? > > []s, > Mario O.de Menezes "Many are the plans in a man's heart, but > IPEN-CNEN/SP is the Lord's purpose that prevails" > http://curiango.ipen.br/~mario Prov. 19.21 > http://www.revistalinux.com.br > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From peter@grenna.net Sat Oct 14 02:55:10 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 14 Oct 2000 02:55:10 +0100 Subject: [Zope] Python regular expression help Message-ID: <000d01c03581$c98c43c0$01d4a8c0@peppe> [ this might be more of a Python question, but it's got a lot to do with the web and is to be used in Zope ] I want to replace all occurences of email address's and URLs in a textstring, to %s and %s. Must admit that I am not an regex expert, and I wasn't able to find a "precompiled" regex for neither email nor URL. Or is there anything available from the zope/python stack? From matt@virtualspectator.com Sat Oct 14 04:59:07 2000 From: matt@virtualspectator.com (matt) Date: Sat, 14 Oct 2000 16:59:07 +1300 Subject: [Zope] backing up In-Reply-To: <000d01c03581$c98c43c0$01d4a8c0@peppe> References: <000d01c03581$c98c43c0$01d4a8c0@peppe> Message-ID: <00101417011207.01314@localhost.localdomain> Is there a nice way to backup dtml documents and methods from a certain point in the object tree onwards without having to save all the other objects too? regards Matt From matt.bion@eudoramail.com Sat Oct 14 08:00:43 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 14 Oct 2000 20:00:43 +1300 Subject: [Zope] object properties Message-ID: <39E8049B.512E5DCF@eudoramail.com> Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion From dieter@handshake.de Sat Oct 14 11:18:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 12:18:05 +0200 (CEST) Subject: [Zope] ZCatalog question. boolean and wildcards. In-Reply-To: <2337571@toto.iv> Message-ID: <14824.11950.36146.96100@lindm.dm> Hannes Grund writes: > When mixing boolean operators and wildcards '*' in queries within a Textindex > the 'AND' operator is replaced by 'OR'. > Also, the possibility of constructing nested terms using brackets seems > to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). > The setting is straightforward, several indexes (text-index, keyword-indexes) > are used indexing a about 5000 Zclasses. > Are there any patches to apply or what else can i do ? Sorry, the patch I posted yesterday was not complete. There have been too more problems: * if the wildcard expansion could not find matching words, my patch created an empty subquery. Such queries, unfortunately, can not be handled by "UnTextIndex.evaluate". The new patch, instead creates a new search term, 'no_expansion_for_'. Hopefully, this term is not indexed and thus gives the same results as the empty subquery. Of cause, this is a hack. The ZCatalog maintainer should find a better solution. * The ZCatalog, more precisely, "UnTextIndex.__getitem__" still raises an "IndexError" exception, when one searches for a term that is not indexed. The result is "no data matches your query", even for an "or" query. I had already put a patch for this error in the collector for Zope 2.2.1, but apparently, DC decided not to look at it. Please discard my patch from yesterday. You may give the new patch (appended) a try. Dieter --- lib/python/SearchIndex/:GlobbingLexicon.py Mon Aug 28 19:30:06 2000 +++ lib/python/SearchIndex/GlobbingLexicon.py Sat Oct 14 11:54:24 2000 @@ -230,10 +230,22 @@ if ( (self.multi_wc in w) or (self.single_wc in w) ): wids = self.get(w) - for wid in wids: - if words: - words.append(Or) - words.append(self._inverseLex[wid]) + #for wid in wids: + # if words: + # words.append(Or) + # words.append(self._inverseLex[wid]) + if wids: + words.append(map(self._inverseLex.get,wids)) + else: + words.append('no_expansion_for_' + w) + # We do this here, as "UnTextIndex.evaluate" + # can not handle empty subqueries + # We use as expansion some expression that + # is likely not in the catalog but + # gives some indication to the problem + # in case "ResultList" does something + # with its "src" argument. + # This is a hack, though! else: words.append(w) --- lib/python/SearchIndex/:UnTextIndex.py Fri Oct 13 23:29:00 2000 +++ lib/python/SearchIndex/UnTextIndex.py Sat Oct 14 11:57:38 2000 @@ -347,8 +347,10 @@ if len(src) == 1: src=src[0] if src[:1]=='"' and src[-1:]=='"': return self[src] - r = self._index.get(self.getLexicon(self._lexicon).get(src)[0], - None) + codes= self.getLexicon(self._lexicon).get(src) + if codes: + r = self._index.get(codes[0], None) + else: r= None # maybe do something, if len(codes) > 1 if r is None: r = {} return ResultList(r, (src,), self) @@ -490,11 +492,11 @@ except IndexError: raise QueryError, "Malformed query" t=type(left) - if t is ListType: left = evaluate(left, self) + if t is ListType: left = self.evaluate(left) elif t is StringType: left=self[left] t=type(right) - if t is ListType: right = evaluate(right, self) + if t is ListType: right = self.evaluate(right) elif t is StringType: right=self[right] return (left, right) From matt.bion@eudoramail.com Sat Oct 14 12:53:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 00:53:40 +1300 Subject: [Zope] dtml-tree does weird things References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E84944.5A667EA5@eudoramail.com> Hi, I have the following in a dtmlDocument. the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand the tree node, I get a repeat of the original list of nodes, as if it is listing itself recursively, but not decending down the object hierachy. An when I roll over a node '+' of one of the documents is : http://localhost:8080/admin_test/some_tree_examples?tree-e=eJyLVneEAteqbFt1HQUEvzLZVj0WAIkQCHY#AAAAAAAAEyc= if I expand the tree and roll over the repeat entry I get the same link. What's happening? I am running 2.2.2 stable. By they way : the simple example in the user man doesn't return anyhthing on a folder that itself contains folders and dtml documents. I.e. any help would be greatly appretiated, Matt Bion From kthangavelu@earthlink.net Sat Oct 14 13:47:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 05:47:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E855E1.7C72FBCE@earthlink.net> Matt wrote: > > Can someone give me an example, either in dtml or external methods of > accessing or listing the properties of the current object I am calling a > method on. > > Or point me to a source > > Matt Bion you can ask an object what properties it has and retrieve them through dtml, like or if you want a reference, instead of a string if you want to examine the propertys of an object you can go iterate through its propertysheets (works for a zclass, the rest i'm not sure). You can reference the Zope Quick Reference for more info. Success Kapil From cvogel@fileheap.com Sat Oct 14 07:31:12 2000 From: cvogel@fileheap.com (Chad Vogel) Date: 14 Oct 00 01:31:12 -0500 Subject: [Zope] We would like to include your software Message-ID: <200010141825.NAA11794@s002> This is a multi-part message in MIME format. --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello I am Chad Vogel the Webmaster at FileHeap! I am contacting you because we would like to include your software in our website. FileHeap! is a software index that is targeted to residential and small business users. I would greatly appreciate your help. To add your software to our index go to http://www.fileheap.com and then "submit a file". Thank you, LyonL Inc. Chad Vogel, Webmaster cvogel@fileheap.com --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: application/octet-stream; name="Chad Vogel.msg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; inline 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAA AQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// ///////////////////////////////////////////9////BAAAAP7///8FAAAA BgAAAAgAAAAHAAAACQAAAAsAAAAKAAAADAAAAA4AAAANAAAADwAAABEAAAAQAAAA EgAAABQAAAATAAAAFQAAABcAAAAWAAAAGAAAABoAAAAZAAAAGwAAAB0AAAAcAAAA HgAAACAAAAAfAAAAIQAAACMAAAAiAAAAJAAAACUAAAD+////JgAAACcAAAD+//// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// /////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////82AAAA Cw0CAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAJB2KIyiNcABAwAAAAAeAAAAAAAA XwBfAG4AYQBtAGUAaQBkAF8AdgBlAHIAcwBpAG8AbgAxAC4AMAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACgAAQH//////////wkAAAAAAAAAAAAAAAAAAAAAAAAA AAAAALCtF4yiNcABkEEcjKI1wAEAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwADAAMAAyADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAwAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADMA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBAgAAAAQAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAADABAAAAAAAA /v///wIAAAADAAAABAAAAAUAAAD+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7///8tAAAA/v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v///1AAAAD+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v///18AAABgAAAA YQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAA bQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAD+//// //////////////////////////////////////////8IIAYAAAAAAMAAAAAAAABG BCAGAAAAAADAAAAAAAAARoEyhMGFBdARspAAqgA89nYAAAAAAAAAAAAAAAAAAAAA A4UAAAYAAAAQhQAABgABAFKFAAAGAAIAVIUAAAYAAwCChQAABgAEAEaAAAAIAAUA SYAAAAgABgBIgAAACAAHAEeAAAAIAAgARYAAAAgACQArgAAACAAKAGGAAAAIAAsA goAAAAgADACDgAAACAANAISAAAAIAA4AhYAAAAgADwCSgAAACAAQAJOAAAAIABEA lIAAAAgAEgApgAAACAATACiAAAAIABQABoAAAAgAFQAFgAAACAAWACKAAAAIABcA G4AAAAgAGAAOhQAABgAZACWAAAAIABoAEYUAAAYAGwAYhQAABgAcACaAAAAIAB0A AYAAAAoAHgAGhQAABgAfAAGFAAAGACAAhoUAAAYAIQAngAAACAAiAA6AAAAIACMA EIAAAAgAJAAHgAAACAAlAAAAAAAAAAAAAAAAAAAAAACSgAAACAAQAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA EIUAAAYAAQBShQAABgACAJOAAAAIABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADQA MAAxADAAMgAAAAAAAAAAAAA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AAAAABCAAAAIACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMABFADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABEAAAAQAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAwAEYA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIADwAAABMAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEAMAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgH///////////////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAATAAAAIAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMQAxADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACARIAAAAVAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABQAAAAgAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAxADIA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEANAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgAUAAAAFgAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAWAAAACAAAAA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AAAAAAAAA AAAAACEAAAALAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAA3ADEA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIgAAABYAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMABDADEAOQAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgEgAAAAJAAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAjAAAAPAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwAEMAMQBBADAAMAAxAEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAACQAAAALAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAQwAxAEQA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBIwAAACUAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQAAABkAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMABDADEARQAwADAAMQBFAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgH///////////////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAmAAAABQAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwAEMAMQBGADAAMAAxAEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAR4AAAAuAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAACcAAAAUAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAARQAwADIA MAAwADEARQAAA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B//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKgAAAAEAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMABFADEARAAwADAAMQBFAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgEoAAAALAAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAArAAAACwAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMAA5ADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAACwAAABfAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADMAMAAwADEA MAAwADEARQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBKwAAAC0AAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALgAAAAsAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMwAwADAAQgAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgH///////////////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAvAAAAEAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAzAEEAMAAwADAAMAAxAEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACASoAAAAyAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAADAAAAABAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADMAQQAwADUA MAAwADEARQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMQAAAAEAAAAAAAAA AAAAAAAAAAAAAA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AAAAAAAAAAAA HgAMgAYAAAAFAAAAAwAAAB4ADYAGAAAAFAAAAAMAAAAeAA6ABgAAABQAAAADAAAA AgEPgAYAAABFAAAAAwDRAB4AEIAGAAAAAQAAAAMAAAAeABGABgAAAAEAAAADAAAA HgASgAYAAAABAAAAAwAAAAMAE4AGAAAAAQAAAAAAAAADEBSABgAAAAQAAAADANEA AwAVgAYAAAAXgAAAAAAAAB4AFoAGAAAADAAAAAMAAAADABeABgAAAAIAAAAAAAAA HgAYgAYAAAAtAAAAAwAAAAsAGYAGAAAAAAAAAAAAAAALABqABgAAAAAAAAAAAAAA AwAbgAYAAAAAAAAAAAAAAAMAHIAGAAAAAAAAAAAAAAADEB2ABgAAABQAAAADANEA HgAegAYAAAAnAAAAAwAAAAsAH4AGAAAAAAAAAAAAAAADACCABgAAAAAAAAAAAAAA HgAhgAYAAAABAAAAAwAAAAMQIoAGAAAADAAAAAMA0QAeACOABgAAAAEAAAADAAAA HgAkgAYAAAABAAAAAwAAAAMQJYAGAAAAGAAAAAMA0QAeAD0ABgAAAAIAAAADAAAA HgAdDgIAAAALAAAAAwADRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA== --__966EC2E011D4A19BD000A787A9505DB7__-- From leedm@state.mi.us Sat Oct 14 20:11:44 2000 From: leedm@state.mi.us (Darin Lee) Date: Sat, 14 Oct 2000 15:11:44 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sat Oct 14 21:43:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 09:43:40 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8C57C.6C3277E9@eudoramail.com> Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the which followed the . If I used instead, then I always got back only two strings, "default" and "webdav". So I guess it is picking something else up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to have what I thought would be the simple ability to loop through properties of an object without knowing what they were before. thanks Matt Bion Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From dieter@handshake.de Sat Oct 14 22:01:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:01:52 +0200 (CEST) Subject: [Zope] date comparison In-Reply-To: <120753917@toto.iv> Message-ID: <14824.51495.681497.642199@lindm.dm> michael angelo ruberto writes: > i had tried something similar already without success. here is the error > your script caused: > ... > Error Type: TypeError > Error Value: unsubscriptable object > > for some reason Zope just doesn't want to compare ZopeTime with > bobobase_modification_time. "bobobase_modification_time" is a method (at least for folder), not a value. Use "_['bobobase_modification_time']" instead. Dieter From dieter@handshake.de Sat Oct 14 21:50:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 22:50:33 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <15263697@toto.iv> Message-ID: <14824.50658.712135.693406@lindm.dm> Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From dieter@handshake.de Sat Oct 14 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] dtml-tree does weird things In-Reply-To: <37629070@toto.iv> Message-ID: <14824.52117.989069.735915@lindm.dm> Matt writes: > > > > > the folder folder_of_things contains numerous things, including some > documents and folders. The problem seems to be that each time I expand the > tree node, I get a repeat of the original list of nodes, as if it is > listing itself recursively, but not decending down the object hierachy. You have read the description for "branches_expr" carefully? It is the expression used by Zope to find the branches of the current object. In your case, the expression is independent from the current object. Therefore, it returns always the same branches (as you observe). Try: .... Dieter From matt.bion@eudoramail.com Sat Oct 14 23:56:14 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 11:56:14 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8E48E.17172D7B@eudoramail.com> I tried a few things and found the following useful : Property ids of are Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From erik@pacific-shores.com Sat Oct 14 23:59:29 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 15:59:29 -0700 Subject: [Zope] trouble compiling DCOracle Message-ID: I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am using the latest DCOracle 1.3.2 and python 1.5.2. I used the included Setup-8.1.5 file with the addition of one library to the *ORACLE_Includes* list: -I$(ORACLE_HOME)/rdbms/public The output from *make* had a number of errors, but compiled the shared objects: gcc -fPIC -I/oradisk01/app/oracle/product/8.1.6/rdbms/demo -I/oradisk01/app/oracle/product/8.1.6/rdbms/public -I/oradisk01/app/oracle/product/8.1.6/network/public -I/oradisk01/app/oracle/product/8.1.6/plsql/public -DDCORACLE8 -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./oci_.c In file included from ./oci_.c:566: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static ./oci_.c: In function `_wrap_odescr': ./oci_.c:2599: warning: assignment from incompatible pointer type gcc -shared oci_.o -L/oradisk01/app/oracle/product/8.1.6/lib/ -L/oradisk01/app/oracle/product/8.1.6/rdbms/lib /oradisk01/app/oracle/product/8.1.6/rdbms/lib/defopt.o -o oci_.so gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./Buffer.c In file included from ./Buffer.c:60: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static gcc -shared Buffer.o -o Buffer.so Testing the created shared object files went something like this: [sweetrig@shamalama src]# python DCOracle_test.py Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: libclntsh.so.8.0: cannot open shared object file: No such file or directory I have tried a number of setup files that were on this list for Oracle 8.1.6 and all have produced errors. Any help appreciated. -- Erik Myllymaki erik@pacific-shores.com From cba@mediaone.net Sun Oct 15 01:38:01 2000 From: cba@mediaone.net (Craig Allen) Date: Sat, 14 Oct 2000 20:38:01 -0400 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8E48E.17172D7B@eudoramail.com> Message-ID: <39E8FC69.AFEEDA2D@mediaone.net> Matt wrote: > > I tried a few things and found the following useful : > > Property ids of are > And of you want to actually see property values, you could try which generates id/property tuples. Craig -- Craig Allen - Managing Partner - Mutual Alchemy Web Architecture - http://alchemy.nu From kthangavelu@earthlink.net Sat Oct 14 21:50:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 13:50:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8C57C.6C3277E9@eudoramail.com> Message-ID: <39E8C715.4BCEC766@earthlink.net> Matt wrote: > > Thanks for your response. I tried your methods on a normal folder that > contains some other folders, dtmldocuments, and images, but it failed on the > which followed the "propertysheets.items()">. i made a simple error. this code is tested and works properly (i had set PropList to a string instead of a list) This will show all the properties of an object (zclass, folders, documents, etc). > If I used instead, then I always got back only > two strings, "default" and "webdav". these are the names of the propertysheets of the folder. > So I guess it is picking something else > up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to > have what I thought would be the simple ability to loop through properties of > an object without knowing what they were before. you mentioned above that you tried this in a folder with a couple of other folders and images in it, if what you're trying to do is iterate over them than you're not looking for object properties but subobjects (attrs) which can be iterated through using also check out objectItems, objectValues. or using the ZDOM methods. regardless the http://www.zope.org/Members/ZQR is always your friend. Cheers Kapil From ergul@ccs.neu.edu Sun Oct 15 03:30:16 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Sat, 14 Oct 2000 22:30:16 -0400 (EDT) Subject: [Zope] trouble compiling DCOracle Message-ID: > The output from *make* had a number of errors, but compiled the shared > objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath and move on. > Testing the created shared object files went something like this: > > [sweetrig@shamalama src]# python DCOracle_test.py > Traceback (innermost last): > File "DCOracle_test.py", line 1, in ? > import Buffer, oci_, sys > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > file or directory Make sure your ORACLE_HOME environment var is properly set before running the test script. You'll probably want to put it in your zope start script too. Ayhan Ergul From knight@righteous.net Sun Oct 15 05:14:40 2000 From: knight@righteous.net (knight) Date: Sat, 14 Oct 2000 21:14:40 -0700 (PDT) Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) In-Reply-To: Message-ID: May I ask what the relevance this post was to the list? Regards, Knight knight@phunc.com On Sat, 14 Oct 2000, Darin Lee wrote: > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sun Oct 15 05:57:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 17:57:46 +1300 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th) References: Message-ID: <39E93949.94788D11@eudoramail.com> Just be lucky he only gets the digest ... it looks like an automated reply to me. While I am here, thanks for the replies to my questions, they were very helpful. knight wrote: > May I ask what the relevance this post was to the list? > > Regards, > > Knight > knight@phunc.com > > On Sat, 14 Oct 2000, Darin Lee wrote: > > > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > _______________________________________________ > 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 ) From erik@pacific-shores.com Sun Oct 15 06:29:53 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 22:29:53 -0700 Subject: [Zope] re: trouble compiling DCOracle Message-ID: --- In zope@egroups.com, Ayhan Ergul wrote: > > The output from *make* had a number of errors, but compiled the shared > > objects: > > Warnings from C compilers are always part of the fun! They say something > can potentially be/go wrong, but not necessarily so. Take a deep breath > and move on. > > > Testing the created shared object files went something like this: > > > > [sweetrig@shamalama src]# python DCOracle_test.py > > Traceback (innermost last): > > File "DCOracle_test.py", line 1, in ? > > import Buffer, oci_, sys > > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > > file or directory > > > Make sure your ORACLE_HOME environment var is properly set before running > the test script. You'll probably want to put it in your zope start script > too. > > > Ayhan Ergul So I tried a different Setup script that I got from a post on the zopesite: ######## START SETUP Script ########## *shared* # Setup file for Oracle 8.1.6 (Tested for Linux on Intel). # # Unfortunately, the libraries needed to link Oracle change from revision # to revision. # # Oracle provides a make file for building "demo" programs in # $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. I have been unable to # use this make file to build Python extensions. Adapting it is # not adequate, because it may change for new Oracle revs. # My approach is to use demo_rdbms.mk to build one of the # demo programs, look at the libraries linked, and start from there. :-( # ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public ORACLE_L=-lJNLSLib3 -lgslsg8 -lnsslb8 -lserver8 -lJNLSTool -lgslssb8 -lntcp8 \ -lsgsl_s8 -lagent8 -lgslssf8 -lntcps8 -lskgxp8 -lgx8 -lntns8 \ -lskgxpd -lnus8 -lslax8 -lclient8 -lldapclnt8 -lnzjs8 \ -lslpm -lclntsh -lmm -locijdbc8 -lsql8 -lcommon8 -ln8 -locijdbc8_g \ -lsqlplus -lcore8 -lnbeq8 -lordim8 -lsvrmgrl -lnent8 -lordim8 \ -ltrace8 -lctx8 -lnhost8 -lordsdo8 -ltracefe8 -lctxc8 -lnjni8 -lordts8 \ -ltracept8 -lctxs8 -lordvirt8 -ldbicx8 -lnl8 -lowm2 \ -lvppdc -lgeneric8 -lnldap8 -lplc8 -lvsn8 -lgslavl8 -lnls8 -lplp8 \ -lwtc8 -lgslber_s8 -lnoname8 -lpls8 -lzx8 -lgsldb8 -lnro8 -lpsa8 -lgslr8 \ -lnsgr8 -lqsmashr ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L) $(ORACLE_L) oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8 Buffer Buffer.c ######## END of SETUP Script ########## This time the error is a little different: Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: ./oci_.so: undefined symbol: kpumfs I tried the trick in the README - got a list of all symbols in the Oracle libs and it turns out kpumfs is in four, all of which are included in the setup file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 00000140 libclntsh.so: kpumfs T 0018eb10 libclntsh.so.8.0: kpumfs T 0018eb10 libvppdc.so: kpumfs T 000e2a40 I'm at a bit of a loose end here... Thanks again, Erik Myllymaki From Alexander Chelnokov Sun Oct 15 19:20:45 2000 From: Alexander Chelnokov (Alexander Chelnokov) Date: Mon, 16 Oct 2000 00:20:45 +0600 Subject: [Zope] List from another list in DTML? In-Reply-To: <0720.001015@inbox.ru> References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> Message-ID: <13413660806.20001016002045@orto.unets.ru> Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which contains only data fields? Is it possible with DTML only? -- Best regards, Alexander N. Chelnokov Ural Scientific Institute of Traumatology and Orthopaedics 7, Bankovsky str. Ekaterinburg 620014 Russia ICQ: 25640913 From leedm@state.mi.us Sun Oct 15 20:09:51 2000 From: leedm@state.mi.us (Darin Lee) Date: Sun, 15 Oct 2000 15:09:51 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1017 - 17 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Noah@noah.org Sun Oct 15 20:23:06 2000 From: Noah@noah.org (Noah) Date: Sun, 15 Oct 2000 12:23:06 -0700 Subject: [Zope] ZClass derrived from Image does not call "view" from within Message-ID: <009401c036dd$58de4d50$e21ac73f@wingw> Hi, I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work similar to an Image, but the user can insert it directly in DTML using and it will get expanded into HTML (with formatting, tag, caption, etc.) This may be long and complicated, but I thought that #4 below was interesting because it demonstrates how to get at base class methods even if you have overridden them. OK, here's the situation: 1. I created a ZClass derived from Image. 2. I overloaded the index_html to add spit out some HTML instead of the image. 3. If I call an instance of the ZClass directly I get the expected results. The index_html is called and I get back some HTML. Here: http://63.199.26.229:8080/c/gato 4. To get to the image I created an External Method that calls the index_html method of the my base class (Image): # I create an External Method called IMG that calls this Python method: def super_index_html (self): for classy in self.__class__.__bases__: if classy.__name__ == 'Image': return classy.index_html (self, self.REQUEST,\ self.REQUEST.RESPONSE) Example: http://63.199.26.229:8080/c/gato/IMG So far, so good! Now all I want to do is insert my ZClass in some DTML. Here's what happens: 1. I try to insert in instance of my ZClass into a DTML Method using: 2. The Publisher does not call the view method (index_html) of the object! Instead it calls str() which is __str__ in Image and that calls Image.tag(). I can't overload __str__ because Zope does not allow a method to start with _ underscore. I ran this in the debugger, Publish.publish() (line 173) has this code: if result is not response: response.setBody(result) This is where the trouble begins. setBody() calls str() function on the object. How do I insert my ZClass into DTML now? Yours, Noah From matt.bion@eudoramail.com Mon Oct 16 01:18:47 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 13:18:47 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime Message-ID: <39EA4967.222C1D43@eudoramail.com> I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt "paris" is the ID of an image I uploaded into a node inherited when I action this dtml document, so there are no key errors or similar. The result in the email I get is : Feedback from : Matt Comments: Hello there, this is a sample email message for testing. Content-Type: multipart/mixed; boundary="127.0.0.1.500.953.971655250.628.16056" --127.0.0.1.500.953.971655250.628.16056 Content-Type: image/jpeg Content-Transfer-Encoding: 7bit paris --127.0.0.1.500.953.971655250.628.16056-- I understand that the dtml-mime tag is modifying the action of dtml-var that follows it, but what I want is the actual text coded binary to be dumped and not a source tag ... i.e. it's an email, not a webpage. I thought of embedding that in an external method that returns the text coded binary w.r.t the encoding type placed in the attributes, but was wondering if there was a method like this already available, and maybe not just image centric. Matt Bion From p@state-of-mind.de Mon Oct 16 01:59:43 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Mon, 16 Oct 2000 02:59:43 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: Hi, I've been through the Guides, How-Tos and also some of the list-archives. Though I am not a programmer I finally decided to ask that question to all of you... I want to give Users the possibility to add documents in a folder ;-). so far so good ... Then I want to control the IDs simply by assigning an ID to their Form. I found a few articles generating either randomIDs or calculating IDs from ZopeTime(). What is it that I want to do? I want to evaluate the highest ID (all are 'int') within the folder and assign the next highest. I'm sure this is easy to you... If there's a RTFM-document I'd be glad to read that. thanks, p@rick From jensebaer@hotmail.com Mon Oct 16 03:00:13 2000 From: jensebaer@hotmail.com (jensebaer) Date: Mon, 16 Oct 2000 04:00:13 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: Hi, it is not tested but may it works = newid"> Your new id is: may you have to use _.string.atoi(id) instead _.int(id) Viel Glück Jens ----- Original Message ----- From: "Patrick Koetter" To: Sent: Monday, October 16, 2000 2:59 AM Subject: [Zope] NEWBIE: assign next free ID automatically > Hi, > > I've been through the Guides, How-Tos and also some of the list-archives. > Though I am not a programmer I finally decided to ask that question to all > of you... > > I want to give Users the possibility to add documents in a folder > ;-). > so far so good ... Then I want to control the IDs simply by assigning an ID > to their Form. > I found a few articles generating either randomIDs or calculating IDs from > ZopeTime(). > > What is it that I want to do? > I want to evaluate the highest ID (all are 'int') within the folder and > assign the next highest. > I'm sure this is easy to you... > > If there's a RTFM-document I'd be glad to read that. > > thanks, > > p@rick > > > _______________________________________________ > 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 ) > > From kthangavelu@earthlink.net Mon Oct 16 02:35:05 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:35:05 -0700 Subject: [Zope] List from another list in DTML? References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> <13413660806.20001016002045@orto.unets.ru> Message-ID: <39EA5B49.11EBEEB6@earthlink.net> Alexander Chelnokov wrote: > > Hello All, > > A form contains data items ['firstname','secondname','dofb' etc] > and some "service" fields ['submit','sid','form','nform']. > With REQUEST.form.items() all these fields are included in a single > list. How can another list be created from the list which contains > only data fields? Is it possible with DTML only? form is an instance of the python cgi FieldStorage the docs included with your python distro will give you more info. try (untested) REQUEST.form.values() > -- > Best regards, > Alexander N. Chelnokov > Ural Scientific Institute of Traumatology and Orthopaedics > 7, Bankovsky str. Ekaterinburg 620014 Russia > ICQ: 25640913 > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Mon Oct 16 02:46:03 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:46:03 -0700 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: <39EA5DDB.7231C9A2@earthlink.net> ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a dtml-let doc_id=sequence-item to evaluate in pythonish "" dtml although the code below makes it obvious it should also be stated that ids are strings. one caveat, i wouldn't count on the id naming sequence to nesc reflect the order of the items, as an item maybe deleted etc and have new ones created which replace them. if you've not going to be deleting items, another possibility is another caveat, in a heavily hit site you're going to be generating id errors(both methods) because one thread will commit a new doc while the other tries a moment later to commit with the same id. hence the reason why i would just use a random int like kapil jensebaer wrote: > > Hi, > > it is not tested but may it works > > > = newid"> > > > > > Your new id is: > > may you have to use _.string.atoi(id) instead _.int(id) > > Viel Glück > > Jens > > ----- Original Message ----- > From: "Patrick Koetter" > To: > Sent: Monday, October 16, 2000 2:59 AM > Subject: [Zope] NEWBIE: assign next free ID automatically > > > Hi, > > > > I've been through the Guides, How-Tos and also some of the list-archives. > > Though I am not a programmer I finally decided to ask that question to all > > of you... > > > > I want to give Users the possibility to add documents in a folder > > ;-). > > so far so good ... Then I want to control the IDs simply by assigning an > ID > > to their Form. > > I found a few articles generating either randomIDs or calculating IDs from > > ZopeTime(). > > > > What is it that I want to do? > > I want to evaluate the highest ID (all are 'int') within the folder and > > assign the next highest. > > I'm sure this is easy to you... > > > > If there's a RTFM-document I'd be glad to read that. > > > > thanks, > > > > p@rick > > > > > > _______________________________________________ > > 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 ) From anthony@interlink.com.au Mon Oct 16 18:11:21 2000 From: anthony@interlink.com.au (Anthony Baxter) Date: Mon, 16 Oct 2000 17:11:21 +0000 Subject: [Zope] bunch patches for zopeshell uploaded to sourceforge... Message-ID: <200010161711.EAA02996@mbuna.arbhome.com.au> FWIW, I just posted a series of patches for ZopeShell, and a few other bits, that add: editing of PythonMethods and Z SQL Methods (also enables ZSQL through FTP) Add host:port to the prompt Add a 'login' command to switch to a different Zope Server Don't upload the file if the temp file's mtime hasn't changed. Prompt for username and password if not given. see the patch tracker at http://sourceforge.net/projects/zopeshell/ They're patches 101923 - 101927 in the patch tracker. I'll copy the relevant Zope patches into the Collector... Anthony From kthangavelu@earthlink.net Mon Oct 16 03:08:08 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:08:08 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA6308.46157D09@earthlink.net> Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. i don't have much experience with the mime-tags but, if you're problem seems to be that you want the binary data of the image. when the dtml tag renders its just dropping a string link to the Image. what you want here is (i think) the binary data that represents the image. hmmm... looking through the source of Image.py i don't see a web accessible manner to get this info:( another option is to set the mime on the email to text/html and send the image as a link. Kapil From kthangavelu@earthlink.net Mon Oct 16 03:09:31 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:09:31 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA635B.9807E529@earthlink.net> spoke to soon.. replace with Kapil Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. > > Matt Bion > > _______________________________________________ > 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 ) From matt.bion@eudoramail.com Mon Oct 16 09:05:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 21:05:46 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> <39EA635B.9807E529@earthlink.net> Message-ID: <39EAB6DA.C11E0E56@eudoramail.com> Thanks Kapil, that works brilliantly, I didn't see a 'data' member in the quick reference and certainly didn't see a data() method which I was expecting. I guess I should be looking at the source. The following is what I ended up with To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Giving the mime tag a name and setting encoding to base64 made it a nicer experience at the other end. thanks Matt Bion Kapil Thangavelu wrote: > spoke to soon.. > > replace > with > > Kapil > > Matt wrote: > > > > I have benn having a problem with attaching images to a dtml-sendmail. > > The following is my dtml code : > > > > > > To: Feedback Recipient > > From: Zope Feedback Form > > Subject: Feedback from the web > > > > Feedback from : Matt > > > > > > > > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > > action this dtml document, so there are no key errors or similar. > > > > The result in the email I get is : > > > > Feedback from : Matt Comments: > > Hello there, this is a sample email message for testing. > > > > Content-Type: multipart/mixed; > > boundary="127.0.0.1.500.953.971655250.628.16056" > > > > --127.0.0.1.500.953.971655250.628.16056 > > Content-Type: image/jpeg > > Content-Transfer-Encoding: 7bit > > > > paris > height="630" width="472" border="0"> > > > > --127.0.0.1.500.953.971655250.628.16056-- > > > > I understand that the dtml-mime tag is modifying the action of dtml-var > > that follows it, but what I want is the actual text coded binary to be > > dumped and not a source tag ... i.e. it's an email, not a webpage. > > > > I thought of embedding that in an external method that returns the text > > coded binary w.r.t the encoding type placed in the attributes, but was > > wondering if there was a method like this already available, and maybe > > not just image centric. > > > > Matt Bion > > > > _______________________________________________ > > 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 ) From brabander@fsw.LeidenUniv.nl Mon Oct 16 09:07:59 2000 From: brabander@fsw.LeidenUniv.nl (Cornelis J. de Brabander) Date: Mon, 16 Oct 2000 10:07:59 +0200 Subject: [Zope] backing up In-Reply-To: <00101417011207.01314@localhost.localdomain> Message-ID: <01JVEGCR0TW2C8V7Z1@FSW.LEIDENUNIV.NL> You can export specific folders and save the resulting file either to the server or to your local machine (in the management interface view the content of a folder, choose the import/export tab and click export) cb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of matt > Sent: zaterdag 14 oktober 2000 5:59 > To: zope@zope.org > Subject: [Zope] backing up > > > Is there a nice way to backup dtml documents and methods from a > certain point > in the object tree onwards without having to save all the other > objects too? > > regards > Matt > > > _______________________________________________ > 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 ) > > From stefan@epy.co.at Mon Oct 16 09:40:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 16 Oct 2000 10:40:17 +0200 (CEST) Subject: [Zope] ZClass derrived from Image does not call "view" from within In-Reply-To: <009401c036dd$58de4d50$e21ac73f@wingw> Message-ID: On Sun, 15 Oct 2000, Noah wrote: > I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work > similar to an Image, but the user can insert it directly in DTML using > and it will get expanded into HTML (with formatting, tag, caption, etc.) FWIW the Image object does exactly that already. > 2. The Publisher does not call the view method (index_html) of the object! > Instead it calls str() which is __str__ in Image and that calls Image.tag(). > I can't overload __str__ because Zope does not allow a method to start > with _ underscore. This is the way it works! For creating ZClasses that render on __str__ see http://www.zope.org/Members/lalo/Renderable-ZClass HTH Stefan From soren@roug.org Mon Oct 16 10:39:39 2000 From: soren@roug.org (Soren Roug) Date: Mon, 16 Oct 2000 11:39:39 +0200 Subject: [Zope] I want to use html_quote as a function Message-ID: <39EACCDB.403786A7@roug.org> Hi, I can render text that potentially has html in it safely with but what if I want to assign the quoted result to another variable. I tried It didn't work. How do I solve this problem? Sincerely yours, Soren Roug From chrisw@nipltd.com Mon Oct 16 10:57:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 16 Oct 2000 10:57:23 +0100 Subject: [Zope] Distribution Tab References: Message-ID: <39EAD103.E12F18DA@nipltd.com> Seb Bacon wrote: > > In the Zope PTK there are a couple of products that have been packaged as > product.dats. > What format are these? How do I do it? If you go into any of your TTW products in the Control Panel, you'll see a 'Distribution' management tab. That'll let you create your own distributions... cheers, Chris From richard@dcs.co.uk Mon Oct 16 10:47:32 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 10:47:32 +0100 Subject: [Zope] MySQL and Zope struggles Message-ID: <4.3.2.7.2.20001016103331.023a3370@195.60.12.162> I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk From administrator@consotec.de Mon Oct 16 12:10:54 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 16 Oct 00 11:10:54 UT Subject: [Zope] MySQL and Zope struggles Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes =3D > where note_id =3D > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id =3D 23; > update note set notes =3D 'asdasda' where note-id =3D note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --------------1DD2510B41FE-- From jonathan@home-all.org.uk Mon Oct 16 14:08:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 14:08:17 +0100 Subject: [Zope] How to use the date fmt's Message-ID: <39EAFDC1.F1160B04@home-all.org.uk> Hi all, in the various docs it shows various fmt= to display different date types etc. It also shows some date formats that seem more like methods themselves, ie IsCurrentMonth returns true if etc. How can I use these in expressions? Jonathan From PHarris@jimbeam.co.uk Mon Oct 16 14:52:58 2000 From: PHarris@jimbeam.co.uk (Harris Peter) Date: Mon, 16 Oct 2000 14:52:58 +0100 Subject: [Zope] Manipulating acl_users with DTML methods Message-ID: <05BFCA312976D111B3B10060B06B14F286C2B3@UKDH-SV-0003> Hi I am new to this, and probably trying to do things the wrong way but: I have a PostgreSQL table of users for my Zope application, and ZSQL methods for inserting, updating and deleting users from the table. The only reason I am doing this is to associate their real name and email address with their user id. Is it possible to do some kind of dtml-call to insert, update or delete Zope users? I don't want the administrator of the application to have to maintain user information in 2 places. Also, is there some way for a user to change their own password, without them having permissions to manage other users? Peter Harris **************************************************************************** This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee. If you have received this communication in error, please delete the message and notify JBB (Greater Europe) Plc immediately on 0141-249-6285. The views expressed in this email are not necessarily the views of JBB (Greater Europe) PLC. As it has been transmitted over a public network, JBB (Greater Europe) PLC makes no representation nor accepts any liability for the email's accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify JBB (Greater Europe) Plc immediately on 0141-249-6285. **************************************************************************** From tony.mcdonald@ncl.ac.uk Mon Oct 16 15:08:43 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Mon, 16 Oct 2000 15:08:43 +0100 Subject: [Zope] How to use the date fmt's In-Reply-To: <39EAFDC1.F1160B04@home-all.org.uk> References: <39EAFDC1.F1160B04@home-all.org.uk> Message-ID: At 2:08 pm +0100 16/10/00, Jonathan Cheyne wrote: >Hi all, in the various docs it shows various fmt= to display different >date types etc. It also shows some date formats that seem more like >methods themselves, ie IsCurrentMonth returns true if etc. > try this http://www.zope.org/Members/AlexR/CustomDateFormats tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From jonathan@home-all.org.uk Mon Oct 16 15:39:07 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 15:39:07 +0100 Subject: [Zope] Need help with date comparisons Message-ID: <39EB130B.E72DC80A@home-all.org.uk> Hi all again. I have a blank in my mind where I hoped the answer might be to this probably straightforward exercise. I have a zclass containing a date property called event_date. I want a page that loops through the months of the year, starting with the current month, and in each loop displays all the instances from the catalog with an event_date within the month in question. I just get stuck, completely stuck, trying to get the month value from the event_date and to compare it with the current month value. Anyone done this or something like this? Is this hard or am I a bit, you know, dense? thanks Jonathan From jatwood@bwanazulia.com Mon Oct 16 16:33:09 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 11:33:09 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com Message-ID: http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope &number=10&DaysPrune=60&LastLogin= I found this awhile ago and it has been pretty inactive (until last week when I started posting.. :) ). It would be great to see some of the list subscribers here and other members of the Zope community get involved. It is something that I think is much needed on Zope.org (A bulletin board system... I am SURE that I could suggest one!) as it helps Newbies and provides a more solid, long lasting and manageable discussion. Maybe something for ZDP if not for Zope.org. Comments? Suggestions? Thanks, J From 444@hiretechs.com Mon Oct 16 07:34:21 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:34:21 GMT Subject: [Zope] Need help with date comparisons In-Reply-To: <39EB130B.E72DC80A@home-all.org.uk> References: <39EB130B.E72DC80A@home-all.org.uk> Message-ID: <20001016063421.13022.qmail@mail.hiretechs.com> Jonathan: You can try: The source for DateTime() is pretty easy to follow. You can look for you format's there. All my best, > Hi all again. > > I have a blank in my mind where I hoped the answer might be to this > probably straightforward exercise. > > I have a zclass containing a date property called event_date. > > I want a page that loops through the months of the year, starting with > the current month, and in each loop displays all the instances from the > catalog with an event_date within the month in question. > > I just get stuck, completely stuck, trying to get the month value from > the event_date and to compare it with the current month value. > > Anyone done this or something like this? Is this hard or am I a bit, you > know, dense? > > thanks > > Jonathan > > > > > _______________________________________________ > 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 ) > 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. From ecolmar@uswest.net Mon Oct 16 16:49:10 2000 From: ecolmar@uswest.net (ed colmar) Date: Mon, 16 Oct 2000 09:49:10 -0600 Subject: [Zope] LoginManager - With SQL Message-ID: <002501c03788$a0d57ec0$0400000a@caliber> Thanks for the tips everyone! I keep going between UserDb and LoginManager to try to get this to work. UserDb gives me weird errors, and isn't really current, so I'm focusing on LM. I feel like I'm getting closer to a solution, but I'm still having difficuties... I followed jPenny's how to regarding accessing SQL method variables from within python, and wrapped the retrieveItem result in a User Class. It seems like it is at least running my code now, but no authentication... Am I close? Can Anyone working with LoginManager offer any insight into this? Thanks! -e- Here's the code I have in UserSources.py class User(BasicUser): """ A wrapper for the basic user class """ icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class PGCryptUserSource(BasicUserSource): """ A sql based encrypted user source """ meta_type="PG Crypt User Source" __plugin_kind__="User Source" def retrieveItem(self, name): try: res=self.getuserbyusername(username=name) except: return None fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] username=res[0][fields2index['username']] password=res[0][fields2index['password']] roles=res[0][fields2index['roles']] domains=res[0][fields2index['domains']] return User(username, password, roles, domains) def rolesForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] roles=res[0][fields2index['roles']] return roles def domainsForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] domains=res[0][fields2index['domains']] return domains def authenticateUser(self, user, password, request): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] passwd=res[0][fields2index['password']] if crypt.crypt(password,'ab')==passwd: return 1 else: return 0 Here's one of the tracebacks that I get: Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 108, in validate (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/LoginMethods.py, line 235, in findLogin (Object: PlugInBase) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 65, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/ZPatterns/Rack.py, line 60, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 522, in retrieveItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 485, in __init__ TypeError: (see above) From 444@hiretechs.com Mon Oct 16 07:50:02 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:50:02 GMT Subject: [Zope] Creating Recursive Folders In-Reply-To: <14824.51816.369709.647151@lindm.dm> References: <14824.51816.369709.647151@lindm.dm> Message-ID: <20001016065002.13406.qmail@mail.hiretechs.com> Dieter: Perhaps you misunderstood me. THis is an example of how convuluted DTML can get, but if you have an example of how to do it clearly, I'd love to see it. > Jason Spisak writes: > > > > > 1).manage_addFolder(_.str(_['sequence-item']), > > _.str(_['sequence-item']))"> > > Throws an unathorized no matter who I am. How can I get 3 levels of > > recursion. I tried using 'let' to stand for the object, with no luck. > That's the just penalty for writing weird code ;-) > Actually, that's the penalty for using DTML. There's a difference. > When you would introduce names for destination folder > and id, you could use the same pattern for *all* levels. I don't understand what you are getting at here. > You and other persons would understand what you do > and you would not accidentally use the attribute "_". > I personally, don't like using the "_" attribute at all. But in situation like this, I don't see another way. Please enlighten me. Jason Spisak 444@hiretechs.com From Marcin.Kasperski@softax.com.pl Mon Oct 16 17:00:21 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Mon, 16 Oct 2000 18:00:21 +0200 Subject: [Zope] Using ProxyPass and SiteRoot References: <14822.16511.306738.502938@localhost.localdomain> Message-ID: <39EB2615.CCADC175@softax.com.pl> "\"Geoffrey L. Wright\" > > knight writes: > > > Timothy, > > > > Without going into too much detail, you are going to want to set up a > > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > > that virtual host you will want to add your ProxyPass lines similar to my > > example: > > [...] > > And just for reference, here's another working example with ProxyPass: > > NameVirtualHost 172.17.10.13 > > > ServerName syslog.integritysi.com > ServerAdmin geoff@integritysi.com > ProxyPass / http://vishnu.integritysi.com:8080/syslog/ > ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ > ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ > ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ > ErrorLog logs/syslog.integritysi.com > TransferLog logs/syslog.integritysi.com > > > Good luck, and don't forget to enable the ProxyPass module. > Some remarks: 1) If you use custom product which contain images, it is useful to add sth like ProxyPass /Control_Panel/Products/Mycustomproduct http://localhost:9673/Control_Panel/Products/Mycustomproduct (otherwise you will not see the images which belong to the product - in my case I couldn't see the product icons on management screens). Reverse pass for this purpose is not needed. 2) ZCatalog does not work with SiteRoot. Smaller problem: the URLs returned are incorrect (you can parse them with dtml). Greater problem: attempt to find new items fails (the only solution I found is to remove SiteRoot, find/update ZCatalog, add SiteRoot again). 3) You loose original IP address (you can use mod_proxy_add_forward custom Apache module to preserve it in the custom X-Forwarded-For header, so far I have not managed to recover original addresses in zope log and for logging verification). -- http://www.mk.w.pl / Marcin.Kasperski | Poradnik dla kupuj±cych mieszkanie: @softax.com.pl | http://www.kupmieszkanie.prv.pl @bigfoot.com \ From rdolense@globalcrossing.com Mon Oct 16 17:01:18 2000 From: rdolense@globalcrossing.com (Ryan M. Dolensek) Date: Mon, 16 Oct 2000 11:01:18 -0500 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> Message-ID: <39EB264E.5F1CFE62@globalcrossing.com> try... ryan Soren Roug wrote: > Hi, > > I can render text that potentially has html in it safely with > > > > but what if I want to assign the quoted result to another variable. > > I tried > > > > It didn't work. How do I solve this problem? > > Sincerely yours, > > Soren Roug > > _______________________________________________ > 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 ) -- Ryan Dolensek Software Engineer Global Crossing (920)405-4812 rdolense@globalcrossing.com From fred@ontosys.com Mon Oct 16 17:06:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 11:06:53 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <20001016110653.A4476@enteract.com> I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions? If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Eric@Walstads.net Mon Oct 16 16:49:51 2000 From: Eric@Walstads.net (Eric Walstad) Date: Mon, 16 Oct 2000 08:49:51 -0700 Subject: [Zope] HELP! Permissions problem, ZClass Message-ID: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new instance of the ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't helping. Any pointers? Thanks, Eric. Here's the traceback: Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access CNewsItem. Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: buildNews) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: buildNews) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: manage_addProduct['NewsItem']) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: CNewsItem_add(_.None, _, NoRedir=1)) (Info: _) File , line 0, in ? File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) (Info: CNewsItem) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: buildNews) File /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate Unauthorized: (see above) From Robert_J_Roberts@rl.gov Mon Oct 16 17:27:48 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 16 Oct 2000 09:27:48 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> I do pretty much the same things myself. I assign sys.stderr = sys.stdout, then I create my own log file object from a module I wrote a few years ago, and then assign something like sys.stderr = self.logObj. That works well for any errors that occur after those assignments have occurred but doesn't do much for anything that happens earlier. I also run the python code outside of Zope to get it all working. It's just a pain when I have to make some minor change in the Zope to External Method logic and it breaks. That's where I start to lose it some in the debugging. Using something like: import sys, traceback, string try: trysomething() except: type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb ...helps, but even with that I seem to get errors that I just can't seem to catch and report properly. I'm not sure what you are referring to with "...the Python debugger "pdb"...". I've never used it. Thanks for your help, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, October 14, 2000 1:51 PM To: Robert_J_Roberts@rl.gov Cc: zope@zope.org Subject: Re: [Zope] Help Debugging External Methods Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From Morton@dennisinter.com Mon Oct 16 17:27:53 2000 From: Morton@dennisinter.com (Damien Morton) Date: Mon, 16 Oct 2000 12:27:53 -0400 Subject: [Zope] Microsoft Zope Message-ID: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/DesignKMS ols.htm Looks like MS has embraced the Zope way of doing things From jatwood@bwanazulia.com Mon Oct 16 18:05:34 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 13:05:34 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com> Message-ID: You could just upload them into Zope and point to them. http://www.gotschool.com (see flash demos). It uploads as a "application/octet-stream" I am sure you are talking about much more interaction. J > From: Fred Yankowski > Date: Mon, 16 Oct 2000 11:06:53 -0500 > To: zope@zope.org > Subject: [Zope] how to include Flash/SWF objects in Zope website? > > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From dale.w.lance@mail.sprint.com Mon Oct 16 17:40:29 2000 From: dale.w.lance@mail.sprint.com (dale.w.lance@mail.sprint.com) Date: Mon, 16 Oct 2000 11:40:29 -0500 Subject: [Zope] MySQL and Zope struggles Message-ID: --openmail-part-2b1fc156-00000001 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline ;Creation-Date="Mon, 16 Oct 2000 11:40:29 -0500" Content-Transfer-Encoding: 7bit Or you could renormalize your data to have: --------- ----------- | Artist | | Note | |---------|-------|-----------| | id | | id | --------- | artist_id | | note_str | ----------- you now have a list of notes by artist_id. You typically won't have a screen that doesn't have an Artist context to be adding a note to. (or to remove all notes from). Of course this means more work to migrate :-( And I don't know all possible scenarios for which you would need the structure you gave, but it is another way around this. It probably doesn't solve real complex scenarios either. JAT Dale -----Original Message----- From: administrator [mailto:administrator@consotec.de] Sent: Monday, October 16, 2000 6:11 AM To: zope Cc: administrator Subject: Re: [Zope] MySQL and Zope struggles I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes = > where note_id = > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id = 23; > update note set notes = 'asdasda' where note-id = note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --openmail-part-2b1fc156-00000001-- From cvasco@netadvisors-ec.com Mon Oct 16 12:48:04 2000 From: cvasco@netadvisors-ec.com (Carlos Vasconez) Date: Mon, 16 Oct 2000 12:48:04 +0100 Subject: [Zope] Question! Message-ID: <001b01c03766$f3aa25a0$0b0a64be@orbiscorp> This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I am read about zope.
Question?
I can use Zope with NT Server, IIS 4 = and SQLServer=20 ?
I have a Database in = SQLServer
 
Thanks
 
Carlos
---------
------=_NextPart_000_0018_01C0376F.5371AC30-- From jwashin@vt.edu Mon Oct 16 19:10:03 2000 From: jwashin@vt.edu (Jim Washington) Date: Mon, 16 Oct 2000 14:10:03 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? References: Message-ID: <39EB447B.4060801@vt.edu> N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects. -- Jim Washington J. Atwood wrote: > You could just upload them into Zope and point to them. > > http://www.gotschool.com (see flash demos). > > It uploads as a "application/octet-stream" > > I am sure you are talking about much more interaction. > > J > From richard@dcs.co.uk Mon Oct 16 19:10:10 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 19:10:10 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: Message-ID: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Nice idea. Trouble is the note table is used to hold notes for many different reasons, so it looks like this - ----------- ------------ -------- | Artist | | Recording | | Label | etc. ----------- ------------ -------- | artist_id | |recording_id| |label_id| | note_id | |note_id | |note_id | ----------- ------------ -------- | | | | | --------------------------------------------------------- | ---------- | Note | ---------- | note_id | | notes | ---------- It looks as if there wasn't anything I was missing - I'm just going to have to break the code up into separate SQL Methods. The example I gave was quite simple compared to some of the updates I have to deal with. Thanks anyway. At 17:40 16/10/00, you wrote: >Or you could renormalize your data to have: > > --------- ----------- >| Artist | | Note | >|---------|-------|-----------| >| id | | id | > --------- | artist_id | > | note_str | > ----------- > >you now have a list of notes by artist_id. >You typically won't have a screen that doesn't have an Artist context >to be adding a note to. (or to remove all notes from). >Of course this means more work to migrate :-( >And I don't know all possible scenarios for which you would >need the structure you gave, but it is another way around this. >It probably doesn't solve real complex scenarios either. > >JAT > >Dale Richard Moon richard@dcs.co.uk From troy.farrell@wilcom.com Mon Oct 16 20:04:30 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Mon, 16 Oct 2000 14:04:30 -0500 Subject: [Zope] Question! Message-ID: Yes you can. You will need ZODBC to connect to the SQLServer. Make sure that SQL server is available as a "System DSN" on it's host. You will also need a username and password to connect. Zope will ask you for this in the DSN string. Best of luck to you. Troy Troy Farrell Video Operations Technician III Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:troy.farrell@wilcom.com http://www.williams.com -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 6:48 AM To: zope@zope.org Subject: [Zope] Question! Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- From mj@digicool.com Mon Oct 16 20:04:48 2000 From: mj@digicool.com (Martijn Pieters) Date: Mon, 16 Oct 2000 21:04:48 +0200 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com>; from fred@ontosys.com on Mon, Oct 16, 2000 at 11:06:53AM -0500 References: <20001016110653.A4476@enteract.com> Message-ID: <20001016210448.B12837@zopatista.com> On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote: > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. I once hacked together a simple 'Flash' object in a Python based Product. It was just a class derived from the File object, which behaved very much like the Image object. If called by DTML, it would return the appropriate HTML to include the Flash animation in the page, whcih could be customized with a special method very much like the '.image()' method on Image objects. Alas, the class was written for a previous employer, and never released as Open Source. But it was dead easy to create. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From fred@ontosys.com Mon Oct 16 20:21:02 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 14:21:02 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <39EB447B.4060801@vt.edu> References: <39EB447B.4060801@vt.edu> Message-ID: <20001016142102.A17053@enteract.com> Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: + create File object with id "foo_swf". + upload my local foo.swf file into foo_swf. + create DTML Method object "foo_flash" to provide all the HTML OBJECT and EMBED elements needed to wrap the flash object, referring to that flash object as '' and 'src="foo_swf"', respectively. + use '' to display the flash object in a DTML Document. On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote: > N.B. You probably should add your Flash/SWF objects as "File" objects. > DTML Method/Document objects can do amusing things with binary data, > which is why there are "File" objects. > > -- Jim Washington > > J. Atwood wrote: > > > You could just upload them into Zope and point to them. > > > > http://www.gotschool.com (see flash demos). > > > > It uploads as a "application/octet-stream" > > > > I am sure you are talking about much more interaction. > > > > J -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From leedm@state.mi.us Mon Oct 16 20:25:55 2000 From: leedm@state.mi.us (Darin Lee) Date: Mon, 16 Oct 2000 15:25:55 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1018 - 39 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Oliver Sturm" Hi, is there any information available about the general usability of ZEO? Mainly stability is interesting to me, feature completeness is not so important. MfG, Oliver Sturm -- Who is General Failure and why is he reading my disk? -- Oliver Sturm / Key ID: 71D86996 Fingerprint: 8085 5C52 60B8 EFBD DAD0 78B8 CE7F 38D7 71D8 6996 From peter@grenna.net Mon Oct 16 20:19:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Mon, 16 Oct 2000 20:19:09 +0100 Subject: [Zope] Zope Discussion Forum @ DevShed.com References: Message-ID: <007301c037a8$89a1a740$01d4a8c0@peppe> here here! I definitly agree! Forum's are much easier to categorize and browse for answers than the mailing list. Categorization should be per subject, not per experience. If Zope.org doesn't want to set one up, then let the best man win. (i.e. make it fast) > http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope > &number=10&DaysPrune=60&LastLogin= > > I found this awhile ago and it has been pretty inactive (until last week > when I started posting.. :) ). It would be great to see some of the list > subscribers here and other members of the Zope community get involved. It is > something that I think is much needed on Zope.org (A bulletin board > system... I am SURE that I could suggest one!) as it helps Newbies and > provides a more solid, long lasting and manageable discussion. > > Maybe something for ZDP if not for Zope.org. > > Comments? Suggestions? > > Thanks, > J > > > > > _______________________________________________ > 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 ) > From karl@digicool.com Mon Oct 16 21:18:50 2000 From: karl@digicool.com (Karl Anderson) Date: 16 Oct 2000 13:18:50 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Terry Kerr's message of "Fri, 13 Oct 2000 09:45:14 +1100" References: <39E63EFA.FE2BF947@adroit.net> Message-ID: Terry Kerr writes: > I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. > > terry Actually, the advantage of the monitor is that it runs in the same process as your server, so you can track resource issues. Mounting the database separately avoids this. -- Karl Anderson karl@digicool.com From bobc@p-wave.com Mon Oct 16 08:50:23 2000 From: bobc@p-wave.com (Bob Corriher) Date: Mon, 16 Oct 2000 03:50:23 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <39EAB33F.50AC6DFB@p-wave.com> Hi Fred, We use Flash in most of the sites we develop with Zope. We just upload the swf file into a File object and call it from the index_html method as follows: splashpage
The File object is named splaspage.swf, but the extension is not necessary. It could have been called splashpage or anything else. Hope this helps. Bob Corriher P-Wave Inc. From jatwood@bwanazulia.com Mon Oct 16 20:50:06 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 15:50:06 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: <007301c037a8$89a1a740$01d4a8c0@peppe> Message-ID: I am more than happy to set up a ZUBB somewhere as well. A sort of Zope starter, question and/answer forum. Is this something that the community is generally interested in or not? J > From: "Peter Bengtsson" > Date: Mon, 16 Oct 2000 20:19:09 +0100 > To: "J. Atwood" > Cc: > Subject: Re: [Zope] Zope Discussion Forum @ DevShed.com > > here here! > > I definitly agree! Forum's are much easier to categorize and browse for > answers than the mailing list. > Categorization should be per subject, not per experience. > > If Zope.org doesn't want to set one up, then let the best man win. (i.e. make > it fast) > > > >> http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope >> &number=10&DaysPrune=60&LastLogin= >> >> I found this awhile ago and it has been pretty inactive (until last week >> when I started posting.. :) ). It would be great to see some of the list >> subscribers here and other members of the Zope community get involved. It is >> something that I think is much needed on Zope.org (A bulletin board >> system... I am SURE that I could suggest one!) as it helps Newbies and >> provides a more solid, long lasting and manageable discussion. >> >> Maybe something for ZDP if not for Zope.org. >> >> Comments? Suggestions? >> >> Thanks, >> J >> >> >> >> >> _______________________________________________ >> 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 ) >> > > From aschneider@cmpweb-dns0.web.cerf.net Mon Oct 16 21:40:28 2000 From: aschneider@cmpweb-dns0.web.cerf.net (aschneider) Date: Mon, 16 Oct 2000 13:40:28 -0700 (PDT) Subject: [Zope] About your ShareWare Message-ID: <200010162040.NAA07202@cmpweb-devel0.web.cerf.net> As a Shareware Author, you should be listing your files on FileMine... it's fast, easy and free! This Week's Most Popular file, Bugtoaster 1.0.00.2710 BETA, has been downloaded 17331 times! There's no reason this can't be your file - use the link below to add it now: http://www.filemine.com/AddYourFiles (This is a one time email and serves as a reminder only. You will not receive any further emails from us or anyone affiliated with us again.) From zope@grewen.de Tue Oct 17 01:28:47 2000 From: zope@grewen.de (Jens Grewen) Date: Tue, 17 Oct 2000 02:28:47 +0200 Subject: [Zope] test Message-ID: <001001c037d1$376607e0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_000D_01C037E1.FA3F5E00-- From bak@nstp.com.my Tue Oct 17 03:02:26 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Tue, 17 Oct 2000 10:02:26 +0800 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: References: Message-ID: <00101710022602.04363@tokey.kedai.com.my> On Tuesday 17 October 2000 09:57, J. Atwood wrote: > I am more than happy to set up a ZUBB somewhere as well. A sort of Zope > starter, question and/answer forum. Is this something that the community is > generally interested in or not? > > J > i would think that having a forum at Zope.org or zdp.org is great. this way we can really show how zope scales, and improve and show zope products. if the board is at zope.org/zdp, then i would think most zopistas will be around to answer. forum is unlike mailing lists. you need that extra click to go to a forum. my .02 -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From kthangavelu@earthlink.net Mon Oct 16 22:34:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Mon, 16 Oct 2000 14:34:58 -0700 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> <39EB264E.5F1CFE62@globalcrossing.com> Message-ID: <39EB7482.451B73CD@earthlink.net> Hello, "Ryan M. Dolensek" wrote: > > try... > > "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))"> huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about it? > ryan > > Soren Roug wrote: > > > Hi, > > > > I can render text that potentially has html in it safely with > > > > > > > > but what if I want to assign the quoted result to another variable. > > > > I tried > > > > > > > > It didn't work. How do I solve this problem? the html_quote of dtml-var is done on rendering so you really can't capture the variable in a transformed state. the solution is to roll your own pythonmethod. here's one to the trick. html_encode ttw python method PARAMETERS: text BODY string = _.string character_entities={"'&'":"&","<":"<", "'>'":">","\213": '<', "\233":'>','"':"""} text=str(text) for re,name in character_entities.items(): if string.find(text, re) >= 0: text=string.join(string.split(text,re),name) return text /END BODY so for your example you would do qualifying description if you need to. cheers kapil From jfarr@speakeasy.org Tue Oct 17 05:32:10 2000 From: jfarr@speakeasy.org (Jonothan Farr) Date: Mon, 16 Oct 2000 21:32:10 -0700 Subject: [Zope] new LocalFS release: 0.9.6 Message-ID: <009201c037f3$381429c0$0200000a@dreaming.jfarr.org> Changes v0.9.6 - Fixed saving large File and Image objects. - Added ZCatalog support. http://www.zope.org/Members/jfarr/Products/LocalFS/ --jfarr From amador@alomega.com Tue Oct 17 05:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:49:47 -0500 Subject: [Zope] Newbie question : ZopeTime & permissions References: Message-ID: <39EBDA6B.A3262C87@alomega.com> --------------A9875BC7D53E5CDA03940B55 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information I guess. Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A9875BC7D53E5CDA03940B55 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information
I guess.

Aaron Straup Cope wrote:

Hi,

My name is Aaron.

I am trying to set up zope with (atleast) three roles : manager, admin,
user.

I'd like to give the last two the bare minimum Security permissions
possible and adding them as needed later on.

My problem is that I can't seem to figure out, specifically, which
permissions to give a user that will allow them to read ZopeTime().

(see below)

For the admin user, I have set the Access content information and View *
options globally. I've tried guessing at some others, but there are alot
of possible combinations to try so I thought maybe I would just ask.

Related, is there a detailed description of the default Security
settings? I've checked the mailing lists and the Zope docs and if it's
there, I guess I missed it.

Thanks,

<dtml-call "REQUEST.set('ts', ZopeTime())">
<dtml-call "REQUEST.set('foo',_.str(_.int(ts)))">

<dtml-var foo>

Traceback (innermost last):
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: test)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: test)
  File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in
__call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line
528, in __call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object: REQUEST.set('ts', ZopeTime()))
    (Info: REQUEST)
  File <string>, line 0, in ?
NameError: (see above)

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

-- 
Manuel Amador (Rudd-O)
  --------------A9875BC7D53E5CDA03940B55-- From amador@alomega.com Tue Oct 17 06:12:16 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:12:16 -0500 Subject: [Zope] DTML Method not working References: <39E0D1F2.B7C30E8D@hal-pc.org> <003801c0309e$93e8afc0$d183bcd4@harrisf4scs8le> Message-ID: <39EBDFB0.C979F996@alomega.com> --------------0D43265D657296791815E7E1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Phil Harris wrote: > Is the code you used in a DTML Method or a DTML Document? > > Is it in a DTML Method being called from a DTML Document? > > If the answer to either of these is 'yes' then it's doing as you ask! > > The thing that gets most new zope users is that a DTML Document is itself a > container. This means that anytime you use code similar to yours or when > using a it will probably return a blank, as the DTML > Dopcument has no children(?!?). > > Solutions: > > 1. Try moving the code into a DTML Method. > 2. Use a dtml-with around it. > > The second one works most places but if in the root then it's slightly more > difficult as the top object is hard to reference (please someone tell me I'm > wrong here). > > You could try something like: > > >
    > >

  • >
    >
>
> > The resolve_url(BASE0+'/') should give you a reference to the top Zope > object (root). > > hth > > Phil > phil.harris@zweb.co.uk > > ----- Original Message ----- > From: "Ronald L. Chichester" > To: > Sent: Sunday, October 08, 2000 8:58 PM > Subject: [Zope] DTML Method not working > > > I took some code that was in the (work-in-progress) O'Riley book on > > Zope. In that example, then had a DTML Method used for identifying > > folders and hyperlinking to them. The code is as follows: > > > >
    > > > >

  • > >
    > >
> > > > The problem is, it doesn't work. I know the method is being invoked > > because there is some other text that is indeed being inserted. > > Moreover, there are sub-folders in the folder that calls the method. > > > > Does anyone know what the problem is? Is it a permission issue. The > > standard_html_header and _footer, show up just fine, along with logos > > and such. The only part that isn't showing up is the stuff that was > > supposed to be generated by the block. > > > > Any hints? > > > > Thanks in advance. > > > > Ron > > ./. > > > > > > _______________________________________________ > > 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 ) -- Manuel Amador (Rudd-O) --------------0D43265D657296791815E7E1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <dtml-with "PARENT[0]">
<dtml-tree>

Phil Harris wrote:

Is the code you used in a DTML Method or a DTML Document?

Is it in a DTML Method being called from a DTML Document?

If the answer to either of these is 'yes' then it's doing as you ask!

The thing that gets most new zope users is that a DTML Document is itself a
container.  This means that anytime you use code similar to yours or when
using a <dtml-tree ...> it will probably return a blank, as the DTML
Dopcument has no children(?!?).

Solutions:

1.    Try moving the code into a DTML Method.
2.    Use a dtml-with around it.

The second one works most places but if in the root then it's slightly more
difficult as the top object is hard to reference (please someone tell me I'm
wrong here).

You could try something like:

<dtml-with expr="resolve_url(BASE0+'/')">
<ul>
<dtml-in expr="objectValues('Folder')">
 <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
</dtml-in>
</ul>
</dtml-with>

The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).

hth

Phil
phil.harris@zweb.co.uk

----- Original Message -----
From: "Ronald L. Chichester" <complaw@hal-pc.org>
To: <zope@zope.org>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working

> I took some code that was in the (work-in-progress) O'Riley book on
> Zope.  In that example, then had a DTML Method used for identifying
> folders and hyperlinking to them.  The code is as follows:
>
> <ul>
> <dtml-in expr="objectValues('Folder')">
>  <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
> </dtml-in>
> </ul>
>
> The problem is, it doesn't work.  I know the method is being invoked
> because there is some other text that is indeed being inserted.
> Moreover, there are sub-folders in the folder that calls the method.
>
> Does anyone know what the problem is?  Is it a permission issue.  The
> standard_html_header and _footer, show up just fine, along with logos
> and such.  The only part that isn't showing up is the stuff that was
> supposed to be generated by the <dtml-in> block.
>
> Any hints?
>
> Thanks in advance.
>
> Ron
>  ./.
>
>
> _______________________________________________
> 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 )

-- 
Manuel Amador (Rudd-O)
  --------------0D43265D657296791815E7E1-- From amador@alomega.com Tue Oct 17 06:17:53 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:17:53 -0500 Subject: [Zope] Socket.error problem References: <39E00FC8.CEF8A9D0@hal-pc.org> Message-ID: <39EBE100.7BBBB410@alomega.com> --------------3F0FD8D006732218DB5BA327 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit user processes cannot bind to ports lower than 1024. Never forget dat. "Ronald L. Chichester" wrote: > I'm getting the exact same socket.error message that appeared on this > list in March, 2000. (See the attached problem.txt file.) > Specifically, this is the error message that I get when I start zope. > The person who kindly identified the problem didn't provide a solution. > I have my netstat -a results attached as netstat.txt. Could someone > tell me how I can resolve this port conflict? > > Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration. > > Thanks in advance, > > Ron > ./. > > This is the reply that was provided to the first person who encountered > this problem (and submitted it to the list): > > > > You have another process that is "bind" to port 98... > > this is the registered port for "tacnews". > > try "netstat -a" under the shell... > > ----- Message d'origine ----- > De : Ulf Byskov > À : > Envoyé : lundi 13 mars 2000 11:28 > Objet : [Zope] socket problem > > > When I try to start Z Server i get the following error messages: > > > > File > > > "/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a > > syncore.py", > > line 205, in bind > > return self.socket.bind (addr) > > socket.error: (98, 'Address already in use') > > > > > > I don't use the number 98 in any address or port (http=80, ftp='' and > > monitor='') > > so what could this error be about ? > > > > > > > > > > ------------------------------------------------------------------------ > [nobody@localhost Zope-2.2.2-linux2-x86]$ ./start > ------ > 2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt 8 00:31:03 2000 > Hostname: localhost.localdomain > Port:8080 > > Traceback (innermost last): > File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ? > logger_object=lg) > File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__ > apply(ftp_server.__init__, (self, None) + args, kw) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in __init__ self.bind ((self.ip, self.port)) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind return self.socket.bind (addr) > socket.error: (98, ?Address already in use?) > > ------------------------------------------------------------------------ > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp 0 0 *:6000 *:* LISTEN > tcp 0 0 *:3053 *:* LISTEN > tcp 0 0 *:8021 *:* LISTEN > tcp 0 0 *:postgres *:* LISTEN > tcp 0 0 *:www *:* LISTEN > tcp 0 0 *:smtp *:* LISTEN > tcp 0 0 *:printer *:* LISTEN > tcp 0 0 *:pop3 *:* LISTEN > tcp 0 0 *:telnet *:* LISTEN > tcp 0 0 *:ftp *:* LISTEN > tcp 0 0 *:auth *:* LISTEN > tcp 0 0 *:sunrpc *:* LISTEN > udp 0 0 *:xdmcp *:* > udp 0 0 *:sunrpc *:* > raw 0 0 *:icmp *:* 7 > raw 0 0 *:tcp *:* 7 > Active UNIX domain sockets (servers and established) > Proto RefCnt Flags Type State I-Node Path > unix 1 [ ] STREAM CONNECTED 26342 @000000d9 > unix 0 [ ACC ] STREAM LISTENING 1402 public/showq > unix 0 [ ACC ] STREAM LISTENING 1398 private/smtp > unix 0 [ ACC ] STREAM LISTENING 1389 private/bounce > unix 0 [ ] STREAM CONNECTED 194 @0000001d > unix 1 [ ] STREAM CONNECTED 26259 @000000cb > unix 0 [ ACC ] STREAM LISTENING 2816 /var/run/pcgi.soc > unix 0 [ ACC ] STREAM LISTENING 1406 private/error > unix 9 [ ] DGRAM 382 /dev/log > unix 0 [ ACC ] STREAM LISTENING 2792 /tmp/.font-unix/fs-1 > unix 0 [ ACC ] STREAM LISTENING 1687 /dev/gpmctl > unix 0 [ ACC ] STREAM LISTENING 1410 private/local > unix 0 [ ACC ] STREAM LISTENING 1414 private/cyrus > unix 1 [ ] STREAM CONNECTED 26267 @000000ce > unix 1 [ ] STREAM CONNECTED 26253 @000000c8 > unix 0 [ ACC ] STREAM LISTENING 2848 /tmp/.X11-unix/X0 > unix 0 [ ACC ] STREAM LISTENING 1418 private/uucp > unix 1 [ ] STREAM CONNECTED 26269 @000000cf > unix 0 [ ACC ] STREAM LISTENING 1422 private/ifmail > unix 1 [ ] STREAM CONNECTED 26263 @000000cc > unix 0 [ ACC ] STREAM LISTENING 1427 private/bsmtp > unix 1 [ ] STREAM CONNECTED 26265 @000000cd > unix 1 [ N ] STREAM CONNECTED 26277 @000000d1 > unix 0 [ ACC ] STREAM LISTENING 473 /dev/printer > unix 1 [ ] STREAM CONNECTED 26292 @000000d2 > unix 0 [ ACC ] STREAM LISTENING 26275 /tmp//kfm_501_1753localhost.localdomain_0 > unix 1 [ ] STREAM CONNECTED 26247 @000000c6 > unix 1 [ ] STREAM CONNECTED 26177 @000000b5 > unix 1 [ N ] STREAM CONNECTED 26271 @000000d0 > unix 1 [ ] STREAM CONNECTED 26180 @000000b6 > unix 0 [ ACC ] STREAM LISTENING 1378 private/cleanup > unix 1 [ ] STREAM CONNECTED 26312 @000000d5 > unix 0 [ ACC ] STREAM LISTENING 1385 private/rewrite > unix 0 [ ACC ] STREAM LISTENING 26273 /tmp//kio_501_1753localhost.localdomain_0 > unix 0 [ ACC ] STREAM LISTENING 2749 /tmp/.s.PGSQL.5432 > unix 0 [ ACC ] STREAM LISTENING 1393 private/defer > unix 0 [ ] DGRAM 26354 > unix 1 [ ] STREAM CONNECTED 26343 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26313 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26293 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26278 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26272 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26270 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26268 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26266 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26264 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26260 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26254 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26248 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26181 /tmp/.font-unix/fs-1 > unix 1 [ ] STREAM CONNECTED 26182 /tmp/.X11-unix/X0 > unix 0 [ ] DGRAM 2813 > unix 0 [ ] DGRAM 2812 > unix 0 [ ] DGRAM 1464 > unix 1 [ ] STREAM CONNECTED 1430 > unix 1 [ ] STREAM CONNECTED 1429 > unix 1 [ ] STREAM CONNECTED 1425 > unix 1 [ ] STREAM CONNECTED 1424 > unix 1 [ ] STREAM CONNECTED 1421 > unix 1 [ ] STREAM CONNECTED 1420 > unix 1 [ ] STREAM CONNECTED 1417 > unix 1 [ ] STREAM CONNECTED 1416 > unix 1 [ ] STREAM CONNECTED 1413 > unix 1 [ ] STREAM CONNECTED 1412 > unix 1 [ ] STREAM CONNECTED 1409 > unix 1 [ ] STREAM CONNECTED 1408 > unix 1 [ ] STREAM CONNECTED 1405 > unix 1 [ ] STREAM CONNECTED 1404 > unix 1 [ ] STREAM CONNECTED 1401 > unix 1 [ ] STREAM CONNECTED 1400 > unix 1 [ ] STREAM CONNECTED 1396 > unix 1 [ ] STREAM CONNECTED 1395 > unix 1 [ ] STREAM CONNECTED 1392 > unix 1 [ ] STREAM CONNECTED 1391 > unix 1 [ ] STREAM CONNECTED 1388 > unix 1 [ ] STREAM CONNECTED 1387 > unix 1 [ ] STREAM CONNECTED 1384 > unix 1 [ ] STREAM CONNECTED 1383 > unix 1 [ ] STREAM CONNECTED 1381 > unix 1 [ ] STREAM CONNECTED 1380 > unix 1 [ ] STREAM CONNECTED 1377 > unix 1 [ ] STREAM CONNECTED 1376 > unix 1 [ ] STREAM CONNECTED 1374 > unix 1 [ ] STREAM CONNECTED 1373 > unix 0 [ ] DGRAM 1355 > unix 0 [ ] DGRAM 486 > unix 0 [ ] DGRAM 469 > unix 0 [ ] DGRAM 403 > unix 0 [ ] DGRAM 392 -- Manuel Amador (Rudd-O) --------------3F0FD8D006732218DB5BA327 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit user processes cannot bind to ports lower than 1024.  Never forget dat.

"Ronald L. Chichester" wrote:

I'm getting the exact same socket.error message that appeared on this
list in March, 2000.  (See the attached problem.txt file.)
Specifically, this is the error message that I get when I start zope.
The person who kindly identified the problem didn't provide a solution.
I have my netstat -a results attached as netstat.txt.  Could someone
tell me how I can resolve this port conflict?

Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.

Thanks in advance,

Ron
 ./.

This is the reply that was provided to the first person who encountered
this problem (and submitted it to the list):

<MESSAGE>

You have another process that is "bind" to port 98...

this is the registered port for "tacnews".

try "netstat -a" under the shell...

----- Message d'origine -----
De : Ulf Byskov <ulf.byskov@comptel.com>
À : <zope@zope.org>
Envoyé : lundi 13 mars 2000 11:28
Objet : [Zope] socket problem

> When I try to start Z Server i get the following error messages:
>
>     File
>
"/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a

syncore.py",
> line 205, in bind
>     return self.socket.bind (addr)
>     socket.error: (98, 'Address already in use')
>
>
> I don't use the number 98 in any address or port (http=80, ftp='' and
> monitor='')
> so what could this error be about ?
>
>
>

</MESSAGE>

  ------------------------------------------------------------------------
[nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
------
2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
------
2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt  8 00:31:03 2000
        Hostname: localhost.localdomain
        Port:8080

Traceback (innermost last):
        File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ?
                logger_object=lg)
        File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__
                apply(ftp_server.__init__, (self, None) + args, kw)
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in              __init__ self.bind ((self.ip, self.port))
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind           return self.socket.bind (addr)
socket.error: (98, ?Address already in use?)

  ------------------------------------------------------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:6000                  *:*                     LISTEN
tcp        0      0 *:3053                  *:*                     LISTEN
tcp        0      0 *:8021                  *:*                     LISTEN
tcp        0      0 *:postgres              *:*                     LISTEN
tcp        0      0 *:www                   *:*                     LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 *:printer               *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
tcp        0      0 *:telnet                *:*                     LISTEN
tcp        0      0 *:ftp                   *:*                     LISTEN
tcp        0      0 *:auth                  *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
udp        0      0 *:xdmcp                 *:*
udp        0      0 *:sunrpc                *:*
raw        0      0 *:icmp                  *:*                     7
raw        0      0 *:tcp                   *:*                     7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         STREAM     CONNECTED     26342  @000000d9
unix  0      [ ACC ]     STREAM     LISTENING     1402   public/showq
unix  0      [ ACC ]     STREAM     LISTENING     1398   private/smtp
unix  0      [ ACC ]     STREAM     LISTENING     1389   private/bounce
unix  0      [ ]         STREAM     CONNECTED     194    @0000001d
unix  1      [ ]         STREAM     CONNECTED     26259  @000000cb
unix  0      [ ACC ]     STREAM     LISTENING     2816   /var/run/pcgi.soc
unix  0      [ ACC ]     STREAM     LISTENING     1406   private/error
unix  9      [ ]         DGRAM                    382    /dev/log
unix  0      [ ACC ]     STREAM     LISTENING     2792   /tmp/.font-unix/fs-1
unix  0      [ ACC ]     STREAM     LISTENING     1687   /dev/gpmctl
unix  0      [ ACC ]     STREAM     LISTENING     1410   private/local
unix  0      [ ACC ]     STREAM     LISTENING     1414   private/cyrus
unix  1      [ ]         STREAM     CONNECTED     26267  @000000ce
unix  1      [ ]         STREAM     CONNECTED     26253  @000000c8
unix  0      [ ACC ]     STREAM     LISTENING     2848   /tmp/.X11-unix/X0
unix  0      [ ACC ]     STREAM     LISTENING     1418   private/uucp
unix  1      [ ]         STREAM     CONNECTED     26269  @000000cf
unix  0      [ ACC ]     STREAM     LISTENING     1422   private/ifmail
unix  1      [ ]         STREAM     CONNECTED     26263  @000000cc
unix  0      [ ACC ]     STREAM     LISTENING     1427   private/bsmtp
unix  1      [ ]         STREAM     CONNECTED     26265  @000000cd
unix  1      [ N ]       STREAM     CONNECTED     26277  @000000d1
unix  0      [ ACC ]     STREAM     LISTENING     473    /dev/printer
unix  1      [ ]         STREAM     CONNECTED     26292  @000000d2
unix  0      [ ACC ]     STREAM     LISTENING     26275  /tmp//kfm_501_1753localhost.localdomain_0
unix  1      [ ]         STREAM     CONNECTED     26247  @000000c6
unix  1      [ ]         STREAM     CONNECTED     26177  @000000b5
unix  1      [ N ]       STREAM     CONNECTED     26271  @000000d0
unix  1      [ ]         STREAM     CONNECTED     26180  @000000b6
unix  0      [ ACC ]     STREAM     LISTENING     1378   private/cleanup
unix  1      [ ]         STREAM     CONNECTED     26312  @000000d5
unix  0      [ ACC ]     STREAM     LISTENING     1385   private/rewrite
unix  0      [ ACC ]     STREAM     LISTENING     26273  /tmp//kio_501_1753localhost.localdomain_0
unix  0      [ ACC ]     STREAM     LISTENING     2749   /tmp/.s.PGSQL.5432
unix  0      [ ACC ]     STREAM     LISTENING     1393   private/defer
unix  0      [ ]         DGRAM                    26354
unix  1      [ ]         STREAM     CONNECTED     26343  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26313  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26293  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26278  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26272  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26270  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26268  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26266  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26264  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26260  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26254  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26248  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26181  /tmp/.font-unix/fs-1
unix  1      [ ]         STREAM     CONNECTED     26182  /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    2813
unix  0      [ ]         DGRAM                    2812
unix  0      [ ]         DGRAM                    1464
unix  1      [ ]         STREAM     CONNECTED     1430
unix  1      [ ]         STREAM     CONNECTED     1429
unix  1      [ ]         STREAM     CONNECTED     1425
unix  1      [ ]         STREAM     CONNECTED     1424
unix  1      [ ]         STREAM     CONNECTED     1421
unix  1      [ ]         STREAM     CONNECTED     1420
unix  1      [ ]         STREAM     CONNECTED     1417
unix  1      [ ]         STREAM     CONNECTED     1416
unix  1      [ ]         STREAM     CONNECTED     1413
unix  1      [ ]         STREAM     CONNECTED     1412
unix  1      [ ]         STREAM     CONNECTED     1409
unix  1      [ ]         STREAM     CONNECTED     1408
unix  1      [ ]         STREAM     CONNECTED     1405
unix  1      [ ]         STREAM     CONNECTED     1404
unix  1      [ ]         STREAM     CONNECTED     1401
unix  1      [ ]         STREAM     CONNECTED     1400
unix  1      [ ]         STREAM     CONNECTED     1396
unix  1      [ ]         STREAM     CONNECTED     1395
unix  1      [ ]         STREAM     CONNECTED     1392
unix  1      [ ]         STREAM     CONNECTED     1391
unix  1      [ ]         STREAM     CONNECTED     1388
unix  1      [ ]         STREAM     CONNECTED     1387
unix  1      [ ]         STREAM     CONNECTED     1384
unix  1      [ ]         STREAM     CONNECTED     1383
unix  1      [ ]         STREAM     CONNECTED     1381
unix  1      [ ]         STREAM     CONNECTED     1380
unix  1      [ ]         STREAM     CONNECTED     1377
unix  1      [ ]         STREAM     CONNECTED     1376
unix  1      [ ]         STREAM     CONNECTED     1374
unix  1      [ ]         STREAM     CONNECTED     1373
unix  0      [ ]         DGRAM                    1355
unix  0      [ ]         DGRAM                    486
unix  0      [ ]         DGRAM                    469
unix  0      [ ]         DGRAM                    403
unix  0      [ ]         DGRAM                    392

-- 
Manuel Amador (Rudd-O)
  --------------3F0FD8D006732218DB5BA327-- From amador@alomega.com Tue Oct 17 05:55:46 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:55:46 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <39EBDBD2.B1E59A2D@alomega.com> --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit which publications? it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying. knight wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > > ;-) > > Especially to all Linux supporters for the badwill of the emails title. > > > > I would really be interested in its correct results. > > > > Cheers everyone > > Especially with all this press I've seen in publications over the last > month or two regarding Windows 2000 is outperforming *nix. (over my dead > _dead_ body) > > Knight > > > > > > > Failed requests: 137 > > > > > > No - look at your results. Every request failed on the win32 > > > box (and they all succeeded on linux). You have some sort of > > > problem in your windows setup, and you'll always get higher > > > throughput for errors than you can for completed requests... > > > > > > > > > Brian Lloyd brian@digicool.com > > > Software Engineer 540.371.6909 > > > Digital Creations http://www.digicool.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 ) > > > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit which publications?

it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying.

knight wrote:

> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly?
> ;-)
> Especially to all Linux supporters for the badwill of the emails title.
>
> I would really be interested in its correct results.
>
> Cheers everyone

Especially with all this press I've seen in publications over the last
month or two regarding Windows 2000 is outperforming *nix. (over my dead
_dead_ body)

Knight

>
> > > Failed requests:        137
> >
> > No - look at your results. Every request failed on the win32
> > box (and they all succeeded on linux). You have some sort of
> > problem in your windows setup, and you'll always get higher
> > throughput for errors than you can for completed requests...
> >
> >
> > Brian Lloyd        brian@digicool.com
> > Software Engineer  540.371.6909
> > Digital Creations  http://www.digicool.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 )
>
>

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

-- 
Manuel Amador (Rudd-O)
  --------------4EB930CA3D0F8F5E5A659AB0-- From amador@alomega.com Tue Oct 17 06:31:32 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:31:32 -0500 Subject: [Zope] security quickie References: Message-ID: <39EBE434.24853F76@alomega.com> --------------4E918131C9B66C86068C1D92 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff. It so happens that I have this setup rootfolder + myfolderobjects + inheritedstuff i have an user X in root folder. Roles are so that anonymous doesn't have permission for anything. Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff. He now can see index_html. I proxy-role index_html to the User role so i can that is into myfolderobjects, being somestuff a DTMLmethod. It works. X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects BUT, if I try to , it won't work. Note that the User role does have permission to run SQL methods. That's in my point of view, a mistake in Zope's security policy. If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy. Please help or tip. Thanks =) Seb Bacon wrote: > Does Zope security provide a way of restricting what objects are listed to > an authenticated user inside the Zope 'manage' interface? I'm getting my > head all twisted up over this security / proxy roles /local roles lark. > > Thanks, seb > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4E918131C9B66C86068C1D92 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff.

It so happens that I have this setup

rootfolder
+   myfolderobjects
      +    inheritedstuff

i have an user X in root folder.  Roles are so that anonymous doesn't have permission for anything.   Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff.  He now can see index_html.  I proxy-role index_html to the User role
so i can <dtml-var somestuff> that is into myfolderobjects, being somestuff a DTMLmethod.

It works.  X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects
 

BUT, if I try to <dtmlvar somesqlmethod>, it won't work.  Note that the User role does have permission to run SQL methods.

That's in my point of view, a mistake in Zope's security policy.  If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy.

Please help or tip.  Thanks =)
 

Seb Bacon wrote:

Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface?  I'm getting my
head all twisted up over this security / proxy roles /local roles lark.

Thanks, seb

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

-- 
Manuel Amador (Rudd-O)
  --------------4E918131C9B66C86068C1D92-- From amador@alomega.com Tue Oct 17 06:34:05 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:34:05 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <39EBE4CD.57CFF596@alomega.com> --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux. a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux. Toby Dickenson wrote: > On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" > wrote: > > >Definitely, yea! > > > >> I would really be interested in its correct results. > > We have been stress testing our Zope application on NT and Linux. Our > conclusion is that OS is not a factor in Zope performance. > > Toby Dickenson > tdickenson@geminidataloggers.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 ) -- Manuel Amador (Rudd-O) --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux.  a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux.
 

Toby Dickenson wrote:

On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
<konermann@inf.tu-dresden.de> wrote:

>Definitely, yea!
>
>> I would really be interested in its correct results.

We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.

Toby Dickenson
tdickenson@geminidataloggers.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 )

-- 
Manuel Amador (Rudd-O)
  --------------5A9018FBEE797DA68B4E7AFC-- From amador@alomega.com Tue Oct 17 06:38:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:38:47 -0500 Subject: [Zope] Animated GIFs References: <39DDE0B0.B461CE18@debis.com> <002f01c02feb$c4940970$01d4a8c0@peppe> <39E1B0D1.3A7C21C8@debis.com> Message-ID: <39EBE5E7.E972E7F5@alomega.com> --------------16F0CA6E3F92DF034E590278 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file. that means zope is mangling the file. try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case. Lars Heber wrote: > Peter Bengtsson schrieb: > > > [Just checking.] > > Have you tried to acctually _use_ the animated gif in context with other HTML? > > I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab. > > > > Excuse the childish suggestion. > > Any help is appreciated!!! > > I tried your suggestion. The animGif works fine with every kind of HTML. > I really think it's a Zope problem. > Also the gif downloaded from Zope works with HTML outside Zope. > The following doesn't work as well: > Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem... > > > the title > > > > I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem! > > Any more ideas, please? > > Thanks. > > Lars > > > ----- Original Message ----- > > From: "Lars Heber" > > To: > > Sent: Friday, October 06, 2000 3:24 PM > > Subject: [Zope] Animated GIFs > > > > > Hi there, > > > > > > I've got a strange problem. > > > > > > I want to upload an animated GIF to my Zope, but when I want to view it, > > > > > > animation stops at the last frame instead of looping indefinitely. > > > > > > When not uploaded to Zope, the animation works fine, > > > also, when I download the GIF by rightclick from a Zope site and view > > > it again outside Zope, it works perfectly! > > > > > > What's going on here??? Any ideas? > > > > > > PS.: The content_type is image/gif. > > > Do animGifs have another one? Just an idea... > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------16F0CA6E3F92DF034E590278 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file.  that means zope is mangling the file.

try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case.
 

Lars Heber wrote:

Peter Bengtsson schrieb:

> [Just checking.]
> Have you tried to acctually _use_ the animated gif in context with other HTML?
> I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab.
>
> Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem...

<html>
<head><title>the title</title></head>
<body><img src="http://localhost:8080/animGif"></body>
</html>

I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem!

Any more ideas, please?

Thanks.

Lars

> ----- Original Message -----
> From: "Lars Heber" <lheber@debis.com>
> To: <zope@zope.org>
> Sent: Friday, October 06, 2000 3:24 PM
> Subject: [Zope] Animated GIFs
>
> > Hi there,
> >
> > I've got a strange problem.
> >
> > I want to upload an animated GIF to my Zope, but when I want to view it,
> >
> > animation stops at the last frame instead of looping indefinitely.
> >
> > When not uploaded to Zope, the animation works fine,
> > also, when I download the GIF by rightclick from a Zope site and view
> > it again outside Zope, it works perfectly!
> >
> > What's going on here??? Any ideas?
> >
> > PS.: The content_type is image/gif.
> >         Do animGifs have another one? Just an idea...
>

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

-- 
Manuel Amador (Rudd-O)
  --------------16F0CA6E3F92DF034E590278-- From amador@alomega.com Tue Oct 17 06:48:44 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:48:44 -0500 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39EBE83C.68B62F16@alomega.com> --------------354AC2F22E5025E283A14E15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods. I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form. Heymann William wrote: > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. > > Thanks > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------354AC2F22E5025E283A14E15 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods.  I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form.

Heymann William wrote:

I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be assigned to the varialbe
if a valid object can not by found. I don't really have a problem if this
involves python coding I just need a place to start.

Thanks

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

-- 
Manuel Amador (Rudd-O)
  --------------354AC2F22E5025E283A14E15-- From amador@alomega.com Tue Oct 17 06:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:49:47 -0500 Subject: [Zope] zope 2.2.2 not compiling References: <007b01c03288$138ad2e0$0102a8c0@rokmil.ee> Message-ID: <39EBE87B.3B4454A7@alomega.com> --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment. Or there is a zip around, called UnxUtils.zip. do a google search and get it. Lace its contents into a folder in your PATH. Roland Tepp wrote: > Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on > WinNT to run without pcgi and it fails (console output following this letter). > > I tried to track down the problem but I don't seem to make any progress. > Could You help me please... > > ------------------------------------------------------------------------------ > Compiling python modules > > ------------------------------------------------------------------------------ > Building extension modules > > ------------------------------------------------ > Compiling extensions in lib/python > cp D:\Python/lib/python/config/Makefile.pre.in . > The name specified is not recognized as an > internal or external command, operable program or batch file. > Traceback (innermost last): > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ? > if __name__=='__main__': main(sys.argv[0]) > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main > import build_extensions > File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ? > make('lib','python') > File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make > do("cp %s ." % wheres_Makefile_pre_in()) > File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do > if i and picky: raise SystemError, i > SystemError: 1 > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment.  Or there is a zip around, called UnxUtils.zip.  do a google search and get it.  Lace its contents into a folder in your PATH.

Roland Tepp wrote:

Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
WinNT to run without pcgi and it fails (console output following this letter).

I tried to track down the problem but I don't seem to make any progress.
Could You help me please...

------------------------------------------------------------------------------
Compiling python modules

------------------------------------------------------------------------------
Building extension modules

------------------------------------------------
Compiling extensions in lib/python
cp D:\Python/lib/python/config/Makefile.pre.in .
The name specified is not recognized as an
internal or external command, operable program or batch file.
Traceback (innermost last):
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main
    import build_extensions
  File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ?
    make('lib','python')
  File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make
    do("cp %s ." % wheres_Makefile_pre_in())
  File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 1

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

-- 
Manuel Amador (Rudd-O)
  --------------A96A99DD5F1A869E4BA9CBAB-- From amador@alomega.com Tue Oct 17 06:53:09 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:53:09 -0500 Subject: [Zope] REQUEST.set size References: <39E2DDF0.5D1924@oratrix.com> Message-ID: <39EBE945.9E472ACF@alomega.com> --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: > Hi all, > > I am new to Zope but worked for 2 years in a dev-env called Uniface so > Im fairly up to speed on Zope quickly. But I am having a problem writing > data through a REQUEST.set that is larger than its apparent limit. > (sorry can remember the exact error i get from Zope) > > What I am trying to do is collect in a field a large list of emails that > are gathered in a dtml-in statement with a REQUEST.set('all', all + > email) nested in the loop. While appending the namespace to store the > data in PGSQL, i always get the size error which i assume is coming from > the publisher saying that a the request can only have a byte size of > 1800 bytes or so. > > Im not so hot with straight SQL because Uniface had its own methods, so > Im not sure if I can append data directly to a stored field or if I need > to continue trying to use the REQUEST.set. After the hundreth occurence > in the IN, the namespace I use to store the appended data, so I cannot > fully make a list of 2000 occurences. Any ideas? > > Sorry, no code to show what Im doing but it should be pretty easy to > understand for all you veterans out there... > > TIA, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary.  Anyone can help with the syntax?  I can't remember... =)
Paul Zwarts wrote:
Hi all,

I am new to Zope but worked for 2 years in a dev-env called Uniface so
Im fairly up to speed on Zope quickly. But I am having a problem writing
data through a REQUEST.set that is larger than its apparent limit.
(sorry can remember the exact error i get from Zope)

What I am trying to do is collect in a field a large list of emails that
are gathered in a dtml-in statement with a REQUEST.set('all', all +
email) nested in the loop. While appending the namespace to store the
data in PGSQL, i always get the size error which i assume is coming from
the publisher saying that a the request can only have a byte size of
1800 bytes or so.

Im not so hot with straight SQL because Uniface had its own methods, so
Im not sure if I can append data directly to a stored field or if I need
to continue trying to use the REQUEST.set. After the hundreth occurence
in the IN, the namespace I use to store the appended data, so I cannot
fully make a list of 2000 occurences. Any ideas?

Sorry, no code to show what Im doing but it should be pretty easy to
understand for all you veterans out there...

TIA,

--
Paz
Oratrix Development BV
http://www.oratrix.com
GRiNS SMIL Editor
-

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

-- 
Manuel Amador (Rudd-O)
  --------------245C6E38D0EACB6D5EC5D549-- From jacintha.menezes@wipro.com Tue Oct 17 07:43:54 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 17 Oct 2000 12:13:54 +0530 Subject: [Zope] urgent Message-ID: <018901c03805$9df75d40$f5dea8c0@wipro.com> hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha From roos@stanford.edu Tue Oct 17 07:48:02 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Mon, 16 Oct 2000 23:48:02 -0700 (PDT) Subject: [Zope] (no subject) Message-ID: I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: manage_addProperty(name='foo', value='bar', type='string') The 's don't get an error, so I must be popping namespaces on properly. But the manage_addProperty always results in: invalid attribute name, "manage_addproperty(name", for tag , on line 10 of makeSched =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about housing for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From ws@gmd.de Tue Oct 17 08:51:09 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 09:51:09 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: Message-ID: <39EC210D.10012.52485E5@localhost> On 16 Oct 2000, 12:27 Damien Morton wrote: > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > ignKMS ols.htm > > Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From paul.zwarts@oratrix.com Tue Oct 17 09:06:51 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 10:06:51 +0200 Subject: [Zope] Upgrade from 201 to 222 Message-ID: <39EC089B.DB715904@oratrix.com> Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both verisons, but before I was able to export an entire folder and then import it. Now from old to new, I get an error Error Type: TypeError Error Value: ('len() of unsized object', , None) What does this mean? I can still import single objects, but it is a major pain to import one by one, as there so many. Using an XML type doesnt work either because you cannot seem to apply that to a folder of objects either. Does anyone know about any issues that deal with this problem or am I missing something? Cheers and TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From leedm@state.mi.us Tue Oct 17 09:34:03 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 04:34:03 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From grizel@mouli.net Tue Oct 17 09:38:18 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Tue, 17 Oct 2000 10:38:18 +0200 Subject: [Zope] [OT ?... HTTP ?...] redirect W/ POST data Message-ID: <39EC0FFA.65A792CF@mouli.net> Hi, [This message may be off-topic.... Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=value&so_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed RESPONSE.headers with such data - although I'm not sure of it - but is there a better way (if there is a way...) to do this ?... Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From odeckmyn.list@teaser.fr Tue Oct 17 09:51:58 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Tue, 17 Oct 2000 10:51:58 +0200 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) References: Message-ID: <018d01c03817$82023580$0d00000a@ODECKMYN2K> Ok...No problem...We will... ----- Original Message ----- From: "Darin Lee" To: Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > > > > > > _______________________________________________ > 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 ) > > From mtaylor@goldridge.net Tue Oct 17 11:37:49 2000 From: mtaylor@goldridge.net (Monty Taylor) Date: Tue, 17 Oct 2000 12:37:49 +0200 Subject: [Zope] MySQL and Zope struggles References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <39EC2BFD.175F7DDA@goldridge.net> You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select note_id, notes from foo; This does assume that the note_id is unique. You may also need to explicitly drop foo, because it goes away when you disconnect, but of course Zope holds connections open. !!! However -- now that I think of it... you can just do: replace into Note select note_id, "New Note" from Artist where artist_id=23; Of couse, this will change all notes for an artist, so it assumes the artist_id is unique as well. (Which I would assume it is from your model.) If you need more complex things, look into temporary tables, but the MySQL extension (like replace) do allow you to do fun things. Hope this helps, Monty Richard Moon wrote: > Nice idea. Trouble is the note table is used to hold notes for many > different reasons, so it looks like this - > > ----------- ------------ -------- > | Artist | | Recording | | Label | etc. > ----------- ------------ -------- > | artist_id | |recording_id| |label_id| > | note_id | |note_id | |note_id | > ----------- ------------ -------- > | | | | | > --------------------------------------------------------- > | > ---------- > | Note | > ---------- > | note_id | > | notes | > ---------- > > It looks as if there wasn't anything I was missing - I'm just going to have > to break the code up into separate SQL Methods. > > The example I gave was quite simple compared to some of the updates I have > to deal with. > > Thanks anyway. > > At 17:40 16/10/00, you wrote: > >Or you could renormalize your data to have: > > > > --------- ----------- > >| Artist | | Note | > >|---------|-------|-----------| > >| id | | id | > > --------- | artist_id | > > | note_str | > > ----------- > > > >you now have a list of notes by artist_id. > >You typically won't have a screen that doesn't have an Artist context > >to be adding a note to. (or to remove all notes from). > >Of course this means more work to migrate :-( > >And I don't know all possible scenarios for which you would > >need the structure you gave, but it is another way around this. > >It probably doesn't solve real complex scenarios either. > > > >JAT > > > >Dale > > Richard Moon > richard@dcs.co.uk > > _______________________________________________ > 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 ) From tony.mcdonald@ncl.ac.uk Tue Oct 17 10:11:56 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 17 Oct 2000 10:11:56 +0100 Subject: [Zope] Medusa Monitor In-Reply-To: References: <39E63EFA.FE2BF947@adroit.net> Message-ID: At 1:18 pm -0700 16/10/00, Karl Anderson wrote: >Terry Kerr writes: > >> I don't think the monitor gives you any advantage? I have never >>used a ptyhon prompt before...I will have to give it a go. >> >> terry > >Actually, the advantage of the monitor is that it runs in the same >process as your server, so you can track resource issues. Mounting >the database separately avoids this. > >-- >Karl Anderson karl@digicool.com Karl, Is there anywhere documented that describes how to track resource issues? I regularly have Zope processes that hit 150 Megs of RAM and would like to know if I'm doing anything dopey. cheers tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hamish_lawson@yahoo.co.uk Tue Oct 17 12:10:52 2000 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Tue, 17 Oct 2000 12:10:52 +0100 (BST) Subject: [Zope] Roles as members of other roles? Message-ID: <20001017111052.73778.qmail@web218.mail.yahoo.com> I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish Lawson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From stefan@epy.co.at Tue Oct 17 12:15:26 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Tue, 17 Oct 2000 13:15:26 +0200 (CEST) Subject: [Zope] Force DTML evaluation? Message-ID: I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could use like like ? My second try was to derive from DTMLDocument but I could for the heck of it not figure out how to call the baseclass' methods. In python I would use baseclassname.method() but this seems impossible in ZClasses... Any insights appreciated, Stefan From chrisw@nipltd.com Tue Oct 17 12:49:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:49:39 +0100 Subject: [Zope] Name lookup emulation with a Product References: <39DC53E3.5D0FAC8E@mouli.net> <39DC55FA.1140FD89@nipltd.com> <39DC5A0D.CFB95BC3@mouli.net> <39DC5F71.D7FAA2F8@nipltd.com> <39DC6173.CAC3FD3A@mouli.net> Message-ID: <39EC3CD3.57D93BD1@nipltd.com> Pierre-Julien Grizel wrote: > > I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) > and, if I must, I can replace m1 and m2 with a __call__ method taking > another parameter specifying what kind of action it has to do. > Well, there's another little gem which got covered in a later bit of that thread. Try defining your method like: m1isDocTemp=1 def m1(self,ignored,md): # Your method here Also, check out the code in: which is really helpful in this area. In fact, a FunctionTemplate may be exactly what you're looking for... HTH, Chris From mdanaii@yahoo.com Tue Oct 17 12:51:43 2000 From: mdanaii@yahoo.com (Marc DANAI) Date: Tue, 17 Oct 2000 04:51:43 -0700 (PDT) Subject: [Zope] Question about Managed Meeting and ZopePTK Message-ID: <20001017115143.5072.qmail@web4005.mail.yahoo.com> Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any suggestion? Thank's __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From complaw@hal-pc.org Tue Oct 17 12:45:00 2000 From: complaw@hal-pc.org (Ronald L. Chichester) Date: Tue, 17 Oct 2000 06:45:00 -0500 Subject: [Zope] DUMB NEWBIE QUESTION References: <"38692F84.AAC1.045E.000*/c=us/admd= /prmd=or.gov/o=MB/ou=gwise/s=Curtis/g=David/"@MHS> Message-ID: <39EC3BBC.905D5ACD@hal-pc.org> I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works for RedHat and Mandrake. Should also work for Turbo Linux and may work for others. That should get you started. Hope that helps. Ron ./. CURTIS David wrote: > Friends of Zope, > > I am trying to get MySQL database connection installed. I was told that I need to use source Zope instead of RPM's ! Fine with me but how do I install Zope source over RPM. I tried unpacking Zope Source and installing but it creates a new directory tar -xvf Zope-2.1 instead of creating a /var/zope. Also zope starts automatically. Are there techniques to work around this??? > > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 17 12:53:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:53:22 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> Message-ID: <39EC3DB2.9474C606@nipltd.com> Michael Bernstein wrote: > On a slightly different note, I think that the permissions > list should be viewable in two more ways: A view where > permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for me :-) cheers, Chris From chrisw@nipltd.com Tue Oct 17 12:58:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:58:19 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: Message-ID: <39EC3EDB.229D6181@nipltd.com> Seb Bacon wrote: > edit a document through webDAV but *not* TTW. In my mind, you're either > authenticated to do a task, or you're not. It doesn't matter *how* you do > it. That's why 'listable' or something like it would be a better name for > the permission than 'URL Traversable', IMHO (although they both sound > *ugly*). Very good points :-) Chris From chrisw@nipltd.com Tue Oct 17 13:01:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:01:06 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14818.55701.154156.292890@lindm.dm> <14819.25118.478651.799581@lindm.dm> Message-ID: <39EC3F82.A23EEF1@nipltd.com> Dieter Maurer wrote: > Management, however, would be more difficult, as there are no > good defaults for the "URL Traversable" permission. > It is not easy, to determine (e.g.) for a DTML method/document > whether it is only used as a component (such as > "standard_html_header") or is a full grown presentation method. The defaults should be as it is now, ie: everything is visible/travesable unless you tell it not to be... cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:03:18 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:03:18 +0100 Subject: [Zope] Re: Quoting References: <14818.56839.467717.988389@lindm.dm> <39E2F3F7.FCC24885@nipltd.com> <14819.24453.263795.850378@lindm.dm> Message-ID: <39EC4006.AF926BCE@nipltd.com> Dieter Maurer wrote: > Where would you use this "id_quote"? > The only useful place might be the action of an object creation > or renaming. Exactly... > However, I am not sure, that I would prefer to get a strangely > encoded id rather than an exception that tells me some characters > are not allowed in Id's. But if you're automatically creating ids from text people have typed in (and they'll never need to know the id's) it seems nicer to me for the id to be automatically mangled to what it needs to be ratehr than throwing a confusign error (which doesn't actually tell you which character(s) are not allowed, IIRC) cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:06:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:06:03 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14821.36358.972286.290879@lindm.dm> <14823.24484.984596.626290@lindm.dm> Message-ID: <39EC40AB.CE6395E3@nipltd.com> Dieter Maurer wrote: > My primary concern (and maybe Chris') is, how can we prevent > these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris From neeloy_saha@infy.com Tue Oct 17 13:12:00 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Tue, 17 Oct 2000 17:42:00 +0530 Subject: [Zope] Searching a LocalFS through Zope Message-ID: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -----Original Message----- From: Guido van Rossum [mailto:guido@python.org] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; 'webmaster@pythonlabs.com' Subject: Re: Migrating website to zope..... Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) > Subject: Migrating website to zope..... > From: neeloy_saha > To: "'pythoneers@beopen.com'" > Cc: "'info@beopen.com'" , > "'webmaster@pythonlabs.com'" > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > Hi all, > > Sorry if u receive this mail multiple times.....I need help desperately. > > I am working in a migration project where I am trying to reenginer my > website from the html/cgi based thing to zope.[something like urs > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy > static html documents which I want to use "as it is". So I have taken help > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used > it to serve the html documents. > > Now I am facing a tricky issue of how to do a search on those files ( html > )as i do not find any patch which makes them a part of the Zcatalog. I am > using the Zcatalog to do the search on other contents of my site. > > I guess u might have faced the same issue and implemented the search. I > desperately need help on this issue. any pointers/code/patches/contact > person /how u went abt it!! would be welcome. > > Thx in advance. > > -neeloy > India From leedm@state.mi.us Tue Oct 17 13:40:49 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 08:40:49 -0400 Subject: [Zope] Away Message (Apologies) Message-ID: Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department of Environmental Quality Office of Automation Coordination Phone: (517) 241-5214 Fax: (517) 241-8379 From praveen_katiyar@infy.com Tue Oct 17 14:45:53 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 17 Oct 2000 19:15:53 +0530 Subject: [Zope] Searching through the contents of Pdf/Word/latex Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77CF@TWRMSG01> Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of pdf/doc/latex files. I have looked into HowTo's and the documentation. But being a zope newbie I am finding it difficult to find a way out. I guess that somewhere while making the catalog one has to use converters(pdftotext....and its like) and probably then use that to index those documents. Has anyone done this before. Regards, Praveen Katiyar From nichols@tradingconnections.com Tue Oct 17 15:08:51 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 17 Oct 2000 09:08:51 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016142102.A17053@enteract.com> References: <39EB447B.4060801@vt.edu> <39EB447B.4060801@vt.edu> Message-ID: <4.3.2.7.2.20001017090501.00dbad60@tradingconnections.com> At 10/16/00 02:21 PM, Fred Yankowski wrote: >Thank you both for the help. File objects are just the ticket (but it >turns out that Image objects work nearly as well). For the record, >here's what I did: In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols nichols@tradingconnections.com From dsergent@imexpert.com Tue Oct 17 15:52:41 2000 From: dsergent@imexpert.com (dsergent@imexpert.com) Date: Tue, 17 Oct 2000 16:52:41 +0200 Subject: [Zope] dtml-in Message-ID: Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot for your answer. david From mail@okstudio.com.au Tue Oct 17 17:00:16 2000 From: mail@okstudio.com.au (George Osvald) Date: Wed, 18 Oct 2000 02:00:16 +1000 Subject: [Zope] ZSQL question Message-ID: <000001c03853$57c8eac0$95f438cb@gosvald> I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George From chrisw@nipltd.com Tue Oct 17 16:00:56 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 16:00:56 +0100 Subject: [Zope] dtml-in References: Message-ID: <39EC69A8.85755C71@nipltd.com> dsergent@imexpert.com wrote: > But I was only able to print the name of the dtml document, how can I > execute the script write in the dtml document ? The following should do it: cheers, Chris From drusch@globalcrossing.com Tue Oct 17 16:12:10 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 17 Oct 2000 10:12:10 -0500 Subject: [Zope] urgent References: <018901c03805$9df75d40$f5dea8c0@wipro.com> Message-ID: <39EC6C4A.9137897F@globalcrossing.com> To: From: Subject: PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote: > > hi, > i am using zope(2.2.1) for sending mails, but it is not possible to send > attachment. > kindly let me know the reason have made use of mime to send attachment. > thanks, > jacintha > > _______________________________________________ > 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 ) From alexander@limi.net Tue Oct 17 16:20:27 2000 From: alexander@limi.net (Alexander Limi) Date: Tue, 17 Oct 2000 17:20:27 +0200 (CEST) Subject: [Zope] Message exchange between distributed python code Message-ID: Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore the post to this list :), but in essence this is not directly Zope related as much as a Python decision. One of my prerequisites is that the messaging should be as portable as possible. The message format will likely end up being XML-based, but what I want to know is what kind of message exchange methods are there that are portable and easy to move to another programming language if need be? You see, I am prototyping this thing in python, but some parts may be rewritten in C later on. All POSIX features will be available, so maybe I can use some of that? The suggestions I've gotten so far is: -SMTP (use SMTP to transfer a mail to the other machine containing the message, handle the mail with procmail and write it to a file that the other program can read) -XML-RPC (is this lightweight enough? and is it easy to handle, and does it take care of the transport of the message too? What about C clients/servers?) I think what I want is maybe something like Java's RMI, but it should work with both Python and C. Being able to send messages between programs without too much hassle or overhead while still remaining portable is my goal. Any advice appreciated. And please CC me, as I'm not on the list at the moment. -- Alexander Limi alexander@limi.net From Eric@Walstads.net Tue Oct 17 16:25:39 2000 From: Eric@Walstads.net (Eric Walstad) Date: Tue, 17 Oct 2000 08:25:39 -0700 Subject: [Zope] (no subject) In-Reply-To: Message-ID: Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: Hope it helps. Eric. // I want to create a large number of properties for a Zclass. // My Zclass has a propertysheet named Schedule. // // I've tried stuff like this: // // // // // manage_addProperty(name='foo', value='bar', type='string') // // // // // // The 's don't get an error, so I must be popping namespaces on // properly. But the manage_addProperty always results in: // // invalid attribute name, "manage_addproperty(name", for tag , on // line 10 of makeSched // // // =Rob====== // ====J===== // =====Roos= From paul.zwarts@oratrix.com Tue Oct 17 16:39:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 17:39:07 +0200 Subject: [Zope] ZSQL question References: <000001c03853$57c8eac0$95f438cb@gosvald> Message-ID: <39EC729B.A087D4FD@oratrix.com> > I have a table with lots of data in my Gadfly database. I would like to add > a couple of new columns to that table. Is it at all possible to add columns > to existing table or do I have to create a new table all together? > Nope, ALTER TABLE ADD i think should do it... Let me check ALTER TABLE memberlist ADD name VARCHAR Yep... that does it. Although I had tested this in PGSQL, Im sure it works for GadFly also. Since you are also inserting a new column you may want to initialize all current reocrds with a value, but I cant remember what it was... If you really need it, let me know, I'll dig in for you. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From apancani@topgroup.com.ar Tue Oct 17 17:28:08 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 13:28:08 -0300 Subject: [Zope] Stored Procedures Message-ID: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> This is a multi-part message in MIME format. ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 I=B4m using Zope with an Informix Database conected with ZODBC Product = and I need some information about how to call a STORED PROCEDURE I=B4m trying to call a STORED PROCEDURE that executes a simple query. I = do it using a ZSQL method, but when i try to test it, i receive the = error message "empty column name". Does anybody have any information = about that problem? ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
I=B4m using Zope with an Informix = Database conected=20 with ZODBC Product and I need some information about how to call a = STORED=20 PROCEDURE
I=B4m trying to call a STORED PROCEDURE = that executes=20 a simple query. I do it using a ZSQL method, but when i try to test = it, i=20 receive the error message "empty column name". Does anybody have = any=20 information about that problem?
------=_NextPart_000_00EB_01C0383E.16C7E220-- From chrisw@nipltd.com Tue Oct 17 17:51:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 17:51:39 +0100 Subject: [Zope] Re: =?iso-8859-1?Q?R=E9f?= . : Re: [ Zope ] dtml-in References: Message-ID: <39EC839B.A9E22C@nipltd.com> (keep copying to the list so other people can jump in and help) dsergent@imexpert.com wrote: > > thks a lot for your answer. It works, but I've a lot of dtml documents in > my folder, and it's tooooooooooooooooooo slow with the sequence-item tag > (less than one seconde with , and more than 10 secondes, with > . Do you know any explaination about that ??? Of course ;-) is rendering a single string. goes through and renders each whole document, which takes a lot longer... cheers, Chris From ws@gmd.de Tue Oct 17 18:16:51 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:16:51 +0200 Subject: [Zope] Stored Procedures In-Reply-To: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> Message-ID: <39ECA5A3.18247.72A6D78@localhost> Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/plain; > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From evan@4-am.com Tue Oct 17 18:36:07 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 17 Oct 2000 13:36:07 -0400 Subject: [Zope] Message exchange between distributed python code References: Message-ID: <009d01c03860$bb67c5d0$3e48a4d8@digicool.com> From: Alexander Limi > -XML-RPC > (is this lightweight enough? and is it easy to handle, and does it take > care of the transport of the message too? What about C clients/servers?) > > I think what I want is maybe something like Java's RMI, but it should work > with both Python and C. Being able to send messages between programs > without too much hassle or overhead while still remaining portable is my > goal. XML-RPC is fairly lightweight, but lightweight enough? No idea. It's a fairly simple XML-ish marshalling scheme that uses HTTP for transport, and URLs for method addressing. If all you want to send is lists and dicts containing simple types (lists, dicts, strings, numbers) it works great. There are Java libraries, and probably C/C++ as well. Cheers, Evan @ digicool & 4-am From scott@launchpoint.net Tue Oct 17 18:36:12 2000 From: scott@launchpoint.net (Scott Burton) Date: Tue, 17 Oct 2000 10:36:12 -0700 Subject: [Zope] __len__ Errors Message-ID: > 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. --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I seem to be getting __len__ errors: Error type: exceptions.AttributeError Error value: __len__ When accessing any method with an loop. I am running 2.1.6, with the current hot fixes. It seems to have started after installing the hot fixes. I can replicate it with a simple loop in a method. I read somewhere about the hotfix changing objects ownerships. Could this be causing this? If so, how do I remove a hotfix? It has rendered my discussion groups useless. TIA Scott --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable __len__ Errors I seem to be getting __len__ errors: Error type: exceptions.AttributeError
Error value: __len__
When accessing any method with an <dtml-in > loop.
I am running 2.1.6, with the current hot fixes. It seems to have started af= ter installing the hot fixes.
I can replicate it with a simple <dtml-in> loop in a method. I read s= omewhere about the hotfix changing objects ownerships. Could this be causing= this? If so, how do I remove a hotfix? It has rendered my discussion groups= useless.

TIA

Scott
--MS_Mac_OE_3054623773_59425_MIME_Part-- From ws@gmd.de Tue Oct 17 18:45:48 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:45:48 +0200 Subject: [Zope] bobobase_modification_time and .zexp Message-ID: <39ECAC6C.4299.744F0A7@localhost> import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? From asc@vineyard.net Tue Oct 17 19:04:12 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 17 Oct 2000 14:04:12 -0400 (EDT) Subject: [Zope] Determining permissions in a Product Message-ID: Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with the minimum set of permissions. If I understand the docs correctly, I have enabled the right flags but still I get prompted for a username/password when I try to add an item. Obviously, I would like to solve this problem I would be very interested to hear about more general approaches to problem solving products. Thanks, From apancani@topgroup.com.ar Tue Oct 17 19:08:47 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 15:08:47 -0300 Subject: [Zope] STORED PROCEDURES Message-ID: <013c01c03865$4bf873c0$8901a8c0@topgroup.com.ar> Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty column name". Does anybody have any information about that problem? From Marcin.Kasperski@softax.com.pl Tue Oct 17 19:18:52 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Tue, 17 Oct 2000 20:18:52 +0200 Subject: [Zope] bobobase_modification_time and .zexp References: <39ECAC6C.4299.744F0A7@localhost> Message-ID: <39EC980C.3C49C228@softax.com.pl> Wolfgang Strobl wrote: > > import/export obviously doesn't preserve time stamps (i.e. > bobobase_modification_time). This is unfortunate for any content > which depends on those timestamps. How do you people out there > solve this problem when it comes to moving content from different > Zope installations into a single one? > I just developed custom document ZClass which basically: - inherits from CatalogAware and DTML Document - contains custom property sheet which contains creationTime attribute (and some others, like meta_keywords or meta_summary) - constains constructor method which sets creationTime to current time. Wherever I need information when the page has been created, I use my creationTime attribute. I do not know how to implement 'modificationTime' attribute (or better: how to change it whenever someone edits or uploads the document). -- http://www.mk.w.pl / Marcin.Kasperski | O kredytach mieszkaniowych: @softax.com.pl | http://www.kupmieszkanie.w.pl/mieszkanie_kredyt @bigfoot.com \ From jburton@scw.org Tue Oct 17 19:21:59 2000 From: jburton@scw.org (Joel Burton) Date: Tue, 17 Oct 2000 14:21:59 -0400 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? Message-ID: <39EC6087.17333.FA79B38@localhost> I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: ... ... However, this requires lots of code. I'm trying to do it like this: Sorted by &dtml-sortby; () I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org) From jfarr@real.com Tue Oct 17 20:25:21 2000 From: jfarr@real.com (Jonothan Farr) Date: Tue, 17 Oct 2000 12:25:21 -0700 Subject: [Zope] Searching a LocalFS through Zope References: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Message-ID: <113401c03870$196e5e50$416917ac@poly> Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope > Hi all, > > Well I had sent this earlier but i want to resend this again!! I have not > yet received a reply back. > > Can anyone suggest me a way out ??? > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to **load the data.fs**. Now. I am running into > search problems. How do i do a search the filesystem file? and also ensure > that the search results come from both the filesystem files and the portal > zcatalog.?? > > I guess there are two ways ?? > ** attach a search engine to index on the filesystem files and let zcatalog > take care of the rest. > ** or make all those html files zcatalog aware.But then u cant look inside > pdf/latex/word docs or do u??. > > I guess I would prefer the first one !! gut feel probably that would require > less effort and I can support different file formats . Has anyone used a > FREE external search engine ith zope before.If so which one is it ??? > > -neeloy > > -----Original Message----- > From: Guido van Rossum [mailto:guido@python.org] > Sent: Monday, October 16, 2000 7:53 PM > To: neeloy_saha > Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; > 'webmaster@pythonlabs.com' > Subject: Re: Migrating website to zope..... > > > Strange though it seems, we are *not* Zope experts (yet). We used an > external volunteer to set up our site. I recommend that you post your > question to one of the Zope mailing lists -- see www.zope.org for > pointers. > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > Subject: Migrating website to zope..... > > From: neeloy_saha > > To: "'pythoneers@beopen.com'" > > Cc: "'info@beopen.com'" , > > "'webmaster@pythonlabs.com'" > > > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > > > Hi all, > > > > Sorry if u receive this mail multiple times.....I need help desperately. > > > > I am working in a migration project where I am trying to reenginer my > > website from the html/cgi based thing to zope.[something like urs > > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of > legacy > > static html documents which I want to use "as it is". So I have taken help > > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and > used > > it to serve the html documents. > > > > Now I am facing a tricky issue of how to do a search on those files ( > html > > )as i do not find any patch which makes them a part of the Zcatalog. I am > > using the Zcatalog to do the search on other contents of my site. > > > > I guess u might have faced the same issue and implemented the search. I > > desperately need help on this issue. any pointers/code/patches/contact > > person /how u went abt it!! would be welcome. > > > > Thx in advance. > > > > -neeloy > > India > > _______________________________________________ > 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 ) > From ws@gmd.de Tue Oct 17 20:25:18 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 21:25:18 +0200 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39EC980C.3C49C228@softax.com.pl> Message-ID: <39ECC3BE.15125.7A005BC@localhost> On 17 Oct 2000, 20:18 Marcin Kasperski wrote: > Wolfgang Strobl wrote: > > > > import/export obviously doesn't preserve time stamps (i.e. > > bobobase_modification_time). This is unfortunate for any content > > which depends on those timestamps. How do you people out there solve > > this problem when it comes to moving content from different Zope > > installations into a single one? > > > > I just developed custom document ZClass which basically: > - inherits from CatalogAware and DTML Document > - contains custom property sheet which contains creationTime attribute > (and some others, like meta_keywords or meta_summary) - constains > constructor method which sets creationTime to current time. > > Wherever I need information when the page has been created, I use my > creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? > > I do not know how to implement 'modificationTime' attribute (or > better: how to change it whenever someone edits or uploads the > document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From mj@digicool.com Tue Oct 17 20:51:12 2000 From: mj@digicool.com (Martijn Pieters) Date: Tue, 17 Oct 2000 21:51:12 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: <39EC210D.10012.52485E5@localhost>; from ws@gmd.de on Tue, Oct 17, 2000 at 09:51:09AM +0200 References: <39EC210D.10012.52485E5@localhost> Message-ID: <20001017215112.A25689@zopatista.com> On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: > On 16 Oct 2000, 12:27 Damien Morton wrote: > > > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > > ignKMS ols.htm > > > > Looks like MS has embraced the Zope way of doing things > > "You must have scripting enabled in order to view this site. Please modify > your browser's settings accordingly. " > Eeek. Try http://msdn.microsoft.com/library/techart/DesignKMSols.htm -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Tue Oct 17 20:51:21 2000 From: sebbacon@email.com (Seb Bacon) Date: Tue, 17 Oct 2000 20:51:21 +0100 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? In-Reply-To: <39EC6087.17333.FA79B38@localhost> Message-ID: I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was I'll dig out the patches as send them to you. seb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > Burton > Sent: 17 October 2000 19:22 > To: zope@zope.org > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > I'd like to create a DTML method that lists objects, sorting either by > name or modified-date. I know I can do this by: > > > > ... > > > ... > > > > However, this requires lots of code. I'm trying to do it like this: > > > Sorted by &dtml-sortby; > > > () > > > > I have a property, sortby, of the enclosing folder set to > "bobobase_modification_time"; when this method is called, it > dutifully reports that sortby=b_m_t; however, it doesn't sort things > this way (I can't tell exactly how it is sorting them, and when I > refresh, the order occasionally changes.) > > Any ideas? > > -- > Joel Burton, Director of Information Systems -*- jburton@scw.org > Support Center of Washington (www.scw.org) > > _______________________________________________ > 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 ) > From shervan@urbanlink.net Tue Oct 17 21:39:10 2000 From: shervan@urbanlink.net (Shervan Agard) Date: Tue, 17 Oct 2000 16:39:10 -0400 Subject: [Zope] Web Mail & Account creation. Message-ID: <39ECB8ED.7482F5D1@urbanlink.net> Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... From CwJohnso@bindview.com Tue Oct 17 21:29:28 2000 From: CwJohnso@bindview.com (Johnson, Chris) Date: Tue, 17 Oct 2000 15:29:28 -0500 Subject: [Zope] non oreilly zope book Message-ID: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj From andym@ActiveState.com Tue Oct 17 21:33:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:33:20 -0700 Subject: [Zope] IIS and PCGI Message-ID: <002001c03879$7cc09cd0$ae03a8c0@fork> Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for example http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope 2.2.1. Anyone encountered this and know the solution? Thanks. -- Andy McKay, Developer. ActiveState. From andym@ActiveState.com Tue Oct 17 21:39:49 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:39:49 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> Message-ID: <037301c0387a$64dd6390$ae03a8c0@fork> Is the same one that got cancelled? > Josh Zeidner wrote: > > > > WROX contacted me a while back saying they wanted to do a Zope book as > > well. Does anyone know anything about this? > > > > -josh > > Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming ----- Original Message ----- From: "Johnson, Chris" To: Sent: Tuesday, October 17, 2000 1:29 PM Subject: [Zope] non oreilly zope book > http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref > =aps_sr_b_1_3/104-9172912-5316749 > > > Take a look at wrox press december publish date for a Zope book. > > > > cj > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 17 21:41:46 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:41:46 -0700 Subject: [Zope] Web Mail & Account creation. References: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: <037901c0387a$aabd1d60$ae03a8c0@fork> There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... ----- Original Message ----- From: "Shervan Agard" To: Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail & Account creation. > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From rik.hoekstra@inghist.nl Tue Oct 17 21:51:35 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 17 Oct 2000 22:51:35 +0200 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> Message-ID: <011901c0387c$0ac8b600$fe5da182@michieltje> > Is the same one that got cancelled? > the very same Rik From zope@engelhaupt.com Tue Oct 17 22:00:09 2000 From: zope@engelhaupt.com (zope@engelhaupt.com) Date: Tue, 17 Oct 2000 21:00:09 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010172100.QAA30719@dawn.digitaldawn.com> I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin From andym@ActiveState.com Tue Oct 17 22:55:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 14:55:28 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> <011901c0387c$0ac8b600$fe5da182@michieltje> Message-ID: <0df901c03884$f68e66e0$ae03a8c0@fork> I wont rush out and get a copy then :P ----- Original Message ----- From: "Rik Hoekstra" To: "Andy McKay" ; "Johnson, Chris" ; Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book > > Is the same one that got cancelled? > > > > the very same > > Rik > > > _______________________________________________ > 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 ) > From Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" Tue Oct 17 23:01:48 2000 From: Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" (Rudd-O) Date: Tue, 17 Oct 2000 17:01:48 -0500 Subject: [Zope] Two questions regarding SQL Message-ID: <200010172201.RAA30311@zeus.usm.edu.ec> Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil From zope@grewen.de Tue Oct 17 23:01:36 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 18 Oct 2000 00:01:36 +0200 Subject: [Zope] Web Mail & Account creation. Message-ID: <002c01c03885$d23d1c40$0300a8c0@windows> > Take a look at http://demo.worldpilot.com:8080/site/. > > It´s a Zope product. > > Jens > > > ----- Original Message ----- > From: "Shervan Agard" > To: > Sent: Tuesday, October 17, 2000 10:39 PM > Subject: [Zope] Web Mail & Account creation. > > > > Is it possible to create a hotmail-like web email server using zope? > > Where users create their own account. > > > > I'd like some insight how-to's or any assistant. > > > > > > Thanks... > > Sherv... > > > > > > > > _______________________________________________ > > 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 ) > > > From neves@samba-choro.com.br Wed Oct 18 00:20:54 2000 From: neves@samba-choro.com.br (Paulo Eduardo Neves) Date: Tue, 17 Oct 2000 20:20:54 -0300 Subject: [Zope] GUF and IE friendly error messages Message-ID: <39ECDED6.3FAA7A2E@samba-choro.com.br> Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user friendly error page. If the user is told to change the IE configuration for not showing friendly errors, the login screen appears. It is not easy to setup for unexperienced users. When the http status is 400 (not found) IE shows the friendly error just for pages smaller than 512 bytes. Unfortunately, it doesn't work when the error status is 500 (server error). I've tried to change http status with RESPONSE.setStatus(200) in the standard_html_error, but it doesn't work. Is it possible to change the http status after an exception is raised? Can someone suggest a solution or workaround for this problem? Thanks in advance for any help, -- Paulo Eduardo Neves http://www.samba-choro.com.br From p@state-of-mind.de Tue Oct 17 23:56:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 18 Oct 2000 00:56:18 +0200 Subject: [Zope] AW: [Zope] Web Mail & Account creation. In-Reply-To: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify the /etc/passwd if I wanted to fullfill the points a), b) and c). Since I don't want anyone to touch that beside of root ;-) I am aiming to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice in connection with zope if you are willing to write something that emulates the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might write some python script to get ridd of 'cyradm'. After creating new users you can log them in using WorldPilot. p@rick > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Shervan Agard > Gesendet: Dienstag, 17. Oktober 2000 22:39 > An: zope@zope.org > Betreff: [Zope] Web Mail & Account creation. > > > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From jprettyman@acm.org Wed Oct 18 00:46:37 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 17 Oct 2000 16:46:37 -0700 Subject: [Zope] Want to access ZClass Instance from external program Message-ID: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon From michel@digicool.com Wed Oct 18 01:51:40 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 17 Oct 2000 17:51:40 -0700 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> Message-ID: <39ECF41C.744A05C7@digicool.com> Chris Withers wrote: > > Michael Bernstein wrote: > > On a slightly different note, I think that the permissions > > list should be viewable in two more ways: A view where > > permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit from super class permissions, so permission could be laid out in a heirarchical fasion. Permission Add Add Foos Edit Edit Bars Delete Delete Bobs View etc... we've thought about this before. implementation makes my brain hurt. -Michel From erik@pacific-shores.com Wed Oct 18 02:11:35 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 17 Oct 2000 18:11:35 -0700 Subject: [Zope] strange problem Message-ID: This is a DTML_Method I call from my standard_error_message: To: Webmaster <> From: ZopeServer <> Subject: Problem at Error Type: Error Value: Error Msg: : I call it like this: The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: : ...it works well. Thanks for you help. -- Erik Myllymaki erik@pacific-shores.com From kthangavelu@earthlink.net Tue Oct 17 23:00:44 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 15:00:44 -0700 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 References: <200010172100.QAA30719@dawn.digitaldawn.com> Message-ID: <39ECCC0C.D05B6916@earthlink.net> hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) >which python they probably aren't the same. just edit the start script accordingly. kapil zope@engelhaupt.com wrote: > > I have a working install of Zope 2.2.2. I installed the python module PoPy > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > README said to run a configure script but there was none. So I just moved the > ZPoPyDA directory it created into the lib/python/Products directory in my zope > home. > > Now for the strange part. When I start zope, I get the following: > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > Traceback (innermost last): > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > (Object: string) > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > ImportError: No module named PoPy > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > on my own. I created a file with the following line: > > import PoPy > > I ran 'python test' and no errors. I added the line: > > import bla > > And then ran 'python test' again just to be sure and it did die saying no such > module bla. I even typed 'import PoPy' in the python interactive shell and > nothing. So outside of zope, python seems to be able to import PoPy, but when > zope tries to import ZPoPyDA it claims there is no PoPy module. > > Any ideas? > > Thanks in advance, > Dustin > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:14:54 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:14:54 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: Message-ID: <39ECDD6E.BA8FD958@earthlink.net> Jon Prettyman wrote: > > I have a folder containing a bunch of ZClass instances that I want to > access from an external (non-web) python application. > > I need to be able to read the values of the instance properties. > > Is there a way to do this with the ZClient stuff? If not, what can I > use. If yes, any pointers? > > -jon its easiest to it with (IMO) xml-rpc and find your zclasses with calls to objectids and query the propertysheets directly for property info. check out http://www.zope.org/Members/Amos/xmlrpclib.py you'll need to fix a base class and an import. www.xml-rpc.com www.xml.com search for amos and zope.org for howtos on xmlrpc Cheers Kapil From kthangavelu@earthlink.net Wed Oct 18 00:16:13 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:16:13 -0700 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? References: Message-ID: <39ECDDBD.771622A1@earthlink.net> i believe these patches are in the collector on zope.org Seb Bacon wrote: > > I needed to do this a while back and a kind fellow sent me some patches to > do just this. Unfortunately my old email is unavailable at the moment, so > I've forgotten who it was. > > The syntax was > > I'll dig out the patches as send them to you. > > seb > > > -----Original Message----- > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > > Burton > > Sent: 17 October 2000 19:22 > > To: zope@zope.org > > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > > > > I'd like to create a DTML method that lists objects, sorting either by > > name or modified-date. I know I can do this by: > > > > > > > > ... > > > > > > ... > > > > > > > > However, this requires lots of code. I'm trying to do it like this: > > > > > > Sorted by &dtml-sortby; > > > > > > () > > > > > > > > I have a property, sortby, of the enclosing folder set to > > "bobobase_modification_time"; when this method is called, it > > dutifully reports that sortby=b_m_t; however, it doesn't sort things > > this way (I can't tell exactly how it is sorting them, and when I > > refresh, the order occasionally changes.) > > > > Any ideas? > > > > -- > > Joel Burton, Director of Information Systems -*- jburton@scw.org > > Support Center of Washington (www.scw.org) > > > > _______________________________________________ > > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:26:33 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:26:33 -0700 Subject: [Zope] strange problem References: Message-ID: <39ECE029.DD9A6C9A@earthlink.net> Erik Myllymaki wrote: > > This is a DTML_Method I call from my standard_error_message: > > > To: Webmaster <> > From: ZopeServer <> > Subject: Problem at > > Error Type: > Error Value: > Error Msg: > > > : > > > > I call it like this: > > The mail is sent appropriately including all the REQUEST items, but the page > that is calling this DTML_Method never finishes downloading. > > It seems that the loop through the REQUEST items causes page rendering to > hang? After several minutes, stopping the page download brings up a > *transfer interupted* message and only then do I see the bottom of the page. > > If I leave this out: > > > : > > > ...it works well. > > Thanks for you help. probably because the response is part of the request object, so you loop... do a request.keys() to see whats there literally and a request variables in dtml are in request.other request variables passed in through dtml are in request.form cheers kapil > > -- > Erik Myllymaki > erik@pacific-shores.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 ) From nspurrier@bluelight.com Wed Oct 18 02:52:57 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 17 Oct 2000 18:52:57 -0700 Subject: [Zope] Bypass ZODB and use File System Message-ID: Hi, Is there an easy way that I can get Zope to use the local file system instead of ZODB? I basically want to make it share the local file system with Apache. Will the LocalFS product do what I want? http://yyy.zope.org/Members/jfarr/Products/LocalFS I looked at it, and so far it seems to do the trick. I'm not sure what limitations I might encounter. So far I can't move files between a real Zope directory and a LocalFS directory. I guess I'm just looking for advice to see if I'm on the right track. What we really want to do is to provide a second view to /var/www/htdocs for Apache. I understand that Apache won't serve up our dynamic content, but that's not important. Zope is just viewed as a better solution for managing our static documents. The problem we have in my organization is that there is a lot of resistance to my prototype Zope document management system due to the fact that everything is stored in ZODB. We think this risky -- possibly a data prison. Also people don't want to change from their current habits of editing files via NFS or Samba mounted directories. My original plan was to allow them some sort of syncronization process, but now I think that would be crazy. Yours, Noah From kthangavelu@earthlink.net Wed Oct 18 05:05:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 21:05:29 -0700 Subject: [Zope] Help Debugging External Methods References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <39ED2189.48CEE0BF@earthlink.net> Robert_J_Roberts@rl.gov wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > robert_j_roberts@rl.gov > > -----Original Message----- > From: Dieter Maurer [mailto:dieter@handshake.de] > Sent: Saturday, October 14, 2000 1:51 PM > To: Robert_J_Roberts@rl.gov > Cc: zope@zope.org > Subject: Re: [Zope] Help Debugging External Methods > > Robert_J_Roberts@rl.gov writes: > > What are my options for debugging External Methods in Zope running on > > Windows NT? > I work under Unix. Maybe my technics are not applicable for NT. > > Usually, I use "print" statements for debugging purposes. > Under Unix, I can redirect "stdout" to a file and > view the output (be sure to flush stdout after "print"). > > You can also use "zLog" (may be spelled differently!). > This writes log entries into the log file. > The advantages: will work under Windows, contains a timestamp. > > If the external method does not need too many Zope infrastructure, > I test it outside of Zope and integrate only, when it works > properly. > > When everything else does not work, I use "Test.py" and > the Python debugger "pdb". > > Dieter > > _______________________________________________ > 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 ) From chrisw@nipltd.com Wed Oct 18 10:15:14 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:15:14 +0100 Subject: [Zope] Determining permissions in a Product References: Message-ID: <39ED6A22.F3A73506@nipltd.com> Aaron Straup Cope wrote: > > Obviously, I would like to solve this problem I would be very interested > to hear about more general approaches to problem solving products. When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what needs fixing. Incidnetally, I think this is a bit of a security hole. You shouldn't get told what you're not allowed to see, especially if it's 'cos you got your password wrong. If you see what I mean ;-) cheers, Chris From chrisw@nipltd.com Wed Oct 18 10:48:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:48:58 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> <39ECF41C.744A05C7@digicool.com> Message-ID: <39ED720A.68C4A244@nipltd.com> Michel Pelletier wrote: > > Chris Withers wrote: > > > > Michael Bernstein wrote: > > > On a slightly different note, I think that the permissions > > > list should be viewable in two more ways: A view where > > > permissions are grouped into 'subjects', (for example all > > Perhaps a better idea is that Permissions are classes that inherit from > super class permissions, so permission could be laid out in a > heirarchical fasion. I dunno, I'd prefer to see something like: Role | Manager |\/| (dropdown list ;-) DTML Method [] Add [] View ...etc... Squishdot Site [] Add [] View [] Moderate ...etc... rather than the current list where you can have something like: Use [] [] [] ...where someone has carelessly named a permission and you have no idea what product it relates to. cheers, Chris From tdickenson@geminidataloggers.com Wed Oct 18 11:10:51 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 18 Oct 2000 11:10:51 +0100 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39ECC3BE.15125.7A005BC@localhost> References: <39EC980C.3C49C228@softax.com.pl> <39ECC3BE.15125.7A005BC@localhost> Message-ID: On Tue, 17 Oct 2000 21:25:18 +0200, "Wolfgang Strobl" wrote: >> Wherever I need information when the page has been created, I use my >> creationTime attribute. > >Sure. For your own creations it's somewhat easier, just create your >own timestamps. But what about existing content. Say: what if you >have a Yihawdirectory which has grown for a while, plus a >collection of Zwikis scattered over various Zopes, which I want to >move into a a single new, but already existing on a bigger, greater >and better server? Zopes existing 'find' mechanism lets you apply an operation to all the objects that it matches - use that to patch your existing objects to the new schema. >> I do not know how to implement 'modificationTime' attribute (or >> better: how to change it whenever someone edits or uploads the >> document). > >Well, for a moment I considered hacking ExportImport.py, but it's >not obvious. That's why I'm asking whether somebody perhaps >already has solved the problem. > >There is the option of stripping all the various data.fs and combining >them via mounting, but this is far from elegant, if it works at all. bobobase_modification_time returns the timestamp of the transaction containing the most recent copy of the object. timestamping is fundamental to ZODB. For this alone to work you will need to keep the objects in separate data.fs files forever. Toby Dickenson tdickenson@geminidataloggers.com From sabaini@niil.at Wed Oct 18 12:37:41 2000 From: sabaini@niil.at (Peter Sabaini) Date: Wed, 18 Oct 2000 13:37:41 +0200 (CEST) Subject: [Zope] DCOracle + LOB Message-ID: hi all, i have this shiny brand new oracle 8i server and now read (on the mailinglist) that there's no lob support for oracle 8i in dcoracle 1.3.2, and indeed it does not appear to work. is that true? i need lob support! is there any workaround? through stored procedures maybe? thanks a lot! peter. -- _________________________________________________ peter sabaini, mailto: sabaini@niil.at ------------------------------------------------- From richard@dcs.co.uk Wed Oct 18 12:20:06 2000 From: richard@dcs.co.uk (Richard Moon) Date: Wed, 18 Oct 2000 12:20:06 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: <39EC2BFD.175F7DDA@goldridge.net> References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <4.3.2.7.2.20001018121331.024ceef0@195.60.12.162> Thanks Monty, I did try the temporary table route - problem is that Zope keeps the connection open so the temporary table stays there. Of course you can explicitly drop the temporary table after you've used it. However if the update fails for any reason the temporary table will still exist so next time in the SQL method fails because its trying to create a temporary table that is already there. I know this shouldn't happen etc but I don't like code that has that kind of potential problem in it - it isn't 'fail-safe'. I decided better to use a permanent table. The SQL method locks it, deletes everything in it then writes the data it needs to store. That way its fail safe and I would expect more efficient than creating and dropping tables. However I hadn't appreciate the REPLACE command. That's a real hidden gem. I'm off to see if I can use it - thanks. Richard At 11:37 17/10/00, you wrote: >You can do it with temporary tables. > >Like this- > >create temporary table foo ( > note_id int, > notes varchar >); >insert into foo select Note.note_id, Note.notes from Note, Artist > where Note.note_id=Artist.note_id and Artist.artist_id=23; >update foo set notes="asdlfna"; >replace into Note select note_id, notes from foo; > >This does assume that the note_id is unique. >You may also need to explicitly drop foo, because it goes away when you >disconnect, but of course Zope holds connections open. > >!!! However -- now that I think of it... you can just do: >replace into Note select note_id, "New Note" from Artist where artist_id=23; > >Of couse, this will change all notes for an artist, so it assumes the >artist_id is unique as well. (Which I would assume it is from your model.) > >If you need more complex things, look into temporary tables, but the MySQL >extension (like replace) do allow you to do fun things. > >Hope this helps, >Monty > >Richard Moon wrote: > > > Nice idea. Trouble is the note table is used to hold notes for many > > different reasons, so it looks like this - > > > > ----------- ------------ -------- > > | Artist | | Recording | | Label | etc. > > ----------- ------------ -------- > > | artist_id | |recording_id| |label_id| > > | note_id | |note_id | |note_id | > > ----------- ------------ -------- > > | | | | | > > --------------------------------------------------------- > > | > > ---------- > > | Note | > > ---------- > > | note_id | > > | notes | > > ---------- > > > > It looks as if there wasn't anything I was missing - I'm just going to have > > to break the code up into separate SQL Methods. > > > > The example I gave was quite simple compared to some of the updates I have > > to deal with. > > > > Thanks anyway. > > > > At 17:40 16/10/00, you wrote: > > >Or you could renormalize your data to have: > > > > > > --------- ----------- > > >| Artist | | Note | > > >|---------|-------|-----------| > > >| id | | id | > > > --------- | artist_id | > > > | note_str | > > > ----------- > > > > > >you now have a list of notes by artist_id. > > >You typically won't have a screen that doesn't have an Artist context > > >to be adding a note to. (or to remove all notes from). > > >Of course this means more work to migrate :-( > > >And I don't know all possible scenarios for which you would > > >need the structure you gave, but it is another way around this. > > >It probably doesn't solve real complex scenarios either. > > > > > >JAT > > > > > >Dale > > > > Richard Moon > > richard@dcs.co.uk > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From brocken22@gmx.de Wed Oct 18 13:05:47 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Wed, 18 Oct 2000 14:05:47 +0200 (MEST) Subject: [Zope] Mozilla->back button Message-ID: <5288.971870747@www26.gmx.net> To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? -- Sent through GMX FreeMail - http://www.gmx.net From fjesteban@uco.es Wed Oct 18 13:11:05 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 18 Oct 2000 14:11:05 +0200 Subject: [Zope] DCOracle + LOB References: Message-ID: <39ED9359.264E4CF@uco.es> If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully to insert/select text into/from a clob column. Peter Sabaini escribió: > hi all, > > i have this shiny brand new oracle 8i server and now read (on the > mailinglist) that there's no lob support for oracle 8i in dcoracle > 1.3.2, and indeed it does not appear to work. > > is that true? i need lob support! is there any workaround? through > stored procedures maybe? > > thanks a lot! > > peter. > > -- > > _________________________________________________ > peter sabaini, mailto: sabaini@niil.at > ------------------------------------------------- > > _______________________________________________ > 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 ) From ssmith6@bigpond.net.au Wed Oct 18 13:19:25 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Wed, 18 Oct 2000 22:19:25 +1000 Subject: [Zope] SQL cursor error Message-ID: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Anyone know what this means? Error Type: sql.error Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor state' I get this when I try to submit a form which passes control to a dtml method. that method in turn makes a dtml-call to another, which calls a SQL method. Regards Steve Smith From chrism@digicool.com Wed Oct 18 05:44:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Wed, 18 Oct 2000 00:44:41 -0400 Subject: [Zope] transactions howto released Message-ID: <000301c03908$4698bb30$1f48a4d8@kurtz> Hi. There's a short howto describing the semantics of ZODB transactions at http://www.zope.org/Members/mcdonc/HowTos/transaction. Enjoy! From ecolmar@uswest.net Wed Oct 18 14:40:05 2000 From: ecolmar@uswest.net (ed colmar) Date: Wed, 18 Oct 2000 07:40:05 -0600 Subject: [Zope] UserDb - Please just WORK Message-ID: <004401c03908$ec509700$0400000a@caliber> Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the specified user does not exist". Arrggg this task is so simple but REALLY FRUSTRATING... Thank you, thank you, thank you... (to anyone who can help) Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in validate (Object: RoleManager) File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in validate (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in getUsers (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in __init__ TypeError: (see above) From cobrien@Radix.Net Wed Oct 18 14:36:13 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? Message-ID: <200010181336.JAA26776@saltmine.radix.net> Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out might see all these seemingly useful things and get frustrated when they dont work. Arrrggg. I just want a bulletin board that works! I know what you are going to say, so I'll start digging through the python code before you yell at me... -- cary From kthangavelu@earthlink.net Wed Oct 18 09:35:27 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:35:27 -0700 Subject: [Zope] Mozilla->back button References: <5288.971870747@www26.gmx.net> Message-ID: <39ED60CF.82677F@earthlink.net> brocken22@gmx.de wrote: > > To support Mozilla I'd like to switch to M18, but in the > Zope-Management-Interface the back-button doesn't seems to work. > What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil From kthangavelu@earthlink.net Wed Oct 18 09:57:10 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:57:10 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181336.JAA26776@saltmine.radix.net> Message-ID: <39ED65E6.523E77EF@earthlink.net> Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! perhaps you want to check out ZUBB... kapil From johanc@torped.se Wed Oct 18 15:21:43 2000 From: johanc@torped.se (Johan Carlsson) Date: Wed, 18 Oct 2000 16:21:43 +0200 Subject: [Zope] INSTANCE_HOME breaks cross products import Message-ID: <013c01c0390e$c164ada0$ac0aa8c0@tor.torped.se> Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import anything from the ZPattern module. 2000-10-17T21:59:14 ERROR(200) Zope Couldn't import Products.LoginManager Traceback (innermost last): File /bigshare/zopeservers/Zope-2.2.2-base/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /bigshare/zopeservers/unitedrings/Products/LoginManager/__init__.py, line 1, in ? File /bigshare/zopeservers/unitedrings/Products/LoginManager/LoginManager.py, line 9, in ? ImportError: cannot import name SheetProviderContainer Now this works fine if I start Zope from the base Zope installation. So what goes wrong and why? Does I do anything wrong or should/could this be fixed in the product? If so I guess it would be practical to document som product author guidelines. Regards, Johan Carlsson From phil.harris@zope.co.uk Wed Oct 18 15:29:46 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Wed, 18 Oct 2000 15:29:46 +0100 Subject: [Zope] UserDb - Please just WORK References: <004401c03908$ec509700$0400000a@caliber> Message-ID: <01dd01c0390f$e026dd70$5c773fc1@media1> ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be something like : select username, "PASSWORD",domains,roles from users Note the quotation marks around 'password'. Another solution involves editing UserDB.py, I can't remember the exact place, but you need to tell it to use a different name for the password field, I chose 'password_' at one time, which also fixed the problem. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "ed colmar" To: Sent: Wednesday, October 18, 2000 2:40 PM Subject: [Zope] UserDb - Please just WORK > Since Login Manager isn't doing the trick, I've been trying User DB to > authenticate to my postgresql DB. > > I get some strange errors, like when I try to view a page that is > 'protected' by UserDb, I get the error message below. Also, when I click a > user in the management screen, it says "the specified user does not exist". > > Arrggg this task is so simple but REALLY FRUSTRATING... > > Thank you, thank you, thank you... (to anyone who can help) > > Error Type: TypeError > Error Value: argument 1: expected read-only character buffer, None found > > Traceback (innermost last): > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in > publish > File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in > traverse > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in > getUsers > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in > __init__ > TypeError: (see above) > > > > > _______________________________________________ > 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 ) From knight@righteous.net Wed Oct 18 15:24:03 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:24:03 -0700 (PDT) Subject: [Zope] SQL cursor error In-Reply-To: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Message-ID: The first problem is your are running Microsoft. Just kidding. On Wed, 18 Oct 2000, steve smith wrote: > Anyone know what this means? > > Error Type: sql.error > Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor > state' > I get this when I try to submit a form which passes control to a dtml > method. that method in turn makes a dtml-call to another, which calls a SQL > method. > > > Regards > Steve Smith > > > _______________________________________________ > 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 ) > > From knight@righteous.net Wed Oct 18 15:26:04 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:26:04 -0700 (PDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: Cary, I've written some code that requires ZSQL Methods that I've been heavily considering porting over to a Product sometime in the near future. It has been more of a "is there enough demand for a forum product" than anything really. Take a look at http://www.phunc.com/Forums and tell me if it looks any bit appealing to you. If I see enough demand, I'll productize it, otherwise, tough luck ;] Knight knight@phunc.com On Wed, 18 Oct 2000, Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From fred@ontosys.com Wed Oct 18 15:39:20 2000 From: fred@ontosys.com (Fred Yankowski) Date: Wed, 18 Oct 2000 09:39:20 -0500 Subject: [Zope] Help Debugging External Methods In-Reply-To: <39ED2189.48CEE0BF@earthlink.net> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> <39ED2189.48CEE0BF@earthlink.net> Message-ID: <20001018093920.A2884@enteract.com> On Tue, Oct 17, 2000 at 09:05:29PM -0700, Kapil Thangavelu wrote: > The Debugger is your friend > http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend That's a useful page -- thanks for the link. It's interesting that the example fooMethod() function has a major flaw, contrary to what the HowTo says: "There's actually nothing wrong with this method to debug". I would have replied directly to the author, 'michel', but his email address does not appear on that HowTo page or any of the pages that I scanned under http://www.zope.org/Members/michel. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From jatwood@bwanazulia.com Wed Oct 18 15:50:25 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 10:50:25 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > To: zope@zope.org > Subject: [Zope] How about removing broken things like Confera and > ZDiscussions? > > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From jason_zope@yahoo.com Wed Oct 18 16:57:33 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 18 Oct 2000 08:57:33 -0700 (PDT) Subject: [Zope] GUF, ZODB, and 2.2.2 Message-ID: <20001018155733.22225.qmail@web4601.mail.yahoo.com> Has anyone had luck getting GUF to work using ZODB to store the user info, and Zope version 2.2.2 (no hot fixes)? I had some code working fine in 2.2.1, but in 2.2.2 I am having lots of trouble getting GUF to work. The current implementation I have places a folder in the acl_users (GUF) folder and that is where I've put my own ZClass (representing each user) inside that folder. In a vain attempt to get it working I have made sure that there are no aquired rights in acl_users, and that anonymous has the Can Login, and Access contents rights. I've also changed all of the hooks I have and made them proxy as root. I've had trouble in the past with GUF but I've always gotten it working. Not so here. Has anyone tried this type of setup and gotten it working? __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jprettyman@acm.org Wed Oct 18 17:01:09 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 09:01:09 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Kapil Thangavelu's message of "Tue, 17 Oct 2000 16:14:54 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com" ) print server for k,v in server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): print "%-15s: %s" % (k, v) My ZClass has a propertysheet named ``common'' The error I get is: -2 Unexpected Zope Error Value and a bunch of HTML which boils down to: Resource not found -jon Kapil Thangavelu writes: > its easiest to it with (IMO) > > xml-rpc > > and find your zclasses with calls to objectids and query the > propertysheets directly for property info. > > > check out > > http://www.zope.org/Members/Amos/xmlrpclib.py > you'll need to fix a base class and an import. > > www.xml-rpc.com > > www.xml.com search for amos > > and zope.org for howtos on xmlrpc > > Cheers > > Kapil > > _______________________________________________ > 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 ) From zope@snoman.com Wed Oct 18 17:16:15 2000 From: zope@snoman.com (Dustin) Date: Wed, 18 Oct 2000 16:16:15 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010181616.LAA00374@dawn.digitaldawn.com> Thanks for the help Kapil. That was the problem, but what I did instead was copied the PoPymodule.so from the system python lib folder to /zope_home/lib/python. That did the trick. Dustin Kapil Thangavelu said: > > hi dustin > > your probably not running the same python interpreters. > > check your start shell script and see which python interpreter its using > and compare > it to (i'm kinda of assuming your're on a *nix system) > > >which python > > they probably aren't the same. just edit the start script accordingly. > > kapil > > zope@engelhaupt.com wrote: > > > > I have a working install of Zope 2.2.2. I installed the python module PoPy > > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > > README said to run a configure script but there was none. So I just moved the > > ZPoPyDA directory it created into the lib/python/Products directory in my zope > > home. > > > > Now for the strange part. When I start zope, I get the following: > > > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > > Traceback (innermost last): > > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > > (Object: string) > > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > > ImportError: No module named PoPy > > > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > > on my own. I created a file with the following line: > > > > import PoPy > > > > I ran 'python test' and no errors. I added the line: > > > > import bla > > > > And then ran 'python test' again just to be sure and it did die saying no such > > module bla. I even typed 'import PoPy' in the python interactive shell and > > nothing. So outside of zope, python seems to be able to import PoPy, but when > > zope tries to import ZPoPyDA it claims there is no PoPy module. > > > > Any ideas? > > > > Thanks in advance, > > Dustin > > > > _______________________________________________ > > 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 ) > From chrisw@nipltd.com Wed Oct 18 17:21:41 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:21:41 +0100 Subject: [Zope] __len__ Errors References: Message-ID: <39EDCE15.EBC8C92C@nipltd.com> Nope, the list might benefit from seeing the traceback though... cheers, Chris Scott Burton wrote: > > They are ZDiscussion based. I might have figured out why. I added my custom > properties to the discussion items. I did not know ZD was python-based and > not entirely ZClassed. > > I have been moving my products over to 2.2 on my server with the exception > of ZDiscussion which seems to be giving me a strange error when I try to > import the ZDiscussion.zexp. It is an A pickle error. I could give you the > trace back it has some strange errors in it regarding other product???. > > I will try some more this evening. > > Thanks, > > Scott > > > From: Chris Withers > > Organization: New Information Paradigms > > Date: Wed, 18 Oct 2000 10:16:34 +0100 > > To: Scott Burton > > Subject: Re: [Zope] __len__ Errors > > > > Scott: No HTML mail! ;-) > > > > Are the discussions groups Squishdot-based? > > > > Any reason you can't upgrade to 2.2.2? > > > > cheers, > > > > Chris > > > > Scott Burton wrote: > >> > >> I seem to be getting __len__ errors: Error type: > >> exceptions.AttributeError > >> Error value: __len__ > >> When accessing any method with an loop. > >> I am running 2.1.6, with the current hot fixes. It seems to have > >> started after installing the hot fixes. > >> I can replicate it with a simple loop in a method. I read > >> somewhere about the hotfix changing objects ownerships. Could this be > >> causing this? If so, how do I remove a hotfix? It has rendered my > >> discussion groups useless. > >> > >> TIA > >> > >> Scott > > From aboulang@ldeo.columbia.edu Wed Oct 18 17:26:28 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Wed, 18 Oct 2000 12:26:28 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: Message-ID: <200010181626.MAA20584@ox.ldgo.columbia.edu> There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a more formal declaration of the dependencies on versions of products relied upon at the download pages -- for some products this has become a tricky and madning process to make sure all the versions are correct for a product to run. This is natural in the progress of Zope and Zope products and will become even more and issue as Zope matures even further. This can be formalized. I do like the way SGI does some of this. Just my cents (sense). Regards, Albert Boulanger aboulanger@vpatch.com From chrisw@nipltd.com Wed Oct 18 17:29:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:29:31 +0100 Subject: [Zope] Discussions References: <200010181336.JAA26776@saltmine.radix.net> <39ED65E6.523E77EF@earthlink.net> Message-ID: <39EDCFEB.5BB3F2BB@nipltd.com> Kapil Thangavelu wrote: > > Cary O'Brien wrote: > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > perhaps you want to check out ZUBB... Or Squishdot ;-) Who's maintaining ZUBB nowadays? cheers, Chris From cobrien@Radix.Net Wed Oct 18 17:32:14 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:32:14 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181626.MAA20584@ox.ldgo.columbia.edu> from albert boulanger at "Oct 18, 2000 12:26:28 pm" Message-ID: <200010181632.MAA17485@saltmine.radix.net> > > > There is a ZDiscussions that works. It is called ZUBB. > > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > > Might be better to have a more formal declaration of the dependencies > on versions of products relied upon at the download pages -- for some > products this has become a tricky and madning process to make sure all > the versions are correct for a product to run. This is natural in the > progress of Zope and Zope products and will become even more and issue > as Zope matures even further. This can be formalized. I do like the > way SGI does some of this. > Bangs head. Doh! Why the heck don't products have explicit requirements the "package require n.m" in TCL. Heck, python ought to. Import Fred(1.2) from Bedrock Or something like that. -- cary From mvmendes@emdata.com.br Wed Oct 18 15:39:15 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Wed, 18 Oct 2000 14:39:15 +0000 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39EDB613.E94E2A65@emdata.com.br> Take a look at Security View of its ZClass. Give permissions to anonymous users. Marcus Mendes Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From andym@ActiveState.com Wed Oct 18 17:41:09 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 18 Oct 2000 09:41:09 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181632.MAA17485@saltmine.radix.net> Message-ID: <013b01c03922$38697300$50f47118@cr582427a> How about a tested with version x field on Products? ----- Original Message ----- From: "Cary O'Brien" To: Cc: Sent: Wednesday, October 18, 2000 9:32 AM Subject: Re: [Zope] How about removing broken things like Confera and ZDiscussions? > > > > > > There is a ZDiscussions that works. It is called ZUBB. > > > > http://www.zope.org/Members/BwanaZulia/ZUBB > > > > But, I agree, old product that have been left behind (the old version of > > ZDiscussions/Confera) should be marked and or archived. > > > > J > > > > > > > > Might be better to have a more formal declaration of the dependencies > > on versions of products relied upon at the download pages -- for some > > products this has become a tricky and madning process to make sure all > > the versions are correct for a product to run. This is natural in the > > progress of Zope and Zope products and will become even more and issue > > as Zope matures even further. This can be formalized. I do like the > > way SGI does some of this. > > > > Bangs head. Doh! > > Why the heck don't products have explicit requirements the "package require n.m" > in TCL. Heck, python ought to. > > Import Fred(1.2) from Bedrock > > Or something like that. > > -- cary > > _______________________________________________ > 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 ) > From cobrien@Radix.Net Wed Oct 18 17:41:59 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: from "J. Atwood" at "Oct 18, 2000 10:50:25 am" Message-ID: <200010181641.MAA18455@saltmine.radix.net> > There is a ZDiscussions that works. It is called ZUBB. > But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Arrg. -- cary > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > From: "Cary O'Brien" > > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > > To: zope@zope.org > > Subject: [Zope] How about removing broken things like Confera and > > ZDiscussions? > > > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > > > I know what you are going to say, so I'll start digging > > through the python code before you yell at me... > > > > -- cary > > > > > > _______________________________________________ > > 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 ) > > > > > From jatwood@bwanazulia.com Wed Oct 18 17:51:59 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:51:59 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181641.MAA18455@saltmine.radix.net> Message-ID: So... add attachments. Not really a big deal. No one product is going to do it all out of the box. That is why it is Open Source.. you open it and provide your own source of code. :) J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) > To: jatwood@bwanazulia.com (J. Atwood) > Cc: cobrien@radix.net, zope@zope.org > Subject: Re: [Zope] How about removing broken things like Confera and > ZDiscussions? > >> There is a ZDiscussions that works. It is called ZUBB. >> > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. > > Arrg. > > -- cary > > >> http://www.zope.org/Members/BwanaZulia/ZUBB >> >> But, I agree, old product that have been left behind (the old version of >> ZDiscussions/Confera) should be marked and or archived. >> >> J >> >>> From: "Cary O'Brien" >>> Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) >>> To: zope@zope.org >>> Subject: [Zope] How about removing broken things like Confera and >>> ZDiscussions? >>> >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >>> >>> I know what you are going to say, so I'll start digging >>> through the python code before you yell at me... >>> >>> -- cary >>> >>> >>> _______________________________________________ >>> 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 ) >>> >>> >> > > From jatwood@bwanazulia.com Wed Oct 18 17:54:22 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:54:22 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDCFEB.5BB3F2BB@nipltd.com> Message-ID: Yes, Squishdot is a very good option as well. ZUBB, it would seem, it being maintained by little ole me. Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 17:29:31 +0100 > To: Kapil Thangavelu > Cc: "Cary O'Brien" , zope@zope.org > Subject: Re: [Zope] Discussions > > Kapil Thangavelu wrote: >> >> Cary O'Brien wrote: >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >> >> perhaps you want to check out ZUBB... > > Or Squishdot ;-) > > Who's maintaining ZUBB nowadays? > > 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 ) > > From chrisw@nipltd.com Wed Oct 18 18:04:54 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:04:54 +0100 Subject: [Zope] Squish it References: <200010181641.MAA18455@saltmine.radix.net> Message-ID: <39EDD836.C90CA6A1@nipltd.com> Cary O'Brien wrote: > > > There is a ZDiscussions that works. It is called ZUBB. > > > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. Squishdot does attachments ;-) Chris PS: It was originally based on ZDConfera, btu has grown a bit since then ;-) From chrisw@nipltd.com Wed Oct 18 18:05:55 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:05:55 +0100 Subject: [Zope] Discussions References: Message-ID: <39EDD873.83FA3B7B@nipltd.com> "J. Atwood" wrote: > > Maybe I should write a little "Differences between ZUBB and Squishdot" so > people can figure out where to use one or the other. I'd love to read it :-) Chris From kthangavelu@earthlink.net Wed Oct 18 13:35:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 05:35:12 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: <39ED9900.5219EA03@earthlink.net> Jon Prettyman wrote: > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > server. So far I can retrieve objectIds and retrieve objects via an > objectid, but I can't figure out how to get to the property sheets. > > Here's what I've got: > > server = Server( "http://jonprettyman.com" ) > > print server > > for k,v in > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > print "%-15s: %s" % (k, v) > > My ZClass has a propertysheet named ``common'' > > The error I get is: > -2 Unexpected Zope Error Value > > and a bunch of HTML which boils down to: > > Resource not found > > -jon hmmm... try and take it a step back and query the propertysheet container for names of propertysheets it contains. you'll need to check out the ZQR for the syntax, i think its propertyIds(). you might also want to check that your authenticating with a user that has the proper security roles to query this info. if you're still having problems tell me and i'll play with it once i get back from work. Cheers Kapil From jatwood@bwanazulia.com Wed Oct 18 19:43:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 14:43:57 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDD873.83FA3B7B@nipltd.com> Message-ID: No problem... I have to go look at Squishdot again though. Forgetting some of the features. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 18:05:55 +0100 > To: "J. Atwood" > Cc: Kapil Thangavelu , Cary O'Brien > , zope@zope.org > Subject: Re: [Zope] Discussions > > "J. Atwood" wrote: >> >> Maybe I should write a little "Differences between ZUBB and Squishdot" so >> people can figure out where to use one or the other. > > I'd love to read it :-) > > Chris > From jprettyman@acm.org Wed Oct 18 19:38:22 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 11:38:22 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 05:35:12 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: Adding: try: for k in server.EBQ.id_company_apply_html.propertysheets.propertyIds(): print "%-15s:" % (k) except Error, v: print server print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are properties of server.EBQ. -jon Ender writes: > Jon Prettyman wrote: > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > server. So far I can retrieve objectIds and retrieve objects via an > > objectid, but I can't figure out how to get to the property sheets. > > > > Here's what I've got: > > > > server = Server( "http://jonprettyman.com" ) > > > > print server > > > > for k,v in > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > print "%-15s: %s" % (k, v) > > -jon > > hmmm... > > try and take it a step back and query the propertysheet container for > names of propertysheets it contains. you'll need to check out the ZQR > for the syntax, i think its propertyIds(). > > > you might also want to check that your authenticating with a user > that has the proper security roles to query this info. > > > if you're still having problems tell me and i'll play with it once i get > back from work. > > Cheers > > Kapil > > _______________________________________________ > 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 ) From DBaker@CHW.edu Wed Oct 18 22:44:39 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:44:39 -0700 Subject: [Zope] MySQL and Zope struggles Message-ID: What about one sql method: select @noteid:=note_id from artist where update note set notes = where note_id = @noteid -----Original Message----- From: Richard Moon [mailto:richard@dcs.co.uk] Sent: Monday, October 16, 2000 2:48 AM To: zope@zope.org Subject: [Zope] MySQL and Zope struggles I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk _______________________________________________ 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 ) From DBaker@CHW.edu Wed Oct 18 22:46:22 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:46:22 -0700 Subject: [Zope] Two questions regarding SQL Message-ID: Dunno if someone replied to this, but try GUF. Let's you roll your own authentication. There is a howto out there for using GUF with an SQL server. -----Original Message----- From: //www.alomega.com/ [mailto:amadorm@usm.edu.ec] Sent: Tuesday, October 17, 2000 3:02 PM To: zope@zope.org Subject: [Zope] Two questions regarding SQL Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil _______________________________________________ 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 ) From asc@vineyard.net Wed Oct 18 22:54:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 17:54:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER Message-ID: Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping that I'm not staring right past the problem. Can anyone point out what it is I am doing wrong? Thanks, a) DTML Document : foo b) ZSQL Method : people.lookup_by_username select * from people where username = "" From jprettyman@acm.org Wed Oct 18 23:18:17 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 15:18:17 -0700 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Aaron Straup Cope's message of "Wed, 18 Oct 2000 17:54:57 -0400 (EDT)" References: Message-ID: I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From asc@vineyard.net Thu Oct 19 00:20:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 19:20:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: > I'm pretty sure that all variables have to be passed in explicitly > with SQLMethods. Namespaces are not passed in. > > Try specifying username as an argument in the ZSQLMethods edit form > and pass it in like this: > "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()"> > > (Untested....) > > -jon > > Aaron Straup Cope writes: > > > Hi, > > > > I'm trying to perform a simple MySQL lookup based on the > > AUTHENTICATED_USER. When I test the ZSQL method from the management > > interface, everything works fine. However, when I try to call the method > > from a DTML document, [it] returns nothing. > > > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > > right past the problem. Can anyone point out what it is I am doing > > wrong? Thanks, > > > > a) DTML Document : foo > > > > > > > > > > > > > > > > b) ZSQL Method : people.lookup_by_username > > > > select * from people where username = " > "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > > > > > _______________________________________________ > > 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 ) > > From ssmith6@bigpond.net.au Thu Oct 19 00:19:48 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Thu, 19 Oct 2000 09:19:48 +1000 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: <000501c03959$e9c75040$be348490@vic.bigpond.net.au> I have an approach that works for me, but it may be a bit awkward. I have a SQL method (dbGetUserID) which takes AUTHENTICATED_USER as an argument and finds the value from the "userid" field in the database: select userid from users where shortname = When I need to perform database ops on the user, I just call this method and use the resulting id, eg, insert into sometable (userid, otherfield) values (, ) I have AUTHENTICATED_USER in the parameter list for this SQL method as well, though it may not need to be... Steve -----Original Message----- From: jjp@wacko.pdx.net [mailto:jjp@wacko.pdx.net]On Behalf Of Jon Prettyman Sent: Thursday, 19 October 2000 8:18 To: zope@zope.org Subject: Re: [Zope] ZSQL Method & AUTHENTICATED_USER I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From curtis@cardgate.net Thu Oct 19 01:11:05 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 19 Oct 2000 11:11:05 +1100 Subject: [Zope] A clarity problem... Message-ID: <00101911110507.01234@localhost.localdomain> Green things, After seeing yet another problem caused by the 'shorthand' of zope (using "foo" to mean expr="foo") I was wondering just how difficult it would be to REMOVE this useful, but confusing, feature. Personally, I don't have a problem with it, any more. But it seems a sizable portion of traffic on this list is because of people who do. (True, it seems to have dropped off in recent weeks... is this because there is better doco, or have newbie numbers dropped?) Even if it were a build time option or something... just rambling... Curtis Maloney From andreas@ahit.de Thu Oct 19 01:56:29 2000 From: andreas@ahit.de (Andreas) Date: Thu, 19 Oct 2000 02:56:29 +0200 Subject: [Zope] OT: Zope/ReportLab/PDF generate left aligned tables Message-ID: <39EE46BD.69FECE79@ahit.de> Hi, Is anybody out there using ReportLab PDF library ? I successfully installed ReportLab and PIL to serve out pdf files with Zope. Now I'm in trouble with reportlab.platypus.SimpleDocTemplate ,Table. I can't figure out how to draw a table left aligned on a PageTemplate. I can set several styles of table cells but wehrer can I set the alignment of a table within it's frame? ################## # myZopeTable.py # ################## import string from reportlab.platypus import Image,Table, TableStyle, SimpleDocTemplate from reportlab.lib.units import inch, cm from reportlab.lib import colors from reportlab.pdfgen.canvas import Canvas from reportlab.lib.pagesizes import A4, landscape from reportlab.pdfgen.textobject import PDFTextObject from types import * class buffer: def __init__(self): self._buffer = [] self._size = 0 def write(self,line): self._buffer.append(str(line)) def read(self): data = string.join(self._buffer, '') return data def tell(self): return len(self._buffer) def myPage(canvas,doc): canvas.saveState() canvas.setPageCompression(1) canvas.setFont('Times-Roman',9) canvas.setAuthor('andreas@aHit.de') canvas.drawRightString(doc.leftMargin+doc.width,10,"Page %d" % doc.page) canvas.restoreState() def helloworld(self,req): stream = buffer() res=self.SqlWizardQuery() # ZSQLMethod data=[] for i in range(len(res)): row=res[i] items=[] items.append(req.sq+i) for j in range(len(row)): items.append(row[j]) data.append(items) t=Table(data) t.setStyle(TableStyle([('INNERGRID',(0,0),(-1,-1),0.25,colors.black), ('BOX',(0,0),(-1,-1),2.0,colors.black), ('ALIGN',(0,0),(-1,0),'CENTER'), ('ALIGN',(0,1),(0,-1),'RIGHT'), ('FONTSIZE',(0,0),(-1,0),8), ])) lst = [] lst.append(t) doc = SimpleDocTemplate(stream, pagesize=landscape(A4), leftMargin=2*cm, rightMargin=2*cm, topMargin=2.5*cm, bottomMargin=2*cm ,showBoundary=1) doc.build(lst,myPage,myPage) return stream.read() -- _________________________________________________________ Andreas Heckel andreas@aHIT.de From mvmendes@emdata.com.br Thu Oct 19 03:03:08 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 00:03:08 -0200 Subject: [Zope] ZopeTime Question Message-ID: <39EE565C.10E56169@emdata.com.br> Hello, Why the ZopeTime puts the differents values in the code bellow? The first give me todays date; the second give me the tomorrow date!! How can I obtain the todays date using fmt=%A sintaxe? Thanks in advance. Marcus Mendes From akm@mail.theinternet.com.au Thu Oct 19 02:19:13 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Thu, 19 Oct 2000 11:19:13 +1000 Subject: [Zope] ZopeTime Question In-Reply-To: <39EE565C.10E56169@emdata.com.br>; from Marcus Mendes on Thu, Oct 19, 2000 at 12:03:08AM -0200 References: <39EE565C.10E56169@emdata.com.br> Message-ID: <20001019111913.W11738@zeus.theinternet.com.au> +-------[ Marcus Mendes ]---------------------- | Hello, | | Why the ZopeTime puts the differents values in the code bellow? | | | | | | | The first give me todays date; | the second give me the tomorrow date!! | | How can I obtain the todays date using fmt=%A sintaxe? Explicitly pass your TimeZone into ZopeTime as well. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From homewerk@pacbell.net Thu Oct 19 02:40:47 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Wed, 18 Oct 2000 18:40:47 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 Message-ID: <39EE511F.7B02C0C8@pacbell.net> I currently have Zope and Python installed from the source code from the excellent instructions by JShell. But there is one little problem....CPU Utilization shoots above 97% as soon as I access the management screen. If anybody has any ideas or solutions. Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh 320Mb......G4 Thanks Jeff Jeffy.spamtrap.@.spamtrap2.myrealbox.com From kthangavelu@earthlink.net Wed Oct 18 21:38:29 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 13:38:29 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: <39EE0A45.422DD031@earthlink.net> Sorry Jon, i've lead you down a slippery slope... unlike ttw dtml-methods and the rest of zope which relies on the security context soley, for a filesys python method to be exposed through the web via xml-rpc it must have a doc string as well as have proper credentials. looking through propertysheets there is no 'proper' way to do this... but i lead you down the path, so here is a way back out... there are a couple of options. the easiest is to have dtml_method for this zclass that functions as a helper method, like dtml method -- external_helper and in the client x = root.subfolder.zclass.external_helper() meta_info=eval(x) print meta_info ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) or if external_helper returned propertyItems() [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] if you're working with DateTime values in your propertysheets this will be trickier as you'll need to either retrieve the property you want independently or import Zope's DateTime module. also remember to set the security on the helper method so its not helping somebody hack your site. the rest of the ways are exercises in wasting time... IMO hope that helps out Cheers Kapil Jon Prettyman wrote: > > Adding: > try: > for k in > server.EBQ.id_company_apply_html.propertysheets.propertyIds(): > print "%-15s:" % (k) > except Error, v: > print server > print "ERROR", v > > Gives me output, although I'm pretty shure it's not the right thing. > Output: > title > base > > Both of these are properties of server.EBQ. > > -jon > > Ender writes: > > > Jon Prettyman wrote: > > > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > > server. So far I can retrieve objectIds and retrieve objects via an > > > objectid, but I can't figure out how to get to the property sheets. > > > > > > Here's what I've got: > > > > > > server = Server( "http://jonprettyman.com" ) > > > > > > print server > > > > > > for k,v in > > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > > print "%-15s: %s" % (k, v) > > > -jon > > > > hmmm... > > > > try and take it a step back and query the propertysheet container for > > names of propertysheets it contains. you'll need to check out the ZQR > > for the syntax, i think its propertyIds(). > > > > > > you might also want to check that your authenticating with a user > > that has the proper security roles to query this info. > > > > > > if you're still having problems tell me and i'll play with it once i get > > back from work. > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) From terry@adroit.net Thu Oct 19 05:10:06 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 19 Oct 2000 15:10:06 +1100 Subject: [Zope] OT: documentation systems. Message-ID: <39EE741E.5D1B438E@adroit.net> Hi, What documentation systems to people use for developing offline hardcopy and online user documentation for applications that they develop? I am writing an extensive application using zope, and it needs a lot of user documentation. The system I use won't necessarily have to be web based...I just wants something that is effect. terry -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From Riku.Voipio@tietoenator.com Thu Oct 19 08:07:57 2000 From: Riku.Voipio@tietoenator.com (Riku Voipio) Date: Thu, 19 Oct 2000 10:07:57 +0300 Subject: [Zope] debugging zope? Message-ID: <20001019100757.A1254@samncd.tsd.tieto.com> Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio riku.voipio@tietoenator.com 09-862 60764 From mail@okstudio.com.au Thu Oct 19 11:18:13 2000 From: mail@okstudio.com.au (George Osvald) Date: Thu, 19 Oct 2000 20:18:13 +1000 Subject: [Zope] Z2.log question Message-ID: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George From gchiu@compkarori.co.nz Thu Oct 19 10:50:21 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Thu, 19 Oct 2000 22:50:21 +1300 Subject: [Zope] Tiny tables In-Reply-To: <20001013194008.A15613@corrada.com> Message-ID: On Fri, 13 Oct 2000 19:40:08 -0400 andres@corrada.com wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as such. One > quick way to get around this is to quote your field value > - > > "criteria:tokens" Hi, I tried this, and the tinytables just discarded the column. As a temporary fix, I've just created a ZClass to hold the tokens. What I would like to do now is feed the tokens into a sqlmethod, which then populates a tinytable with new values. My zclass has a string attribute called p_tinytable which holds the name of the tinytable to be changed. However, if I call the function as follows: I get: Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' or I get: Error Type: AttributeError Error Value: manage_editData -- Graham Chiu From jatwood@bwanazulia.com Thu Oct 19 11:18:27 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 19 Oct 2000 06:18:27 -0400 Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> References: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > From bill@carbonecho.com Thu Oct 19 12:40:21 2000 From: bill@carbonecho.com (Bill Welch) Date: Thu, 19 Oct 2000 11:40:21 +0000 (GMT) Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? From Oliver Sturm Thu Oct 19 13:08:40 2000 From: Oliver Sturm (Oliver Sturm) Date: Thu, 19 Oct 2000 14:08:40 +0200 Subject: [Zope] Python/Perl methods? Message-ID: <4615697541.20001019140840@oliver-sturm.de> Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver mailto:sturm@oliver-sturm.de From mvmendes@emdata.com.br Thu Oct 19 23:19:00 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 22:19:00 +0000 Subject: [Zope] ZopeTime Questions Message-ID: <39EF7354.3A1DA3D9@emdata.com.br> Hello, ->>>> I'm using the following code. ->>>> I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always !!!! ->>> I'm starting my Zope with option -L pt_BR. Any comments or help? Thanks in advance. Marcus Mendes From asc@vineyard.net Thu Oct 19 14:01:58 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Thu, 19 Oct 2000 09:01:58 -0400 (EDT) Subject: [Zope] OT: documentation systems. In-Reply-To: <39EE741E.5D1B438E@adroit.net> Message-ID: I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com There's alreast atleast one XML stylesheet for the outline documents : http://www.whump.com/www/xmlone/source/outline/outline.xsl On Thu, 19 Oct 2000, Terry Kerr wrote: > Hi, > > What documentation systems to people use for developing offline hardcopy > and online user documentation for applications that they develop? I am > writing an extensive application using zope, and it needs a lot of user > documentation. The system I use won't necessarily have to be web > based...I just wants something that is effect. > > terry > > > -- > Terry Kerr (terry@adroit.net) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 708 124 > ICQ: 79303381 > > > > > _______________________________________________ > 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 ) > > From cobrien@Radix.Net Thu Oct 19 14:15:20 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Thu, 19 Oct 2000 09:15:20 -0400 (EDT) Subject: [Zope] ZDiscussions for Zope 2.2.2 Message-ID: <200010191315.JAA08209@saltmine.radix.net> Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a few places. 3) Fix a check for "Cancel" 4) fix the size of __ac_permissions__ I uploaded it to www.zope.org (never done that before, it is pretty nice!). I left the RCS files in place in case anyone wants to critique my um-er work. http://www.zope.org/Members/cobrien/ZDiscussions_zope22 You may be happier with ZUBB or Squishdot. -- cary From taco@scargo.nl Thu Oct 19 14:26:25 2000 From: taco@scargo.nl (Taco Scargo) Date: Thu, 19 Oct 2000 15:26:25 +0200 Subject: [Zope] Help needed with news articles Message-ID: <001501c039d0$2df5d400$53001f0a@TACOTOSHIBA> Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From steve@spvi.com Thu Oct 19 15:14:17 2000 From: steve@spvi.com (Steve Spicklemire) Date: Thu, 19 Oct 2000 09:14:17 -0500 (EST) Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 In-Reply-To: <39EE511F.7B02C0C8@pacbell.net> (message from Jeff Forsyth on Wed, 18 Oct 2000 18:40:47 -0700) References: <39EE511F.7B02C0C8@pacbell.net> Message-ID: <200010191414.JAA58313@mercury.spvi.com> Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve >>>>> "Jeff" == Jeff Forsyth writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions by JShell. But there is one little Jeff> problem....CPU Utilization shoots above 97% as soon as I Jeff> access the management screen. If anybody has any ideas or Jeff> solutions. Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Jeff> Rights Reserved. Power Macintosh Jeff> 320Mb......G4 Jeff> Thanks Jeff Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com Jeff> _______________________________________________ Zope Jeff> maillist - Zope@zope.org Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross Jeff> posts or HTML encoding! ** (Related lists - Jeff> http://lists.zope.org/mailman/listinfo/zope-announce Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From fred@ontosys.com Thu Oct 19 15:15:16 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 19 Oct 2000 09:15:16 -0500 Subject: [Zope] OT: documentation systems. In-Reply-To: References: <39EE741E.5D1B438E@adroit.net> Message-ID: <20001019091515.A36316@enteract.com> Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/license.html) prohibits use starting one year after the first commercial release. On Thu, Oct 19, 2000 at 09:01:58AM -0400, Aaron Straup Cope wrote: > I've been using the RadioUserland (nee Frontier) outliner to document the > Zope system I am building. It saves the outline files as XML documents so > I get to have a full-featured outliner to organzie my thoughts and a > (sort of) universal file format to share with people. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From webmaven@lvcm.com Thu Oct 19 15:30:04 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:30:04 -0700 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> Message-ID: <39EF056B.C74E25B7@lvcm.com> Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if it's 'cos you got > your password wrong. If you see what I mean ;-) I see what you mean here, Chris, but wouldn't this come under the heading of a 'security through obscurity' hole? ie. you're saying that the system isn't obscure enough? Michael. From webmaven@lvcm.com Thu Oct 19 15:59:53 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:59:53 -0700 Subject: [Zope] Bypass ZODB and use File System References: Message-ID: <39EF0C69.7EBC82EC@lvcm.com> Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my organization is > that there is a lot of resistance to my prototype Zope > document management system due to the fact that everything is > stored in ZODB. We think this risky -- possibly a data prison. The way my organization does it, is to manage the content within Zope, and to regularly run 'wget' on the server to replicate it all to static files, which are then served by Apache on another server. Doing that, plus regular backups of the Data.fs file (you're already making regular backups of your Apache based system, right?), and you should be guarded against any but the most catastrophicly unlikely disaster scenarios (you do have a disaster recovery plan, right?). wget is really a very easy way to get documents back out of Zope, and if your system is designed to do this as a matter of course (perhaps by using 'cron'), it should silence those particular criticisms. > Also people don't want to change from their current habits of > editing files via NFS or Samba mounted directories. My original > plan was to allow them some sort of syncronization process, > but now I think that would be crazy. Hmm. I guess it depends on what percentage of your users want to keep doing this. You can certainly combine LocalFS with the approach that I outlined above. I would make it a special case. Keep the CMS server separate from the Apache server, and only allow the mounted directories on the CMS server. I've found that people appreciate being able to manage their content from anywhere through a browser, and they tend to gravitate toward that as a matter of course, once it's there, if they're not forced to do it. In short, give people options, and see which ones they actually use. HTH, Michael Bernstein. From homewerk@pacbell.net Thu Oct 19 16:25:19 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Thu, 19 Oct 2000 08:25:19 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 References: <39EE511F.7B02C0C8@pacbell.net> <200010191414.JAA58313@mercury.spvi.com> Message-ID: <39EF125F.CC8103D4@pacbell.net> I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production. Would upgrading Python to 1.6 or 2.0 solve some problems on MacOS X Server (Rhapsody)? Steve Spicklemire wrote: > Hmmm.. I'm running Zope on mosxb and it works fine... > > http://www.zope.org/Members/sspickle/MacOSXBHFS > > -steve > > >>>>> "Jeff" == Jeff Forsyth writes: > > Jeff> I currently have Zope and Python installed from the source > Jeff> code from the > > Jeff> excellent instructions by JShell. But there is one little > Jeff> problem....CPU Utilization shoots above 97% as soon as I > Jeff> access the management screen. If anybody has any ideas or > Jeff> solutions. > > Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST > Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC > Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All > Jeff> Rights Reserved. Power Macintosh > > Jeff> 320Mb......G4 > > Jeff> Thanks Jeff > > Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com > > Jeff> _______________________________________________ Zope > Jeff> maillist - Zope@zope.org > Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jeff> posts or HTML encoding! ** (Related lists - > Jeff> http://lists.zope.org/mailman/listinfo/zope-announce > Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From Jerry.Spicklemire@IFLYATA.COM Thu Oct 19 16:22:43 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 19 Oct 2000 10:22:43 -0500 Subject: [Zope] Python/Perl methods? Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338DF@innt-73.ata.com> Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope Book is being compiled as a draft of a document to be delivered in the future. Some of the stuff refered to isn't really "there yet", in terms of inclusion as a standard part of the Zope download package. Python Methods are available, but as an add-on. Perl methods too, but they are even newer, as in less mature / stable / all those positive adjectives. So if you really want to try Python Methods, look here: http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal download from here: http://www.zope.org/Members/4am/PythonMethod and for Perl Methods look here: http://www.zope.org/Wikis/zope-perl/FrontPage and download from here: ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz Later, Jerry S. From troy.farrell@wilcom.com Thu Oct 19 17:16:11 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Thu, 19 Oct 2000 11:16:11 -0500 Subject: [Zope] Question! Message-ID: Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server name. Let me know what else you need to know. Troy -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the database Can you help me? Thanks Carlos ------- ----- Original Message ----- From: Farrell, Troy To: 'Carlos Vasconez' ; Sent: Monday, October 16, 2000 8:04 PM Subject: RE: [Zope] Question! > Yes you can. You will need ZODBC to connect to the SQLServer. Make sure > that SQL server is available as a "System DSN" on it's host. You will also > need a username and password to connect. Zope will ask you for this in the > DSN string. Best of luck to you. > > Troy > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:troy.farrell@wilcom.com > http://www.williams.com > > > -----Original Message----- > From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] > Sent: Monday, October 16, 2000 6:48 AM > To: zope@zope.org > Subject: [Zope] Question! > > > Hi > > I am read about zope. > Question? > I can use Zope with NT Server, IIS 4 and SQLServer ? > I have a Database in SQLServer > > Thanks > > Carlos > --------- > From zope@grewen.de Thu Oct 19 18:09:06 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 19 Oct 2000 19:09:06 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <000a01c039ef$8d2a4ae0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
------=_NextPart_000_0007_01C03A00.0D95B560-- From jeffrey@Digicool.com Thu Oct 19 18:18:49 2000 From: jeffrey@Digicool.com (Jeffrey P Shell) Date: Thu, 19 Oct 2000 13:18:49 -0400 Subject: [Zope] WriteLocking Project Initialized Message-ID: WriteLocking became a full fledged Fishbowl Project this week, and I've been spending the past couple of days getting the initial Artifacts and structure of the Project site together. The current structure should stand through elaboration. There is no planned schedule yet as the Risks themselves are still being scoped out and the UseCases haven't even been started on yet, but it is currently planned to get the proposed functionality into Zope 2.3. The main pages of interest right now are: VisionStatement (what the project is about, from the original proposal) RecentChanges CurrentStatus (I really will work on keeping this up to date) There are other pages outlining o RiskFactors (this is the one most actively being worked on right now), o TargetClients (LOCKing WebDAV clients we're planning to test against), o ProjectGlossary (Terms and definitions) And the general ProjectDiscussion page at I ask that if you make comments on the proposal to either do them on the ProjectDiscussion page or on the zope-dev@zope.org list. Please read the Scope section of the VisionStatement first, which outlines both what the intended goals Are and Are Not. Remember that the project is still in the early stages of Elaboration, and some of the artifacts are incomplete. In light of this election season, I pledge to you I will try my hardest to go to work 50+ miles south of Washington and fight to keep the information flowing through the Wiki updated and available to ALL Zope people, everywhere. No fuzzy math in these parts! From turhan.arun@superonline.net Thu Oct 19 18:20:09 2000 From: turhan.arun@superonline.net (Turhan Arun) Date: Thu, 19 Oct 2000 20:20:09 +0300 Subject: [Zope] Solaris,iPlanet,Oracle and Zope Message-ID: <802691ADD49ED411AD220008C74C9B2619FB62@postman.superonline.net> Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring these? I am having problems and you are my only source. Thanks in advance... turhan From jprettyman@acm.org Thu Oct 19 18:53:43 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 19 Oct 2000 10:53:43 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 13:38:29 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> <39EE0A45.422DD031@earthlink.net> Message-ID: This works like a charm. Thanks much for the help. -jon Ender writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the web via xml-rpc it must have a doc string as well as have > proper credentials. > > looking through propertysheets there is no 'proper' way to do this... > but i lead you down the path, so here is a way back out... > > there are a couple of options. > > the easiest is to have dtml_method for this zclass that functions as a > helper method, > like > > dtml method -- external_helper > > > > and in the client > > x = root.subfolder.zclass.external_helper() > meta_info=eval(x) > print meta_info > ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', > 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': > 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', > 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, > 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) > > or if external_helper returned propertyItems() > > [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), > ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] > > > if you're working with DateTime values in your propertysheets this will > be trickier as you'll need to either retrieve the property you want > independently or import Zope's DateTime module. also remember to set the > security on the helper method so its not helping somebody hack your > site. > From meden@ccpace.com Thu Oct 19 19:20:39 2000 From: meden@ccpace.com (meden@ccpace.com) Date: Thu, 19 Oct 2000 18:20:39 -0000 Subject: [Zope] pcgi authentication Message-ID: <8sne1n+ie87@eGroups.com> We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "allow anonymous" and "challenge response" through IIS. When we try to access the root level "manage" screen in Zope we are getting the manage_menu page in the left frame, but we are getting the index_html document in the right frame instead of the mnage_workspace page. From aem@byu.edu Thu Oct 19 21:34:09 2000 From: aem@byu.edu (Adrian Madrid) Date: Thu, 19 Oct 2000 13:34:09 -0700 (PDT) Subject: [Zope] Roxen & Zope, not working Message-ID: <20001019203410.18523.qmail@web515.mail.yahoo.com> --0-327254586-971987649=:16564 Content-Type: text/plain; charset=us-ascii I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what I get when I try mysite.com: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Error: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET / HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  * And this is what I get when I try mysite.com/Zope.cgi: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Zope.cgiError: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET /Zope.cgi HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  Any ideas? Anybody running both Zope and Roxen on a Windows machine? Adrian Madrid --------------------------------- Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564 Content-Type: text/html; charset=us-ascii

I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get:

* This is what I get when I try mysite.com:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: / Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET / HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

* And this is what I get when I try mysite.com/Zope.cgi:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: /Zope.cgi Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET /Zope.cgi HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

Any ideas? Anybody running both Zope and Roxen on a Windows machine?

Adrian Madrid



Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564-- From terry@lambton.on.ca Thu Oct 19 21:37:02 2000 From: terry@lambton.on.ca (Terry Babbey) Date: Thu, 19 Oct 2000 16:37:02 -0400 Subject: [Zope] dtml-if problem Message-ID: <39EF5B6E.1E4EECD@lambton.on.ca> The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________ From andym@ActiveState.com Thu Oct 19 21:46:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 19 Oct 2000 13:46:25 -0700 Subject: [Zope] dtml-if problem References: <39EF5B6E.1E4EECD@lambton.on.ca> Message-ID: <034d01c03a0d$a5de2980$ae03a8c0@fork> Could be that you are not evaluting the string of Area try: ----- Original Message ----- From: "Terry Babbey" To: Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. > > > > Area is a variable I am passing to my method and I want to check to > see if the variable is set to BIS, but it never returns true even > though a displays BIS. > > Confused as always, > Terry > > -- > __________________________________________________________________ > Terry Babbey > Technical Support Specialist > Lambton College, Sarnia, Ontario, Canada > __________________________________________________________________ > > > > _______________________________________________ > 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 ) > From ewalstad@energywright.com Thu Oct 19 22:17:45 2000 From: ewalstad@energywright.com (Eric Walstad) Date: Thu, 19 Oct 2000 14:17:45 -0700 (PDT) Subject: [Zope] dtml-if problem Message-ID: <20001019211745.26715.qmail@web1804.mail.yahoo.com> Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is:
Length of the 'strip'ped value of Area is:
If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you have either white space in your Area variable or a linefeed charater, or... If that's the case, here's a working if statement: You could also try: 0"> which will search for an instance of 'BIS' in the value of the Area variable Hope it helps, Eric. // -----Original Message----- // From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Terry // Babbey // Sent: Thursday, October 19, 2000 1:37 PM // To: zope@zope.org // Subject: [Zope] dtml-if problem // // // The following will not evaluate true and I am stumped again. // // // // Area is a variable I am passing to my method and I want to check to // see if the variable is set to BIS, but it never returns true even // though a displays BIS. // // Confused as always, // Terry // // -- // __________________________________________________________________ // Terry Babbey // Technical Support Specialist // Lambton College, Sarnia, Ontario, Canada // __________________________________________________________________ // // // // _______________________________________________ // 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 ) // __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jfarr@real.com Fri Oct 20 00:35:47 2000 From: jfarr@real.com (Jonothan Farr) Date: Thu, 19 Oct 2000 16:35:47 -0700 Subject: [Zope] Bypass ZODB and use File System References: <39EF0C69.7EBC82EC@lvcm.com> Message-ID: <054f01c03a25$4ebfd690$416917ac@poly> As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, not even as much as a 'title' property. If you need that ability then LocalFS is not the way to go. I don't see how Michael's wget solution will help you there either, though. --jfarr ----- Original Message ----- From: "Michael Bernstein" To: Cc: Sent: Thursday, October 19, 2000 7:59 AM Subject: Re: [Zope] Bypass ZODB and use File System > Noah wrote: > > > > What we really want to do is to provide a second view to > > /var/www/htdocs for Apache. I understand that Apache won't > > serve up our dynamic content, but that's not important. > > Zope is just viewed as a better solution for managing our > > static documents. The problem we have in my organization is > > that there is a lot of resistance to my prototype Zope > > document management system due to the fact that everything is > > stored in ZODB. We think this risky -- possibly a data prison. > > The way my organization does it, is to manage the content > within Zope, and to regularly run 'wget' on the server to > replicate it all to static files, which are then served by > Apache on another server. Doing that, plus regular backups > of the Data.fs file (you're already making regular backups > of your Apache based system, right?), and you should be > guarded against any but the most catastrophicly unlikely > disaster scenarios (you do have a disaster recovery plan, > right?). > > wget is really a very easy way to get documents back out of > Zope, and if your system is designed to do this as a matter > of course (perhaps by using 'cron'), it should silence those > particular criticisms. > > > Also people don't want to change from their current habits of > > editing files via NFS or Samba mounted directories. My original > > plan was to allow them some sort of syncronization process, > > but now I think that would be crazy. > > Hmm. I guess it depends on what percentage of your users > want to keep doing this. You can certainly combine LocalFS > with the approach that I outlined above. I would make it a > special case. Keep the CMS server separate from the Apache > server, and only allow the mounted directories on the CMS > server. I've found that people appreciate being able to > manage their content from anywhere through a browser, and > they tend to gravitate toward that as a matter of course, > once it's there, if they're not forced to do it. > > In short, give people options, and see which ones they > actually use. > > HTH, > > Michael Bernstein. > > _______________________________________________ > 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 ) > From gchiu@compkarori.co.nz Fri Oct 20 00:51:40 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 12:51:40 +1300 Subject: [Zope] Why doesn't this method work? Message-ID: I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu From curtis@cardgate.net Fri Oct 20 01:30:46 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 11:30:46 +1100 Subject: [Zope] Why doesn't this method work? In-Reply-To: References: Message-ID: <0010201130460D.01234@localhost.localdomain> On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeError > Error Value: 'string' object has no attribute > 'manage_editData' > This error is the giveaway. table is a "string", not a "tiny table". > -- > Graham Chiu Have a better one, Curtis Maloney. From gchiu@compkarori.co.nz Fri Oct 20 02:06:38 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 14:06:38 +1300 Subject: [Zope] Why doesn't this method work? In-Reply-To: <0010201130460D.01234@localhost.localdomain> Message-ID: On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doesn't use the getitem() function. -- Graham Chiu From jkinsley@horus.bticc.net Fri Oct 20 02:05:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Thu, 19 Oct 2000 21:05:54 -0400 (EDT) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? Message-ID: I am probably missing something simple here, however I can not get this to work properly.... Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? .... .... This returns: Errot Type: ValueError Error Value: unsupported format character 'a' (0x61) If i drop the %a from the fmt string as follows: .... .... I get the following Zope Error: Error Type: Type Error Error Value: illegal argument type for built-in operation Mtime was initially declared as a string in the ZSQL Method arguments list, and changing it to date had no effect. I have searched the documentation and all examples I have found that use strftime formatting indicate that this should work. I have successfully been able to change the format using the to_char(mtime) PostgreSQL function, but then order by mtime does not work properly and besides, I would like to make the format style customizable from within Zope instead of on the SQL server. Thanks in advance for any suggestions.... Regards, Jarrod Kinsley From vtwiddy@senet.com.au Fri Oct 20 04:31:10 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 13:01:10 +0930 (CST) Subject: [Zope] dtml-sqlvar quote Message-ID: Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this ..... group by foo,blah order by thanks mark From curtis@cardgate.net Fri Oct 20 04:55:47 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 14:55:47 +1100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: References: Message-ID: <0010201455470J.01234@localhost.localdomain> On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > ..... > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one, Curtis Maloney From vtwiddy@senet.com.au Fri Oct 20 06:40:37 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 15:10:37 +0930 (CST) Subject: [Zope] submit buttons Message-ID: Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example thanks again Mark From brad@netarchitects.com.au Fri Oct 20 07:58:12 2000 From: brad@netarchitects.com.au (Brad Moulton) Date: Fri, 20 Oct 2000 16:58:12 +1000 Subject: [Zope] submit buttons In-Reply-To: Message-ID: -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: zope@zope.org Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example hope this helps ---------------------------------------------------- ----------------------------------------------------- thanks again Mark _______________________________________________ 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 ) From tony.mcdonald@ncl.ac.uk Fri Oct 20 08:17:29 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Fri, 20 Oct 2000 08:17:29 +0100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: > >Hi all > >How can i pass a string to a sql method that won't be quoted. > >i.e so i can do somthing like this > >..... >group by foo,blah >order by > > >thanks mark > don't quote it? ... order by I use this all the time for things like select * from data where like '%%' tone From stephan.goeldi@datacomm.ch Fri Oct 20 09:20:45 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 20 Oct 2000 08:20:45 GMT Subject: [Zope] Newsletter in Zope Message-ID: I am looking for a way to enable a Newsletter in Zope. I want the visitors to subscribe to the newsletter. Then they receive a mail to verify the subscription. Later I can write and send a Newsletter to all subscripted visitors. Is there already a solution in Zope for that? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From vtwiddy@senet.com.au Fri Oct 20 09:21:32 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 17:51:32 +0930 (CST) Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) > From chrisw@nipltd.com Fri Oct 20 09:25:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:25:19 +0100 Subject: [Zope] IIS and Zope share same problem :-S Message-ID: <39F0016F.B62F6D@nipltd.com> > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > by Dave Murphy, member@itrain.org > > Microsoft is scrambling to repair damage caused by a > security hole in its IIS 4 & 5 webserver that runs on > Windows NT/2000. Microsoft claims over four million > IIS websites, and each one of them is at risk of > releasing sensitive data through the security hole. > Called the "Web Server Folder Traversal" error, the > flaw allows users to execute files on an IIS website by > requesting a specific web address. http://www.zope.org/standard_html_header for example ;-) http://www.zope.org/objectIds as another... > The bug allows access to any file on the webserver via > a specified URL. Like all webservers, IIS is supposed > to prevent access to files that aren't intended to be > part of the website. Maybe Zope should too.... > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > Live well, do good, > > --Dave Murphy cheers, Chris From akm@mail.theinternet.com.au Fri Oct 20 09:30:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Fri, 20 Oct 2000 18:30:44 +1000 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0016F.B62F6D@nipltd.com>; from Chris Withers on Fri, Oct 20, 2000 at 09:25:19AM +0100 References: <39F0016F.B62F6D@nipltd.com> Message-ID: <20001020183043.B88131@zeus.theinternet.com.au> +-------[ Chris Withers ]---------------------- | > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE | > by Dave Murphy, member@itrain.org | > | > Microsoft is scrambling to repair damage caused by a | > security hole in its IIS 4 & 5 webserver that runs on | > Windows NT/2000. Microsoft claims over four million | > IIS websites, and each one of them is at risk of | > releasing sensitive data through the security hole. | > Called the "Web Server Folder Traversal" error, the | > flaw allows users to execute files on an IIS website by | > requesting a specific web address. | | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... | http://www.zope.org/objectIds as another... To be fair this is not the same as the bug described below. | | > The bug allows access to any file on the webserver via | > a specified URL. Like all webservers, IIS is supposed | > to prevent access to files that aren't intended to be | > part of the website. Knowing the file is there is not the same as accessing it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From stefan@epy.co.at Fri Oct 20 09:48:40 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 10:48:40 +0200 (CEST) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? In-Reply-To: Message-ID: On Thu, 19 Oct 2000, J Kinsley wrote: > Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how > do I get the following to work without errors? > > > .... > > .... > > > This returns: > Errot Type: ValueError > Error Value: unsupported format character 'a' (0x61) AFAIK the fmt cannot be used like that What I usually do is create a DateTime object and then use the DateTime's methods and string formatting e.g. Modify the above for your needs. A list of DateTime's methods can be found in the appendix of the DTML Users Guide HTH, Stefan From chrisw@nipltd.com Fri Oct 20 09:49:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:49:33 +0100 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> Message-ID: <39F0071D.10C767F3@nipltd.com> Andrew Kenneth Milton wrote: > > | > | http://www.zope.org/standard_html_header for example ;-) > > Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally do something to solve it. ...and yes, there are discussions about this on Zope-dev right now, which will hopefully produce a solution :-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:36:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:36:00 +0100 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> <39EF056B.C74E25B7@lvcm.com> Message-ID: <39F01200.9E714E33@nipltd.com> Michael Bernstein wrote: > > Chris Withers wrote: > > > > Incidnetally, I think this is a bit of a security hole. You shouldn't > > get told what you're not allowed to see, especially if it's 'cos you got > > your password wrong. If you see what I mean ;-) > > I see what you mean here, Chris, but wouldn't this come > under the heading of a 'security through obscurity' hole? > ie. you're saying that the system isn't obscure enough? Not really... I'm saying it shouldn't tell you stuff you _never_ need to know, like where on your file system the Zope files live. A lot of this comes from standard_error_message not being used for authorizaion errors, and Zope's insistence of tacking the traceback onto error pages it returns, even in production mode :-S Might have to have a look at this some time ;-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:41:24 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:41:24 +0100 Subject: [Zope] ZDiscussions for Zope 2.2.2 References: <200010191315.JAA08209@saltmine.radix.net> Message-ID: <39F01344.FED0450C@nipltd.com> Cary O'Brien wrote: > 2) add __allow_access_to_unprotected_subobjects__ in > a few places. That's not good :-S But hey, I had to do it to get Squishdot to work with Zope 2.2 as well :-( cheers, Chris From grizel@mouli.net Fri Oct 20 11:04:49 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Fri, 20 Oct 2000 12:04:49 +0200 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> Message-ID: <39F018C1.E230AA8F@mouli.net> Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with something quite secure & secret. P.-J. Chris Withers wrote: > > > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > > by Dave Murphy, member@itrain.org > > > > Microsoft is scrambling to repair damage caused by a > > security hole in its IIS 4 & 5 webserver that runs on > > Windows NT/2000. Microsoft claims over four million > > IIS websites, and each one of them is at risk of > > releasing sensitive data through the security hole. > > Called the "Web Server Folder Traversal" error, the > > flaw allows users to execute files on an IIS website by > > requesting a specific web address. > > http://www.zope.org/standard_html_header for example ;-) > http://www.zope.org/objectIds as another... > > > The bug allows access to any file on the webserver via > > a specified URL. Like all webservers, IIS is supposed > > to prevent access to files that aren't intended to be > > part of the website. > > Maybe Zope should too.... > > > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > > > Live well, do good, > > > > --Dave Murphy > > 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 ) -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From rbeer@uni-goettingen.de Fri Oct 20 12:47:23 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 13:47:23 +0200 Subject: [Zope] ZMySQL and MySQLdb Versions Message-ID: Howdy! When I go to the download section on zope.org looking for a way to connect Zope and MySQL I can find the following: - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) Now how should anybody new to Zope know what to use? Especially when ZMySQLDA goes up to at least version 2.0.0 (I tried to look it up but couldn't connect to starship.python.net) and MySQLdb at least to version 0.2.1. I'm still using ZMySQLDA 1.1.3 with MySQLdb 0.1.3 which can't be found in the download section. Confusing, isn't it? What could we possibly do about it? Ragnar From zope@grewen.de Fri Oct 20 13:07:57 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 14:07:57 +0200 Subject: [Zope] Re: [Zope-dev] Problems with offline MS IE 5 References: <4.3.2.7.0.20001019230055.00b5e7d8@pop.mindspring.com> Message-ID: <002c01c03a8e$6a7392a0$0300a8c0@windows> I was fighting with the same problem and I thought it depends on my proxy setting. But now I thing it depends on the Browser version because I installed IE5.5 and the problem was gone. (ocularly same settings). ----- Original Message ----- From: "Ross Boylan" To: Sent: Friday, October 20, 2000 8:09 AM Subject: [Zope-dev] Problems with offline MS IE 5 > I recently tried doing some Zope development on a laptop and ran into a > problem: when I updated a product the updates did not "take." In > particular, when I edited the text in a .dtml file and restarted Zope, I > still saw the old text when I got to the appropriate point (the file was > wrapped in an HTMLFile() and used for creating a new instance of one of the > products in the package). > > I think I checked all of the following: > * the file was getting updated > * all instances of explorer were shut down > * MSIE options set to "Check for newer version of stored page on every > visit to the page" > > A notable peculiarity was that whenever I tried to access my local zope, I > would get a "you are offline, do you wish to go online" message (I even > used localhost as the machine name!). I would say yes, it would say it > couldn't connect and ask if I wanted to try again. I said yes, but then I > ran into the problems described above. > > Zope 2.2.2 on MS W2K with MS IE 5.0. > > Does this ring any bells with anyone? Is it an IE problem? a Zope > problem? an interaction? > > > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > From rbeer@uni-goettingen.de Fri Oct 20 13:14:04 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 14:14:04 +0200 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: As I already suggested ages ;) ago (and still didn't put into practice) it would here again be best to deny everything that isn't explicitly allowed (e.g. allow whatever ends with _html or .html and deny everything else) but then I would have to go over the whole website and make bazillions of changes ... I fixed the problem temporarily by adding some "FilesMatch/LocationMatch + deny from all" in my httpd.conf. But what else do I have to deny apart from objectIds? Ragnar >Andrew Kenneth Milton wrote: >> >> | >> | http://www.zope.org/standard_html_header for example ;-) >> >> Not that old chestnut again... > >Yes, that old chestnut again. If it's considered a serious security flaw >by Microsoft, maybe the Zope community should finally do something to >solve it. > >...and yes, there are discussions about this on Zope-dev right now, >which will hopefully produce a solution :-) > >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 ) From stefan@epy.co.at Fri Oct 20 13:47:01 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 14:47:01 +0200 (CEST) Subject: [Zope] ZMySQL and MySQLdb Versions In-Reply-To: Message-ID: On Fri, 20 Oct 2000, Ragnar Beer wrote: > - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) > - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) > - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) I recently got confused myself about even which of the above I am using on my system and in the process complained to Andy Dustman about a (small) bug in mordred's adapter... ;) MySQLdb is a python wrapper, designed to be used from plain python. But some of it's components are *used* (and required) by mordred's DA. To add to the fuzz the IMHO lates and greates ZMySQLDA (2.0.0a1) is on Andy Dustmans website and AFAIK *not* linked from zope.org http://dustman.net/andy/python/ HTH, Stefan From zope@grewen.de Fri Oct 20 17:03:33 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 18:03:33 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <001801c03aaf$4d10ac40$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
 
------=_NextPart_000_0015_01C03AC0.0FD011C0-- From troy.farrell@wilcom.com Fri Oct 20 18:59:14 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 12:59:14 -0500 Subject: [Zope] dtml-sqlvar quote Message-ID: It is not safe if you have malicious users. You will need to pass your through a filter. This will help. A better example is a user taking advantage of an insert method: insert into data values (, , ) where the user has found the Zsqlmethod by looking at http://yourzopehost/objectIds and calls it like this: http://yourzopehost/sqlADDUSER?value_3=randomvalue);SELECT%20*%20FROM%20secr etpasswordtable/ Fortunately, Zope responds with a "testing the sql method" form if you are authorized. Troy -----Original Message----- From: Mark Twiddy [mailto:vtwiddy@senet.com.au] Sent: Friday, October 20, 2000 3:22 AM To: zope@zope.org Subject: Re: [Zope] dtml-sqlvar quote Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) From roos@stanford.edu Fri Oct 20 19:38:23 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 11:38:23 -0700 (PDT) Subject: [Zope] Recursively creating folders in python Message-ID: This is something I need to have done yesterday... iterates over a list, and adds namespaces, but how do I recursively enter INTO a folder, creating objects within that folder from *it's* point of view? Is this even possible in dtml, or do i need to use raw python? If so, do you have any hints about doing it in python? =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From andym@ActiveState.com Fri Oct 20 19:44:14 2000 From: andym@ActiveState.com (Andy McKay) Date: Fri, 20 Oct 2000 11:44:14 -0700 Subject: [Zope] IIS and PCGI References: <002001c03879$7cc09cd0$ae03a8c0@fork> Message-ID: <004201c03ac5$be40cce0$ae03a8c0@fork> Well I fixed this using a ISAPI filter which I will release soon (once I have some time) that takes a url /a/b/c/x.pcgi/f/g/h, and passes /a/b/c/x.pcgi to IIS so the file will run and /f/g/h to Zope. My next question is has anyone succeeded in getting this to work to another box over a mapped or shared win32 drive? I mapped g:\ to my zope host, and then specified PCGI_PUBLISHER=g:\pcgi\pcgi_publisher.py in my pcgi file. The problem seems to pcgi-wrapper.exe which does not like a mapped drive. (line 485 of parseinfo.c keeps spitting out missing publisher)... Thanks in advance and apologies for the cross post to zope-dev but it is more of a zope-dev question. ----- Original Message ----- From: "Andy McKay" To: Sent: Tuesday, October 17, 2000 1:33 PM Subject: [Zope] IIS and PCGI > Im fiddling with IIS and PCGI, I've looked at > (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server > to work correctly in that http://127.0.0.1/zope.pcgi is the same as > http://127.0.0.1:8080/ > > However it doesnt seem to be carrying through the trailing path info (or / > 's) for example > http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope > 2.2.1. > > Anyone encountered this and know the solution? > > Thanks. > -- > Andy McKay, Developer. > ActiveState. > > > _______________________________________________ > 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 ) > From roos@stanford.edu Fri Oct 20 20:21:39 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 12:21:39 -0700 (PDT) Subject: [Zope] How to type check OR better list selector ways Message-ID: causes a name error, while other python builtins like _.string(some_int) work fine. What gives? Is there some other "zopist" way to type-check? More generally, is there a better way to deal with the annoying fact that multiple selectors return a list UNLESS there are <=1 items selected, in which case they return a single item or None? (rather than a list with only one member, in the case of 1 object selected, or an empty list, in the case of none, which would SEEM to be the consistant way to do things, since wouldn't choke.) =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From kworth@engin.umich.edu Fri Oct 20 20:28:05 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Fri, 20 Oct 2000 15:28:05 -0400 Subject: [Zope] unauthorized error Message-ID: Upon upgrading from 2.1.3 to 2.2.2, I have run into a strange problem. I have a couple of custom products (developed here, but not by me, so I'm not sure of the specifics, but i can find them out. I can edit current instances of the product, but I cannot add new ones because give me an unauthorized error. No matter what username/password I provide, it fails. I import these from my previous installation (the 2.1.3 version) I assume this has to do with the change in the way security is handled in zope 2.2.x, but I haven't figured out how to fix it. A traceback looks like this: Traceback (innermost last): File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in publish File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in publish File H:\MSEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File H:\MSEWEB~1\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob (Object: rev) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_With.py, line 146, in render (Object: sequence-item) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 194, in validate (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\AccessControl\SecurityManager.py, line 139, in validate File H:\MSEWEB~1\lib\python\AccessControl\ZopeSecurityPolicy.py, line 159, in validate Unauthorized: id Any help would be appreciated. -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From haonan@stat.wisc.edu Fri Oct 20 20:49:35 2000 From: haonan@stat.wisc.edu (Haonan Tan) Date: Fri, 20 Oct 2000 14:49:35 -0500 Subject: [Zope] Server Access Control Message-ID: <39F0A1CF.6ED3B55@stat.wisc.edu> How to enforce access control on client IP or host name in the same way that Apache .htaccess does it. Or are there better ways doing it in Zope? Many thanx. Haonan Tan From Dmitry Slusarchuk" I'm new to Zope development but I have already encountered such a problem: from dtml document generates the following: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: __call__ this problem disappears when I do smth like from dtml method. what should I do? In addition I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. Thanks to ev'body for a HELP! From richard@folwell.com Fri Oct 20 20:53:23 2000 From: richard@folwell.com (Richard Folwell) Date: Fri, 20 Oct 2000 20:53:23 +0100 Subject: [Zope] dtml-in loop to capture records In-Reply-To: <39E5C987.3D0D7D1F@oratrix.com> Message-ID: <001401c03acf$67cb6c80$1002a8c0@ente.riverside.uk.net> > Okay, this works fine, in MOST of my forms, but I have other forms where > this doesnt work at all and I get errors saying that the ITEM is a bad > request. I dont get it, what am I missing here that this works some > places and in other places with almost identical syntax, it falls over. I came across this error today. (The problem may not be the same.) In our case it occurred because the SQL, whilst well-formed and valid, violated a database constraint - was trying to put zero length strings into fields of a table where this was not allowed. The problem was tracked down by firstly displaying the request data using: then trying to input the same data manually. HTH, Richard From troy.farrell@wilcom.com Fri Oct 20 21:04:24 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 15:04:24 -0500 Subject: [Zope] Problems with mysql and sql methode Message-ID: You may try: SELECT pyname, pyprice FROM payment WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid I have a feeling mysql is not liking you for not selecting results from table MERCHANTPAYMENT becuase you said you would. Troy -----Original Message----- From: Jens Grewen [mailto:zope@grewen.de] Sent: Friday, October 20, 2000 11:04 AM To: Zope Maillist Subject: [Zope] Problems with mysql and sql methode Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the correct resut but under zope sql methode I get no result. (There was no data matching) Any ideas Jens Grewen From jwashin@vt.edu Fri Oct 20 21:05:56 2000 From: jwashin@vt.edu (Jim Washington) Date: Fri, 20 Oct 2000 16:05:56 -0400 Subject: [Zope] How to type check OR better list selector ways References: Message-ID: <39F0A5A4.17646BAF@vt.edu> Hi, Robert BTW, this is a FAQ, but: use the :list extension in your html. e.g., Works for checkboxes, too! -- Jim Washington Robert Joseph Roos wrote: > > > > causes a name error, while other python builtins > like _.string(some_int) work fine. What gives? > Is there some other "zopist" way to type-check? > > More generally, is there a better way to deal with the annoying > fact that multiple selectors return a list UNLESS there are > <=1 items selected, in which case they return a single item or None? > > (rather than a list with only one member, in the case of 1 object > selected, or an empty list, in the case of none, > which would SEEM to be the consistant way to do things, > since wouldn't choke.) From michel@digicool.com Fri Oct 20 21:09:03 2000 From: michel@digicool.com (Michel Pelletier) Date: Fri, 20 Oct 2000 13:09:03 -0700 Subject: [Zope] O'Reilly Book Tecnical Reviewers Message-ID: <39F0A65F.45EC4326@digicool.com> Greetings, O'Reilly is looking for 4 or 5 technical reviewers for the book. http://www.zope.org/Members/michel/ZB/ Technical reviewers get paid either a small honorarium or get free copies of the book (I am unaware of the exact details). I'm sure this message will elicit a *flood* of candidates, and I'm afraid we can't accept them all (of course, that doesn't mean you can't do it for free ;). Further, this will be a time consuming task, requiring you to scrutinize all details, try examples, etc. You will probably give more effort than you are monitarily compensated with, but you will also get unending glory and mucho zen master points from your zopista peers. So please consider this opertunity to work directly with us to make a great book. If you are interested in the sweat and the glory, please send an email to docs@digicool.com with the subject "I Wanna Be A Technical Reviewer", and maybe a brief bio about you, your Zope experience and (bonus points) if you've every technically reviewed a book before. Thanks! -Michel From zope@grewen.de Fri Oct 20 21:52:16 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 22:52:16 +0200 Subject: [Zope] Problems with mysql and sql methode References: Message-ID: <000001c03ad7$bbb8bd40$0300a8c0@windows> Ok know I get this problem Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in where clause") ---------------------------------------------------------------------------- ---- SQL used: select PYNAME, PYPRICE from PAYMENT where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID other ideas? Thanks Jens Grewen ----- Original Message ----- From: "Farrell, Troy" To: "'Jens Grewen'" ; "Zope Maillist" Sent: Friday, October 20, 2000 10:04 PM Subject: RE: [Zope] Problems with mysql and sql methode > You may try: > > SELECT pyname, pyprice > FROM payment > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > I have a feeling mysql is not liking you for not selecting results from > table MERCHANTPAYMENT becuase you said you would. > > Troy > > -----Original Message----- > From: Jens Grewen [mailto:zope@grewen.de] > Sent: Friday, October 20, 2000 11:04 AM > To: Zope Maillist > Subject: [Zope] Problems with mysql and sql methode > > > Hi, > > I have a problem with an SQL Methode with the this sql statement > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > from MERCHANTPAYMENT, PAYMENT > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > on the following tables: > > > MERCHANTPAYMENT > --------------------------------- > MPID int(30) > MEID int(30) > PYID int(30) > --------------------------------- > > PAYMENT > --------------------------------- > PYID int(30) > PYNAME varchar(50) > PYPRICE varchar(50) > --------------------------------- > > the statement runs under MS ACCESS (link over myODBC) and I get the correct > resut but under zope sql methode I get no result. (There was no data > matching) > > Any ideas > > Jens Grewen > > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:20:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:20:54 -0500 Subject: [Zope] Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Hi Zope Fans, I ran into an odd quirk today, and I'm hoping someone has an insight to share. There is a simple text string stored as a DTML Method, with ID = "set_table_0", e.g.: 'border="0" cellpadding="0" cellspacing="0"' When set_table_0 is in the Zope root folder, it isn't discovered through normal acquisition, but no error occurs. creates a table with defaults, e.g. border is visible. However, when set_table_0 is moved to a subfolder of the Zope root folder, with the name "table_settings", and the reference is made like so:
the DTML Method is found successfully, and the table border isn't displayed. The question is, why is the folder "table_settings" found in the Zope Root Folder, but not the method? Does Acquisition give higher preference to folders (container), objects than a DTML Method? Thanks, Jerry S. From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:41:33 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:41:33 -0500 Subject: [Zope] Acquisitiver and Acquisitiver Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F0@innt-73.ata.com> OK, now I'm really confused. I stumbled on a way to make the DTML Method work, that is, the one that wasn't being found before, via Acquisition. All I have to do is forget to add the terminating ';' in :
so that it looks like so:
Any guesses? Thanks again, Jerry S. From cesar@rotnet.com.br Sat Oct 21 02:45:09 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Fri, 20 Oct 2000 23:45:09 -0200 Subject: [Zope] GUF error: Unauthorized... Message-ID: <39F0F525.C8A49178@rotnet.com.br> Hi! I have created a GUFTest folder. It runs perfectly with the user 'jorge', provided with the GUF. After I have changed the acl to use a SQL connection, I'm getting the error bellow (in the log of the system): GUF[7909]: http://localhost.localdomain:8080/GUFTest/acl_users/userAuthenticate raised an exception (('Unauthorized', 'crypt', )) The source of the HTML page contains (I don't know if it's correct, because I suspect that Netscape reloads the page when you ask it to show the source of the page): What is wrong? I have created a local role called 'Usuario'. This role have the rights to: /GUFTest: Access contents information Can Login an Logout Use database methods View /GUFTest/acl_users: Access contents information Can Login an Logout Use database methods View The Anonymous role have the rights: /GUFTest: _no_roles_ /GUFTest/acl_users: Access contents information Can Login and Logout The userAuthenticate, userDomains, userList, adn userRoles DTML Methods are configurated to proxy the Manager role. I'm using Zope 2.2.1, on a Conectiva Linux 5.0 (Linux i386 2.2.14, python 1.5.2, glibc 2.1.3). TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is generally understood. Indeed, the world is ruled by little else. -- John Maynard Keyes From robert@redcor.ch Sat Oct 21 11:28:53 2000 From: robert@redcor.ch (robert) Date: Sat, 21 Oct 2000 12:28:53 +0200 Subject: [Zope] I wonder how to access a zope siet Message-ID: <001101c03b49$b7fd8330$0a01a8c0@Stravinsky> Hi there, I started to work through the Zope tutorial as layed out in the Content Manager Guide. I came across a coupple of problems I am seeking help for: 1. Stan (the tutorial avatar) is told to create a ZAcme folder in his root folder. Where is Stans root folder? If it is just the folder which is accessed when Stan logs in why is it not displayed in any of the screenshots in the tutorial. I have the impression the rest of the screenshots are very "acurate". 2. How do I access any of the folders from outside the management screen? I tried to use Http://localhost/ZAcme for the tutorial site, but only get an accesserror thrown at me by IE5. 3.Do I have to create the tutorialals pages in Stans root folder or in the ZAcme folder? Thank you for helping a newby of a great product. regards Robert From steve@spvi.com Sat Oct 21 14:09:21 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 08:09:21 -0500 (EST) Subject: [Zope] Acquisitive In-Reply-To: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Message-ID: <200010211309.IAA71276@mercury.spvi.com> Hi Jerry, I'm guessing the the problem is that &dtml-xxx; does an implicit "html_quote" format on whatever expression you provide.. so
should produce:
Which the browser doesn't grok.... try:
> -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> I ran into an odd quirk today, and I'm hoping someone has an JS> insight to share. There is a simple text string stored as a JS> DTML Method, with ID = "set_table_0", e.g.: JS> 'border="0" cellpadding="0" cellspacing="0"' JS> When set_table_0 is in the Zope root folder, it isn't JS> discovered through normal acquisition, but no error occurs. JS>
JS> creates a table with defaults, e.g. border is visible. JS> However, when set_table_0 is moved to a subfolder of the Zope JS> root folder, with the name "table_settings", and the reference JS> is made like so: JS>
JS> the DTML Method is found successfully, and the table border JS> isn't displayed. JS> The question is, why is the folder "table_settings" found in JS> the Zope Root Folder, but not the method? JS> Does Acquisition give higher preference to folders JS> (container), objects than a DTML Method? JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From swallace@trilobyte.net Sat Oct 21 19:38:49 2000 From: swallace@trilobyte.net (swallace@trilobyte.net) Date: Sat, 21 Oct 2000 11:38:49 -0700 Subject: [Zope] Strings, Names and dtml-var Message-ID: <200010211737.LAA19596@trilobyte.net> Ok, Being fairly new at Zope, I am really confused, I think I have looked through all the FAQs, How to's, examples, and what ever, but I still can not get the right combination to get this to work (many combinations tried :-)...). The basic intent is to easily change a property "color_source" in a directory that will cause the "color1" property to be looked up from a different directory. The directory name "default" could be one of many that holds different color themes. Thanks in advance. ***************************Code This does not work: get_color method This works: which renders #FFFFFF ***************************Key get_color = a method, /Business/Base/get_color color_selection = a property in the current directory containing the string "default" without quotes Colors = a folder, /Business/Colors default = a folder, /Business/Colors/default color1 = is a property under default containing the string "#FFFFFF" without quotes Zope = 2.2.2 OS = Win98 ***************************Error Message Error Type: KeyError Error Value: Colors.default.color1 Troubleshooting Suggestions This resource may be trying to reference a nonexistent object or variable Colors.default.color1. The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. From taco@scargo.nl Sat Oct 21 22:08:00 2000 From: taco@scargo.nl (Taco Scargo) Date: Sat, 21 Oct 2000 14:08:00 -0700 Subject: [Zope] Help needed with news articles Message-ID: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Unfortunately nobody responded, so I am reposting this question again. I just need a link to an example or explanation. Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From kthangavelu@earthlink.net Sat Oct 21 17:08:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Sat, 21 Oct 2000 09:08:12 -0700 Subject: [Zope] Strings, Names and dtml-var References: <200010211737.LAA19596@trilobyte.net> Message-ID: <39F1BF6C.C3F8B2B3@earthlink.net> swallace@trilobyte.net wrote: tested > > Ok, Being fairly new at Zope, I am really confused, I think I have > looked through all the FAQs, How to's, examples, and what ever, but > I still can not get the right combination to get this to work (many > combinations tried :-)...). The basic intent is to easily change a > property "color_source" in a directory that will cause the "color1" > property to be looked up from a different directory. The directory > name "default" could be one of many that holds different color > themes. Thanks in advance. > ***************************Code > This does not work: get_color method > > > > This works: > which renders #FFFFFF > ***************************Key > get_color = a method, /Business/Base/get_color > color_selection = a property in the current directory containing > the string "default" without quotes > Colors = a folder, /Business/Colors > default = a folder, /Business/Colors/default > color1 = is a property under default containing the string > "#FFFFFF" without quotes > Zope = 2.2.2 > OS = Win98 > ***************************Error Message > Error Type: KeyError > Error Value: Colors.default.color1 > > Troubleshooting Suggestions > This resource may be trying to reference a nonexistent object > or variable Colors.default.color1. > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering > an error. > > _______________________________________________ > 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 ) From steve@spvi.com Sun Oct 22 01:05:44 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 19:05:44 -0500 (EST) Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: <200010220005.TAA72971@mercury.spvi.com> Hi Taco, How about something like this: >>>>> "Taco" == Taco Scargo writes: Taco> Unfortunately nobody responded, so I am reposting this Taco> question again. I just need a link to an example or Taco> explanation. Taco> Basically I want to create a page listing the last 4 Taco> articles from a Zope folder. The articles need a publish Taco> from/to field, title and (dtml) text. I somehow need to be Taco> able to find and display the article from another dtml Taco> document. I read many FAQs and tried working with zcatalogs, Taco> but somehow I am not getting there. It is probably not so Taco> difficult. If there is somebody how can help me or give me a Taco> link to a clear explanation or example I would be very very Taco> grateful. Thanks ! Taco> Taco Taco> _______________________________________________ Zope Taco> maillist - Zope@zope.org Taco> http://lists.zope.org/mailman/listinfo/zope ** No cross Taco> posts or HTML encoding! ** (Related lists - Taco> http://lists.zope.org/mailman/listinfo/zope-announce Taco> http://lists.zope.org/mailman/listinfo/zope-dev ) From dcinege@psychosis.com Sun Oct 22 04:56:59 2000 From: dcinege@psychosis.com (Dave Cinege) Date: Sat, 21 Oct 2000 23:56:59 -0400 Subject: [Zope] Request for donation of site. Linux Router Project Message-ID: <39F2658B.DF50796B@psychosis.com> I'm lead dev for the Linux Router Project. (LRP is a powerful thin-server OS that taks up less then 2MB of boot space) As you can see http://www.linuxrouter.org/ is not exactly what you would call an amazing site. I've played with zope a little bit and really like it, but I lack both the time to learn zope, and any general artistic ability. : > The project has become quite large and yet we lack a 'professional' web pressence, as well as disorganized documentation. I'd like to see the LRP site 'zopified' with a portal flare. Some thing that would really have is devs (and users) being able to build up a FAQ's and docs online. The more extensive the better, but I'd be happy if someone stepped forward with something 'nice'. (IE basic zopification plus a touch up on graphics) Any person/company willing to take on this endeavor will recieve a plug on the LRP sponsors page if they so desire. Hey it may even look good on resume. Please mail me personally if you're interested. Dave From richard@dcs.co.uk Sun Oct 22 12:19:35 2000 From: richard@dcs.co.uk (Richard Moon) Date: Sun, 22 Oct 2000 12:19:35 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <000001c03ad7$bbb8bd40$0300a8c0@windows> References: Message-ID: <4.3.2.7.2.20001022121642.00e78370@195.60.12.162> MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the same as merchantpayment. Other databases (Postgresql, Informix) are not. Perhaps the Access/ODBC interface hides the case-sensitivity while the direct ZMySQLDA does not ? Richard At 21:52 20/10/00, you wrote: >Ok know I get this problem >Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in >where clause") >---------------------------------------------------------------------------- >---- >SQL used: > >select PYNAME, PYPRICE >from PAYMENT >where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID > >other ideas? > >Thanks > >Jens Grewen > >----- Original Message ----- >From: "Farrell, Troy" >To: "'Jens Grewen'" ; "Zope Maillist" >Sent: Friday, October 20, 2000 10:04 PM >Subject: RE: [Zope] Problems with mysql and sql methode > > > > You may try: > > > > SELECT pyname, pyprice > > FROM payment > > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > > > I have a feeling mysql is not liking you for not selecting results from > > table MERCHANTPAYMENT becuase you said you would. > > > > Troy > > > > -----Original Message----- > > From: Jens Grewen [mailto:zope@grewen.de] > > Sent: Friday, October 20, 2000 11:04 AM > > To: Zope Maillist > > Subject: [Zope] Problems with mysql and sql methode > > > > > > Hi, > > > > I have a problem with an SQL Methode with the this sql statement > > > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > > from MERCHANTPAYMENT, PAYMENT > > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > > > on the following tables: > > > > > > MERCHANTPAYMENT > > --------------------------------- > > MPID int(30) > > MEID int(30) > > PYID int(30) > > --------------------------------- > > > > PAYMENT > > --------------------------------- > > PYID int(30) > > PYNAME varchar(50) > > PYPRICE varchar(50) > > --------------------------------- > > > > the statement runs under MS ACCESS (link over myODBC) and I get the >correct > > resut but under zope sql methode I get no result. (There was no data > > matching) > > > > Any ideas > > > > Jens Grewen > > > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From jonathan@home-all.org.uk Sun Oct 22 15:02:08 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Sun, 22 Oct 2000 15:02:08 +0100 (BST) Subject: [Zope] date off by one day per year cummulative Message-ID: Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding or not. Not good. Quite grim, actually. It only happens when you use the fmt="xyz" to reformat the dates into UK dd/mm/yy (from the default yy/mm/dd). Should I just work around for now, or is this likely to remain like this for a while. If so then zope gets mildly unusable outside the USA. cheers Jonathan From jatwood@bwanazulia.com Sun Oct 22 15:17:00 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:17:00 -0400 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: Hey Steve, Don't have any examples with SQL (although, in theory it is just a call to some data and is treated the same as any other data) but take a look at this. http://www.zope.org/Members/BwanaZulia/tell_a_friend/ Cheers, J At 10:01 PM +1000 1/22/2001, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Sun Oct 22 15:21:33 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:21:33 -0400 Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: Hey Taco, Try this... -

Mix in your own elements where 'news' is a folder with news documents/methods in it. Add new properties for the from to if you want. You also might want to check out the Yihaw Product which does and has code for all of this. http://www.zope.org/Members/Roug/Yihaw Cheers, J At 2:08 PM -0700 10/21/2000, Taco Scargo wrote: >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From kedai@kedai.com.my Sun Oct 22 16:10:04 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 22 Oct 2000 23:10:04 +0800 Subject: [Zope] Help needed with news articles Message-ID: <003601c03c3a$28ef1220$8530bcca@kedai> try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. (and other stuff/properties) the above code should be in a DTML Method -----Original Message----- From: Taco Scargo To: zope@zope.org Date: Sunday, October 22, 2000 5:23 AM Subject: [Zope] Help needed with news articles >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From chrism@digicool.com Sun Oct 22 18:29:20 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 22 Oct 2000 13:29:20 -0400 Subject: [Zope] date off by one day per year cummulative References: Message-ID: <038c01c03c4d$9d656470$63c48ad0@kurtz> Jonathan, Would you be kind enough to put this bug into the collector on Zope.org? ----- Original Message ----- From: "Jonathan Cheyne" To: Sent: Sunday, October 22, 2000 10:02 AM Subject: [Zope] date off by one day per year cummulative > > Hi all, Zope 2.2.0, displaying a date property from a zclass has been out > by one day for a while, trick was just to +1 to the dtml. THought this > was fine til dates into 2001 needed to go on and hey, they become one > day too far now ... so now I need to add code to determine the year before > adding or not. > > Not good. Quite grim, actually. > > It only happens when you use the fmt="xyz" to reformat the dates into > UK dd/mm/yy (from the default yy/mm/dd). > > Should I just work around for now, or is this likely to remain like this > for a while. If so then zope gets mildly unusable outside the USA. > > cheers > > Jonathan > > > > _______________________________________________ > 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 ) > > From salvatore.didio@wanadoo.fr Sun Oct 22 21:31:07 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:31:07 +0200 Subject: [Zope] Help creating Object Message-ID: <39F34E8B.A5F496D7@wanadoo.fr> Hello, In the manage folder I can't create any object. I got a message telling that the object can not be owned by the superuser. (line 217 in file Owned.py). Can someone help me ? Thanks From Noah@noah.org Sun Oct 22 21:29:07 2000 From: Noah@noah.org (Noah) Date: Sun, 22 Oct 2000 13:29:07 -0700 Subject: [Zope] Multiple queries in a ZSQL method? Message-ID: <003901c03c66$c0a937e0$e21ac73f@wingw> Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the record that I just inserted. Something like this: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ); select LAST_INSERT_ID(); If I put this into two different methods then I'm afraid that I will have some threading problems due to the fact that another client might come in and do an insert using the database connection I was using. LAST_INSERT_ID is safe as long as you have an unshared connection. Zope does connection pooling, so I worry that using two separate ZSQL Methods may not always work. And WILL NOT work if Zope gives me a different connection for the second ZSQL call. Is there a better way to do this? Yours, Noah From salvatore.didio@wanadoo.fr Sun Oct 22 21:41:39 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:41:39 +0200 Subject: [Zope] Creating Object Message-ID: <39F35103.CE1D139@wanadoo.fr> Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much From kthangavelu@earthlink.net Sun Oct 22 16:56:43 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:56:43 -0700 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <39F30E3B.556097F2@earthlink.net> Salvatore DIDIO wrote: > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much i feel for you, in zope 2.2 and above the initial account, the superuser, isn't allowed to create/own objects. what you're supposed to do is create a new user in the acl_users of the root directory which will be your first working account. after you create a user in acl_users, logout by shutting down the browser and than try logging into the system with a new browser. you can escape shutting down the browser by editing one of the existing methods to have this section of code. when asked to reauthenticate type in the name of the new user. than click cancel and reload the /manage page, you should be able to login as the new user. Log out Cheers Kapil From kthangavelu@earthlink.net Sun Oct 22 16:57:27 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:57:27 -0700 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <39F30E67.83993A99@earthlink.net> multiple non-select statements (max 1 select) are done through the use of kapil Noah wrote: > > Hi, > > I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. > After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the > record that I just inserted. Something like this: > > insert into author > (id, name, sort_name, email, bio, initials) > values > (null, > , > , > , > , > ); > > select LAST_INSERT_ID(); > > If I put this into two different methods then I'm afraid that I will have some > threading problems due to the fact that another client might come in and > do an insert using the database connection I was using. LAST_INSERT_ID > is safe as long as you have an unshared connection. Zope does > connection pooling, so I worry that using two separate ZSQL Methods > may not always work. And WILL NOT work if Zope gives me a different connection > for the second ZSQL call. > > Is there a better way to do this? > > Yours, > Noah > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:02:02 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:02:02 +0100 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <00b801c03ba2$2c288e50$0202a8c0@typhoon> Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ) select LAST_INSERT_ID() hth Phil Phil.harris@zope.co.uk ----- Original Message ----- From: "Noah" To: Sent: Sunday, October 22, 2000 9:29 PM Subject: [Zope] Multiple queries in a ZSQL method? | Hi, | | I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. | After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the | record that I just inserted. Something like this: | | insert into author | (id, name, sort_name, email, bio, initials) | values | (null, | , | , | , | , | ); | | select LAST_INSERT_ID(); | | If I put this into two different methods then I'm afraid that I will have some | threading problems due to the fact that another client might come in and | do an insert using the database connection I was using. LAST_INSERT_ID | is safe as long as you have an unshared connection. Zope does | connection pooling, so I worry that using two separate ZSQL Methods | may not always work. And WILL NOT work if Zope gives me a different connection | for the second ZSQL call. | | Is there a better way to do this? | | Yours, | Noah | | | | | | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:05:20 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:05:20 +0100 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <00c001c03ba2$a3146f20$0202a8c0@typhoon> Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the possibles. hth Phil ----- Original Message ----- From: "Salvatore DIDIO" To: "Zope" Sent: Sunday, October 22, 2000 9:41 PM Subject: [Zope] Creating Object | Hello, | | I am new to Zope | I've just installed Zope on Linux. I just can't create any object !. | I receive the following message : | the object can not be owned by the superuser | (line 217 in file Owned.py) | Could someone help me ? | | Thank you very much | | | | _______________________________________________ | 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 ) From jatwood@bwanazulia.com Sun Oct 22 22:18:23 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 17:18:23 -0400 Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> References: <39F35103.CE1D139@wanadoo.fr> Message-ID: You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote: >Hello, > >I am new to Zope >I've just installed Zope on Linux. I just can't create any object !. >I receive the following message : > the object can not be owned by the superuser >(line 217 in file Owned.py) >Could someone help me ? > >Thank you very much > > > >_______________________________________________ >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 ) From mark@kaivo.com Sun Oct 22 22:28:48 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 15:28:48 -0600 (MDT) Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> from "Salvatore DIDIO" at Oct 22, 2000 10:41:39 PM Message-ID: <200010222128.PAA27072@CatInTheHat.kaivo.com> You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created. You should be able to create objects. Mark > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much > > > > _______________________________________________ > 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 ) > From bill@noreboots.com Sun Oct 22 22:09:18 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:09:18 -0600 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <39F3577E.8EF9D4BF@noreboots.com> Chris Withers wrote: > > Andrew Kenneth Milton wrote: > > > > | > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > which will hopefully produce a solution :-) > > cheers, As soon as you can tell us how to get Zope to go executing _files_ on the server (read, in the filesystem), as opposed to objects in the site.... I might accept it as the same bug. :^)= Then-again,-I-might-_use_-that-capability-if-I-could-ly y'rs Bill -- E PLURIBUS LINUX From bill@noreboots.com Sun Oct 22 22:11:22 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:11:22 -0600 Subject: [Zope] Roxen & Zope, not working References: <20001019203410.18523.qmail@web515.mail.yahoo.com> Message-ID: <39F357FA.B3E5BEB7@noreboots.com> Adrian Madrid wrote: > > I'm having problems running Zope on top of Roxen on a Win2k machine. > They both run just fine separate but I can't make it work together. I > followed the instructions from > http://www.zope.org/Members/magnus/Roxen but I never got it to see the > first page. Here are the tracebacks I get: > > * This is what I get when I try mysite.com: These are all Roxen tracebacks, try their lists for details (good luck). Bill (I run many sites just fine with Roxen/Zope, but that's on Linux) -- E PLURIBUS LINUX From taco@scargo.nl Sun Oct 22 22:56:21 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 14:56:21 -0700 Subject: [Zope] Problems with sequence-item Message-ID: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> I get errors when sequence-item is being called to list the contents of a folder E.g. correctly outputs 3 2 1 When I do it correctly outputs all ids in the folder. But will fail with an error Error Type: AttributeError Error Value: __call__ What am I doing wrong ? Thanks, Taco Scargo ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From curtis@cardgate.net Sun Oct 22 23:30:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:30:17 +1100 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <0010230930170K.01234@localhost.localdomain> On Fri, 20 Oct 2000, Chris Withers wrote: > Andrew Kenneth Milton wrote: > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > wwhich will hopefully produce a solution :-) > Now, I may be missing the point of the fine grained access control of ZOPE, but knowing an objects ID is not at all the same as being able to access it, or even invoke it correctly. The MS bug "allows access to any file on the webserver". Whilst in ZOPE you may be able to enter the URL and invoke the object to some degree, unless you have the permissions to do whatever it does, what harm can you do? To me, this seems like more of a "patch by sensible admin" problem than a security hole. > cheers, > > Chris > Have a better one, Curtis Maloney. From curtis@cardgate.net Sun Oct 22 23:41:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:41:56 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> References: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> Message-ID: <0010230941560L.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > Your problem appears to be in the using of objectValues(). This returns the actual objects. So, in the second loop () you are referencing the 'id' member of each object. Nothing wrong there. However, in the third loop () you are trying to render the object itself. This will 'call' each object, which some of them (obviously) object to. (No pun intended) If you want to render all the DTML Documents and DTML Methods in the folder , try something like: but this could get very messy with a large folder. (o8 > Thanks, > > Taco Scargo > Have a better one, Curtis Maloney From mark@kaivo.com Sun Oct 22 23:52:59 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 16:52:59 -0600 (MDT) Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> from "Taco Scargo" at Oct 22, 2000 02:56:21 PM Message-ID: <200010222252.QAA27926@CatInTheHat.kaivo.com> > > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > In this example, is actually trying to call the items in the folder. In this case, at least one of the items is not callable ( like another folder). If you did something like this: You would see the results of 'viewing' or calling every DTML Method in folder. Mark > Thanks, > > Taco Scargo > > > > > ________________________________________________________ > 1stUp.com - Free the Web > Get your free Internet access at http://www.1stUp.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 ) > From taco@scargo.nl Mon Oct 23 02:34:52 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:34:52 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> Message-ID: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. Fails with the error: Error Type: AttributeError Error Value: __call__ I am really clueless.... Thanks, Taco ----- Original Message ----- From: "Mark N. Gibson" To: "Taco Scargo" Cc: Sent: Sunday, October 22, 2000 3:52 PM Subject: Re: [Zope] Problems with sequence-item > In this example, is actually trying to call the items > in the folder. In this case, at least one of the items is not callable like > another folder). If you did something like this: > > > > > > You would see the results of 'viewing' or calling every DTML Method in folder. > > Mark From curtis@cardgate.net Mon Oct 23 02:57:50 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 12:57:50 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Message-ID: <0010231257500N.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > Had already tried that, but it doesn't work. > I have 8 DTML Documents in a folder called artikelen. > > > > > > Fails with the error: > Error Type: AttributeError > Error Value: __call__ > > I am really clueless.... > Any chance you could post the WHOLE traceback, so we might be able to see which object it's choking on? > Thanks, > > Taco Curtis. From taco@scargo.nl Mon Oct 23 02:54:42 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:54:42 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> Message-ID: <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Please feel free to look at it at http://www.gezondheidskrant.nl:8080/mainframe Taco ----- Original Message ----- From: "Curtis Maloney" To: "Taco Scargo" ; "Mark N. Gibson" ; Sent: Sunday, October 22, 2000 6:57 PM Subject: Re: [Zope] Problems with sequence-item > Any chance you could post the WHOLE traceback, so we might be able to see > which object it's choking on? From kthangavelu@earthlink.net Sun Oct 22 23:38:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:38:51 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Message-ID: <39F36C7B.906C48FC@earthlink.net> I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen document. zope renders these subtemplates slightly differently than a template called directly by the browser, when you're calling the addressen subobject from the document call it like this or in a if that doesn't solve it for you, than it would be helpful to have the relevant src of the document. i tried without success to duplicate the exact same error, but i'm pretty sure that the problem has something to do with this. Kapil Taco Scargo wrote: > > Please feel free to look at it at > > http://www.gezondheidskrant.nl:8080/mainframe > > Taco > ----- Original Message ----- > From: "Curtis Maloney" > To: "Taco Scargo" ; "Mark N. Gibson" ; > > Sent: Sunday, October 22, 2000 6:57 PM > Subject: Re: [Zope] Problems with sequence-item > > Any chance you could post the WHOLE traceback, so we might be able to see > > which object it's choking on? > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Sun Oct 22 23:43:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:43:02 -0700 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39F36D76.50D2C358@earthlink.net> trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From maxm@normik.dk Mon Oct 23 09:12:31 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 10:12:31 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: <7BD10B680501D411B9DF009027E06F32197A8D@exchange> This is untested, but an idea: It is still subject to failure if 2 or more processes are writing an article in the same time. Furthermore it has to find and sort all the items in the folder. That could take a long time if there are lots of them. Maybe you should somehow insert a dtml-try until you succed in writing the article. Another aproach would be to have the folder with your articles have a property "lastID" and let "nexID" be a method that automatically would increment lastID end return it. Maybe it is possible to lock the lastID property?? >From: Patrick Koetter [mailto:p@state-of-mind.de] >What is it that I want to do? >I want to evaluate the highest ID (all are 'int') within the folder and >assign the next highest. >I'm sure this is easy to you... From Oliver Bleutgen Mon Oct 23 09:41:27 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 10:41:27 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010230845.BAA02278@zope.codeit.com> > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > same as merchantpayment. > Other databases (Postgresql, Informix) are not. > Perhaps the Access/ODBC interface hides the case-sensitivity while the > direct ZMySQLDA does not ? Hmm, I'm not very clear about differences between handling of (table, column) names in sql-databases, but postgres IS case sensitive (in some sense). Few days ago I wrote to messages to this list describing my problems with postgres and capitals in column-names. The handling of these will render useless, because it doesn't quote the name of the vars. I that case postgres will not respect capital letter (will turn them lowercase) but also won't find the column which name is written uppercase. I think it would be usefull to collect the behaviour of different databases and try to find a solution which will work with all of them. The solution we have now clearly doesn't do that. cheers, oliver From brocken22@gmx.de Mon Oct 23 10:06:08 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 23 Oct 2000 11:06:08 +0200 (MEST) Subject: [Zope] Working with versions Message-ID: <4833.972291968@www32.gmx.net> Hallo, I've got a question concerning versions. The working with versions in the management screen is obvious to me, but what about hiding the management-screen and working with them. I want to add ZClasses programmatically but some users should only be able to add them after a Controller has checked that everything is o.k. What are the right methods to use??? -- Sent through GMX FreeMail - http://www.gmx.net From chrism@digicool.com Mon Oct 23 10:30:27 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 05:30:27 -0400 Subject: [Zope] Working with versions References: <4833.972291968@www32.gmx.net> Message-ID: <065101c03cd3$e2576c00$63c48ad0@kurtz> Hi... You need to open a versioned database connection manually. This is probably harder than it should be. For more info, see http://www.zope.org/Documentation/Developer/Models/ZODB and look under Architecture --> DB. ----- Original Message ----- From: To: Sent: Monday, October 23, 2000 5:06 AM Subject: [Zope] Working with versions > Hallo, > I've got a question concerning versions. > The working with versions in the management screen is obvious to me, but > what about hiding the management-screen and working with them. > I want to add ZClasses programmatically but some users should only be able > to add them after a Controller has checked that everything is o.k. > What are the right methods to use??? > > -- > Sent through GMX FreeMail - http://www.gmx.net > > > _______________________________________________ > 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 ) > > From Olivier Ricou Mon Oct 23 10:48:54 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 11:48:54 +0200 Subject: [Zope] newbie questions ? Message-ID: <20001023114854.E3390@hermes> Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. Here are two questions I did not find the answers : - how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory. - how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder. Thanks, Olivier. From sean@digitome.com Mon Oct 23 11:16:09 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 11:16:09 +0100 Subject: [Zope] GET requests in Medusa web server Message-ID: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Hello all, Why does the Medusa server in Zope not handle GET requests which specify a full URI? For example, if I have a web server running on web.mydomain.com, and I want to get a file called "file.html", doing a GET request of the form GET http://web.mydomain.com/file.html HTTP/1.1 gives me a 404. Doing a GET of the form GET /file.html HTTP/1.1 works fine. If I understand RFC 2068 correctly, a HTTP 1.1 compliant server is expected to handle both cases (5.1.12 of RFC 2068), although HTTP 1.1 clients are not supposed to generate these unless talking to a proxy. In our case, the software which generates the request is a WAP gateway (Ophelia, http://www.3ui.com), and it always assumes it is talking to a proxy server, and requires a code change to change it. I've tested Apache and IIS with this, and they handle both forms. Thanks in advance. From chrism@digicool.com Mon Oct 23 11:38:57 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:38:57 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> Message-ID: <002801c03cdd$72ac3020$1f48a4d8@kurtz> > Hi, > > I spent my week-end learning how to use Zope, it was a nice painful > experience. Nice thanks to Zope itself, painful because of the poor > docs. The How-Tos helped me a lot but it is a real mess. We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/. > Here are two questions I did not find the answers : > > - how to ask for authentification to see my web pages (not manage, just > see) ? In Apache one has to put a .htaccess file in the directory. This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > - how to limit the size a folder ? I want to give login to friends > so they can add photos in a folder but I don't want to receive > more than 200MB of data in this folder. There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size. From chrism@digicool.com Mon Oct 23 11:43:06 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:43:06 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> Message-ID: <003e01c03cde$070ea360$1f48a4d8@kurtz> And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) ----- Original Message ----- From: "Chris McDonough" To: "Olivier Ricou" ; Sent: Monday, October 23, 2000 6:38 AM Subject: Re: [Zope] newbie questions ? > > Hi, > > > > I spent my week-end learning how to use Zope, it was a nice painful > > experience. Nice thanks to Zope itself, painful because of the poor > > docs. The How-Tos helped me a lot but it is a real mess. > > We know. :-) Have you checked out the Zope book? > http://www.zope.org/Members/michel/ZB/. > > > Here are two questions I did not find the answers : > > > > - how to ask for authentification to see my web pages (not manage, just > > see) ? In Apache one has to put a .htaccess file in the directory. > > This answer is definitely in the Zope book. If it's not, there's the > (unfinished) chapter of the Zope Product Developer's Guide Security chapter > at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > > > - how to limit the size a folder ? I want to give login to friends > > so they can add photos in a folder but I don't want to receive > > more than 200MB of data in this folder. > > There is no quota support in Zope. You'd need to write code to enforce a > constraint on total upload size. > > > > _______________________________________________ > 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 ) > > From richard@dcs.co.uk Mon Oct 23 11:00:22 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 23 Oct 2000 11:00:22 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <200010230845.BAA02278@zope.codeit.com> Message-ID: <4.3.2.7.2.20001023103517.02359840@195.60.12.162> At 09:41 23/10/00, you wrote: > > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > > same as merchantpayment. > > > Other databases (Postgresql, Informix) are not. > > > Perhaps the Access/ODBC interface hides the case-sensitivity while the > > direct ZMySQLDA does not ? > >Hmm, I'm not very clear about differences between handling of (table, >column) names >in sql-databases, but postgres IS case sensitive (in some sense). Well I'm confused !!! I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both with the same schema. Both have a table 'artist'. The following SQL Method (Zope 2.2.1) works with both select a.artist_id,a.known_name,a.initials from artist a where Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where it still works with PostgreSQL but with MySQL I get "Table 'tunedb.ARTIST' doesn't exist" Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where Then it still works with PostgreSQL, provided you also change the argument to the SQL Method from surname to SURNAME. When you click on the Test tab of an SQL Method it shows the SQL generated and you can see, in the above example, that the uppercase words are passed through unchanged to the database viz. select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = 'Molloy' In what circumstances is PostgreSQL case-sensitive ? Richard >Few days ago I wrote to messages to this list describing my problems >with postgres and capitals in column-names. The handling of these will >render useless, because it doesn't quote the name of the >vars. I that case postgres will not respect capital letter (will turn them >lowercase) but also won't find the column which name is written uppercase. > >I think it would be usefull to collect the behaviour of different databases >and try to find a solution which will work with all of them. >The solution we have now clearly doesn't do that. > >cheers, >oliver > > > > > > > >_______________________________________________ >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 ) Richard Moon richard@dcs.co.uk From olpa@sybcom.de Mon Oct 23 11:48:06 2000 From: olpa@sybcom.de (olpa@sybcom.de) Date: Mon, 23 Oct 2000 12:48:06 +0200 (CEST) Subject: [Zope] ZCatalog question Message-ID: Hi Folks, i have a ZCatalog over a bunch of items with attributes A and B. Now I want to search all elements with attribute A set to value 1 and AT THE SAME TIME with attribute B set to value 2. So a sort of AND combination with two different attributes. How to do ? Regards oliver --- "All language designers are arrogant. Goes with the territory..." (By Larry Wall) --- Oliver Pabst .-------------------------. mailto:olpa@sybcom.de : : phone :+49 681 56600600 : project department : SYBCOM GmbH fax :+49 681 56600660 : : http://www.sybcom.de From hohage@muenster.de Mon Oct 23 13:38:13 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 13:38:13 +0100 Subject: [Zope] Working with versions Message-ID: <39F3CE19@muepubb> Hallo Chris, thank you for your reply, but I don't understand what I have to do. I looked into the documentation but it is obscure to me. Sven >===== Original Message From "Chris McDonough" ===== >Hi... > >You need to open a versioned database connection manually. This is probably >harder than it should be. For more info, see >http://www.zope.org/Documentation/Developer/Models/ZODB and look under >Architecture --> DB. > >----- Original Message ----- >From: >To: >Sent: Monday, October 23, 2000 5:06 AM >Subject: [Zope] Working with versions > > >> Hallo, >> I've got a question concerning versions. >> The working with versions in the management screen is obvious to me, but >> what about hiding the management-screen and working with them. >> I want to add ZClasses programmatically but some users should only be able >> to add them after a Controller has checked that everything is o.k. >> What are the right methods to use??? >> >> -- >> Sent through GMX FreeMail - http://www.gmx.net >> >> >> _______________________________________________ >> 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 ) >> >> From Oliver Bleutgen Mon Oct 23 12:41:59 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 13:41:59 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010231146.EAA08582@zope.codeit.com> > At 09:41 23/10/00, you wrote: >>Hmm, I'm not very clear about differences between handling of (table, >>column) names >>in sql-databases, but postgres IS case sensitive (in some sense). > Well I'm confused !!! > I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both > with > the same schema. Both have a table 'artist'. The following SQL Method > (Zope > 2.2.1) works with both > select a.artist_id,a.known_name,a.initials >>from artist a > where > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > it still works with PostgreSQL but with MySQL I get > "Table 'tunedb.ARTIST' doesn't exist" > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > Then it still works with PostgreSQL, provided you also change the argument > to the SQL Method from surname to SURNAME. > When you click on the Test tab of an SQL Method it shows the SQL generated > and you can see, in the above example, that the uppercase words are passed > through unchanged to the database > viz. > select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = > 'Molloy' > In what circumstances is PostgreSQL case-sensitive ? First, sorry for my (nearly) full-quote, but I think it makes this discussion more readable. To your question, from my testing (I did this with column names only, but I suspect the same behavior for table-names), postgres is case sensitive, but - as I wrote - in another sense. If you don't quote the column-names, they are converted to or interpreted as lowercased names. _But_ if the real name of the table/column is _uppercase_, it will not be matched by this lowercased name - in this sense postgres is case-sensitive. Postgres needs quoted names in sql-queries to respect capitalization (sp?) - and I couldn't get to generate them. This was a major problem for me, because I had to work with a bunch of tables which were exported from foxpro and dbase, and their names were uppercased in the process. cheers, oliver From taco@scargo.nl Mon Oct 23 12:59:35 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 04:59:35 -0700 Subject: [Zope] Almost there, but I am still having a little problem References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> <39F36C7B.906C48FC@earthlink.net> Message-ID: <009b01c03ce8$b7d5b850$7b231440@TACOTOSHIBA> Thank you all for helping me out. The hints got me almost there. I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From baehr@dfki.de Mon Oct 23 13:35:57 2000 From: baehr@dfki.de (Jan-Thies Baehr) Date: Mon, 23 Oct 2000 14:35:57 +0200 Subject: [Zope] again: install Zope under Solaris 8 Message-ID: <39F430AD.8084E944@dfki.uni-kl.de> Hi, I just want to resume a thread from september. Has anyone else encountered problems installing Zope (in our case 2.2.2) under Solaris 8? And more important: Do you know a solution? Python is unable to import the ExtensionClass. I tried it from commandline (python 1.5.2 (#1, Oct 19 2000, 13:55:34) [GCC 2.95.3 19991030 (prerelease)] on sunos5) also and got the same Import Error: --------------- command and traceback following ---------------------------- [~/Zope-2.2.2] ./start Traceback (innermost last): File "/...../Zope-2.2.2/z2.py", line 554, in exec "import "+MODULE in {} File "", line 1, in File "/...../Zope-2.2.2/lib/python/Zope/__init__.py", line 94, in import ZODB, ZODB.ZApplication, imp File "/...../Zope-2.2.2/lib/python/ZODB/__init__.py", line 85, in import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol not found ------------------------------------------------------------------------------ Thanks, Thies Bähr. -- ----------------------------------------------------------------------- Jan-Thies Bähr Intelligent Visualization & Simulation DFKI GmbH Email: baehr@dfki.uni-kl.de D-67608 Kaiserslautern (Germany) Phone: +49 (0) 631 205-4565 ----------------------------------------------------------------------- From arevalo@iam.unibe.ch Mon Oct 23 14:57:03 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 15:57:03 +0200 (MET DST) Subject: [Zope] a problem with 'start' command Message-ID: hi all, I am a starter with Zope and i have a simple question. I need to execute 'start' command to start the server again. when i tried to do it, it gives me the message: command not found I looked at the directory, i can find the start command, and the permissions are -rwx--x--x. Can somebody help me with this ? Thanks Gaby From ws@gmd.de Mon Oct 23 14:59:47 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Mon, 23 Oct 2000 15:59:47 +0200 Subject: [Zope] Zope 2.2.2 breaks YihawDirectory ? Message-ID: <39F46073.11918.12C6AEA@localhost> When installing the actual Version of YihawDirectory (http://www.zope.org/Members/Roug/Yihaw) by importing it into a 2.2.2 Zope, I got the following traceback. This happens both with and without the current hotfixes. Importing it into 2.2.1 equipped with the current hotfixes works without flaws. Any ideas what's going on here? I don't want to go back to 2.2.1 :-/ Zope has encountered an error while publishing this resource. Error Type: Could not load oid  5, pickled data in traceback info may contain clues Error Value: None Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 526, in manage_importObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 278, in _setObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 447, in setstate File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info:  5) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\0225', '(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq \002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012 U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U \007#ffffccq\021U\016contextMessageq\022U\011Event Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000 \000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0 30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03 2U\0013U\014titleFgColorq\033U\007#000000q\034U\011meta_type q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5 0D1IjExz+kMxPcyw==q U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\ 003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\ 000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00 3MWpq,ttq- QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01 5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add EventDocumentsq3)(U\007Managerq4tq5t(U\017Add EvDocAddersq6)h5t(U\016Add EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00 0\000\000\022Oq:(h\015U\003MWpq;ttq(h\015U\003MWpq?ttq@QU\ 014titleBgColorqAU\007#ffffccqBU\004iconqCU9Control_Panel/Prod ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0 22nobody@nowhere.comqFU\010nicknameqGU\011Event LogqHU\023docGridDisplayColorqIU\007#0000ccqJU\017mgmt_bat ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\ 000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\ 0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0 00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU \00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003 MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000 \022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\ 000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0 03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000 \022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0 13bordercolorqwU\007#000033qxU\012_p_changedqyK\001U\007__ doc__qzU\037Folder to contain event objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00 0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000 \000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00 0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l astDayOfMonthq\211(U\010\000\000\000\000\000\000\022cq\212(h\ 015U\003MWpq\213ttq\214QU\016headingBgColorq\215U\007#000 000q\216U\011thismonthq\217(U\010\000\000\000\000\000\000\022 Zq\220(h\015U\003MWpq\221ttq\222QU\024isPrincipiaFolderishq\2 23U\001YU\013bodyBgColorq\224U\007#ffffffq\225U\011pixel_gifq\2 26(U\010\000\000\000\000\000\000\022Xq\227(h\015U\003MWpq\23 0ttq\231QU\016undo_hook_linkq\232(U\010\000\000\000\000\000\0 00\022Iq\233(h\015U\003MWpq\234ttq\235QU\017newAddendumFo rmq\236(U\010\000\000\000\000\000\000\022`q\237(h\015U\003MW pq\240ttq\241QU\013subobjTypesq\242(U\010\000\000\000\000\000 \000\022aq\243(h\015U\003MWpq\244ttq\245QU\010newEventq\24 6(U\010\000\000\000\000\000\000\022bq\247(h\015U\003MWpq\250 ttq\251QU\011_p_serialq\252U\010\0036b\014\023S\230\273q\253U \011dateRangeq\254(U\010\000\000\000\000\000\000\022Yq\255(h\ 015U\003MWpq\256ttq\257QU\006go_gifq\260(U\010\000\000\000\0 00\000\000\022Tq\261(h\015U\003MWpq\262ttq\263QU\020AboutE ventFolderq\264(U\010\000\000\000\000\000\000\022dq\265(h\015U\ 003MWpq\266ttq\267QU\012meta_typesq\270(}q\271(U\012permiss ionq\272U\022Add EventDocumentsq\273U\004nameq\274U\016Event Documentq\275U\007productq\276U\013EventFolderq\277U\006acti onq\300U3manage_addProduct/EventFolder/EventDocument_factor yq\301utq\302U\013borderwidthq\303U\0012U\014subjectNamesq\3 04]q\305(U\007Generalq\306U\004Artsq\307U\007Theatreq\310U\00 6Sportsq\311U\012Governmentq\312U\005Clubsq\313U\006Schoolq \314U\011Religiousq\315eU\006prefixq\316U\000U\012whole_yearq\ 317(U\010\000\000\000\000\000\000\022eq\320(h\015U\003MWpq\3 21ttq\322QU\014showCalendarq\323(U\010\000\000\000\000\000\00 0\022fq\324(h\015U\003MWpq\325ttq\326QU\021filterHtmlInFormsq \327U\002onq\330U\016manage_optionsq\331(}q\332(U\005labelq\3 33U\010Contentsq\334U\004helpq\335(U\013EventFolderq\336U\01 0MainViewq\337tU\006actionq\340U\016neatManageViewq\341u}q\ 342(U\005labelq\343U\022Zope Contents Viewq\344U\004helpq\345(h\336U\020ZopeContentsViewq\346tU\00 6actionq\347U\013manage_mainq\350u}q\351(U\005labelq\352U\00 4Viewq\353U\006actionq\354U\014showCalendarq\355u}q\356(U\00 5labelq\357U\012Propertiesq\360h\345(h\336U\020FolderProperties q\361tU\006actionq\362U propertysheets/properties/manageq\363u}q\364(U\005labelq\365U\0 10Securityq\366U\006actionq\367U\015manage_accessq\370u}q\37 1(U\005labelq\372U\004Undoq\373U\006actionq\374U\016undo_hoo k_linkq\375u}q\376(U\005labelq\377U\006ReadMer\000\001\000\000 U\006actionr\001\001\000\000U\020AboutEventFolderr\002\001\000\ 000utr\003\001\000\000U\007xSearchr\004\001\000\000(U\010\000\ 000\000\000\000\000\022gr\005\001\000\000(h\015U\003MWpr\006\ 001\000\000ttr\007\001\000\000QU\012ziconImager\010\001\000\00 0(U\010\000\000\000\000\000\000\022\\r\011\001\000\000(U\011OF S.Imager\012\001\000\000U\005Imager\013\001\000\000ttr\014\001\ 000\000QU\014eventlog_gifr\015\001\000\000(U\010\000\000\000\00 0\000\000\022hr\016\001\000\000(h\015U\003MWpr\017\001\000\00 0ttr\020\001\000\000QU\013ctlsBgColorr\021\001\000\000U\007#ccf fccr\022\001\000\000U\006renderr\023\001\000\000(U\010\000\000\ 000\000\000\000\022ir\024\001\000\000(h\015U\003MWpr\025\001\ 000\000ttr\026\001\000\000QU\013bodyFgColorr\027\001\000\000U\ 007#000000r\030\001\000\000U\005titler\031\001\000\000U\011Eve nt Logr\032\001\000\000U\021wrapSearchResultsr\033\001\000\000(U\ 010\000\000\000\000\000\000\022kr\034\001\000\000(h\015U\003M Wpr\035\001\000\000tr\036\001\000\000tr\037\001\000\000QU\017li nkRelFontSizer \001\000\000U\002- 1r!\001\000\000U\016headingFgColorr"\001\000\000U\007#ffffffr#\001 \000\000utr$\001\000\000t.N.')) Could not load oid  5, pickled data in traceback info may contain clues: (see above) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From maxm@normik.dk Mon Oct 23 15:06:27 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 16:06:27 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> What am I doing wrong here ... please !! I am trying to make an autoincrementing counter for use in a diskussion forum. It's purpose is to autogenereate id's for new messages. It is important that the id's are in order, so I need to make them this way. I have a zClass (objectmanger) with a property called "lastID", on a propertysheet called "hidden". I have then written a dtml mehtod that should return the id incremented by 1 and then sets the lastID to this new id. the dtml for the "newID()" dtml method looks like this: ---------- ---------- When I try to get the property directly via the browser i get a result of "1" The default value for lastID=0 to begin with so this sounds plausible, but when I refresh the browser nothing happens. So I guess that lastID isn't updated in the above code. How do I do that? Also when I the try to insert "newID()" in my "mxm_comment_add" method in my zClass, to autogenerate numbers, like this: I get the following traceback: (And I would expect it to run at least 1 time with "1" as a new id.) Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\mxmZope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\mxmZope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File C:\mxmZope\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) (Info: newID) File <string>, line 0, in ? File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: REQUEST.set('new_id', lastID+1)) (Info: REQUEST) File <string>, line 0, in ? NameError: (see above) From ghaley@venaca.com Mon Oct 23 15:19:12 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 23 Oct 2000 10:19:12 -0400 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F448E0.C533E384@venaca.com> steve smith wrote: > > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > hi steve. one of the worst things with zope sendmail is that you cannot indent things the way you might with clean coding use. but, you can use some very nice sql calls within you sendmail, including appropriate indentation. below is a sendmail method that i use to read a string of email address from a mysql database, and the text of the email from a second database, which gets parsed via an external python script (to parse the string of text into lines of <= 75 chars, otherwise the text gets sent as single lines). also, it checks for non-existent email addresses or missing names (the database is a list of people and companies, whether connected to the net or not). it may not be the most efficient, but it works; and any suggestions as to making it more efficient will be most appreciated. ciao! greg. venaca.com ********************************** clip ************************************

''"> '' and primary_name <> ''"> To: <> From: Subject: To: <> From: Subject: From phil.harris@zope.co.uk Mon Oct 23 15:25:49 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 15:25:49 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <00f501c03cfd$26dddac0$5c773fc1@media1> Gaby, If you are in the Zope directory, since most uni(x)es don't have the current directory in the path, you need to start zope with './start'. hth Phil ----- Original Message ----- From: "Gabriela Arevalo" To: Sent: Monday, October 23, 2000 2:57 PM Subject: [Zope] a problem with 'start' command > hi all, > I am a starter with Zope and i have a simple question. > I need to execute 'start' command to start the server again. > when i tried to do it, it gives me the message: > command not found > I looked at the directory, i can find the start command, and the > permissions are -rwx--x--x. > > Can somebody help me with this ? > > Thanks > > Gaby > > > _______________________________________________ > 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 ) From Jerry.Spicklemire@IFLYATA.COM Mon Oct 23 15:33:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 23 Oct 2000 09:33:07 -0500 Subject: [Zope] RE: Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F5@innt-73.ata.com> Steve wrote: > I'm guessing the the problem is that > > &dtml-xxx; does an implicit "html_quote" format > on whatever expression you provide.. so > >

> > should produce: > >
> > Which the browser doesn't grok.... > > try: > >
> That works! It turned out that this was also complicated by some flakey behavior displaying nested tables, in MS IE. It seems that sometimes it doesn't matter what you specifiy for a table's properties, the parent tables properties take precedence. Thanks! Jerry S. From hohage@muenster.de Mon Oct 23 16:40:02 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 16:40:02 +0100 Subject: [Zope] Adding many instances at once Message-ID: <39F44BCE@muepubb> Hallo, how can you add many ZClass-instances at once. I mean with the correct content,title and other properties.The example(adding zclass to a zclass)is always adding one class.The next problem is how to deal with the properties in a form if you don't know how many items are added by the user?? User A is adding three news-items at once, the next is adding 5. From brian@digicool.com Mon Oct 23 15:42:02 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 23 Oct 2000 10:42:02 -0400 Subject: [Zope] GET requests in Medusa web server In-Reply-To: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: > Why does the Medusa server in Zope not handle GET requests which specify > a full URI? For example, if I have a web server running on > web.mydomain.com, > and I want to get a file called "file.html", doing a GET request > of the form > > GET http://web.mydomain.com/file.html HTTP/1.1 > > gives me a 404. Doing a GET of the form > > GET /file.html HTTP/1.1 > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > compliant server > is expected to handle both cases (5.1.12 of RFC 2068) > ... Hi Sean - What version of Zope are you seeing this with? I seem to remember fixing something along these lines fairly recently. Is it still the case in Zope 2.2.2? Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From arevalo@iam.unibe.ch Mon Oct 23 16:23:27 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 17:23:27 +0200 (MET DST) Subject: [Zope] a problem with 'start' command In-Reply-To: <00f501c03cfd$26dddac0$5c773fc1@media1> Message-ID: Phil, thanks for your suggestion, i understood it > If you are in the Zope directory, since most uni(x)es don't have the current > directory in the path, you need to start zope with './start'. but now when i execute the command i have the following message: ----------------------------------------------------------------------------- Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in ? zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", line 204, in run pf.close() IOError: [Errno 49] Disc quota exceeded aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname ------ 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct 23 17:18:55 2000 Hostname: aurora Port:8080 ------ 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 17:18:55 2000 Authorizer:None Hostname: aurora Port: 8021 ------ 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. ------ 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 17:18:55 2000 Unix socket: /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc ------ 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on port 8099 Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in ? pf.close() IOError: [Errno 49] Disc quota exceeded ------------------------------------------------------------------------------ what does this message mean ? what can i do ? in fact, my problem is when i tried to execute "localhost":8080/pecos/ where i have the information i need, there seems to have problems, because the connection is not possible. first thing i thought is just to try to start the server again, but i can not. thanks for any help have a nice evening. Gaby From brianw@hilgraeve.com Mon Oct 23 16:24:17 2000 From: brianw@hilgraeve.com (Brian Withun) Date: Mon, 23 Oct 2000 11:24:17 -0400 Subject: [Zope] argument type of list for ZSQL ? Message-ID: <000901c03d05$4f3ef230$ecdb5bcf@mikew> Is it possible to create a ZSQL Method which has a list-type as an argument? ..something that might support a call like this (or similar): where inside the ZSQL Method I might iterate over dept_members INSERT DepartmentMembers ( department_id, employee_id ) VALUES ( , ) If this can be written as shown (or similar) what would be the syntax used to populate the 'dept_members' field on the TEST view of the ZSQL Method? Would it just be: dept_member_ids: ----------------------- | [22,150,89] | ----------------------- or dept_member_ids: ----------------------- | "[22,150,89]" | ----------------------- or ... ? ------------ Brián Withun From bill.anderson@libc.org Mon Oct 23 16:02:18 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 09:02:18 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <39F452FA.969F6F7@libc.org> Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > it makes my skin crawl. :-) Amen. That and "...to adminstrate a server". :^)= Bill -- E PLURIBUS LINUX From andym@ActiveState.com Mon Oct 23 17:00:43 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 09:00:43 -0700 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <00d201c03d0a$660bf1c0$ae03a8c0@fork> [..] > When I try to get the property directly via the browser i get a result of > "1" The default value for lastID=0 to begin with so this sounds plausible, > but when I refresh the browser nothing happens. So I guess that lastID isn't > updated in the above code. I think this is a class - object problem. Each time you create an object based on your ZClass, the lastID becomes 0. Each object has its own lastID, rather than what you are expecting which is one instance of last id. My advice... download and install FSCounter from Zope.org (http://www.zope.org/Members/andym/FSCounter) Add an FSCounter, call it "Unique" and turn Cookie? to OFF (very important). This will generate and keep track of an incrementing value on the file system Then in your constructor add / change: That should work like a charm. From Olivier Ricou Mon Oct 23 17:01:52 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 18:01:52 +0200 Subject: [Zope] newbie questions ? In-Reply-To: <003e01c03cde$070ea360$1f48a4d8@kurtz>; from chrism@digicool.com on Mon, Oct 23, 2000 at 06:43:06AM -0400 References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <20001023180152.T3390@hermes> On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header Il faut un compte pour voir ces pages. and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account. Olivier. ps: the french sentence is useless since it never appears. From Robert_J_Roberts@rl.gov Mon Oct 23 17:22:02 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 23 Oct 2000 09:22:02 -0700 Subject: [Zope] Lost External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> I am running Zope 2.1.4 (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 I have several external methods. Just recently, they started to be good for one run only. The external methods run fine once. The next run, they error out with: "Could not execute external method: ExtMthdName" If I reload that method [Edit button it] it runs fine again for one run. Any suggestions? And... while I'm at it, is there a way in Zope to programmatically reload [Edit button] an external method (in case I can't get the problem to go away and just out of general curiosity)? Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From juliodinis@hotmail.com Mon Oct 23 18:53:16 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Mon, 23 Oct 2000 17:53:16 WEST Subject: [Zope] Request size limit Message-ID: Hi, Is there a place to define the max request size limit zserver can serve. Thanx, Julio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From sean@digitome.com Mon Oct 23 17:17:02 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 17:17:02 +0100 Subject: [Zope] GET requests in Medusa web server In-Reply-To: References: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: <4.3.2.7.0.20001023171545.00b7d760@mail.digitome.com> At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote: > > Why does the Medusa server in Zope not handle GET requests which specify > > a full URI? For example, if I have a web server running on > > web.mydomain.com, > > and I want to get a file called "file.html", doing a GET request > > of the form > > > > GET http://web.mydomain.com/file.html HTTP/1.1 > > > > gives me a 404. Doing a GET of the form > > > > GET /file.html HTTP/1.1 > > > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > > compliant server > > is expected to handle both cases (5.1.12 of RFC 2068) > > ... > >Hi Sean - > >What version of Zope are you seeing this with? I seem to >remember fixing something along these lines fairly recently. >Is it still the case in Zope 2.2.2? I am using Zope 2.1.6. regards, Sean http://www.pyxie.org - an Open Source XML Processing library for Python From andym@ActiveState.com Mon Oct 23 18:41:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 10:41:47 -0700 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <009a01c03d18$843a3310$ae03a8c0@fork> You could also do (and I would recommend it) by using the security system Zope give you. For example if you go to your root zope folder, click on security and deselect View for Anonymous User, this will have the same effect. ----- Original Message ----- From: "Olivier Ricou" To: Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ? > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) > > Here is the solution I found to do the .htaccess feature (I haven't found > where it is written) : I put in my standard_html_header > > > > Il faut un compte pour voir ces pages. > > > > and I add a new type of user with no rights in the acl_user folder. > Hence each person with want to see the site should have an account, > at least a no right account. > > Olivier. > > ps: the french sentence is useless since it never appears. > > _______________________________________________ > 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 ) > From robin@jessikat.fsnet.co.uk Mon Oct 23 19:09:37 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Mon, 23 Oct 2000 19:09:37 +0100 Subject: [Zope] overriding manage methods Message-ID: In my Z-Class I would like to hook various standard methods in a dtmlish way. The frame work would call my dtml method say manage_delObjects and within that method I would like to call the original manage_delObjects. I guess this must be a very standard requirement as I see that there are methods called afterAdd and beforeDelete etc in the object manager. I just don't know the proper namespace magic to override and eventually call these. -- Robin Becker From verzani@postbox.csi.cuny.edu Mon Oct 23 19:45:13 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 23 Oct 2000 13:45:13 -0500 Subject: [Zope] A ZClass for LaTeX documents Message-ID: Hi, I've been using a ZClass for LaTeX documents that I put together in a manner very similar to the one described in making a ZClass for STX documents at http://www.zope.org/Members/tseaver/STX_Document I like to mark things up in LaTeX as I can type it faster than HTML, I can create very nice printouts in PDF or PostScript and there is a nice renderer into HTML called tth. There are a few annoyances that I would like some help on. * I am using tth (http://hutchinson.belmont.ma.us/tth/) which can convert LaTeX into HTML quite well. In order to do so, when uploading the tex file or changing the tex file, I call tth and store the HTML along with the tex source. My DTML for this is Which if there is a new file upload stores it in body_tex, and then takes body tex and run tth on this to create the body_html. When I do this though, the tth is called on the old body_tex data, not the recently stored one. Because of this, I have to change the file twice. Any ideas as to why and how I can fix this? My guess is subtransactions, but I don't know how to fix that. * Ideally, I would like to be able to call the latex file this way (or even better just as ) where tth is a method which takes a latex document and returns HTML. I couldn't figure out how to do this though. How does one go about defining new format methods for ZClasses? I would imagine it isn't hard, I just need to know where to look. * If that isn't too hard, I would also like to know how to make this an option for markup in SquishDot. I have a math class using this as a discussion board, and it would be nice to let them use basic LaTeX for math markup. Thanks for any pointers. John Verzani -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From mindlace@digicool.com Mon Oct 23 16:09:05 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 11:09:05 -0400 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39F45491.580D28A9@digicool.com> Heymann William wrote: > > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. You're looking for the DirArg product: http://www.zope.org/Members/itsafire/releases/DirArg Found in http://www.zope.org/Products/Helpers -- -mindlace- Zopatista Community Liason From maxmcorp@worldonline.dk Mon Oct 23 20:58:21 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 23 Oct 2000 21:58:21 +0200 Subject: [Zope] A ZClass for LaTeX documents In-Reply-To: Message-ID: From: John Verzani >* Ideally, I would like to be able to call the latex file this way > > > (or even better just as ) Why not then just make an external method that can be called like: That isn't to ugly. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From rob@isso.org Mon Oct 23 21:14:34 2000 From: rob@isso.org (Robert Miller) Date: Mon, 23 Oct 2000 13:14:34 -0700 Subject: [Zope] Looking for short term Zope contractor Message-ID: <39F49C2A.8020705@isso.org> Hi, I'm looking for someone to work on a short (2-3 weeks long) Zope project. The details of the project are fairly straightforward; we have a relatively small database of information that is currently being injected into MySQL, and we'll need this database to be viewable/searchable from the web. The job is in San Francisco, and, while physical proximity is not absolutely necessary, preference will be given to those who are local. Interested parties should email a resume (text only, no attachments, please) to me at rob@isso.org. Thanks for your time and attention, and we now return you to your regularly scheduled zope@zope.org mailing list traffic. -rob -- +--------------------------------------------------+ Rob Miller Director of Systems Engineering International Space Sciences Organization rob@isso.org +--------------------------------------------------+ From phil.harris@zope.co.uk Sun Oct 22 21:27:36 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 22 Oct 2000 21:27:36 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <001101c03c66$888d5b70$0202a8c0@typhoon> Gaby, I'd say you need to get your disk quota extended. If your not the sysadmin then you need to speak to the relevant person about it. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Gabriela Arevalo" To: Cc: Sent: Monday, October 23, 2000 4:23 PM Subject: Re: [Zope] a problem with 'start' command | Phil, | | thanks for your suggestion, i understood it | | > If you are in the Zope directory, since most uni(x)es don't have the current | > directory in the path, you need to start zope with './start'. | | but now when i execute the command i have the following message: | | -------------------------------------------------------------------------- --- | | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in | ? | zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) | File | "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", | line 204, in run | pf.close() | IOError: [Errno 49] Disc quota exceeded | aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ | 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct | 23 17:18:55 2000 | Hostname: aurora | Port:8080 | | ------ | 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 | 17:18:55 2000 | Authorizer:None | Hostname: aurora | Port: 8021 | ------ | 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. | ------ | 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 | 17:18:55 2000 | Unix socket: | /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on | port 8099 | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in | ? | pf.close() | IOError: [Errno 49] Disc quota exceeded | | -------------------------------------------------------------------------- ---- | | what does this message mean ? what can i do ? | | in fact, my problem is when i tried to execute | "localhost":8080/pecos/ where i have the information i need, there seems | to have problems, because the connection is not possible. | first thing i thought is just to try to start the server again, but i can | not. | | thanks for any help | | have a nice evening. | | Gaby | | | _______________________________________________ | 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 ) From mindlace@digicool.com Mon Oct 23 17:44:20 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 12:44:20 -0400 Subject: [Zope] (no subject) References: Message-ID: <39F46AE4.D6816F3D@digicool.com> Robert Joseph Roos wrote: > invalid attribute name, "manage_addproperty(name", for tag manage_addProperty(name='foo', value='bar', type='string')>, on > line 10 of makeSched don't know if anybody helped you on this already, but any method call is an expression, and should be (pedantically) spelled: hope that helps, -- -mindlace- Zopatista Community Liason From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:48:35 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:48:35 +0200 (CEST) Subject: [Zope] Lost External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> Message-ID: On Mon, 23 Oct 2000 Robert_J_Roberts@rl.gov wrote: > And... while I'm at it, is there a way in Zope to programmatically reload > [Edit button] an external method (in case I can't get the problem to go away > and just out of general curiosity)? This code must have permission to do it, of course. (proxy roles) ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From dieter@handshake.de Mon Oct 23 21:31:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 23 Oct 2000 22:31:23 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <14836.40496.302287.33843@lindm.dm> .... the Python debugger "pdb".... It's a Python module used to debug Python programs. It can set breakpoints, single step and print expressions. It is activated automatically, when you start "ZPublisher/Test.py" with the "-D" option. Usually, I do not use it this way, however, as it takes too long, before I reach the interesting point. Instead, I use: import pdb; pdb.set_trace() at the point in Python code, where I want to get control. Then I use "Test.py" without "-D". Dieter From k_hester@bellsouth.net Mon Oct 23 23:08:52 2000 From: k_hester@bellsouth.net (Kathy Hester) Date: Mon, 23 Oct 2000 17:08:52 -0500 Subject: [Zope] newbie question Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello and thanks for your patience! I am beginning to learn zope. I am going through the tutorials in "the book". I have run into a problem creating an external method. I know I must be doing something stupid! I have my addEntry.py saved in the Extension folder in the Zope folder as it installed it (i'm in win 2k). I have the dtml method to call addEntry. When I try to add an external method id/function name/file name are all addEntry. (Supposedly to keep me from messing up...). I get this error message- "Zope has encountered an error while publishing this resource. Error Type: SyntaxError Error Value: invalid syntax Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. " There must be a simple solution. I have looked at the o'reilly book/on-line docs/how tos and I am still not seeing my error. Please feel free to e-mail me directly at k_hester@bellsouth.net . I thought I had found a work around by installing python method – but I am not sure what I need to put in the parameter list…. Any help would be greatly appreciated! ===== Kathy Hester to feel powerful often to act powerful sometimes to overpower others seldom to share power whenever possible - unknown ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello and thanks for your =
patience!<=
/pre>
 <=
/pre>
I am beginning to learn zope. I am going through the =
tutorials in "the book". I have run into a problem creating an =
external method.<=
/pre>
 <=
/pre>
I know I must be doing something stupid!<=
/pre>
 <=
/pre>
I have my addEntry.py saved in the Extension folder in the =
Zope folder as it installed it (i'm in win 2k). I have the dtml method =
to call addEntry.<=
/pre>
 <=
/pre>
When I try to add an external method id/function name/file =
name are all addEntry. (Supposedly to keep me from messing up...). =
<=
/pre>
 <=
/pre>
I get this error message- <=
/pre>
 <=
/pre>
"Zope has encountered an error while publishing this =
resource. <=
/pre>
 <=
/pre>
Error Type: SyntaxError<=
/pre>

Error Value: invalid =
syntax<=
/pre>
Troubleshooting Suggestions<=
/pre>
 <=
/pre>
The URL may be incorrect. <=
/pre>
The parameters passed to this resource may be incorrect. =
<=
/pre>
A resource that this resource relies on may be encountering =
an error. <=
/pre>
For more detailed information about the error, please refer =
to the HTML source for this page. <=
/pre>
 <=
/pre>
If the error persists please contact the site maintainer. =
Thank you for your patience. "<=
/pre>
 <=
/pre>
There must be a simple solution. I have looked at the =
o'reilly book/on-line docs/how tos and I am still not seeing my error. =
Please feel free to e-mail me directly at k_hester@=
bellsouth.net.<=
/pre>
 <=
/pre>
I thought I had found a work around by installing python =
method – but I am not sure what I need to put in the parameter =
list…. Any help would be greatly appreciated!<=
/pre>
 <=
/pre>
 <=
/pre>
=3D=3D=3D=3D=3D
Kathy Hester<=
/pre>
 <=
/pre>
to feel powerful often<=
/pre>
to act powerful sometimes<=
/pre>
to overpower others seldom<=
/pre>
to share power whenever possible<=
/pre>
-  =
unknown<=
/pre>

 

------=_NextPart_000_0033_01C03D13.EB30F0E0-- From Menard.Jean-Francois@hydro.qc.ca Mon Oct 23 17:28:51 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Mon, 23 Oct 2000 12:28:51 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D0147BCBD@msxvpti10.vpi.hydro.qc.ca> I developped a toggle button to let the users hide/show the menus. I use a cookie to store the current value. The code I use is: in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. Why??? I know I could use a session product, but I'm worried about session expiration. Could I set one of these products to expirate ***only*** when the browser is closed? And, why a session variable doesn't exist? It's the ONLY thing I miss from ASP... Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 From p@state-of-mind.de Tue Oct 24 00:14:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 01:14:18 +0200 Subject: [Zope] AW: [Zope] a problem with 'start' command In-Reply-To: Message-ID: Hi Gaby, I am not on of the zope-gods on this list, but there is something in the message that you sent that makes me stop and think: IOError: [Errno 49] Disc quota exceeded I believe the problem is not zope itself, but the amout of diskspace that you or the user 'pecos' is allowed to use in the dir /home/pecos/... Why this? Something, I presume it's the "quota daemon" of the "solaris-machin" that you are working on, tells your zope, that the 'Disc quota exceeded'. So what to do about that? 1. get rid of files you don't need anymore --> try to start zope 2. ask your sysadmin to give you more diskspace. this can be a hard one ;-) --> try to start zope I'm sure that after you've solved this problem, you are going to run into 'zope-problems' ;-) Try to go for the Zope Book online . gruezi ;-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Gabriela Arevalo > Gesendet: Montag, 23. Oktober 2000 17:23 > An: zope@zope.org > Cc: phil.harris@zope.ac.uk > Betreff: Re: [Zope] a problem with 'start' command > > > Phil, > > thanks for your suggestion, i understood it > > > If you are in the Zope directory, since most uni(x)es don't > have the current > > directory in the path, you need to start zope with './start'. > > but now when i execute the command i have the following message: > > ------------------------------------------------------------------ > ----------- > > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in > ? > zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) > File > "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", > line 204, in run > pf.close() > IOError: [Errno 49] Disc quota exceeded > aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ > 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct > 23 17:18:55 2000 > Hostname: aurora > Port:8080 > > ------ > 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 > 17:18:55 2000 > Authorizer:None > Hostname: aurora > Port: 8021 > ------ > 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. > ------ > 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 > 17:18:55 2000 > Unix socket: > /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on > port 8099 > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in > ? > pf.close() > IOError: [Errno 49] Disc quota exceeded > > ------------------------------------------------------------------ > ------------ > > what does this message mean ? what can i do ? > > in fact, my problem is when i tried to execute > "localhost":8080/pecos/ where i have the information i need, there seems > to have problems, because the connection is not possible. > first thing i thought is just to try to start the server again, but i can > not. > > thanks for any help > > have a nice evening. > > Gaby > > > _______________________________________________ > 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 ) > From michel@digicool.com Tue Oct 24 00:50:12 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 23 Oct 2000 16:50:12 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll Message-ID: <39F4CEB4.ACB6253B@digicool.com> We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations from the community. Please send me an email containing one or more candidate names. These names will be added to the list. No pre-screening will be done, so please exercise some discretion if your favorite name is more tounge-in-cheek than practical (you never know what the masses will decide though!). Later this week, I will create a web poll where you can vote for your favorite. thanks, -Michel From kthangavelu@earthlink.net Mon Oct 23 20:05:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:05:02 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> Message-ID: <39F48BDE.FDC8496@earthlink.net> Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: k_vertigo@yahoo.com kthangavelu@earthlink.net http://lostworld.imeme.net http://sindev.dhs.org 2445 E. Del Mar Apartment 238 Pasadena, CA 91107 (626) 405-9877 (home) Objective: To obtain a challenging position in which I can use my experience in creating community based web applications. Desired Job: Full-Time Employee Preferred Site Location: Pasadena, CA Education: College of William & Mary BS in Computer Science & History Graduated May 2000 Professional Skills: Areas of Expertise: - very skilled in Python, C, HTML, JavaScript - very skilled in Zope, Open Source Web Application Server and Oracle/ACS4/Aolserver - skilled in Java, Perl, C++, XML, TCL/TK - well-versed in underlying Internet Protocols: HTTP(S), TCP/IP, DNS/BIND, DHCP, SMTP, IMAP, POP Areas of Proficiency: - Strong Knowledge of Linux Kernel, multi-threaded programming, process management - RDBMS Design and SQL (PostGresSQL, ORACLE) - Skilled in Systems Adminstration - Redhat, Mandrake, Suse - Knowledgable of different Web Application Platforms: Enhydra, Servlets, Apache, AOLServer/ACS, Midguard Work Experience: OpenSource Developer - July - August 2000 Developing OpenSource Zope/Python Products. Product releases include a Mailman (www.list.org) search/archive, and a NewsSyndication Product based on RSS/OCS. BootCamp - ArsDigita.com - June - July 2000 Participated in the ArsDigita bootcamp. Acquired skills in Aolserver, Oracle, Tcl scripting and the ACS community system. Web Application Developer - ASTi February 2000 - May 2000 Hired by ASTi, member of the Python Consortium, to implement a prototype of their corporate intranet, designed to manage project workflow and production. Technologies used Zope/XML/Python/SQL. I talked with ASTi employees regarding site requirements and project management. I designed and implemented a working prototype to fufill those requirements and the workflow guidelines I was given. After the prototype was build, I turned over the project to their web master, and educated him regardings its construction and extensibility. Some of the things that I designed and implemented and integrated with the corporate intranet. * RDBMS schema for ASTi's parts and production components as well as installation and setup of RDBMS (PostgreSQL) * A validating xml-parser/dom interface for ASTi's internal project parts. The Product created subvendor orders based on a customer's product spec/purchase order. * A searchable email archive for communications between ASTi's sales engineer and clients. * A flexible user system, to allow for automatic messaging for various phases of workflow and presentation of intranet menus based on user roles. Director of Development - Information Technology @ College of William & Mary Fall 1999 - May 2000 www.sin.wm.edu Selected to be the architect of the next generation Student Information Network at the College, an information portal for students. I investigated various Web Application Platforms, before settling on Zope, Python , and PostgreSQL, to replace an aging code-base of mod_perl scripts. Taught the developers about Zope Architecture and Python and lead them in designing and implementing a new functionality and reimplementation. Designed and Implemented Session Management(cookie-less), IMAP authentication, Team Web Site for Distrvuted Development, Online Rideboard, Message Board, Housing Market, Local Jobs. Choice of tools, technology, and design/implementation focused on easy maintenance, rapid development, and extensibility. Skills Acquired - Management of the Software Life Cycle - Object Oriented esign - Team Managment Field Consultant - Technology Support Center @ College of William & mary Summer 1999 - Spring 2000 Assisted in training of on-call support specialist. Made field visits to various problem sites doing network troubleshooting (DHCP, SMB, TCP/IP), operating systems troubleshooting (Linux, WIN98), and application troubleshooting (Email Clients, MS Office). HTML -PERL/CGI Developer - Information Technology @ College of William & Mary Spring 1998- Spring 1999 Designed and Implemented Entertainment Section for the Student Information Network in Perl/HTML/CGI with a Unix DBM backend. This section of the site served as a repository of local entertainment, movies, and restaurants in the Williamsburg, VA area. Lab Technician: Computer Center @ College of William & Mary Fall 1997- Spring 1998 Worked for the Computer Center at the College of William & Mary maintaining and installing NT Workstation 4 and hardware troubleshooting new and broken components. Contact References and Code Samples for all Work Experiences are available to interested parties Affiliations: Member of the Python Software Activity. http://www.python.org/psa Last Modified: 2000/08/11 04:23:14.377 US/Pacific From kthangavelu@earthlink.net Mon Oct 23 20:28:31 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:28:31 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> <39F48BDE.FDC8496@earthlink.net> Message-ID: <39F4915F.88816024@earthlink.net> Doh!, i've gotten far to use to hitting reply all on my emails:) kapil From eileen@orbell.com Tue Oct 24 02:29:09 2000 From: eileen@orbell.com (Eileen Orbell) Date: Mon, 23 Oct 2000 21:29:09 -0400 Subject: [Zope] New to list & Zope Message-ID: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Hi, I run debian 2.2 and have Zope installed and apache. On bootup my Zope server starts automatic. I am wondering how I configure Zope with an Apache server? I am very very new to Zope so really want a little help in starting off. My network works fine by the way and I use cabke modem with a static IP for my website. Thanks for any help. Right now I only see Zope in my cgi-bin and thought I should have a file zope.cgi? As you can see I am a little lost :-) Eileen Orbell Software & Internet Applications Capitol College mailto:eileen@orbell.com Don't Fear the Penguin. From curtis@cardgate.net Tue Oct 24 02:40:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 24 Oct 2000 12:40:17 +1100 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <0010241240170R.01234@localhost.localdomain> On Tue, 24 Oct 2000, Eileen Orbell wrote: > Hi, Greetings, and welcome, new Zopista! > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. Always handy. (o8 > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost > :-) > The way we run it at work is to use ProxyPass in Apache. Check your Apache docs, or even easier is to search for ProxyPass on the Zope web site ( www.zope.com ) > > > Eileen Orbell > Software & Internet Applications > Capitol College > mailto:eileen@orbell.com > Don't Fear the Penguin. > Have a better one, Curtis Maloney Developer Cardgate.Net From bill.anderson@libc.org Tue Oct 24 02:38:01 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:38:01 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <39F4E7F9.1F08E0F3@libc.org> Olivier Ricou wrote: > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX From bill.anderson@libc.org Tue Oct 24 02:44:39 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:44:39 -0600 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <39F4E987.41C4FFF6@libc.org> Max Møller Rasmussen wrote: > > What am I doing wrong here ... please !! > > I am trying to make an autoincrementing counter for use in a diskussion > forum. It's purpose is to autogenereate id's for new messages. > > It is important that the id's are in order, so I need to make them this way. Is it more important that they be in an order, or that they be in a specific sequential list? For example, an id based upon time stamp would indeed provide IDs that re orderable (thus handling the in order part). While a list od IDs named 1,2,3,4... is more like a 'linked list', where you know what follows and what precedes a given id. However, by using objectIds, you can obtian a list of ids in a given object (folder), and thus provide one for yourself, if needed. FTR, I have implemented both ways of doing it. I am leaning towards the timestamp as being more effective, & simpler. -- E PLURIBUS LINUX From knight@righteous.net Tue Oct 24 03:14:43 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:14:43 -0700 (PDT) Subject: [Zope] New to list & Zope In-Reply-To: <0010241240170R.01234@localhost.localdomain> Message-ID: Greetings! Great to have yet another Zope follower; hopefully you will decide to stick with it... Just be patient, you will find out that after a solid month of using Zope that is has never ending power (thanks to python and the awesome coders at digital creations). You can use ProxyPass (mod_proxy) or Rewrite (mod_rewrite) to communicate with Zope from Apache. This basically creates a "tunnel" between Apache and Zope, and data gets exchanged between the two. Some people find that ProxyPass doesn't work for them, so Rewrite is great as well (I personally use Rewrite because it suits my site). Confer with www.zope.org, or come to #zope on irc.zope.net with an irc client. Regards, Knight On Tue, 24 Oct 2000, Curtis Maloney wrote: > On Tue, 24 Oct 2000, Eileen Orbell wrote: > > Hi, > > Greetings, and welcome, new Zopista! > > > > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > > server starts automatic. > > Always handy. (o8 > > > I am wondering how I configure Zope with an Apache server? I am very very > > new to Zope so really want a little help in starting off. My network works > > fine by the way and I use cabke modem with a static IP for my > > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > > thought I should have a file zope.cgi? As you can see I am a little lost > > :-) > > > > The way we run it at work is to use ProxyPass in Apache. Check your Apache > docs, or even easier is to search for ProxyPass on the Zope web site ( > www.zope.com ) > > > > > > > Eileen Orbell > > Software & Internet Applications > > Capitol College > > mailto:eileen@orbell.com > > Don't Fear the Penguin. > > > > Have a better one, > Curtis Maloney > Developer > Cardgate.Net > > _______________________________________________ > 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 ) > > From knight@righteous.net Tue Oct 24 03:18:07 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:18:07 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <39F4E7F9.1F08E0F3@libc.org> Message-ID: Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote: > Olivier Ricou wrote: > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > And by the way, it's "authentication". Every time I see "authentification", > > > > guess how we say in french :) > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > -- > E PLURIBUS LINUX > > > _______________________________________________ > 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 ) > > From chrism@digicool.com Tue Oct 24 04:02:07 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 23:02:07 -0400 Subject: [Zope] newbie questions ? References: Message-ID: <02db01c03d66$cbdb7690$63c48ad0@kurtz> That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) ----- Original Message ----- From: "knight" To: "Bill Anderson" Cc: Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? > Heh. authentification hah. > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > Check that out... same kind of humor. Grin. > > Knight > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > Olivier Ricou wrote: > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > And by the way, it's "authentication". Every time I see "authentification", > > > > > > guess how we say in french :) > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > -- > > E PLURIBUS LINUX > > > > > > _______________________________________________ > > 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 ) > > From knight@righteous.net Tue Oct 24 03:44:24 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:44:24 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: Uh oh, you got me ;] Probably related to the cold medicine. grin. On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From knight@righteous.net Tue Oct 24 03:46:08 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:46:08 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: http://www.phunc.com/Humor/Signs/ChineseRestaurant There. ;] On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From taco@scargo.nl Tue Oct 24 05:04:48 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 21:04:48 -0700 Subject: [Zope] One last request Message-ID: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : From kthangavelu@earthlink.net Tue Oct 24 00:45:54 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 16:45:54 -0700 Subject: [Zope] One last request References: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> Message-ID: <39F4CDB2.8ADDC0F3@earthlink.net> Taco Scargo wrote: > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > try this instead kapil From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:44:54 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:44:54 +0200 (CEST) Subject: [Zope] Updating auto incrementing counter in a propertysheet In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: On Mon, 23 Oct 2000, Max Møller Rasmussen wrote: > I have a zClass (objectmanger) with a property called "lastID", on a > propertysheet called "hidden". > > I have then written a dtml mehtod that should return the id incremented by 1 > and then sets the lastID to this new id. > > the dtml for the "newID()" dtml method looks like this: > ---------- > > In the above line --- do you want to set up new value for ZClass property, isn't it ? If so, you have to use manage_changeProperties method of property sheet. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From mark@kaivo.com Tue Oct 24 06:58:14 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Mon, 23 Oct 2000 23:58:14 -0600 (MDT) Subject: [Zope] One last request In-Reply-To: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> from "Taco Scargo" at Oct 23, 2000 09:04:48 PM Message-ID: <200010240558.XAA24351@CatInTheHat.kaivo.com> > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > > > instead, try this: THIS actually 'calls' sequence-item Mark > > _______________________________________________ > 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 ) > From jacintha.menezes@wipro.com Tue Oct 24 07:10:09 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 24 Oct 2000 11:40:09 +0530 Subject: [Zope] question In-Reply-To: <39F44071.604752C7@globalcrossing.com> Message-ID: <000f01c03d81$0fdd22c0$f5dea8c0@wipro.com> Hi, Two more questions for you: 1. kindly let me know how to export an output of any method to word ,msexcel etc from zope, where output may be a tree structure or tabular form data etc. 2. Let me also know how to send a report(output) to the printer. Thanks bye, jacintha From nspurrier@bluelight.com Tue Oct 24 08:24:17 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 24 Oct 2000 00:24:17 -0700 Subject: [Zope] Simple Question? Message-ID: This seems like a simple question. How do I include a Method in a different folder? I have two folders and two methods: /editor/ edit /mojo/art/ add_art_html In my file "add_art_html" I want to add this code: But when I try to view it I get a KeyError. I also tried: I tried some complicated things with and , but I couldn't get this to work; although, at least did not give a KeyError. Yours, Noah From maxm@normik.dk Tue Oct 24 08:30:50 2000 From: maxm@normik.dk (Max Moller Rasmussen) Date: Tue, 24 Oct 2000 09:30:50 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A93@exchange> From: Aleksander Salwa [mailto:ololo@zeus.polsl.gliwice.pl] >> >> >In the above line --- do you want to set up new value for ZClass property, >isn't it ? >If so, you have to use manage_changeProperties method of property sheet. Yes I am afraid that this is the problem. That seems like such a messy solution too. I will try and make a Python based product instead, for this particular solution. My current zClass solution allready seem to be a bit verbose for my liking. And the program logic isn't to nice in dtml either. Regards Max M From maxm@normik.dk Tue Oct 24 08:39:48 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 09:39:48 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A94@exchange> From: Bill Anderson [mailto:bill.anderson@libc.org] >Is it more important that they be in an order, or that they be in a >specific sequential list? Actually what is important is that they are integers and in a specific order. So the datestamp method isn't that feasible for me. (I'm trying to make a "fake tree" for a diskussion product.) It is really easy to implement and doesn't use recursion, so traversing the tree is done with a simple for loop. It uses a dictionary with tupples as keys to emulate the recursive structure. Simple example here if anybody cares. ------------------------- class fakeTree: def __init__(self): #create tree and insert root element self.treeKeys = {} self.treeKeys[0] = (0,) self.tree = {} self.tree[(0,)] = '' def insert(self, id, parent, value): # create new key keyList = list(self.treeKeys[parent]) newKeyList = keyList.append(id) newKeyTuple = tuple(newKeyList) self.treeKeys[id] = newKeyTuple # insert in tree with new tuple key self.tree[newKeyTuple] = value def print(self): sortedKeys = treeKeys.keys() sortedKeys.sort() spacesInIndent = 3 for key in sortedKeys: print key print spacesInIndent * len(key) * ' ' + treeKeys[key] tree = fakeTree() tree.insert(1, 0, 'max m') tree.insert(2, 0, 'gitte') tree.insert(3, 1, 'magnus') tree.print() From jornd@falch.net Tue Oct 24 09:39:18 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 10:39:18 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <87itqi7hvt.fsf@ranga.falch.net> Hi all! I am aware of , but I am looking for at way to make Apache serve Zope from the root URL. It is possible to make the apache front end be served by zope backend , but what really want is to make apache frontend be served by Zope, and still be able to serve static content from selected locations. Example: <- Zope w/Apache frontend <- Apache static Am I clear? Is it possible to do that without NameVirtualHost? -- Jørn Helge B. Dahl System Administrator http://falch.net From phil.harris@zope.co.uk Tue Oct 24 10:37:07 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 10:37:07 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net> Message-ID: <017501c03d9d$fadcad60$5c773fc1@media1> Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two ways to do it. 1. use the LocalFileSystem product, http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg z 2. use Apache to intercept calls to a specific dir before passing it onto Zope, e.g. use a RewriteRule. hth Phil ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 9:39 AM Subject: [Zope] Apache in front of ZServer > Hi all! > > I am aware of , > but I am looking for at way to make Apache serve Zope from the root URL. > > It is possible to make the apache front end > be served by zope backend > , but what really want is to make apache > frontend be served by Zope, and still be > able to serve static content from selected locations. Example: > > <- Zope w/Apache frontend > <- Apache static > > Am I clear? Is it possible to do that without NameVirtualHost? > -- > Jørn Helge B. Dahl > System Administrator > http://falch.net > > > _______________________________________________ > 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 ) From jornd@falch.net Tue Oct 24 10:49:47 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 11:49:47 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 10:37:07 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> Message-ID: <87aebu7emc.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | It's perfectly possible, you just need to do a little work ;) That's OK, that way it'll be more fun :-) | Your proxy pass will be something like this: | | ProxyPass / http://myserver.com:8080/ | ProxyPassReverse http://myserver.com:8080/ / I had that one already figured out. but I thought the ProxyPassReverse directive was to be the other way around: To be exactly like the ProxyPass directive? | for the other part of serving static content, it really depends what you | want but here are two ways to do it. | | 1. use the LocalFileSystem product, | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | z That I already do, so that one is okay. | 2. use Apache to intercept calls to a specific dir before passing it onto | Zope, e.g. use a RewriteRule. Yup, this is what I need. I think was being unclear about what I really -wanted: I want to still be able to use php and such thing, even if I serve Zope from root. So the RewriteRule does the trick? Thanks Phil, -- Jørn Helge B. Dahl System Administrator http://falch.net From tony.mcdonald@ncl.ac.uk Tue Oct 24 11:34:55 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 24 Oct 2000 11:34:55 +0100 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a
with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From zope@isp.lu Tue Oct 24 12:12:56 2000 From: zope@isp.lu (zope) Date: Tue, 24 Oct 2000 13:12:56 +0200 Subject: [Zope] ZGDChart product... Message-ID: <4.3.2.7.2.20001024130954.00b3b780@mail.isp.lu> Hi. This is really a great product. Unfortunately, I'm not able to create a chart with multiple columns using a ZSQL Data Method. Multiple columns with a DTML-Method works fine. Do I miss something. Any ideas? Thanks for any help. Regards, Marc Ludwig (zope@isp.lu) From ssmith6@bigpond.net.au Tue Oct 24 11:46:49 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Tue, 24 Oct 2000 20:46:49 +1000 Subject: [Zope] Sendmail examples In-Reply-To: Message-ID: <000001c03da7$b7228720$be348490@vic.bigpond.net.au> Hi Tony, Thanks for taking the time to answer. The "MailHost" object seems to be the key. I tried going around it (using the SMTPHost attribute, from memory), without much luck. Also learnt that one needs at least modest knowledge of SMTP syntax when forming the option lines! Thanks again, Steve -----Original Message----- From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk] Sent: Tuesday, 24 October 2000 8:35 To: ssmith6@bigpond.net.au; zope@zope.org Subject: Re: [Zope] Sendmail examples At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From kschut@avaya.com Tue Oct 24 12:33:55 2000 From: kschut@avaya.com (Schut, Koos (Koos)) Date: Tue, 24 Oct 2000 13:33:55 +0200 Subject: [Zope] Trying to follow tutorial Message-ID: Hi all, I am trying to follow the quick tutorial and immediately run into things I do not understand. I am trying to create a folder as explained in the docs. I get the error: Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is the example in which "Stan" needs to create a folder. Can anyone tell me what goes wrong and how to get it right? Cheers. J.J. Schut Integration Specialist Avaya The Former Enterprise Networks Group of Lucent Technologies tel. +31 (0)30 609 7835 fax. +31 (0)30 609 7650 email kschut@avaya.com From rik.hoekstra@inghist.nl Tue Oct 24 12:40:58 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 13:40:58 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F5754A.BA398125@inghist.nl> > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? This is related to the tutorial not being up to date with the current zope version, but is simply remedied. Go to the management interface and add a zope user in the acl_users folder. Give it Management rights. Shut you browser, reopen it and authenticate as the user you just entered. Get on with the tutorial... hth Rik From u.soni@cs.ucl.ac.uk Tue Oct 24 13:11:14 2000 From: u.soni@cs.ucl.ac.uk (Umesh Soni) Date: Tue, 24 Oct 2000 13:11:14 +0100 Subject: [Zope] serving java applet fails Message-ID: <200010241211.NAA29248@beluga.pacific.ocean> hi all, I'm having problems serving up the EIRC java chat-client from within zope. I have uploaded two java archives EIRC-gfx.jar and EIRC.jar as file objects via the management screen. Zope has recognised these as 'application/java-archive' content types. I am using the following dtml (which is in the same folder as the two java archives) to serve the applet

Eteria IRC Client

Sorry, but you need a Java 1.x enabled browser to use EIRC.

The applet loads (and runs) fine when served from from the filesystem with apache. When served from zope it appears to load ok and is even rendered within the browser -but at the last moment fails to run with the following browser error; Applet EIRC can't start: ERROR Any thoughts? umesh From maxm@normik.dk Tue Oct 24 13:07:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 14:07:34 +0200 Subject: [Zope] How do you guys/gals test Zope products from Python? Message-ID: <7BD10B680501D411B9DF009027E06F32197A98@exchange> I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly simple setup. My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in C:\Program Files\Python. usually when I write Python I just use PythonWin to edit and run my scripts. I then write test in the buttom of my file that shows that everything works. This works nicely, but when writing Zope products I get really frustrated. I cannot easily automate my tests. I put my products into C:\mxmZope\lib\python\Products\name and edit them from there, but trying to edit just a simple syntax error means a restart of Zope. That gets tired real fast. Especially when all you have to do to make mistakes is forgetting a comment under a method etc. I cannot run the program from my PythonWin or IDLE as they are set to the standard Python enviroment. Do other set os.path.append('ZopeDir') or something and the comment that out when running or what? The error messages I get that way are also rather lacking. Reloading the file in the browser, reading the source and getting a traceback like the one below, for a method I know exists. But dissapeared because of some, probably minor, typing mistake. --------- ... SNIP File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 162, in publish File C:\mxmZope\lib\python\ZPublisher\BaseRequest.py, line 380, in traverse File C:\mxmZope\lib\python\ZPublisher\HTTPResponse.py, line 529, in notFoundError NotFound: (see above) ---------- I am shure that there must be a better way, but what is it? How do you guys edit and test your products? Even .asp is far better than the way I am doing it now. At least I dont have to restart the server when I make a simple mistake, I can also easily put in testcode and Response.Writes to se what is happening. I love Python among other things because of the nice traceback and debugging features, but I feel that they are somewhat lost when developing Zope. Shurely it must be me being ignorant here. Regards Max M "There must be more than just this." - V-ger From jornd@falch.net Tue Oct 24 13:40:45 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 14:40:45 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: jornd@falch.net's message of "24 Oct 2000 11:49:47 +0200" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> Message-ID: <87n1fue7jm.fsf@ranga.falch.net> * jornd@falch.net (JXrn Helge B. Dahl) | | for the other part of serving static content, it really depends what you | | want but here are two ways to do it. | | | | 1. use the LocalFileSystem product, | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | | z | | That I already do, so that one is okay. | | | 2. use Apache to intercept calls to a specific dir before passing it onto | | Zope, e.g. use a RewriteRule. | | Yup, this is what I need. I think was being unclear about what I really | -wanted: I want to still be able to use php and such thing, even if I | serve Zope from root. So the RewriteRule does the trick? On a second thought: What I _really_ want (I think, unless someone tells me differently :-) ) is a conditional ProxyPass, to tell apache to redirect everything _unless_ the URI is /static (or something). But this is probably something for apache geeks. Thanks anyway. -- Jørn Helge B. Dahl http://falch.net From marc.breitenreicher@friatec.de Tue Oct 24 13:29:51 2000 From: marc.breitenreicher@friatec.de (Marc Breitenreicher) Date: Tue, 24 Oct 2000 14:29:51 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F580BF.4692A2AF@friatec.de> I suppose you've just installed Zope and you're logged in as "Superuser" And that's the problem. The superuser cannot own folder, files etc. Add a "User Folder" and add a new User in that folder. Then you have to restart Zope and log in as the new user. Now the new user can add as much folder as you want. Hope this helps Marc > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) From p@state-of-mind.de Tue Oct 24 13:41:37 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 14:41:37 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: Message-ID: Hi J.J., this problem is a result of the restrictions applied by zope. Nothing is wrong with that. It is just that it's not explained thouroughly or most people new to zope tend to overread that in the manual ;-) Here's what You do: 1. Login as the Superuser (the primary account provided after installing zope) and create a new user in path_to_zope/acl_users '(e.g. Koos). Provide Password when asked in the form and apply the role 'manager' to that user. 2. logout as superuser (e.g. close all browsers...) 3. login as the user you have just created 4. go on with the tutorial... This should help you to get going with zope. Besides that, working with zope is worth every minute of it :-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Schut, Koos (Koos) > Gesendet: Dienstag, 24. Oktober 2000 13:34 > An: 'zope@zope.org' > Betreff: [Zope] Trying to follow tutorial > > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) > From ytotty@atinucleus.com Tue Oct 24 14:06:18 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Tue, 24 Oct 2000 08:06:18 -0500 Subject: [Zope] Mass Mailing (newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi! I need to send out mass mailings from time to time (newsletters, announcements and the such). Is there an easy way to get this done? I already have the email addy's in the database. TIA, Yvonne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I=20 need to send out mass mailings from time to time
(newsletters, announcements and the=20 such).
 
Is=20 there an easy way to get this done? I already
have the email addy's in the=20 database.
 
TIA,
Yvonne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_000C_01C03D91.49C9FB60-- From phil.harris@zope.co.uk Tue Oct 24 14:08:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 14:08:03 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net><017501c03d9d$fadcad60$5c773fc1@media1><87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <021701c03dbb$729770c0$5c773fc1@media1> Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 1:40 PM Subject: Re: [Zope] Apache in front of ZServer > * jornd@falch.net (JXrn Helge B. Dahl) > > | | for the other part of serving static content, it really depends what you > | | want but here are two ways to do it. > | | > | | 1. use the LocalFileSystem product, > | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg > | | z > | > | That I already do, so that one is okay. > | > | | 2. use Apache to intercept calls to a specific dir before passing it onto > | | Zope, e.g. use a RewriteRule. > | > | Yup, this is what I need. I think was being unclear about what I really > | -wanted: I want to still be able to use php and such thing, even if I > | serve Zope from root. So the RewriteRule does the trick? > > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > > But this is probably something for apache geeks. > > Thanks anyway. > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) From rossini@blindglobe.net Tue Oct 24 14:29:14 2000 From: rossini@blindglobe.net (A.J. Rossini) Date: 24 Oct 2000 06:29:14 -0700 Subject: [Zope] Apache in front of ZServer In-Reply-To: <87n1fue7jm.fsf@ranga.falch.net> (JXrn Helge B. Dahl's message of "24 Oct 2000 14:40:45 +0200") References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <87g0lmcqqd.fsf@jeeves.blindglobe.net> >>>>> "JHBD" == JXrn Helge B Dahl writes: JHBD> On a second thought: What I _really_ want (I think, unless JHBD> someone tells me differently :-) ) is a conditional JHBD> ProxyPass, to tell apache to redirect everything _unless_ JHBD> the URI is /static (or something). The ugly solution, until you find a clean one, is to have a second apache process :-), and the first proxy-forwards to either Zope or the second Apache. (I'm doing something like that for our home server, so I'm intrigued as to whether you can provide a clean solution...). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax From jjunior@cidadei.com.br Tue Oct 24 15:38:53 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Tue, 24 Oct 2000 11:38:53 -0300 Subject: [Zope] redirect Message-ID: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> how to for that function REDIRECT understand a variable. ex. ')"> From rik.hoekstra@inghist.nl Tue Oct 24 14:56:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 15:56:54 +0200 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F59526.BD5C70EB@inghist.nl> > > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> You can't nest dmtl tags try : > Hi, > > I'm looking for someone to work on a short (2-3 weeks long) Zope > project. The details of the project are fairly straightforward; we have > a relatively small database of information that is currently being > injected into MySQL, and we'll need this database to be > viewable/searchable from the web. > > The job is in San Francisco, and, while physical proximity is not > absolutely necessary, preference will be given to those who are local. > Interested parties should email a resume (text only, no attachments, > please) to me at rob@isso.org. > > Thanks for your time and attention, and we now return you to your > regularly scheduled zope@zope.org mailing list traffic. > > -rob > > -- > +--------------------------------------------------+ > Rob Miller > Director of Systems Engineering > International Space Sciences Organization > rob@isso.org > +--------------------------------------------------+ > > _______________________________________________ > 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 ) From drusch@globalcrossing.com Tue Oct 24 15:04:09 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 24 Oct 2000 09:04:09 -0500 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F596D9.9E6E3054@globalcrossing.com> > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Tue Oct 24 15:20:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 15:20:09 +0100 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <025201c03dc5$84d38440$5c773fc1@media1> test>')"> > > _______________________________________________ > 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 ) From erik@pacific-shores.com Tue Oct 24 15:23:30 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 24 Oct 2000 07:23:30 -0700 Subject: [Zope] M2Crypto problem Message-ID: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki erik@pacific-shores.com From Oliver Bleutgen Tue Oct 24 15:18:47 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:18:47 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <200010241422.HAA00586@zope.codeit.com> > * jornd@falch.net (JXrn Helge B. Dahl) > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > But this is probably something for apache geeks. Jørn, I ain't no apache geek, but I took a look at two nice how-tos on zope.org. The first one http://www.zope.org/Members/anser/apache_zserver/ describes how to get apache to work with zope via proxypass etc., and the second one describes how to achieve what you describe above ... and I don't find it anymore on zope.org :( Anyway, this is what you want: RewriteEngine On RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://localhost:10080/my_host/$1 [P] The [L] stops the rewriting-process if and only if the uri is of the form http://yourhostname/local/ If not it goes on and passes the request to localhost port 10080, directory my_host, where zope resides (at least on my server). Combine that with virtual-host directive of apache and you are as flexibel as one can get. Naturally /local need not to be the only folder which isn't proxied to zope. The only problem is that apache doesn't care for zope's authentication machinery, I would love to have a module for apache which could enable that (nice dream...). But it may be solvable by using mysql/postgres as a userdatabase for zope & apache... cheers, oliver From Oliver Bleutgen Tue Oct 24 15:28:22 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:28:22 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial Message-ID: <200010241432.HAA00984@zope.codeit.com> > 2. logout as superuser (e.g. close all browsers...) Ha, I always wanted to bring in a IMNSHO better way to "logout" - it works at least in IE. try http://log:meout@yourzopehost.com So the cached login/password are overwritten by log/meout and zope (or every other server) brings up the login dialog (as long as log/meout are not valid ;)) Should also work handy as a link in html (untested). cheers, oliver From lehmann@catworkx.de Tue Oct 24 15:34:08 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 16:34:08 +0200 Subject: [Zope] MailHost: bcc broken ? Message-ID: <00102416340801.00590@cat-pc-holle> Hi all, I wanted to use bcc in a mail generated though a ... (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any ideas ? - Holger -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From ghaley@venaca.com Tue Oct 24 15:39:41 2000 From: ghaley@venaca.com (Gregory Haley) Date: Tue, 24 Oct 2000 10:39:41 -0400 Subject: [Zope] Mass Mailing (newbie) References: Message-ID: <39F59F2D.7E829047@venaca.com> hi yvonne, you can use the zope send mail method to pull data from a database. the problem is with pulling in the text. sendmail appears to send only literal text, i.e., it does not parse html markup. we are using a mysql database to pull text and a second to pull names and emails, etc. to prevent the text from coming out as a single string, i have an external python method that takes the string of text and writes out the lines as lines of <= 75 chars, it also reinserts double line breaks, as in between paragraphs. we use something like this: you will need the MailHost product, and you will need to add a sendmail method in your directory. ciao! greg. DBA/web programmer venaca.com *********************************************************************** To: <> From: Subject: "clean_content" is the name of the python external method. This may not be ALL of the code, as i am really chopping some things out of the actual dtml file for illustrative purposes. a couple of warnings, in case you haven't used dtml sendmail. you can use nice indented tags within a or but not other wise. the left margin is, in my experience anyway, fairly inviolable. as this is working now, if sendmail gets a bad address, it strangles everything from the point of the error forward. so, you should check to make sure your emails are exactly correct -- i was doing a bulk mailing of about 100 emails, and it died after the 6th one. i don't know how to put in a trap into the method so that the mail server catches the return mail but does not pass them to the zope mailhost. ciao! greg. > Yvonne Totty wrote: > > Hi! > > I need to send out mass mailings from time to time > (newsletters, announcements and the such). > > Is there an easy way to get this done? I already > have the email addy's in the database. > > TIA, > Yvonne > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > From chrisw@nipltd.com Tue Oct 24 15:49:11 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:49:11 +0100 Subject: [Zope] newbie question References: Message-ID: <39F5A167.8208B96C@nipltd.com> Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the problem goes away when you correct any mistakes. cheers, Chris PS: Please post only plain text to this list (Plain Text as opposed to MIME encoded should be an option on your mail program) as the message you posted came out pretty screwed up on Netscape Communicator ;-) From chrisw@nipltd.com Tue Oct 24 15:50:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:50:33 +0100 Subject: [Zope] SuperUser cannot own ;-) References: <39F580BF.4692A2AF@friatec.de> Message-ID: <39F5A1B9.BE164ECE@nipltd.com> Marc Breitenreicher wrote: > > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) *stir* *stir* Chris From kosh@home-dhcp3-127.Colorado.EDU Tue Oct 24 21:56:16 2000 From: kosh@home-dhcp3-127.Colorado.EDU (kosh) Date: Tue, 24 Oct 2000 14:56:16 -0600 (MDT) Subject: [Zope] Message-ID: What would be the correct dtml-if contrstruct for this behavior? I want to check and see if zope can resolve a url to a valid object. Ie does http://foo.com/bar/foo get you to a valid page or is it not found. I need something like that way I can know when to rewrite the url based on zope finding the object or not. Thanks Kosh From chrisw@nipltd.com Tue Oct 24 15:56:28 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:56:28 +0100 Subject: [Zope] Simple Question? References: Message-ID: <39F5A31C.FD33F62@nipltd.com> Noah wrote: > In my file "add_art_html" I want to add this code: > > But when I try to view it I get a KeyError. > I also tried: > If Steve A's patch ever makes it into the core, you could do: &dtml-/mojo/editor/edit; ...and it'd be great if the Traversal Interface could also be used to implement: ...but sadly, for now, you need to do: ...or, slightly more tasty: enjoy ;-) Chris From chrisw@nipltd.com Tue Oct 24 16:00:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 16:00:22 +0100 Subject: [Zope] Refreshing :-) References: <7BD10B680501D411B9DF009027E06F32197A98@exchange> Message-ID: <39F5A406.18EEE41B@nipltd.com> Max Møller Rasmussen wrote: > This works nicely, but when writing Zope products I get really frustrated. I > cannot easily automate my tests. > > I put my products into C:\mxmZope\lib\python\Products\name and edit them > from there, but trying to edit just a simple syntax error means a restart of > Zope. That gets tired real fast. Especially when all you have to do to make > mistakes is forgetting a comment under a method etc. Try Shane Hathaway's Refresh product: http://www.zope.org/Members/hathawsh/Refresh cheers, Chris From cs@comlounge.net Tue Oct 24 16:02:27 2000 From: cs@comlounge.net (Christian Scholz) Date: Tue, 24 Oct 2000 17:02:27 +0200 Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01>; from Joaldo Junior on Tue, Oct 24, 2000 at 11:38:53AM -0300 References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <20001024170227.C4058@central.comlounge.net> Hi! > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> use Message-ID: <39F5AB87.D41FC3A9@oratrix.com> Hi, Im using this: To: <> From: <> Subject: Hi, blah blah Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From maxmcorp@worldonline.dk Tue Oct 24 16:53:07 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 17:53:07 +0200 Subject: [Zope] SuperUser cannot own ;-) In-Reply-To: <39F5A1B9.BE164ECE@nipltd.com> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris Withers > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) Well I for one have accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan horses being executed by super. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From maxmcorp@worldonline.dk Tue Oct 24 17:03:11 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 18:03:11 +0200 Subject: [Zope] dtml-in returning null In-Reply-To: <0010241329040C.29903@belzebu.magicwebdesign.com.br> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time.... >There's a way to do that?? "> will probably suffice Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From lehmann@catworkx.de Tue Oct 24 17:19:50 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 18:19:50 +0200 Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F5AB87.D41FC3A9@oratrix.com> References: <00102416340801.00590@cat-pc-holle> <39F5AB87.D41FC3A9@oratrix.com> Message-ID: <0010241819500B.00590@cat-pc-holle> Hi Paul, Thanks for that response, but ..... I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a ... statement. I am thinking of the bcc: user1, user2, user3 .... user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host .... Holger Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts: > Hi, > > Im using this: > > > To: <> > From: <> > Subject: > > Hi, > > blah blah > > > > > Im supposing that the double brackets is due to the fact that the email > address itself is encapsulated with brackets as well as the variable being > passsed. > > Cheers, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From praveen_katiyar@infy.com Tue Oct 24 14:24:15 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 24 Oct 2000 18:54:15 +0530 Subject: [Zope] ZWiki on Zope.org Site Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77E4@TWRMSG01> Hi, I am a zope NewBie and am learning how to use Zwiki. Can any one Please mail me the Customised version of Zwiki which is in existence On Zope.org. I want to develop some thing same with some extra features. Existing Zwiki requires me to tweak some DTML code with which I am not much familiar. Thanking , Regards, Praveen Katiyar Infosys Towers,27, Bannerghatta Raod Bangalore-560076 Ph: 91-80-6588668 Xtn. 1288 E-mail: praveen_katiyar@infy.com Great minds have purposes, little minds have wishes > >Regards,Rrrrrr From tom.deprez@uz.kuleuven.ac.be Tue Oct 24 17:41:30 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 24 Oct 2000 18:41:30 +0200 Subject: [Zope] normal result with acquisition? Message-ID: <3.0.6.32.20001024184130.008e7ec0@poirot> Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code :
1) When you call this function from Folder1 : show_abc of folder1 is used 2) When you call this function from Folder2 : show_abc of folder1 is used --> what you wouldn't expect? However: 3) Removing the tag (and moving selectallcentres to folder1), Calling method_showdata in Folder2 : show_abc of folder2 is used. --> what you would expect Am I overlooking something of the acquisition here? Why does it uses in the second case (2) not show_abc? Thanks in advance, Tom. From mindlace@digicool.com Tue Oct 24 17:59:11 2000 From: mindlace@digicool.com (mindlace) Date: Tue, 24 Oct 2000 12:59:11 -0400 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> <39E57F98.5610C3B3@nipltd.com> Message-ID: <39F5BFDF.9A973CFD@digicool.com> Chris Withers wrote: > > Paul Winkler wrote: > > > > Hi, > > > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > > IIRC, zope.org's acl_users has about 11,000 people in it without too > many problems... We've found that it needed to become a btree folder. Half because btrees optimize some things and half because the UI for btrees cut the management page from 3mb to 300k. ~ethan From Menard.Jean-Francois@hydro.qc.ca Tue Oct 24 18:34:27 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Tue, 24 Oct 2000 13:34:27 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D01491BE8@msxvpti10.vpi.hydro.qc.ca> > I developped a toggle button to let the users hide/show the menus. > > I use a cookie to store the current value. The code I use is: > > > > > > > > > > in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. > Why??? > > I know I could use a session product, but I'm worried about session > expiration. Could I set one of these products to expirate ***only*** when > the browser is closed? > > And, why a session variable doesn't exist? It's the ONLY thing I miss > from ASP... > > Jean-François Ménard > Intranet DPAS > Pratiques d'affaires et orientations > * (514) 840-3000 poste 3939 > * (514) 840-5585 > * menard.jean-francois@hydro.qc.ca > * 855 Ste-Catherine est, 6e étage > Montréal, Qué. H2L 4P5 > From frazers@israelmail.com Tue Oct 24 18:40:37 2000 From: frazers@israelmail.com (Aharon) Date: Tue, 24 Oct 2000 19:40:37 +0200 Subject: [Zope] newbie inquiry about zope Message-ID: <004b01c03de1$88554740$07a1003e@webyeshiva> This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable I have just started looking at zope for the site I am developing. I was = wondering if anyone could tell me whether it sounds like an appropriate = tool to use. The basic idea of my site is to be a sort of multi-user-dimension for = text. Meaning, we'll have various books available in a database, and = people can log on and read a chapter or a whole book. The innovative = part is that we will track which users are reading which texts, and let = people interact with others reading the same text as them. We will also = provide some other features, including user customization of fonts and = colors, and the ability for users to write new texts to be included in = the content library. People will be able to read, write, and discuss = with each other. To enable serious literary analysis of diverse = documents, we will have a number of text-parsing tools available to = readers. One other important thing to mention is that we will have a lot = of text in non-Latin character sets, including right to left languages. My questions are: 1) Could Zope help me keep track of who is reading what and match people = up for discussion? 2) Could Zope help me personalize the fonts and other display settings = for each user? How about letting users create their own bookmarks within = the texts? 3) Could Zope help me manage user created content and the relations = between content and its creators? 4) Could Zope handle right to left text and non-Latin character sets? 5) What are the advantages/disadvantages to developing this site with = Zope as opposed to MySQL and PHP? 6) Could Zope help me make the same content available to ordinary web = browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream = voice between users and also stream pre-recorded voice. Any support for = that? 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site = if I want to use zope, or do I have to administrate my own server? Any input about any of these questions would be greatly appreciated. I = apologize for my ignorance. Thanks, Aharon ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
I have just started looking at zope for = the site I=20 am developing. I was wondering if anyone could tell me whether it sounds = like an=20 appropriate tool to use.
 
The basic idea of my site is to be a = sort of=20 multi-user-dimension for text. Meaning, we'll have various books = available in a=20 database, and people can log on and read a chapter or a whole book. The=20 innovative part is that we will track which users are reading which = texts, and=20 let people interact with others reading the same text as them. We will = also=20 provide some other features, including user customization of fonts and = colors,=20 and the ability for users to write new texts to be included in the = content=20 library. People will be able to read, write, and discuss with each = other. To=20 enable serious literary analysis of diverse documents, we will have a = number of=20 text-parsing tools available to readers. One other important thing to = mention is=20 that we will have a lot of text in non-Latin character sets, including = right to=20 left languages.
 
My questions are:
1) Could Zope help me keep track of who = is reading what and match people up for discussion?
2) Could Zope help me personalize the = fonts and=20 other display settings for each user? How about letting users create = their own=20 bookmarks within the texts?
3) Could Zope help me manage user = created content=20 and the relations between content and its creators?
4) Could Zope handle right to left text = and=20 non-Latin character sets?
5) What are the = advantages/disadvantages to=20 developing this site with Zope as opposed to MySQL and PHP?
6) Could Zope help me make the same = content=20 available to ordinary web browsers and wireless devices in different=20 formats?
7) Since we are going to be having = discussion, we=20 might want to stream voice between users and also stream pre-recorded = voice. Any=20 support for that?
8) Where can I find speed benchmark = information=20 about Zope?
9) Where can I find virtual server and = collocation=20 hosting for my site if I want to use zope, or do I have to administrate = my own=20 server?
 
Any input about any of these questions = would be=20 greatly appreciated. I apologize for my ignorance.
 
Thanks,
Aharon
------=_NextPart_000_0046_01C03DF2.4876D060-- From Danny@Adair.net Tue Oct 24 18:50:16 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 24 Oct 2000 19:50:16 +0200 Subject: [Zope] Calling objects by name Message-ID: How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From andym@ActiveState.com Tue Oct 24 19:35:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 24 Oct 2000 11:35:47 -0700 Subject: [Zope] newbie inquiry about zope References: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: <00c501c03de9$3a346340$ae03a8c0@fork> [..] My questions are: 1) Could Zope help me keep track of who is reading what and match people up for discussion? [..] 4) Could Zope handle right to left text and non-Latin character sets? Think of it this way: Zope can do anything you can program in python. Anything you cant program, have a look at Zope.org to see if somebody has done it before. 5) What are the advantages/disadvantages to developing this site with Zope as opposed to MySQL and PHP? You can use MySQL as a relational database and it makes sense for large amounts of content in certain formats. 6) Could Zope help me make the same content available to ordinary web browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream voice between users and also stream pre-recorded voice. Any support for that? See my first answer. 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site if I want to use zope, or do I have to administrate my own server? From sean@digitome.com Tue Oct 24 19:39:29 2000 From: sean@digitome.com (Sean McGrath) Date: Tue, 24 Oct 2000 19:39:29 +0100 Subject: [Zope] Modifiable local variables Message-ID: <4.3.0.20001024191012.00afa100@mail.digitome.com> Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is the recommended way to create modifiable variables using DTML, without using Zope? Thanks in advance From rlanham@speakeasy.net Tue Oct 24 20:38:43 2000 From: rlanham@speakeasy.net (Richard Lanham) Date: Tue, 24 Oct 2000 15:38:43 -0400 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install Message-ID: <002101c03df2$06bcf280$2460fed8@mydomain> This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable when I try to start zope on windows machine i get: problem(100) ZServer Computing local hostname then it says: ZServer Medusa (V1.16.4.3) started at... timestamp... hostname: dsl1254-096...isp.net Port:8080 then the FTP server starts: authorizer:none hostname: rlhome port:8021 the PCGI server starts: inet socket port: 8090 Monitor Server starts on port 8099 The dos window seems to hang after this. when I start a browser and goto http://localhost:8099/manage I get an = number, apparently an error: 972402587.52 back in the dos window, I see: ZServer uncaptured python exception, closing channel : Get/ manag = [c:\programfiles/home/zserver/medusa/asyncore.py|75] = [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] = [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] = [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
when I try to start zope on windows = machine i=20 get:
problem(100) ZServer Computing local hostname
 
then it says:
ZServer Medusa = (V1.16.4.3) started=20 at... timestamp...
 hostname:=20 dsl1254-096...isp.net
 Port:8080
 
then the FTP server=20 starts:
authorizer:none
hostname: rlhome
port:8021
 
the PCGI server starts:
inet socket = port:=20 8090
 
Monitor Server starts on port = 8099
 
The dos window seems to hang after=20 this.
 
when I start a browser and goto http://localhost:8099/manage I = get an=20 number, apparently an error:
972402587.52
 
back in the dos window, I = see:
ZServer=20 uncaptured python exception, closing channel <PCGIChannel at = 1307340>=20 <exceptions.ValueError:invalid literal for atio<>: Get/ manag=20 [c:\programfiles/home/zserver/medusa/asyncore.py|75]=20 [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327]=20 [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110]=20 [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]>
------=_NextPart_000_001E_01C03DD0.7DCDB8E0-- From ololo@zeus.polsl.gliwice.pl Tue Oct 24 21:31:20 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Tue, 24 Oct 2000 22:31:20 +0200 (CEST) Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> DTML tags can't be nested. Try: Message-ID: <002501c03d33$e9fa1100$0202a8c0@typhoon> Diego, Do you mean that you want at least one input tag appearing at all times? If so, try this: "> "> hth Phil ----- Original Message ----- From: "Diego Rodrigo Neufert" To: Sent: Tuesday, October 24, 2000 4:24 PM Subject: [Zope] dtml-in returning null | Hi... | | I want to do something like this... | | | "> | | But, if InMethod return nothing it display this tag one time.... | | There's a way to do that?? | | Thanks | -- | --------------------------- | Diego Rodrigo Neufert | -webmaster | --------------------------- | (Magic Web Design) | (email) (diego@magicwebdesign.com.br) | (curitiba) (pr) | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Mon Oct 23 21:59:53 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 21:59:53 +0100 Subject: [Zope] Calling objects by name References: Message-ID: <003701c03d34$3952b810$0202a8c0@typhoon> Danny, Try something like or hth Phil ----- Original Message ----- From: "Danny William Adair" To: Sent: Tuesday, October 24, 2000 6:50 PM Subject: [Zope] Calling objects by name | How can I render an object in DTML if I have its id as a string? | I would like to construct its name as a string and then call the object | variable by its name. | (Meaning I will have to make sure such an object exists) | | tia, | | CU+Prost, | | Danny | | | _______________________________________________ | 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 ) From p@state-of-mind.de Tue Oct 24 22:37:26 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 23:37:26 +0200 Subject: [Zope] AW: [Zope] newbie inquiry about zope In-Reply-To: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: Phew Aharon, many questions... Did you take a closer look at zope.org? I think many questions are answered within the site. But let's get going... >1) Could Zope help me keep track of who is reading what and match people up for discussion? You could track down people with cookies :-( or sessions :-) Both can be achieved with zope. I'd go for sessions - though I am not a programmer. From what I know and what I think your idea is aiming to sessions would help you to set up framework powerfull enough to reach your goals. Besides how to you deal with people who won't allow cookies? Then you could analyse the informatios gathered within the sessions and provide a "People who read this, also read that" ;-) >2) Could Zope help me personalize the fonts and other display settings for each user? How >about letting users create their own bookmarks within the texts? As for the bookmarks I don't know, but the fonts etc. could be done with 'skins'. I've seen a project on zope.org that promoted such functions. See also >3) Could Zope help me manage user created content and the relations between content and its >creators? yupp. >4) Could Zope handle right to left text and non-Latin character sets? Is that a job for zope? To me this seems to be a Browsers job e.g. in the section of the HTML that is sent to the Browser. Or am I missing something? >5) What are the advantages/disadvantages to developing this site with Zope as opposed to >MySQL and PHP? I can't comment on that, since I am not a programmer. For me it's a elaborated framework that provides functions needed for managing content e.g. versions, authentification ;-) etc. Get a closer insight at AFAIK you'd have to develop these basic functions from scratch if you use plain MySQL and PHP. >6) Could Zope help me make the same content available to ordinary web browsers and wireless >devices in different formats? Are you after WAP? There is code that does that... and then there's XML... :-) >7) Since we are going to be having discussion, we might want to stream voice between users >and also stream pre-recorded voice. Any support for that? Hmmm, do you mean something like 'Zope Streaming Server' AFAIK I haven't read about that... But why stream this from zope? There are other servers that are spezialised on that. I'd use a combination; zope as a frontend to provide the paths and the specific information bound to the stream >8) Where can I find speed benchmark information about Zope? What is it that you want to measure? Anyway: There was a benchmark a while ago in the news. I couldn't find it immediately which doesn't mean it's not there... >9) Where can I find virtual server and collocation hosting for my site if I want to use zope, >or do I have to administrate my own server? But let's think of your projects requirements first. What would you need to get the baby of the ground? Developing 1. If you use zope you will need zope :-| 2. You will have to develop a few Zope Products by yourself, either to implement features that aren't there yet or to customize and mingle other Products. That means you will need to have shell access to the machine you build your site on. 3. You will need at least ftp-access to your zope-dir in order to implement the new products. If you use only one machine, which I do not recommend, you are done with 2.) 4. ZODB (the Database zope runs on...) is a good database. Still many developers have their reasons to use a second DB mostly a relational Database e.g. Oracle or MySQL Serving 1. If your site hits the net and is a hit, you'll probably need: bandwidth and response time are needed. Reasonably for serving that starts from 2Mbps upwards. 2. If you go for ISPs they provide both: bandwitdh and short response times. Furthermore the offer features as backup (who does it regularly???) and probably better firewalling that you can do at your own. If you decide to take care of that by yourself, you will have to take care not only of the development but also of the above mentioned features plus a few more. Also if you want to stream media you'd be off good if you have a streaming proxy in order to take load of the machine that runs the server, when the going gets tough. Streaming proxys aren't cheap. ISPs can provide you with a solution that will serve not only your domain but also others. That makes it a lot cheaper and again you won't have to deal with the Streaming Proxy. So lets see, what I would do: I'd get two machines (bid + medium) that run the same OS; preferably Linux since it's cheap and there are enough people out there by now who really now their way around that OS. OTOH you'd should decide where to go first and decide on the ressources after that. I'd get an ISP that houses my big machine. Use the other machine to develop the project on. by, p@rick From kthangavelu@earthlink.net Tue Oct 24 18:47:24 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 10:47:24 -0700 Subject: [Zope] Modifiable local variables References: <4.3.0.20001024191012.00afa100@mail.digitome.com> Message-ID: <39F5CB2C.36C6A0C8@earthlink.net> Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is > the recommended way to create modifiable variables using DTML, without > using Zope? > > Thanks in advance i've used dtml outside of zope, but i tend to pass it most of the variables it needs and let it do the rendering. you should be able to pass an empty dict to the dtml as the mapping arguement and set variables inside of that, although you might have to wrap it with attributing setting methods so that it can be used from dtml. or you can use a dtml-let clause to create the proper variables. long live the pyxies:) kapil > > _______________________________________________ > 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 ) From bill.anderson@libc.org Wed Oct 25 00:28:09 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Tue, 24 Oct 2000 17:28:09 -0600 Subject: [Zope] SuperUser cannot own ;-) References: Message-ID: <39F61B09.AF24B67C@libc.org> Max M wrote: > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris > Withers > > > I suppose you've just installed Zope and you're logged in as "Superuser" > > And that's the problem. > > The superuser cannot own folder, files etc. > > ...and I'd still like to know why ;-) > > Well I for one have accidently removed view privilliges for administrators > in a folder, at that time I was very happy to be able to log in as super and > restore those proviliges, or else I would have had to remove the directory > and start fresh. And you can still do that. You just can't _create_ new items as 'bootstrap user'. > > Perhaps it is also to avoid trojan horses being executed by super. :^)= -- E PLURIBUS LINUX From zope@grewen.de Wed Oct 25 02:14:56 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 25 Oct 2000 03:14:56 +0200 Subject: [Zope] References: Message-ID: <009601c03e21$2a792840$0300a8c0@windows> Hi, I am not quite sure if this is what you want but may this helps do something This is not resolving the URL. If you found a solution let me know. Jens Grewen ----- Original Message ----- From: "kosh" To: Sent: Tuesday, October 24, 2000 10:56 PM Subject: [Zope] > What would be the correct dtml-if contrstruct for this behavior? > > I want to check and see if zope can resolve a url to a valid object. > > Ie does http://foo.com/bar/foo get you to a valid page or is it not > found. > > I need something like that way I can know > when to rewrite the url based on zope finding the object or not. > > Thanks > Kosh > > > _______________________________________________ > 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 ) > From p@state-of-mind.de Wed Oct 25 02:33:34 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 03:33:34 +0200 Subject: [Zope] dtml-var owner? author? editor? Message-ID: Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick From phil.harris@zope.co.uk Tue Oct 24 02:37:43 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 02:37:43 +0100 Subject: [Zope] References: <009601c03e21$2a792840$0300a8c0@windows> Message-ID: <001301c03d5b$02042c00$0202a8c0@typhoon> How about (sort of tested): ignore the error or otherwise report it hth Phil ----- Original Message ----- From: "Jens Grewen" To: "kosh" Cc: "Zope Maillist" Sent: Wednesday, October 25, 2000 2:14 AM Subject: Re: [Zope] | Hi, | | I am not quite sure if this is what you want but may this helps | | | | do something | | | | This is not resolving the URL. | If you found a solution let me know. | | Jens Grewen | | | ----- Original Message ----- | From: "kosh" | To: | Sent: Tuesday, October 24, 2000 10:56 PM | Subject: [Zope] | | | > What would be the correct dtml-if contrstruct for this behavior? | > | > I want to check and see if zope can resolve a url to a valid object. | > | > Ie does http://foo.com/bar/foo get you to a valid page or is it not | > found. | > | > I need something like that way I can know | > when to rewrite the url based on zope finding the object or not. | > | > Thanks | > Kosh | > | > | > _______________________________________________ | > 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 ) From bak@nstp.com.my Wed Oct 25 02:58:41 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 09:58:41 +0800 Subject: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102509584105.00837@tokey.kedai.com.my> On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: > Hi Zopistas, > > I want to include the owner (from acl_users) of a page in my HTML-output. > > Unfortunately I'm not able to produce what I want. > > Any hints? > > Thanks, > > p@rick > i would think that is what you want > _______________________________________________ > 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 ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain From webmaven@lvcm.com Wed Oct 25 03:19:07 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 24 Oct 2000 19:19:07 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll References: <39F4CEB4.ACB6253B@digicool.com> Message-ID: <39F6431B.B10EB8A2@lvcm.com> Michel Pelletier wrote: > > We will be conducting a community poll to decide what to call Python > (Perl, insert your language here) Methods. > [snip] > So, before the poll, we are calling for nominiations from the > community. Please send me an email containing one or more candidate > names. These names will be added to the list. No pre-screening will be > done, so please exercise some discretion if your favorite name is more > tounge-in-cheek than practical (you never know what the masses will > decide though!). > > Later this week, I will create a web poll where you can vote for your > favorite. I would like to suggest that instead of a plurality vote, we use a 'Borda count', also known as an 'preferential' or 'single-transferable' ballot. Those of you who followed the recent ICANN election should be familiar with it. It works like this: All votes consist of ranking the availble choices according to desireability (if there are six choices, you would number them 1-6, each choice must be uniquely ranked, not all choices must be ranked). All voters first choices are tallied. If, at this point, one choice has achieved over 50% of the vote, the vote is over. If no choice has achieved 50%, the choice with the fewest votes is removed, and the voters who voted for that choice have their second choice counted and distributed. If at this point one of the choices acheives 50%...etc. Lather, Rinse, Repeat. This method has the advantage of better representing peoples true choice, since no one is tempted to vote for a choice that they simply disapprove of less, because 'otherwise they're throwing away their vote'. In a five-way race for example, a plurality may consist of 25% of the vote, thereby ensuring that 75% of the voters will be pissed off. With a Borda count though, the winner could be everyone's second-favorite choice, thus better representing what people want. There's a few other wrinkles to this, such as situatuions where not all choices have been ranked. If a voter has only ranked four choices and a fifth runoff phase is neccessary, their ballot is discarded, and the 50% mark is recalculated for that phase to account for the reduced number of ballots. Cheers, Michael Bernstein. From jason_zope@yahoo.com Wed Oct 25 04:30:00 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Tue, 24 Oct 2000 20:30:00 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025033000.537.qmail@web4605.mail.yahoo.com> Does anyone have any LoginManager 0.8.8b1 example code? It almost looks like you can extend the system using plugins, but I don't know how that's done. Anyone else have luck doing this? If so then do you have any examples/suggestions? All I want is a simple ZODB/cookie based system, but I can't get the Generic User Source to work. Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From mwilbert@alum.mit.edu Wed Oct 25 05:23:09 2000 From: mwilbert@alum.mit.edu (Matthew Wilbert) Date: Tue, 24 Oct 2000 21:23:09 -0700 Subject: [Zope] using a dictionary returned from an external method Message-ID: <200010250419.VAA32656@zope.codeit.com> I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like . . . However, I need to do this for several keys, and I don't want to call externalMethod several times. Is there a way to assign the method result to another variable, or is it possible that DTML is smart enough not to do the call multiple times? Or is there some other approach that I am not even thinking of? Any suggestions will be greatly appreciated. Thanks, Matt Wilbert mwilbert@alum.mit.edu ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. From bak@nstp.com.my Wed Oct 25 06:36:11 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 13:36:11 +0800 Subject: [Zope] limiting tree Message-ID: <00102513361107.00837@tokey.kedai.com.my> hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! From dylan@btamail.net.cn Wed Oct 25 06:49:19 2000 From: dylan@btamail.net.cn (Dylan Chi) Date: Wed, 25 Oct 2000 13:49:19 +0800 Subject: [Zope] Help,I have a question.:( Message-ID: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a question about Squishdot. Error: Traceback (innermost last): File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 214, in publish_module File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 179, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line = 202, in zpublisher_exception_hook File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 169, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, = line 237, in commit File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line = 327, in commit (Info: (('Products.Squishdot.Squishdot', 'Article'), = '\000\000\000\000\000\000\242\032', '')) File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, = line 632, in store (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) OverflowError: (see above) ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a question about = Squishdot.
Error:
Traceback (innermost last):
  = File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 214, in=20 publish_module
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 179, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in=20 zpublisher_exception_hook
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 169, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, line 237, = in=20 commit
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line 327, = in=20 commit
    (Info: (('Products.Squishdot.Squishdot',=20 'Article'), '\000\000\000\000\000\000\242\032', ''))
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, line 632, = in=20 store
    (Object:=20 /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs)
OverflowError: (see=20 above)
------=_NextPart_000_00C3_01C03E8A.5F845190-- From morten@esol.no Wed Oct 25 06:59:09 2000 From: morten@esol.no (Morten W. Petersen) Date: 25 Oct 2000 07:59:09 +0200 Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? In-Reply-To: <20001025033000.537.qmail@web4605.mail.yahoo.com> References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: [Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManager instance, you should add four methods of some sort within the UserSource object. The four methods are: userAuthenticate userExists userRoles userDomains Here's the External methods I used just to make the logins work; you'll have to implement them to fit your system: def userAuthenticate(self, REQUEST, username, password): if username == 'morten' and password == 'morten': return 1 else: return 0 def userExists(self, REQUEST, username): return 1 def userRoles(self, REQUEST, username): return 'Manager', 'Owner' def userDomains(self, REQUEST, username): return [] | All I want is a simple ZODB/cookie based system, but I | can't get the Generic User Source to work. HTH then. =) -Morten From kthangavelu@earthlink.net Wed Oct 25 01:54:37 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 17:54:37 -0700 Subject: [Zope] using a dictionary returned from an external method References: <200010250419.VAA32656@zope.codeit.com> Message-ID: <39F62F4D.383C1C2A@earthlink.net> Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call externalMethod several times. Is there a > way to assign the method result to another variable, or > is it possible that DTML is smart enough not to do the > call multiple times? Or is there some other approach > that I am not even thinking of? i know dtml will cache results on the same method call in a single request which generally makes it efficient to do stuff like cheap skate;) and i'm guessing the same should apply to external methods. kapil From rik.hoekstra@inghist.nl Wed Oct 25 08:24:56 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 09:24:56 +0200 Subject: [Zope] Trying to follow tutorial References: <39F5754A.BA398125@inghist.nl> <20001024231024.E848@hermes> Message-ID: <39F68AC8.6777FC00@inghist.nl> Olivier Ricou wrote: > > On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote: > > Go to the management interface and add a zope user in the acl_users > > folder. Give it Management rights. Shut you browser, reopen it and > > authenticate as the user you just entered. Get on with the tutorial... > > BTW there is no easier way than to shut the browser and reopen it ? No easy sure way at least. That is, if you have basic authentication (which is always the case when you have Zope out of the box). It's reported that in some cases http://user:password@yoursite.com:whateverport may log you out/log you in differently, but afaik that won't work in all browsers and all platforms _and_ it may present you with an authorization box Rik From jason_zope@yahoo.com Wed Oct 25 08:34:12 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 25 Oct 2000 00:34:12 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025073412.23919.qmail@web4601.mail.yahoo.com> --- "Morten W. Petersen" wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you > | have any examples/suggestions? > > Yes. After adding your LoginManager instance, you > should add four > methods of some sort within the UserSource object. > > The four methods are: > > userAuthenticate > userExists > userRoles > userDomains > > > Here's the External methods I used just to make the > logins work; you'll > have to implement them to fit your system: > > def userAuthenticate(self, REQUEST, username, > password): > > if username == 'morten' and password == > 'morten': > > return 1 > > else: > > return 0 > > > def userExists(self, REQUEST, username): > > return 1 > > > def userRoles(self, REQUEST, username): > > return 'Manager', 'Owner' > > > def userDomains(self, REQUEST, username): > > return [] > > Hmmm, I tried implementing these functions before, but only as DTML methods: userAuthenticate userDomains userExists userRoles Yet this never seemed to work. Does it not work because they are DTMLMethods and not External Methods, or because I am returning the wrong values, or because of a proxy or security setting? The Methods are in the User Sources 'folder' and I am sure I chose "GUF" authentication from the list when I added the LoginManager. Jason __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From p@state-of-mind.de Wed Oct 25 08:47:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 09:47:18 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? In-Reply-To: <00102509584105.00837@tokey.kedai.com.my> Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From p@state-of-mind.de Wed Oct 25 09:14:08 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 10:14:08 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: <39F68AC8.6777FC00@inghist.nl> Message-ID: > > > > BTW there is no easier way than to shut the browser and reopen it ? > > No easy sure way at least. That is, if you have basic authentication > (which is always the case when you have Zope out of the box). It's > reported that in some cases > http://user:password@yoursite.com:whateverport may log you out/log you > in differently, but afaik that won't work in all browsers and all > platforms _and_ it may present you with an authorization box Another real dull way is: open NS and IE (or... or ...) and use them with different authorization. p@ From dvg@vet.uu.nl Wed Oct 25 09:42:00 2000 From: dvg@vet.uu.nl (Diny van Gool) Date: Wed, 25 Oct 2000 10:42:00 +0200 Subject: [Zope] How many houres do I need to manage a Zope site? Message-ID: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Hi, The management team wants to know how many hours are necessary to keep the faculty Zope site running. I have to make a summary of hours necessary for the technical system management such as software releases, database management, fixes etc. Developing or installing new features is not to be included. Configuration: Zope version: 2.2.2 Windows NT 4.0 Installed products: FSSession, LocalFS, Refresh, Squishdot, TinyTable, UserDB, XMLDocument, XMLWidgets, ZODBCDA, ZSQLMethods 1. How many Zope releases per year can I expect and how much time do I need per release? 2. How much time do I need for product releases and fixes? 3. How much time do I need for Zope database management? Besides a regular backup and packing the Data.fs are there other things necessary? Do I miss important tasks? Has anybody done this before? Thanks, Diny DIVA, Faculty of Veterinary Medicine Utrecht University, The Netherlands http://www.vet.uu.nl From arevalo@iam.unibe.ch Wed Oct 25 09:51:18 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Wed, 25 Oct 2000 10:51:18 +0200 (MET DST) Subject: [Zope] i can not see some graphic icons.. Message-ID: hi all, after starting Zope, everything seems to be ok, but i can not see some graphic icons in the web page. The Traceback after starting zope is the following one: Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in ? logger_object=lg) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/http_server.py", line 541, in __init__ self.bind ((ip, port)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/asyncore.py", line 242, in bind return self.socket.bind (addr) socket.error: (125, 'Address already in use') how can i solve it ? thanks in advance Gaby From jose@sferacarta.com Wed Oct 25 10:10:26 2000 From: jose@sferacarta.com (Jose Soares) Date: Wed, 25 Oct 2000 11:10:26 +0200 Subject: [Zope] getProperty() References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: <39F6A382.8EFC9546@sferacarta.com> Hi all, This is a newbie question. I'm trying to get the 'title' property of a SQLConnectionIDs. I can do this work using python but in zope I can't do it. I want to create an html SELECT object to display a list of all SQL Connections and I want to display the id and the title, like this: id title --------- --------------------------------------------- gadfly Gadfly_database_connection mysql MySQL_database_connection postgres PyGres_database_connection dbmaker DBMaker_database_connection I tryed the following: but sequence-key and sequence-item are equals. Thank for any help Jose' From bak@nstp.com.my Wed Oct 25 09:07:51 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 16:07:51 +0800 Subject: [Zope] Re: AW: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102516075100.14800@tokey.kedai.com.my> On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: > > > I want to include the owner (from acl_users) of a page in my > > > > HTML-output. > > > > > > is what you want > > Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? > What I want is: > 'Anonymous User' surfs to my site. She surfs trough the HTML output > generated by zope, while zope not only tells her the content provided, but > also the Name of the Zope-owner of the document (e.g patrick is owner of > index_html --> that info is also displayed to the anonymous user) > > Thanks for more help, > ok, i see what you want to do. i thought that you have a "author" property somewhere. i'm sorry to say that i can't be of any more help. i guess you can test for ownership of objects in zope since there exist a take ownership button. check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py tell us what you got :) > p@ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! From stefan@epy.co.at Wed Oct 25 10:42:23 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 11:42:23 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <0010241819500B.00590@cat-pc-holle> Message-ID: Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: > I can send single email with one recipient without problems. > I need to use a bcc: for about 4000 users. No way doing that halfway > performant with a ... statement. > > I am thinking of the > bcc: user1, user2, user3 .... user4000 > header. > It ought to get parsed in the MailHost product and sent directly to the > proper smtp-host .... From mike@geekteam.com Wed Oct 25 10:44:29 2000 From: mike@geekteam.com (Mike Bannister) Date: Wed, 25 Oct 2000 05:44:29 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents Message-ID: Hi, I'm working my way through the beta-book on zope.org and having a blast generally but I'm hoping someone can check my thinking here and tell me if I'm on the right track. Thanks in advance for any insight you can offer. In chapter 3, where DTML is first introduced, they have me create a Folder with some files in it and include something like this in a DTML Method:
Just for the heck of it I dropped that same code into a DTML Document in the same Folder and it didn't list the Files as I had expected. I understand pretty much the differences of Methods and Documents and I'm assuming the reason for this is related to the way the Documents exists in it's own namespace and the Method doesn't... so my best guess for this behavior is that the 'scope' of objectValues() is limited to the current namespace. Am I even close? If not can someone explain this to me? Thanks! Mike Bannister geekteam.com From jornd@falch.net Wed Oct 25 10:57:34 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 25 Oct 2000 11:57:34 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 14:08:03 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> <021701c03dbb$729770c0$5c773fc1@media1> Message-ID: <87itqhmeep.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | I'm no Apache GrandMaster but couldn't you use the [p] option of a | RewriteRule to make it proxy if the url matches a pattern: | | RewriteEngine on | RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] | | Or something along those lines. Looks promising. I will come back to the results later, when I have tested it. Thanks again. -- Jørn Helge B. Dahl http://falch.net From jatwood@bwanazulia.com Wed Oct 25 11:19:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 06:19:57 -0400 Subject: [Zope] How many houres do I need to manage a Zope site? In-Reply-To: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> References: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Message-ID: At 10:42 AM +0200 10/25/2000, Diny van Gool wrote: >1. How many Zope releases per year can I expect and how much time do I need >per release? One major, four or five minor and three or four hotfixes. Schedule a day for the major, half a day each for the rest. >2. How much time do I need for product releases and fixes? Each product will need to be tested and implemented so half a day for each major release. If you modify the products of course it will be longer. >3. How much time do I need for Zope database management? Besides a regular >backup and packing the Data.fs are there other things necessary? Very little. Pack it when it gets too big (once a week) or set a cron to do it... oh sorry, NT... set a AT command to do it. >Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days. :) J From matt.bion@eudoramail.com Wed Oct 25 11:57:49 2000 From: matt.bion@eudoramail.com (Matt) Date: Wed, 25 Oct 2000 23:57:49 +1300 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F6BCAD.EEB6A627@eudoramail.com> Here's on I particularly like, sorry it doesn't have a sql query. It sends an attached image file, contents and all, not just an IMG SRC reference. And do youself a favour by adding a Mailhost object somewhere above where you want to use it. To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Matt steve smith wrote: > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > > Ta! > > Steve > > _______________________________________________ > 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 ) From rik.hoekstra@inghist.nl Wed Oct 25 12:04:15 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 13:04:15 +0200 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: <39F6BE2F.58A5084F@inghist.nl> > > when I try to start zope on windows machine i get: > problem(100) ZServer Computing local hostname this is 'normal' and not a problem (though I always wonder what it really means) > The dos window seems to hang after this. nope, this is just the console window for the server. This is also normal. You only get output here if something strange happens (and in ftp sessions) > > when I start a browser and goto http://localhost:8099/manage I get an > number, apparently an error: > 972402587.52 > > back in the dos window, I see: > ZServer uncaptured python exception, closing channel 1307340> : Get/ manag > [c:\programfiles/home/zserver/medusa/asyncore.py|75] > [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] > [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] > [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> try accessing it via the http port. In your case http://localhost:8080 or http://localhost:8080/manage then it should work. hth Rik From tdickenson@geminidataloggers.com Wed Oct 25 12:21:28 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 25 Oct 2000 12:21:28 +0100 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install In-Reply-To: <002101c03df2$06bcf280$2460fed8@mydomain> References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham" wrote: >then it says: >ZServer Medusa (V1.16.4.3) started at... timestamp... > hostname: dsl1254-096...isp.net > Port:8080 your http server is on 8080 >Monitor Server starts on port 8099 and the monitor is on 8099 >http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson tdickenson@geminidataloggers.com From Dominique.Dutoit@cec.eu.int Wed Oct 25 12:56:50 2000 From: Dominique.Dutoit@cec.eu.int (Dominique.Dutoit@cec.eu.int) Date: Wed, 25 Oct 2000 13:56:50 +0200 Subject: [Zope] Zope on Mac OS X Message-ID: <51D6FF030F6ED411993000D0B7823C060108EF@EX2BEBREYMBX04> I'm trying to build Zope with the Apple developer tools but it didn't work. Python 2.0 seems easier to build and works well but Zope C source codes must be modified to get it build. The How-to note about Mac OS X server doesn't apply to the public beta. Does somebody have already tried to use Zope with Mac OS X public beta? From jonathan@home-all.org.uk Wed Oct 25 13:04:58 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 25 Oct 2000 13:04:58 +0100 Subject: [Zope] which python gets used ... ? Message-ID: <39F6CC6A.E972D3A7@home-all.org.uk> Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan From maxm@normik.dk Wed Oct 25 13:10:52 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 25 Oct 2000 14:10:52 +0200 Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with Message-ID: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> This is a question I guess has something to do with popping an object onto the namespace, or about me not understanding how stuff works. When I make a list of objects: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto the namespace.): But it isn't so. What do I need to do to make the objects namespace count in my traversal? (I'd like to keep the dtml as simple as possible.) -------------- If I make a list: theList = [1, 2, 3, 4] I can traverse it with: --------- and if it's a list if dicts: theList = [{'value':1},{'value':2},{'value':3},{'value':4}] I can traverse it like: From phd@phd.dada.ru Wed Oct 25 14:05:20 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Wed, 25 Oct 2000 13:05:20 +0000 (GMT) Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> Message-ID: On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > class simple: > def __init__(self, value): > self.value = value > > theList = [simple(1), simple(2), simple(3), simple(4)] > > I would expect to be able to traverse it like below (The objects namespace > would be popped onto the namespace.): > > > > Looks good... > But it isn't so. Why? What was the error? Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From stefan@epy.co.at Wed Oct 25 15:50:06 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 16:50:06 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F6E558.AA6260B5@venaca.com> Message-ID: On Wed, 25 Oct 2000, Gregory Haley wrote: > i was one of the participants in the recent discussion of zope bulk > mail. i'm wondering about the mechanics of sending the work of the mail > to the actual sendmail server outside of zope. would i do that by > creating an external method which is program/script that accepts the > data from zope and then passes them to the mail server? any suggestions > or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan From jhouchin@texoma.net Wed Oct 25 16:09:49 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 10:09:49 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? Message-ID: <39F6F7BD.713ECAD9@texoma.net> Just a few comments to throw into the naming convention. Any name chosen will require educating the user as to it's definition. Some names are already defined in other spaces. Some of which are heavily overloaded. There is also discussion as to the accuracy of various names in the context of the usage within Zope. It is apparent the choice isn't clear and easy. As Michel has posted that a vote will occur in the near future a determination will be made. Currently one of the terms in usage is External Methods. From my understanding of the future direction of the Python Methods (restricted and unrestricted) the term External will not be accurate as the code will be within the ZODB and the differentiation will be in the capability of the method. Due to this I think the usage of External not be included in the name. Likewise Internal. Regarding Safe and Power. I have no major problems with Safe, however I thing Power brings along a lot of connotations or implications which may or may not be accurate concerning the abilities of Safe. As others have noted why choose Safe when you can use Power. Why, will have to be a part of the educational process. However proper perspective and understanding can start by not using Power in the name. I believe Power is not the right choice. Unsafe has also been proposed. I do not like this either because it is not accurate. Simply because something dangerous, foolish or stupid can be done using this method type does not mean it will be. Are we to label all objects "unsafe" simply because of the capacity of harm? Safety is in the hands of the programer. You cannot stop someone with the capability from doing something harmful if they choose. I would prefer the term Unrestricted or something similar. It simply denotes capabilities without implying it is dangerous. It isn't dangerous, it can be used dangerously, there is a difference. It is like many tools which can be used or abused. Hope this helps. Jimmie Houchin From tom.deprez@uz.kuleuven.ac.be Wed Oct 25 16:20:13 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 25 Oct 2000 17:20:13 +0200 Subject: [Zope] expr Message-ID: <3.0.6.32.20001025172013.008feec0@poirot> I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. From chrisw@nipltd.com Wed Oct 25 16:27:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:27:39 +0100 Subject: [Zope] limiting tree References: <00102513361107.00837@tokey.kedai.com.my> Message-ID: <39F6FBEB.89212D04@nipltd.com> "Bak @ kedai" wrote: > > hi all > quickie: > if dtml-in, i can use size to limit the results rendered, what do i use in > dtml-tree? You don't, you run screaming for the hills ;-) I have a deep seated mistrust of the tag now after many bitter experiences. I'd recommend just writing an external methdo or python product that does exactly what you want... cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:30:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:30:19 +0100 Subject: [Zope] Never seen that before References: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> Message-ID: <39F6FC8B.CC9691FC@nipltd.com> Not so much a question as a traceback, and posted in HTML too... nice ;-) > I have a question about Squishdot. > Error: > Traceback (innermost last): > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 214, in publish_module > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 179, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line > 202, in zpublisher_exception_hook > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 169, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, > line 237, in commit > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, > line 327, in commit > (Info: (('Products.Squishdot.Squishdot', 'Article'), > '\000\000\000\000\000\000\242\032', '')) > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, > line 632, in store > (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) > OverflowError: (see above) I've never seen that one before. What version of Zope are you using? 2.1.6? Any patching? What version of Squishdot are you using? What platform are you running this on? Soem sort of *nix by the sound of it... Has the user running your Zope instance got enough quota on the disk all this is stored on? cheers, Chris From Danny@Adair.net Wed Oct 25 16:33:23 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 17:33:23 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks Message-ID: I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can help me. ************************************************************************** My TinyTablePlus instance: ************************************************************************** ID: Items Title: Items on Navigation Bar Columns: Position ShowItem Caption UseImage Image Service URL Data: "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- ************************************************************************** My code: (I want to create a configuration page for a navigation bar, which will have to change a table's rows depending on the contents of some form elements) ************************************************************************** -------------------------------------------------------------------------- ************************************************************************** My problem: ************************************************************************** Data afterwards: "1", NULL, "test", NULL, NULL, NULL, NULL "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny From chrisw@nipltd.com Wed Oct 25 16:35:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:35:22 +0100 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents References: Message-ID: <39F6FDBA.90BD8F5E@nipltd.com> Mike Bannister wrote: > Just for the heck of it I dropped that same code into a DTML Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? This is quite a thorny FAQ. The root of it is the binding of methods to objects/namespaces in DTML, which has had lots of press on zope-dev@zope.org recently. The short version is: -if that code is in a method, it is executed on the method's container (actualyl acquisition context, but don't worry abotu that too much ;-) -if the code was in a documents, it is executed on that document. Since documents can't really have things attached to them that would be returned by objectValues, you usually get an empty list back :-) HTH, Chris From chrisw@nipltd.com Wed Oct 25 16:37:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:37:17 +0100 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F6FE2D.6BB01D0D@nipltd.com> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? Can use either depending on whether you install the source or binary distribution... actually dunno if there is a binary distribution for *nix. > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:44:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:44:08 +0100 Subject: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with References: Message-ID: <39F6FFC8.D1476175@nipltd.com> Oleg Broytmann wrote: > > On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > > class simple: > > def __init__(self, value): > > self.value = value > > > > theList = [simple(1), simple(2), simple(3), simple(4)] > > > > I would expect to be able to traverse it like below (The objects namespace > > would be popped onto the namespace.): > > > > > > > > If you're getting security errors, try this new version (untested): class simple(Acquisition.Implicit) __ac__permissions__ = ( ('View', ('get_value','get_list'),('Manager','Anonymous')), ) def __init__(self,value): self.value=value def get_value(self): return value Globals.default__class_init__(simple) Now, hopefully, theList is being returned from within a class method, in which case: theList = [simple(1).__of__(self), simple(2)__of__(self), simple(3)__of__(self), simple(4)__of__(self)] return theList then: should work... hmmmm, Chris From kedai@kedai.com.my Wed Oct 25 16:49:00 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 23:49:00 +0800 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: <003601c03e9b$1f45e060$085a6acb@kedai> sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From brian@digicool.com Wed Oct 25 16:58:51 2000 From: brian@digicool.com (Brian Lloyd) Date: Wed, 25 Oct 2000 11:58:51 -0400 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? In-Reply-To: <39F6F7BD.713ECAD9@texoma.net> Message-ID: > > Unsafe has also been proposed. I do not like this either because it is > not accurate. Simply because something dangerous, foolish or stupid can > be done using this method type does not mean it will be. Are we to label > all objects "unsafe" simply because of the capacity of harm? Safety is > in the hands of the programer. I agree with this vehemently :) Would you want to use "unsafe C++" or "unsafe Java"? I think "restricted" and "unrestricted" are clear and concise. This is not about "safety" per se, but about capabilities. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From rbickers@logicetc.com Wed Oct 25 17:10:23 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Wed, 25 Oct 2000 12:10:23 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents In-Reply-To: Message-ID: > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mike > Bannister > Sent: Wednesday, October 25, 2000 5:44 AM > To: zope@zope.org > Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents > Just for the heck of it I dropped that same code into a DTML > Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? That's basically it, yes. I think of a method as being a function that works on the object it is "in", and a document as being an object that gets worked on. So objectValues() in a method will return objects from its container, whereas objectValues() in a document will always return objects from within that document. Acquisition plays a role too, since a method can work in different contexts. For example (given myMethod and myDocument that both use objectValues()) TestFolder1.myMethod will return objects in TestFolder1 TestFolder2.myMethod will return objects in TestFolder2 TestFolder1.myDocument will return objects in myDocument TestFolder2.myDocument will return objects in myDocument I hope this makes sense. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From jhouchin@texoma.net Wed Oct 25 17:13:27 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 11:13:27 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? References: <39F6F7BD.713ECAD9@texoma.net> Message-ID: <39F706A7.AE700DF6@texoma.net> Ooops! Wrong list. Sorry. Will post to Zope-dev. Jimmie Houchin Jimmie Houchin wrote: [snip] From alexander@limi.net Wed Oct 25 17:43:57 2000 From: alexander@limi.net (Alexander Limi) Date: Wed, 25 Oct 2000 18:43:57 +0200 Subject: [Zope] How small a box can zope run on? Message-ID: <005701c03ea2$cb7a5530$1e00010a@plym> Hi, Just a quick question: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users connected to Zope at once, so we don't need much performance in terms of page views per second :) Cheers, Alexander. From p@state-of-mind.de Wed Oct 25 17:38:11 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 18:38:11 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From hannu@tm.ee Wed Oct 25 19:48:24 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 25 Oct 2000 18:48:24 +0000 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> <39F6FE2D.6BB01D0D@nipltd.com> Message-ID: <39F72AF8.F82C9E3A@tm.ee> Chris Withers wrote: > > Jonathan Cheyne wrote: > > > > So the question is: can I run zope using the stock RH6.2 distributions' > > own copy of python? > > If it's Python 1.5.2, then yes... there's probably instructiosn for this > on Zope.org near the bits about insatlling Zope from source on Linux. IIRC there used to be subtle bugs, like batch processing in DTML giving wrong page numbers ----------- Hannu From troy.farrell@wilcom.com Wed Oct 25 18:12:34 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Wed, 25 Oct 2000 12:12:34 -0500 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They sit mostly idle with occasional light loads. They are P100/32MB/1.2GB old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack mount 4U units. Good, solid, slow hardware. They survive NT rather well. One is running 2 instances of Zope (one for dev) and has been for 15 days since last reboot. I will be looking for at least a 6 month uptime. They serve a departmental intranet application that I am writing. It's on NT because I need to use ODBC to get to a local MS Access Database. Bummer. Troy -----Original Message----- From: Bak @ kedai [mailto:kedai@kedai.com.my] Sent: Wednesday, October 25, 2000 10:49 AM To: Diny van Gool; zope@zope.org; J. Atwood Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Wed Oct 25 18:01:11 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 13:01:11 -0400 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually doing ok. Not quick, per se, but ok. J > From: "Alexander Limi" > Date: Wed, 25 Oct 2000 18:43:57 +0200 > To: > Subject: [Zope] How small a box can zope run on? > > Hi, > > Just a quick question: > > We are building some device controller software and to control those we have > a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > such a modest setup? There is only going to be one or two users connected to > Zope at once, so we don't need much performance in terms of page views per > second :) > > Cheers, > > > Alexander. > > > > > _______________________________________________ > 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 ) > > From Georg Rellensmann Wed Oct 25 18:58:56 2000 From: Georg Rellensmann (Georg Rellensmann) Date: Wed, 25 Oct 2000 19:58:56 +0200 Subject: [Zope] newbie: comparing dates? Message-ID: <10837870534.20001025195856@uni-muenster.de> Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. QUESTION 1: How do I compare dates in dtml code? QUESTION 2: How do I exclude empty values from processing? (I installed rapto´s null date-patch, seemed to work fine; for that patch see: http://www.zope.org/Members/rapto/nullDate?pp=1) regards, -georg.rellensmann- From scott@launchpoint.net Wed Oct 25 19:19:53 2000 From: scott@launchpoint.net (Scott Burton) Date: Wed, 25 Oct 2000 11:19:53 -0700 Subject: [Zope] deleting through iteration Message-ID: This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott From andres@corrada.com Wed Oct 25 19:24:13 2000 From: andres@corrada.com (andres@corrada.com) Date: Wed, 25 Oct 2000 14:24:13 -0400 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: ; from Danny William Adair on Wed, Oct 25, 2000 at 05:33:23PM +0200 References: Message-ID: <20001025142413.A5320@corrada.com> You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From Danny@Adair.net Wed Oct 25 19:26:47 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:26:47 +0200 Subject: [Zope] Calling form elements by name Message-ID: How can I render a REQUEST variable in DTML if I have its id as a string? I would like to construct its name as a string and then call the REQUEST variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From Danny@Adair.net Wed Oct 25 19:37:27 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:37:27 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: <20001025142413.A5320@corrada.com> Message-ID: worked like a charm, thank you very much! Danny -----Ursprungliche Nachricht----- Von: andres@corrada.com [mailto:andres@corrada.com] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; zope@zope.org Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From ws@gmd.de Wed Oct 25 20:13:32 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Wed, 25 Oct 2000 21:13:32 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <003601c03e9b$1f45e060$085a6acb@kedai> Message-ID: <39F74CFC.3122.C98619C@localhost> [...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From rik.hoekstra@inghist.nl Wed Oct 25 20:36:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 21:36:08 +0200 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? References: Message-ID: <009901c03eba$d4129280$fe5da182@michieltje> > My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They > sit mostly idle with occasional light loads. They are P100/32MB/1.2GB > old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack > mount 4U units. Good, solid, slow hardware. They survive NT rather well. > One is running 2 instances of Zope (one for dev) and has been for 15 days > since last reboot. I will be looking for at least a 6 month uptime. > They serve a departmental intranet application that I am writing. It's on > NT because I need to use ODBC to get to a local MS Access Database. Bummer. > > Troy > > -----Original Message----- > From: Bak @ kedai [mailto:kedai@kedai.com.my] > Sent: Wednesday, October 25, 2000 10:49 AM > To: Diny van Gool; zope@zope.org; J. Atwood > Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need > to manage a Zope) site? > > > > sorry if this is offtopic, but i see reference of rebooting every so often > with NT( and maybe W2K). is this real? or FUD? > i use linux myself and would like to confirm this from all you guys' > experience I have had a number of Zope sites running on NT with rather modest hardware. It performed reasonably to good and without troubles for months on an end, even with several people developing on it and a number of students accessing it. Mostly ODBC (SQL Server and even Access) will also work without trouble. It will also behind IIS. If something goes wrong it is usually an ODBC problem no Zope internal problem. The only real major problem is when SQL This is no pro NT argument, but just a reassurance that there is no reason not to use Zope on NT, though I would switch to Linux if I could... Rik From nspurrier@bluelight.com Wed Oct 25 20:47:48 2000 From: nspurrier@bluelight.com (Noah) Date: Wed, 25 Oct 2000 12:47:48 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): That does not work because FOO gets set to something like: I tried sticking this inside to get at the sequence-item, but I just ended up getting confused. Yours, Noah From cbeaumon@msri.org Wed Oct 25 20:50:52 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Wed, 25 Oct 2000 12:50:52 -0700 Subject: [Zope] Is there a tool for pretty-formatting/indenting DTML code? Message-ID: I've been working with Zope for a bit now and I love it. However, a few of the tools I'm used to having with other scripting tools are missing in the Zope realm.. One thing I would very much like to have is a script that could go through a long DTML document and pretty-format the code, not unlike the way I use BBEdit's formatting command on my Mac for HTML. Does such an animal exist, on any platform, or should I just try to adapt something I already have? I don't want to have to reinvent the wheel so to speak.. The big reason I need this is for indenting.. It makes the code much more readable and I have found myself spending a lot of time doing this by hand.. it just gets tedious.. Thank you.. Chris cbeaumon@msri.org From jatwood@bwanazulia.com Wed Oct 25 21:00:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 16:00:19 -0400 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: "Months without rebooting"? That is certainly not something to brag about. With three of my installations of Zope on Linux I have the machines at 194, 204 and 55 days of uptime (and the 55 was because of a bad powerstrip, the other others have been up since I brought them up). While NT can and does stay up for long periods of time, it still is a very poor server choice as anything you install leads to a reboot. I have installed countless things on the Linux boxes and never brought it down. That is the difference and makes all the difference when it comes to a website. J > From: "Wolfgang Strobl" > Organization: GMD > Date: Wed, 25 Oct 2000 21:13:32 +0200 > To: zope@zope.org > Subject: Re: [Zope] OT:NT and rebooting > > [...] To: trimmed to zope.org > > On 25 Oct 2000, 23:49 Bak @ kedai wrote: > >> >> sorry if this is offtopic, but i see reference of rebooting every so >> often with NT( and maybe W2K). is this real? or FUD? i use linux >> myself and would like to confirm this from all you guys' experience > > It's FUD. I'M running Zope on two NT servers here, which run many months > between reboots. I just checked - the Zope on the intranet server has an > uptime > of 34 days 8 hours 32 min 3 sec now. > > This tells us that I installed Zope 2.2.2 three days after it was released on > www.zope.org. :-) > >> >>>> Do I miss important tasks? Has anybody done this before? >>> >>> Yeah.. rebooting NT every 4 days. :) > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > > From Danny@Adair.net Wed Oct 25 21:00:25 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 22:00:25 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: Ok, works alright, even my longer (using a TinyTablePlus) ------------------------------------------------

------------------------------------------------ will work(as expected), BUT: ------------------------------------------------


------------------------------------------------ definitely won't, Key Error: File /.../lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: Items) File /.../lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: Prefix="'Service_'" thePos=Position nameAsAString="Prefix+thePos") File /.../lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[nameAsAString]) (Info: nameAsAString) File <string>, line 0, in ? File /.../lib/python/DocumentTemplate/DT_Util.py, line 163, in careful_getitem KeyError: (see above) The string's content seems okay to me, so why can't I look up the object? The namespace should be okay since I can call the request variables _directly_. What's wrong? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 21:08 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Danny > William Adair > Sent: Wednesday, October 25, 2000 1:27 PM > To: zope@zope.org > Subject: [Zope] Calling form elements by name > > > How can I render a REQUEST variable in DTML if I have its id as a string? > I would like to construct its name as a string and then call the REQUEST > variable by its name. > (Meaning I will have to make sure such an object exists) > > tia, > > CU+Prost, > > Danny > > _______________________________________________ > 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 ) > > From knapek@knapek.pvt.net Wed Oct 25 21:02:39 2000 From: knapek@knapek.pvt.net (Petr Knapek) Date: 25 Oct 2000 22:02:39 +0200 Subject: [Zope] Python product - inherittance Message-ID: <87itqgzo2o.fsf@knapek.pvt.net> Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an instance of classB. There is 'Error Type: AttributeError'. Does anybody know where the problem is? I use Zope 2.1.6 Thanks, Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: knapek@nextra.cz From rik.hoekstra@inghist.nl Wed Oct 25 21:06:43 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 22:06:43 +0200 Subject: [Zope] OT:NT and rebooting References: Message-ID: <01bf01c03ebf$1975cc80$fe5da182@michieltje> > "Months without rebooting"? > > That is certainly not something to brag about. With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. > Agreed, but that wasn't the point Rik From maxmcorp@worldonline.dk Wed Oct 25 21:10:04 2000 From: maxmcorp@worldonline.dk (Max M) Date: Wed, 25 Oct 2000 22:10:04 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of >It's FUD. I'M running Zope on two NT servers here, which run many months >between reboots. I just checked - the Zope on the intranet server has an uptime >of 34 days 8 hours 32 min 3 sec now. I must say that I agree. All in all for my current needs, NT is a better choice than Linux. Better user interface and reasonable software uptime. I am slowly migrating to Linux though. As I really do believe the open source philosophy is better. But like Zope it is a b**** of a learning curve. Something like Zope shows it in a smaller scale. I would be willing to start a business on Zope technology because coorporation on the toolset is the smartest thing for service companies to do, and this is not a closed source option. I have tried some of the closed source application servers and they are so poor. Funnily enough I see companies reinventing the weel with these application servers, doing a lousy job every time. Zope is still not great, but lightyears ahead of anything else I have experienced. Being a web house and not doing an open source app server is so futile. Furthermore the new KDE2.0 looks really sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M From matt@virtualspectator.com Wed Oct 25 21:22:51 2000 From: matt@virtualspectator.com (Matt) Date: Thu, 26 Oct 2000 09:22:51 +1300 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: <000b01c03ec1$59dc6480$1af8a7cb@matt> try -----Original Message----- From: Noah To: zope@zope.org Date: Thursday, 26 October 2000 09:01 Subject: [Zope] Not grocking RESQUEST.set syntax >I'm still not grocking the syntax for setting REQUEST fields. >I want to set a REQUEST field "filename" to be the value returned >by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > >That does not work because FOO gets set to something like: > >I tried sticking this inside to get >at the sequence-item, but I just ended up getting confused. > >Yours, >Noah > > >_______________________________________________ >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 ) From andym@ActiveState.com Wed Oct 25 21:31:03 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:31:03 -0700 Subject: [Zope] deleting through iteration References: Message-ID: <004b01c03ec2$7e8c5f00$ae03a8c0@fork> In a catalog, id is not the id of an object, data_record_id_ is. ----- Original Message ----- From: "Scott Burton" To: "Zope List" Sent: Wednesday, October 25, 2000 11:19 AM Subject: [Zope] deleting through iteration > This seems as if it would work to delete all objects of a certain meta-type > but it gives me an error. > > > > > The error is: > Error Type: BadRequest > Error Value: 971722944 does not exist > > Although, I know it does, I can see it in the ODB. > > TIA, > > Scott > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Wed Oct 25 21:33:59 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:33:59 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <005901c03ec2$e7acc150$ae03a8c0@fork> Attribute error means it can find some value. Without some more information it is impossible to say. ----- Original Message ----- From: "Petr Knapek" To: Sent: Wednesday, October 25, 2000 1:02 PM Subject: [Zope] Python product - inherittance > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 > > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) > From drusch@globalcrossing.com Wed Oct 25 21:33:43 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 25 Oct 2000 15:33:43 -0500 Subject: [Zope] [Fwd: [Zope] Not grocking RESQUEST.set syntax] Message-ID: <39F743A7.35961A81@globalcrossing.com> This is a multi-part message in MIME format. --------------A4F08EE34F11FE96757B67E0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------A4F08EE34F11FE96757B67E0 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <39F7436F.E6F1CD5B@globalcrossing.com> Date: Wed, 25 Oct 2000 15:32:47 -0500 From: Daniel Rusch X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Noah Subject: Re: [Zope] Not grocking RESQUEST.set syntax References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try: This assumes that MyFavoiteZSQLMethod returns the variable filename Dan Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > > _______________________________________________ > 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 ) --------------A4F08EE34F11FE96757B67E0-- From Jerry.Spicklemire@IFLYATA.COM Wed Oct 25 22:16:13 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Wed, 25 Oct 2000 16:16:13 -0500 Subject: [Zope] ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733909@innt-73.ata.com> Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog pops-up when a user attempts to edit a form, but the correct name and password are rejected. Has anyone found a little detail that needs tweking to get past this one? Thanks, Jerry S. From kthangavelu@earthlink.net Wed Oct 25 18:23:40 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:23:40 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <39F7171C.A0E657B6@earthlink.net> Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 its probably a security error. you need to either enable subobject access or explicitly register the method as part of the products permissions. something like this allow_access_to_unprotected_subobjects=1 this is not the recommended way to it as you'll open up the entire product to access. buts it useful to identify if its a security issue. kapil > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 25 18:29:55 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:29:55 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax References: Message-ID: <39F71893.9F269F08@earthlink.net> Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. thats because you're working on the results returned by a zsql method which is a result object, you want access to values within it. try this returns the list of dictionaries that represent rows in the table, with column names as keys and column values as values. you can reference lib/python/Shared/DC/ZRDB/Results.py for more info on the results object kapil From ws@mystrobl.de Wed Oct 25 23:50:26 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 00:50:26 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: References: <39F74CFC.3122.C98619C@localhost> Message-ID: <39F77FD2.29598.ACA84FE@localhost> On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. From cesar@rotnet.com.br Wed Oct 25 23:50:36 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Wed, 25 Oct 2000 20:50:36 -0200 Subject: [Zope] Filling Multiple Select Problem Message-ID: <39F763BC.4EC0DE21@rotnet.com.br> Hi! I'm using the example at the "Filling MULTIPLE SELECT OPTION's with database lists", and a little step doesn't works. I heve the following in the DTML Method that fills two SELECT in a Web Form: (...) (...) The code above runs. To verify that, I put a and a , that prints the contents of the lists above. The code that is not running is the one bellow: (...) The code above creates a SELECT list like the one bellow: but the part doesn't function. I have some of the values of "codigo" in the cadExportacao list, but the "SELECTED" corresponding code doesn't appears. Can someone tells me what is wrong? Sorry the bad english... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Any member introducing a dog into the Society's premises shall be liable to a fine of one pound. Any animal leading a blind person shall be deemed to be a cat. -- Rule 46, Oxford Union Society, London From bill.anderson@libc.org Wed Oct 25 23:50:58 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Wed, 25 Oct 2000 16:50:58 -0600 Subject: [Zope] OT:NT and rebooting References: <39F74CFC.3122.C98619C@localhost> <39F77FD2.29598.ACA84FE@localhost> Message-ID: <39F763D2.3C74036B@libc.org> Wolfgang Strobl wrote: > > On 25 Oct 2000, at 16:00, J. Atwood wrote: > > > "Months without rebooting"? > > > > That is certainly not something to brag about. > > Huh? Did anybody? Certainly not me. :-{ > > In case I didn't make myself clear: for running Zope; I don't care > much whether the OS needs a reboot every month, every year, or > every decade, when I have to upgrade and/or restart Zope for > installing Hotfixes and/or new products, every other month, > anyway. OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. If you are used to uptimes measured in years, or 'always on' environments, then NT's uptime rates are abject failures. That's not a slight, it is a statement of fact that even Mr. Gates himself agrees with and understands. If, on the other hand, you don't come from that background or need, and are not used to that type of environment, a few months to six months to nearly a year can mean something to you. So, this is *one* of the reasons we see these arguments about uptime from both sides of the windows vs everything else uptime wars. Some measure days, some months, and otehrs measure in terms of years. > >With three of my > > installations of Zope on Linux I have the machines at 194, 204 and 55 days > > of uptime (and the 55 was because of a bad powerstrip, the other others have > > been up since I brought them up). > > So what. I'm using an old 3.51 server on one of my companies > intranets here, serving as a backup domain controller plus a few > other, less important services, which is running for about half a > year now (power failure in the machine room, too). That machine > has begun life as a OS/2 Lanmanager server (ca '90), and has > been upgraded almost seamlessly again and again, both in > hardware and in software, since. And has been rebooted to perfrom those upgrades (software, the hardware is obvious), has it not? > > While NT can and does stay up for long > > periods of time, it still is a very poor server choice as anything you > > install leads to a reboot. > > Well, W2K certainly has more capabilities here, and Linux, for > example, is somewhat better in some (!) areas, but "anything" is > a gross exaggeration. While I agree that 'anything' is a poor choice of words, unless you are changing kernels and/or glibc, Linux does not require a reboot for install of any software (that I am aware of, and that is a high amount of software mind you). There is work in progress to alleviate that as well. Not quickly, as it is a rather complex undertaking, but it is ongoing. IIRC, kernel 2.4 will/does have support for hot swappable PCI devices on hardware that has it (yes, you can get Intel-compat hardware with that). Last I checked, if you try to hot-swap a keyboard or mouse, all versions minus 2k (haven't tried it there), will die. As far as 'lack of need to reboot' goes when concerning upgrades, Linux wins hands down.. So, the question regarding uptime is more a question of needs. Some of us need 24x7 availablility, and 5 nines. Some do not. For those of us needing 5 nines, we can use Unix/Linux to provide that. If you don't need it (and not everyone does), use other criteria more appropriate to your needs. -- E PLURIBUS LINUX From curtis@cardgate.net Thu Oct 26 00:38:31 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 10:38:31 +1100 Subject: [Zope] Not grocking RESQUEST.set syntax In-Reply-To: References: Message-ID: <00102610383105.00650@localhost.localdomain> On Thu, 26 Oct 2000, Noah wrote: > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > I think your simplest option is to use: All that _.Non, _ stuff is the namespace etc that Zope normally passes to your methods. (I don't fully understand it, I just know it works :) > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > Have a better one, Curtis. From nolan_d@bigfoot.com Thu Oct 26 01:05:13 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Wed, 25 Oct 2000 19:05:13 -0500 Subject: [Zope] Folder-specific metatypes? Message-ID: <20001025190513R.nolan@tiny> I'm working on a product in Python which implements a folder, but restricts the metatypes of the objects which can be added. How, exactly, do I go about doing this? I've tried overriding the filtered_meta_types method, but I'm returning a list, and it seems that I should return a list of dictionaries instead, but I'm not entirely sure how the metatype is converted into a dictionary. I also noticed the _product_meta_types variable, but rgreps of the zope code didn't reveal anything about this variable. Am I on the right track with these? Thanks. From vtwiddy@senet.com.au Thu Oct 26 02:14:14 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Thu, 26 Oct 2000 10:44:14 +0930 (CST) Subject: [Zope] Zope & python 2 Message-ID: Hi all Is anyone using or know the current state of Zope with python 2.0 ? Thanks Joe From etienne.alaurent@free.fr Thu Oct 26 02:22:20 2000 From: etienne.alaurent@free.fr (Etienne ALAURENT) Date: Thu, 26 Oct 2000 03:22:20 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <00102603294900.11535@localhost.localdomain> Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr From curtis@cardgate.net Thu Oct 26 02:47:49 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 12:47:49 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: Message-ID: <0010261247490E.00650@localhost.localdomain> On Thu, 26 Oct 2000, Mark Twiddy wrote: > Hi all > > Is anyone using or know the current state of Zope with python 2.0 ? > I've been somewhat curious about this myself. Will there need to be large changes now that strings are proper objects? (the string functions are now methods of strings). If so, will this mean the phasing out of _.string ? Will the new Unicode support, does this mean Zope is now a big step closer to i18n? And from the looks of things there are a large number of small changes that could be made to improve performance (such as the new 'augmented assignment' operators [ += *= /= and so on] ).... > Thanks > > Joe > watching closely, Curtis From ws@mystrobl.de Thu Oct 26 07:30:33 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 08:30:33 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F763D2.3C74036B@libc.org> Message-ID: <39F7EBA9.19102.C6FC591@localhost> On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl From administrator@consotec.de Thu Oct 26 07:50:20 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 26 Oct 00 06:50:20 UT Subject: [Zope] ZFormulator Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > --------------1DD2510B41FE-- From zope@isp.lu Thu Oct 26 08:08:26 2000 From: zope@isp.lu (zope) Date: Thu, 26 Oct 2000 09:08:26 +0200 Subject: [Zope] LDAP and zope2.2.2 Message-ID: <4.3.2.7.2.20001026081832.00b14100@mail.isp.lu> Hi. I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch. I have configured an LDAP filter method called searchperson qith the filter 'uid=*'. So, how can I access the attributes and its values? gives me the whole array. Unfortunately, I can't access the variable like But this worked well in zope 2.1.6. Any ideas? Marc Ludwig From maxm@normik.dk Thu Oct 26 08:04:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 09:04:34 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <7BD10B680501D411B9DF009027E06F32197AA0@exchange> There is no simple way of doing it. You would have to write a product that accepts an URL as a parameter like: http:www.yoursite.com/foreign?url=http.//www.othersite.com/somepage.htm Then your product should take all href's in the new document and rename them like the above. Image src's only need to be renamed to absolute paths. Forms need some special attention too. Even thinking about cookies, parameter passing and all the other stuff that can go on between the two sites is enough to make my head spin. Getting a single page from another site is somewhat easier though, but you still would need to make all the url's in the remote document absolute, including "img src's" and "forms action" , so that would take some html parsing. Regards Max M -----Original Message----- From: Etienne ALAURENT [mailto:etienne.alaurent@free.fr] Sent: Thursday, October 26, 2000 3:22 AM To: zope@zope.org Subject: [Zope] Access to an external site from zope site Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr _______________________________________________ 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 ) From Danny@Adair.net Thu Oct 26 08:53:34 2000 From: Danny@Adair.net (Danny William Adair) Date: Thu, 26 Oct 2000 09:53:34 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: I should have posted your version, it's more explicit: -------------------------------------------


------------------------------------------- does not work either. Anyone? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 22:24 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > > > thePos=Position > nameAsAString="Prefix+thePos"> >
>
>
>
> >
is Position a string? I'd try


> From matt.bion@eudoramail.com Thu Oct 26 10:06:01 2000 From: matt.bion@eudoramail.com (Matt) Date: Thu, 26 Oct 2000 22:06:01 +1300 Subject: [Zope] Cleaner stylr Message-ID: <39F7F3F8.831CA9AB@eudoramail.com> Hi I have the following in a method The idea here is that a few levels back I have a folder called text_repository. The method that the obove comes from is called by a form that sets the variable new_id. I have already created another folder in text_repository called text_container_new_id .... where new_id is variable, and there are many of them. The method above starts throwing namespaces on the stack and then creates an instance of a text ZClass that I have made. It all works nicely, but seems an rather nasty way to do it. What are preferred ways of doing this ? and is this really something that people feel is better in an external method as opposed to a dtml method. The reason why I am backtracking all over the place is because I tend to put my methods and forms into a sub folder, which may not be the best idea. I.e. the hierachy is somwhat as follows : text_main /text_methods/text_add_form_method text_main /text_methods/text_accept_method(which is where above snippet is from) text_main/text_repository/ text_main/text_repository/text_container_15562/ text_main/text_repository/text_container_15562/text_ZClass_instance1 text_main/text_repository/text_container_15562/text_ZClass_instance2 regards Matt From tdickenson@geminidataloggers.com Thu Oct 26 10:12:44 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:12:44 +0100 Subject: [Zope] Zope & python 2 In-Reply-To: <0010261247490E.00650@localhost.localdomain> References: <0010261247490E.00650@localhost.localdomain> Message-ID: >> Hi all >> >> Is anyone using or know the current state of Zope with python 2.0 ? > >I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a production server yet. (I would certainly recommend you dont if you allow untrusted users to write dtml) >Will there need to be large changes now that strings are proper objects? (the >string functions are now methods of strings). If so, will this mean the >phasing out of _.string ? _.string is unlikely to go away. String methods are currently inaccessible TTW. The security implications of opening this up have not yet been assessed. >Will the new Unicode support, does this mean Zope is now a big step closer to >i18n? My patches to give Zope full (full enough for me) unicode support are at http://www.zope.org/Members/htrd/wstring. >And from the looks of things there are a large number of small changes that >could be made to improve performance (such as the new 'augmented assignment' >operators [ += *= /= and so on] ).... It seems likely that they will not be available in dtml (for the same reasons as regular assignment). The case for PythonMethods has not yet been investigated >watching closely, Not closely enough ;-) Toby Dickenson tdickenson@geminidataloggers.com From tdickenson@geminidataloggers.com Thu Oct 26 10:15:48 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:15:48 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> References: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" wrote: >We are building some device controller software and to control those we have >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >such a modest setup? There is only going to be one or two users connected to >Zope at once, so we don't need much performance in terms of page views per >second :) Yes, Im using Zope in a similar scenario and it works well. I found a benefit in using a smaller number of publisher threads (I use -T 2 ). Each thread gets its own copy of the ODB, which is an unnecessary memory hog for the expected load. Toby Dickenson tdickenson@geminidataloggers.com From jornd@falch.net Thu Oct 26 11:28:32 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:28:32 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Stephan Goeldi"'s message of "Wed, 25 Oct 2000 13:06:53 GMT" References: Message-ID: <87snpj5227.fsf@ranga.falch.net> * "Stephan Goeldi" | >On a second thought: What I _really_ want (I think, unless someone | >tells me differently :-) ) is a conditional ProxyPass, to tell apache | >to redirect everything _unless_ the URI is /static (or something). | | When you ProxyPass so: | | ProxyPass /static/ http://www.website.com:80/static/ | ProxyPass / http://www.website.com:8080/ | | It should work as you want. Keep the order (root is last line). Seems simple enough. Thanks. Will try. -- Jørn Helge B. Dahl http://falch.net From jornd@falch.net Thu Oct 26 11:54:58 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:54:58 +0200 Subject: [Zope] Bug tracking tool Message-ID: <87k8av50u5.fsf@ranga.falch.net> Does anybody know of a bug tracking product for Zope which is free to try out? I found , which seemed to be nice, but I didn't see where to get it. -- Jørn Helge B. Dahl http://falch.net From maxm@normik.dk Thu Oct 26 12:49:02 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 13:49:02 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> I would have thought that the two examples below where equivalent but only the top one works like expected. (It renders the page.) The second one just shows the source of the vanilla dtml page. -- test = HTMLFile('vanilla', globals()) -- def test(self): "A simpe test method" return HTMLFile('vanilla', globals()) -- How do I execute the dtml file in a method. I have searched the documentation, but it is sketchy to say the least. I cannot use the first approach as I need to define the filename on the fly in my method. def test(self): "A simpe test method" return HTMLFile('skins/' + self.skin, globals()) self.skin is only available in my object, so naturally if I try to say: test = HTMLFile('skins/' + self.skin, globals()) I get an error. Regards Max M From ckant@fazenda.gov.br Thu Oct 26 13:52:53 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Thu, 26 Oct 2000 10:52:53 -0200 Subject: [Zope] ZClass and SQL Table Message-ID: <39F82925.50846FCD@fazenda.gov.br> Hi I have an old system based on a SQL database, and wanna to make a Web version of it. Are there any way to represent the SQL tables as ZClasses? I mean, the attributes of the ZClasses be stored in a SQL table? TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A long-forgotten loved one will appear soon. Buy the negatives at any price. From shevett@homeport.org Thu Oct 26 14:27:38 2000 From: shevett@homeport.org (Dave Belfer-Shevett) Date: Thu, 26 Oct 2000 09:27:38 -0400 (EDT) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage Message-ID: Hey there folks. I've just downloaded and installed these Products into my Zope instance. I'd talk to any of the support groups / lists / etc for these Products, but I can't find anythign aside from the author link, and a few small hints on the download page. I -think- I'm setting up an Album properly. Here are the steps, someone please tell me if this is not correct (There's an error that happens that I'll report in a moment...) 1) Install all the packages 2) Import ZPhotoAlbum via the Control panel 3) Go to whatever directory I want to run from 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) go into 'abc' folder (note the only thing in it right now is 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go into 'page1' folder 8) Add a ZPhoto Okay, here's where it gets fuzzy. My initial impression is "okay, tha'ts it. Just keep adding ZPhotos to populate the album". But when going to url.url.com/abc/ I just get the default 'index.html'. Tinkering, I found the 'Restore DTML' button up on the toolbar for the PhotoAlbum. So I click that, and get a lot more content in the folder in the management screen. Now when I go to url.url.com/abc/, I see my index, the AlbumPage, and the ZPhoto that I added. Here's where the problem happens. There are 2 buttons at the bottom of the page called 'fancy view' and 'explore view'. They should allow different views of the indexes. But when I click on one, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: defined_views here's the traceback: Traceback (innermost last): File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: CatalogAware) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/shevett/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: switch_view) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: switch_view) File /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: view not in defined_views or not view_id) (Info: defined_views) File , line 0, in ? NameError: (see above) Any suggestions? -------------------. Web-based problem management: www.stonekeep.com Dave Belfer-Shevett >----------------------------------------------------. shevett@pobox.com / I like you... I'll kill you last... (from 'Handy \ ------------------< work phrases') | \______________________________________________________/ From chrisw@nipltd.com Thu Oct 26 14:22:38 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:22:38 +0100 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <39F8301E.2746E20C@nipltd.com> You can get it out of the CVS repository at cvs.zope.org. If you can find it, I guess drop Ken a mail :-S cheers, Chris "JXrn Helge B. Dahl" wrote: > > Does anybody know of a bug tracking product for Zope which is free to > try out? I found , which > seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > _______________________________________________ > 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 ) From ytotty@atinucleus.com Thu Oct 26 14:22:47 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 08:22:47 -0500 Subject: [Zope] Z SQL Objects (Newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I=20 have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a = SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a call
specific to each team. I am passing in three=20 parameters,
two=20 of which go in the sql statement, the other goes in
the=20 if statement:
<:if "team=3D'S"'>
sql=20 statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It=20 tells me it doesn't like the syntax of the 'if' (I = have
stuff in the python file that lets me use ':' = in place=20 of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If=20 you guys know of another reference, please let me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_002A_01C03F25.EBF02E60-- From chrisw@nipltd.com Thu Oct 26 14:25:52 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:25:52 +0100 Subject: [Zope] How to render a HTMLFile in a method in a product References: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> Message-ID: <39F830E0.3C6C51E3@nipltd.com> Max Møller Rasmussen wrote: > def test(self): > "A simpe test method" > return HTMLFile('skins/' + self.skin, globals()) This is the closest. try the following: testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin, globals())(None,md) cheers, Chris From odeckmyn.list@teaser.fr Thu Oct 26 14:44:41 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 26 Oct 2000 15:44:41 +0200 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <00b301c03f52$e46a8c30$0d00000a@ODECKMYN2K> AFAIK, You have to get it through CVS... ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Thursday, October 26, 2000 12:54 PM Subject: [Zope] Bug tracking tool > Does anybody know of a bug tracking product for Zope which is free to > try out? I found seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) > > From maxm@normik.dk Thu Oct 26 14:42:13 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 15:42:13 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA7@exchange> From: Chris Withers [mailto:chrisw@nipltd.com] Thanks for the reply >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) Is this documented anywhere? I have a little trouble using code I don't understand. Pretty Please. Regards Max M From zope@grewen.de Thu Oct 26 14:51:08 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 26 Oct 2000 15:51:08 +0200 Subject: [Zope] Z SQL Objects (Newbie) References: Message-ID: <002401c03f53$f1f25580$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message -----=20 From: Yvonne Totty=20 To: zope@zope.org=20 Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in=20 the if statement: <:if "team=3D'S"'> sql statement <:elif "team=3D'C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=3D=3D'S'", "team=3DS", "team=3D=3DS", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects=20 (Newbie)

I=20 have the O'Reilly book, but can't seem to find = more
complete information on how to do 'if's' in = a SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a = call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other goes=20 in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if' (I=20 have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_0021_01C03F64.8EB0BA00-- From jjunior@cidadei.com.br Thu Oct 26 16:09:59 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Thu, 26 Oct 2000 12:09:59 -0300 Subject: [Zope] regex Message-ID: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> how to for use function regex in zope? please send examples. From ytotty@atinucleus.com Thu Oct 26 15:44:51 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 09:44:51 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Error message stuff: Expression (Python) Syntax error: invalid syntax , for tag <:if "team=='S'">, on line 23 of Traceback (innermost last): File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_edit) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_edit) File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, line 242, in manage_edit (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 383, in cook (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 228, in parse (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 292, in parse_block (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 126, in parse_error (Object: ) Document Template Parse Error: (see above) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Error message stuff:
Expression (Python) Syntax error: =
invalid syntax
, for tag <:if "team=3D=3D'S'">, on = line 23 of=20 <string>
Traceback (innermost last):
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, =
in publish_module
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
    (Object: manage_edit)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, =
in call_object
    (Object: manage_edit)
  File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, =
line 242, in manage_edit
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 383, in cook
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 228, in parse
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 292, in parse_block
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 126, in parse_error
    (Object: <string>)
Document Template Parse Error: (see above)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects = (Newbie)

I have the O'Reilly book, but can't seem = to find=20 more
complete information on how to do 'if's' = in a SQL=20 thing.
 
Here's the scenario:
I have three different 'teams' and want = to run a=20 call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other=20 goes in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if'=20 (I have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_005C_01C03F31.634E5800-- From tony.mcdonald@ncl.ac.uk Thu Oct 26 15:58:53 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 26 Oct 2000 15:58:53 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: At 10:15 am +0100 26/10/00, Toby Dickenson wrote: >On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > >>We are building some device controller software and to control those we have >>a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >>such a modest setup? There is only going to be one or two users connected to >>Zope at once, so we don't need much performance in terms of page views per >>second :) > >Yes, Im using Zope in a similar scenario and it works well. > >I found a benefit in using a smaller number of publisher threads (I >use -T 2 ). Each thread gets its own copy of the ODB, which is an >unnecessary memory hog for the expected load. ????!!! This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few things on our box here and it seems to pan out), then this explains large memory consumption on our servers (roughly 80 - 180 Mbyte RAM used per server). I shall be doing a sweep of our Zope servers and packing the databases (the ODBs that is). One thing though, is there a 'party line' on what number the -T parameter should be set to? Coming from an Apache background, I'm used to having dozens of httpd processes hanging around waiting for something to happen. I've always assumed that threads did much the same thing. Perhaps I'm wrong.... thoughts? Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From phil.harris@zope.co.uk Thu Oct 26 16:28:31 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 26 Oct 2000 16:28:31 +0100 Subject: [Zope] Z SQL Objects (Newbie) References: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: <022701c03f61$671411c0$5c773fc1@media1> Yvonne, The format of your 'if' is incorrect: You have <:if .....> it should be so the whole statement is as Jens says below. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: Jens Grewen To: ytotty@atinucleus.com Cc: Zope Maillist Sent: Thursday, October 26, 2000 2:51 PM Subject: Re: [Zope] Z SQL Objects (Newbie) Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? From ytotty@atinucleus.com Thu Oct 26 16:29:35 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:29:35 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <20001026112244.V16270@universal-fasteners.com> Message-ID: Jim, Nah, I thought of that, too and it didn't work 8(. I have been using <:sqlvar ...> inside my statements and those seem to be doing just fine. Yvonne 8) > > > Try it with the dtml-if syntax rather than :if. It made a difference for > me. If this works for you, please post a comment. it appears > that the newest > syntax did not filter into ZSQL methods. > > From ytotty@atinucleus.com Thu Oct 26 16:41:07 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:41:07 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <022701c03f61$671411c0$5c773fc1@media1> Message-ID: Well, I will be darned, it did work. I must have left out the quotes before when I tried it. That is weird, how, in the very same object, the <:sqlvar...> works, but <:if... > doesn't. Thanks so much!!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? > Yvonne, > > The format of your 'if' is incorrect: > > You have <:if .....> it should be > > so the whole statement is as Jens says below. > > hth > > Phil > phil.harris@zope.co.uk > > > ----- Original Message ----- > From: Jens Grewen > To: ytotty@atinucleus.com > Cc: Zope Maillist > Sent: Thursday, October 26, 2000 2:51 PM > Subject: Re: [Zope] Z SQL Objects (Newbie) > > > Hi, > > Arguments | team > > Query template > > > select * > from data > > select * > from data > > > this is normal > > but may it helps if you post the traceback of the error message > > Jens Grewen > > ----- Original Message ----- > From: Yvonne Totty > To: zope@zope.org > Sent: Thursday, October 26, 2000 3:22 PM > Subject: [Zope] Z SQL Objects (Newbie) > > > I have the O'Reilly book, but can't seem to find more > complete information on how to do 'if's' in a SQL thing. > > Here's the scenario: > I have three different 'teams' and want to run a call > specific to each team. I am passing in three parameters, > two of which go in the sql statement, the other goes in > the if statement: > <:if "team='S"'> > sql statement > <:elif "team='C'"> > blah, blah > > > It tells me it doesn't like the syntax of the 'if' (I have > stuff in the python file that lets me use ':' in place of > 'dtml-'). I have tried all the flavors: "team=='S'", > "team=S", "team==S", etc. and it doesn't like any of > them. > > If you guys know of another reference, please let me > know! > > TIA, > Yvonne 8) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > > From twcook@iswt.com Thu Oct 26 17:07:27 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 26 Oct 2000 11:07:27 -0500 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F856BF.A8B104CA@iswt.com> Tony McDonald wrote: > This is the first I've ever seen written on this subject. If it's > correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From andym@ActiveState.com Thu Oct 26 17:30:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:30:25 -0700 Subject: [Zope] regex References: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> Message-ID: <007301c03f6a$0bcb9af0$ae03a8c0@fork> Regex is not available in dtml. You have to use python and import it. ----- Original Message ----- From: "Joaldo Junior" To: Sent: Thursday, October 26, 2000 8:09 AM Subject: [Zope] regex > how to for use function regex in zope? > > please send examples. > > _______________________________________________ > 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 ) > From andym@ActiveState.com Thu Oct 26 17:39:33 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:39:33 -0700 Subject: [Zope] Re: Re:[Zope] ZFormulator References: Message-ID: <00ab01c03f6b$53715240$ae03a8c0@fork> There was a problem with the ODBC adapter under 2.2.0 where the permissions werent applied properly. There was a patch that was then incorporated into later releases 2.2.1 onwards. ----- Old Message ---- In case anyone else didnt read my thread there is an apparently known but not seemingly well documented problem with ODBC in Zope 2.2. The solution is here: Index: RDB.py =================================================================== RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v retrieving revision 1.24.32.1 retrieving revision 1.24.32.2 diff -c -r1.24.32.1 -r1.24.32.2 *** RDB.py 2000/07/12 17:38:03 1.24.32.1 --- RDB.py 2000/07/17 15:03:55 1.24.32.2 *************** *** 85,92 **** __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $''' ! __version__='$Revision: 1.24.32.1 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join --- 85,92 ---- __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $''' ! __version__='$Revision: 1.24.32.2 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join *************** *** 123,128 **** --- 123,132 ---- """Class for reading RDB files """ _index=None + + # We need to allow access to not-explicitly-protected + # individual record objects contained in the result. + __allow_access_to_unprotected_subobjects__=1 def __init__(self,file,brains=NoBrains, parent=None, zbrains=None): -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People _______________________________________________ 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 ) ----- Original Message ----- From: To: Sent: Wednesday, October 25, 2000 11:50 PM Subject: Re:[Zope] ZFormulator Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > From complaw@hal-pc.org Thu Oct 26 17:59:45 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 16:59:45 GMT Subject: [Zope] Reverse SendMail Question Message-ID: <200010261659.LAA23072@mail.hal-pc.org> Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc the project and all the e-mail could be viewed centrally. Any ideas? Ron ./. From p@state-of-mind.de Thu Oct 26 17:57:48 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Thu, 26 Oct 2000 18:57:48 +0200 Subject: [Zope] display owner [repost] Message-ID: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org code, took a look at the Owned.py etc. I just can't figure it out. Somebody help me? Thanks, p@ From jatwood@bwanazulia.com Thu Oct 26 18:20:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 13:20:19 -0400 Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: There is a product that does this.. of course, I cannot for the life of me remember its name. J > From: complaw@hal-pc.org > Date: Thu, 26 Oct 2000 16:59:45 GMT > To: zope@zope.org > Subject: [Zope] Reverse SendMail Question > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do > is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > > _______________________________________________ > 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 ) > > From grizel@mouli.net Thu Oct 26 18:22:31 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:22:31 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F86857.4BE7117D@mouli.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > _______________________________________________ > 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 ) What a good idea !! In fact, I think we should instead allow the sendmail program to serve HTTP requests !... ;-) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From grizel@mouli.net Thu Oct 26 18:28:04 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:28:04 +0200 Subject: [Zope] display owner [repost] References: Message-ID: <39F869A4.AB20ADF4@mouli.net> Patrick Koetter wrote: > > Hi all, > > I posted this the last days, but didn't get quite what I needed. > > I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method > or -Document etc.) in order to display this to the surfers when they drop > by. > > I've searched through zope.org code, took a look at the Owned.py etc. I just > can't figure it out. Somebody help me? > > Thanks, > > p@ > > _______________________________________________ > 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 ) Yes, not so obvious, but this might work : Managed by
This is based on a previous post (about a year ago ?...) by someone else I cannot thank - as I cannot remember his name ! :-)) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From Henny van der Linde" Hi, This should be very simple but I can't get it to work. I have a method called do_login. This method can't be viewed by anonymous users. When I call this method just with a standard login screen is presented as expected. Now I want tot trap login errors with a try construction such as this:

Login error, please try again (etc.)

Login ok

In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? Is there an elegant way to trap login errors resulting from an URL? URL link to a secured object, standard login screen presented, wrong input etc. Thanks Henny van der Linde From rik.hoekstra@inghist.nl Thu Oct 26 19:58:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 26 Oct 2000 20:58:54 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <020001c03f7e$caa1bb80$fe5da182@michieltje> > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > There has been quite a bit of discussion/ideas exchange on this in a zope-dev thread about the ZWikiNG (new generation), search the archives (or the Wiki at http://dev.zope.org/Wikis/DevSite/Proposals/WikiNG amd especially the discussion page). There is also a product called ZMailIn available from http://www.zope.org/Members/NIP/ZMailIn/ Rik From jim@holthaus.com Thu Oct 26 19:20:24 2000 From: jim@holthaus.com (Jim Holthaus) Date: Thu, 26 Oct 2000 13:20:24 -0500 Subject: [Zope] DTML and acquisition question Message-ID: <00102614070603.08458@logrus.holthaus.home> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If A contains B which contains C which contains D (tree view) A B C D and I am in A, how do I get to an item in D? What if B and C are dynamic? - -- Jim Holthaus (pronunciation: HOLT house) jim@holthaus.com PGP Public Key at http://www.holthaus.com/jim/pgpkey.html Learn about PGP at http://www.holthaus.com/jim/pgp.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI f7leyiFJonYWWaOqI/SPd8ZQ =JUHP -----END PGP SIGNATURE----- From slinkp23@yahoo.com Thu Oct 26 20:15:51 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 26 Oct 2000 15:15:51 -0400 Subject: [Zope] Hosting? Message-ID: <39F882E7.47E19D2A@yahoo.com> Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. Requirements: I need a system that can handle a potentially very heavy load, though at first it will be quite small - we're a startup and have no customers yet. Location: We're in the northeast USA and most of our users will probably be in the US as well, so I'd prefer a service in North America. Zope: 2.2 at least, and access to install new products and external methods. I'm currently on codeit.com, but they have zope 2.1 and I need zope >= 2.2 so I can use my custom product derived from PTK 0.9. Storage: We're doing things with digital images - *big* ones - so we need to start at about 100 MB and will need to grow; we'll be storing a *lot* of data for our users. Eventually (probably not until later in 2001) we'll need MUCH more - possibly up to 1 GB eventually. (Beyond that point we will probably just rent a server at rackspace.com or somewhere but first we need to be able to develop a big enough customer base to pay for it.) Data transfer: Several times greater than storage. Users will upload large files which we will then download to our local network, so that's at least 2x our storage needs, plus there's the transfer involved in just using the site. Pricing: since our storage requirements will be continually growing, I'd like a payment plan that enables us to pay for the storage we need and add more as needed. -- ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From jatwood@bwanazulia.com Thu Oct 26 20:39:26 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 15:39:26 -0400 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month. They have great support and bandwidth and claim to be the largest installed base of RH Linux. They also scale pretty well. I have about 10 boxes with them for about year now. Cheers, J > From: Paul Winkler > Date: Thu, 26 Oct 2000 15:15:51 -0400 > To: Zope mailing list > Subject: [Zope] Hosting? > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > > From chrism@digicool.com Thu Oct 26 21:45:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Thu, 26 Oct 2000 16:45:41 -0400 Subject: [Zope] asdasd Message-ID: <000a01c03f90$622694b0$aa063bd0@kurtz> asdasd From nspurrier@bluelight.com Thu Oct 26 22:33:09 2000 From: nspurrier@bluelight.com (Noah) Date: Thu, 26 Oct 2000 14:33:09 -0700 Subject: [Zope] can I turn off I thought of putting around them all, but I am certain that my client would object. Yours, Noah Spurrier From juliodinis@hotmail.com Thu Oct 26 23:55:46 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 22:55:46 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem. this dtml code dont work with siteaccess: some code I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call. Is there a solution? Thanks very much, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From complaw@hal-pc.org Thu Oct 26 22:56:13 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 21:56:13 GMT Subject: [Zope] Hosting? Message-ID: <200010262155.QAA13510@mail.hal-pc.org> > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. http://www.codeit.com/ They are the best one I've found. Ron ./. From nichols@tradingconnections.com Thu Oct 26 22:55:18 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Thu, 26 Oct 2000 16:55:18 -0500 Subject: [Zope] Hosting? In-Reply-To: References: <39F882E7.47E19D2A@yahoo.com> Message-ID: <4.3.2.7.2.20001026164808.00c1f8a0@tradingconnections.com> At 10/26/00 03:39 PM, J. Atwood wrote: >Try http://www.rackspace.com. > >You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about >$300 a month. They have great support and bandwidth and claim to be the >largest installed base of RH Linux. They also scale pretty well. I have >about 10 boxes with them for about year now. Although attractive at the low end, the rackspace price seems to jump rapidly. Move to a dual processor, 512MB, weekly backup and you arrive at a price about double what DellHost charges. So we're currently trying DellHost (which is somehow linked up with Interliant). While it is too early to give satisfaction rating, DellHost was not too swift administratively getting the server set up initially and we've had some bandwidth/connectivity issues. -- Dennis Nichols nichols@tradingconnections.com From juliodinis@hotmail.com Fri Oct 27 00:44:13 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 23:44:13 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva >From: "Júlio Dinis Silva" >To: zope@zope.org >Subject: [Zope] siteaccess + resolve_url problem >Date: Thu, 26 Oct 2000 22:55:46 WEST > >Hi all, >I search for a solution in mailing lists but I didnt found a solution, >just people talking about the same problem. > >this dtml code dont work with siteaccess: > > >some code > > >I receive a Resource Not found error. >I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its >a Zope resolve_url call. > >Is there a solution? > >Thanks very much, >Júlio Dinis Silva >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From lingnau@tm.informatik.uni-frankfurt.de Thu Oct 26 23:44:56 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 26 Oct 2000 22:44:56 GMT Subject: [Zope] Zope/PIL collision - what to do? Message-ID: <8tac58$qh6$1@mars.tm.informatik.uni-frankfurt.de> I'm trying to use the Python Imaging Library in an external Python method to modify some images dynamically. However, when I try to load an image: import Image # from PIL - refers to PIL ImageFile module image = Image.open("foo.png") the method crashes because the Image module sees the Zope »ImageFile« module instead of the one from PIL. The Zope module, of course, does something completely different from the other one. This is on Debian GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 from the distribution. How do I get around this? Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de The only reward of virtue is virtue; the only way to have a friend is to be one. -- Ralph Waldo Emerson From zope@grewen.de Thu Oct 26 23:58:10 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 00:58:10 +0200 Subject: [Zope] DTML and acquisition question References: <00102614070603.08458@logrus.holthaus.home> Message-ID: <001001c03fa0$63dcb5e0$0300a8c0@windows> Hi Jim, If you are in D you can access any object in D C B and A and if you are in A and want to access an object in D then you can use the following syntax If a folder object in A or B is dynamic (with changing names for example) you can get the folder by this for example /get all folders from dynamic B /get all folders from dynamic C /if D is a fix object name in dynamiy C then you can use Jens ----- Original Message ----- From: "Jim Holthaus" To: Sent: Thursday, October 26, 2000 8:20 PM Subject: [Zope] DTML and acquisition question > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > If A contains B which contains C which contains D > (tree view) > A > B > C > D > > and I am in A, how do I get to an item in D? What if B and C are dynamic? > - -- > Jim Holthaus (pronunciation: HOLT house) > jim@holthaus.com > PGP Public Key at http://www.holthaus.com/jim/pgpkey.html > Learn about PGP at http://www.holthaus.com/jim/pgp.html > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.1 > > iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI > f7leyiFJonYWWaOqI/SPd8ZQ > =JUHP > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 02:04:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 26 Oct 2000 20:04:54 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Hi Zope Fans, Re. the problems I mentioned in an earlier post, it may be related to an error that turned up when I tried to run the ZF_Demo module. It seems to be unable to locate: "ApplicationDefaultPermissions" Does that ring any bells? A Google Search of Zope.org turns up several references, and it seems to be a part of core Zope, but I have no idea how it could be unavailable. Might the way Zope is started have an impact on which pieces-parts are accessible? The error shows: Traceback (innermost last): File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 179, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 151, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, line 304, in traverse File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above) Thanks, Jerry S. From cbeaumon@msri.org Fri Oct 27 02:08:25 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Thu, 26 Oct 2000 18:08:25 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batch processing dtml-in processing dtml-in Message-ID: <39F8D55F.5AE7E34C@msri.org> Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be basically a timeline, with the current date as the default starting point. The idea is that someone can go back in time as well as forward. (links for past events as well as future) So, basically, I'm looking for a not-too-convoluted (i.e. decent performance) way to have the 'default' screen on entry be the batch that contains the item whose datetime value is the next one occurring after the current time. Dtml-in doesn't seem to have a straightforward way to do this, unless I'm overlooking something obvious. Does a solution to this occur to anyone? Thank you. Chris Beaumont cbeaumon@msri.org From kthangavelu@earthlink.net Thu Oct 26 21:05:26 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:05:26 -0700 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F88E86.E68A243B@earthlink.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. (IMO) its not to hard to write a cronn'd python client to retrieve emails sent to an email addr from a pop/imap server and drop them into zope via xml-rpc. i wrote something like this for my first zope contract, dropping the emails into a CatalogAware ZClass, and offering searches of the projects archives via ZCatalog. i believe ZMailin does something like this. kapil From kthangavelu@earthlink.net Thu Oct 26 21:11:07 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:11:07 -0700 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F88FDB.D13307B8@earthlink.net> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? > > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. only on windows... > I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? check if it has threads try: import threading except: print "this won't work" import sys;sys.exit() print "you can use this python" if not normally a python install is as simple as ./configure --with-threads make su make install you might need to switch your path if you've got both pythons on your system as most will put /usr/bin before /usr/local/bin you can check which one your using with:: which python to fix it in bash :: export PATH=/usr/local/bin:$PATH cheers kapil From kthangavelu@earthlink.net Thu Oct 26 21:18:17 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:18:17 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in References: <39F8D55F.5AE7E34C@msri.org> Message-ID: <39F89189.75095339@earthlink.net> Chris Beaumont wrote: > > Hello, > > I'm using dtml-in to display a long list of events taken from a SQL > table, as part of a calendar, using batch processing, > (basically the example from the DTML reference adapted to use direct > traversal to fetch the table contents) > > I want my calendar to be basically a timeline, with the current date as > the default starting point. The idea is that someone can go back in time > as well as forward. (links for past events as well as future) > > So, basically, I'm looking for a not-too-convoluted (i.e. decent > performance) way to have the 'default' screen on entry be the batch that > contains the item whose datetime value is the next one occurring after > the current time. Dtml-in doesn't seem to have a straightforward way to > do this, unless I'm overlooking something obvious. > > Does a solution to this occur to anyone? do it in sql, this is pretty database dependent, but the ideal way to me would be just where event_date > and just adjust your dtml to call the method with a date arguement. you probably need to use your db's string->date functions to convert the value for comparisions. i think this would offer the best performance, and least code. cheers kapil From jens@digicool.com Fri Oct 27 05:15:58 2000 From: jens@digicool.com (Jens Vagelpohl) Date: Fri, 27 Oct 2000 00:15:58 -0400 Subject: [Zope] Zope/PIL collision - what to do? Message-ID: try something like.... import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees jens ---- Jens Vagelpohl jens@digicool.com Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? ---- on 10/26/00 18:44, Anselm Lingnau at lingnau@tm.informatik.uni-frankfurt.de wrote: > I'm trying to use the Python Imaging Library in an external Python > method to modify some images dynamically. However, when I try to load > an image: > > import Image # from PIL - refers to PIL ImageFile module > image = Image.open("foo.png") > > the method crashes because the Image module sees the Zope »ImageFile« > module instead of the one from PIL. The Zope module, of course, does > something completely different from the other one. This is on Debian > GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution > and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 > from the distribution. > > How do I get around this? > > Anselm From jleach@mail.ocis.net Fri Oct 27 06:54:56 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Thu, 26 Oct 2000 22:54:56 -0700 (PDT) Subject: [Zope] Calander. Message-ID: hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. If not, perhaps I'll have to whip one up. :) Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From morten@esol.no Fri Oct 27 07:32:53 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 08:32:53 +0200 (CEST) Subject: [Zope] Calander. In-Reply-To: Message-ID: On Thu, 26 Oct 2000, Jason C. Leach wrote: > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. Actually, I'm developing one now, and it's getting pretty decent.. =) Take a look at the Calendar product contained in the latest ZopeGUM release, http://www.zope.org/Members/morphex/ZopeGUM. The calendar product is pretty stable, but I wouldn't use it in a production enviroment just yet. > If not, perhaps I'll have to whip one up. :) If you're interested in participating in the development of this Calendar product, you're more than welcome! The project will eventually be located at SourceForge, as soon as they fix the CVS problems they're having.. Regards, Morten From twcook@iswt.com Fri Oct 27 07:40:48 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 01:40:48 -0500 Subject: [Zope] Calander. References: Message-ID: <39F92370.41D9FF13@iswt.com> "Jason C. Leach" wrote: > > hi, > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. > There is a ZCalendar tag. But the EventFolder is much more full featured. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From lingnau@tm.informatik.uni-frankfurt.de Fri Oct 27 08:39:23 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 27 Oct 2000 07:39:23 GMT Subject: [Zope] Zope/PIL collision - what to do? References: Message-ID: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> In article , Jens Vagelpohl wrote: > import PIL > > image = PIL.Image.open('foo.png') > > that way you do not have two names "Image" colliding in the names Zope sees Thanks to everybody who responded. I tried doing this after a number of other attempts but it claimed not to be able to find a module called »PIL« -- then I restarted Zope and it worked. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de You could shoot Microsoft Office off the planet and this country would run better. You would see everyone standing around saying, `I've got so much time now.' -- Scott McNealy From chrisw@nipltd.com Fri Oct 27 09:59:13 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 09:59:13 +0100 Subject: [Zope] ZMailIn References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F943E1.D9BB80D@nipltd.com> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? You could probably build something using ZMailIn: http://www.zope.org/Members/NIP/ZMailIn cheers, Chris From chrisw@nipltd.com Fri Oct 27 10:00:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 10:00:58 +0100 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> Message-ID: <39F9444A.902CF18D@nipltd.com> Henny van der Linde wrote: > In this construction the call to do_login always raises the exception > Unauthorized instead of presenting the standard login screen. > > How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows you to do exactly what you're talking about. cheers, Chris From l.tranchant@adntic.com Fri Oct 27 10:21:56 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Fri, 27 Oct 2000 11:21:56 +0200 Subject: [Zope] php and zope Message-ID: <39F94934.929E94F3@adntic.com> hello everybody, I am new on this list, and I on zope. I have installed zope with apache on linux Suze 6.4, and I want to use it with PostGreSQL. My first question is very simple : can I use php code in DTML documents ??? I don't think so, but if someone can help me... From seb@jamkit.com Fri Oct 27 10:27:05 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 10:27:05 +0100 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired places in the UK. The bandwidth can be upped on a month-by-month basis. This way you get full control over everything. My costs: server ?650 (that's about $500 I think) hosting ?37.50 / month for 1 Gb / 512k burst (about $30) time to set it all up :S Of course, the hosting gets *much* cheaper as you buy more, but this scheme suits the way I intend to grow. I believe hardware and bandwidth is even cheaper in the states, so why not consider something like that? seb. > -----Original Message----- > From: pw@bestweb.net [mailto:pw@bestweb.net]On Behalf Of Paul Winkler > Sent: 26 October 2000 20:16 > To: Zope mailing list > Subject: [Zope] Hosting? > > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > From jonathan@home-all.org.uk Fri Oct 27 10:59:46 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Fri, 27 Oct 2000 10:59:46 +0100 Subject: [Zope] advice re virtual hosting Message-ID: <39F95211.1605CE4A@home-all.org.uk> Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a folder within my zope (so they can acquire some of my content). i.e. www.blue.com --> zopeserver/ www.red.com --> zopeserver/red/ Whats the best way? There seem to be three or four options, apache on 80 with zope on 8080 using virtual hosts on both (either?), squid on 80 and zope on 8080 and finally zope alone on 80. The site will be relatively low traffic for the root branch but higher public traffic for the clients branch. Whats the 'best' way? I got apache to front zope with proxypass and with proxying on and seemed to get better performance. What about flexibility? What about rewriting versus virtual hosts? Ah so many juicy options! I have a colocated box and the isp is holding two domains pointed at the same ip address so I guess name based vhosts are the way by default but is it better to try and get zope to do it alone on 80 (is this possible?) or is it always better to have apache do it. I don't forsee any need for genuinely static content that cannot be served from zope. Your advice gratefully received. Jonathan From jatwood@bwanazulia.com Fri Oct 27 11:18:29 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Fri, 27 Oct 2000 06:18:29 -0400 Subject: [Zope] advice re virtual hosting In-Reply-To: <39F95211.1605CE4A@home-all.org.uk> References: <39F95211.1605CE4A@home-all.org.uk> Message-ID: Hey Jonathan, I don't know about the 'best' way, but you certainly can use SiteAccess. You point the main url to your Zope installation (and that is nothing) and you put a SiteRoot in the red folder and it will take care of www.red.com. http://www.zope.org/Members/4am/SiteAccess2/vhosting J At 10:59 AM +0100 10/27/2000, Jonathan Cheyne wrote: >Hi all, just need to check the received wisdom regarding the various >possible combinations for doing virtual hosting with zope. > >I have two domains, one is 'mine' and I want that to go to the root of >my zope installation. the other domain is for an internal client and I >want that to go to a folder within my zope (so they can acquire some of >my content). > >i.e. >www.blue.com --> zopeserver/ >www.red.com --> zopeserver/red/ > >Whats the best way? > >There seem to be three or four options, apache on 80 with zope on 8080 >using virtual hosts on both (either?), squid on 80 and zope on 8080 and >finally zope alone on 80. > >The site will be relatively low traffic for the root branch but higher >public traffic for the clients branch. > >Whats the 'best' way? I got apache to front zope with proxypass and with >proxying on and seemed to get better performance. What about >flexibility? What about rewriting versus virtual hosts? > >Ah so many juicy options! > >I have a colocated box and the isp is holding two domains pointed at the >same ip address so I guess name based vhosts are the way by default but >is it better to try and get zope to do it alone on 80 (is this >possible?) or is it always better to have apache do it. I don't forsee >any need for genuinely static content that cannot be served from zope. > >Your advice gratefully received. > >Jonathan > > >_______________________________________________ >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 ) From xavier@perceval.net Fri Oct 27 11:27:32 2000 From: xavier@perceval.net (Xavier Defrang) Date: Fri, 27 Oct 2000 12:27:32 +0200 (CEST) Subject: [Zope] Zope and Python 2.0 Message-ID: Hi folks, I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with Python 2.0... I've got a system-wide installation of Python 2.0 and the ./start scripts fails. I made a local installtion of Python 1.5.2 just to run Zope. I changed the path the Python interpreter in the start shell script but it looks like Medusa's asyncore.py can't find tjhe FCNTL module... What the hell is going wrong? I also had to comment out a nasty #include "mymath.h" in 'lib/Components/cPickle/cPickle.c' to get it built properly... - Xavier From seb@jamkit.com Fri Oct 27 11:31:11 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 11:31:11 +0100 Subject: [Zope] wondering about rendering In-Reply-To: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> Message-ID: A simple question that's been bugging me: Regarding a "FooDocument/BarMethod": How do I reference the content of FooDocument inside BarMethod? At the moment, I'm using which seems to call the __str__ method of FooDocument; or in both view_1 and tableise, I get infinite recursion, of course. But I can't think of how else I might do it. Putting in tableise makes all the HTML in view_1 render html-safe (< > etc). I was tableise to display view_1's HTML but not render its DTML. Any idea, anyone? Thanks, seb From steve@spvi.com Fri Oct 27 12:08:11 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:08:11 -0500 (EST) Subject: [Zope] ZClass and SQL Table In-Reply-To: <39F82925.50846FCD@fazenda.gov.br> (ckant@fazenda.gov.br) References: <39F82925.50846FCD@fazenda.gov.br> Message-ID: <200010271108.GAA08003@mercury.spvi.com> Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve >>>>> "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann writes: CG> Hi CG> I have an old system based on a SQL database, and wanna to CG> make a Web version of it. CG> Are there any way to represent the SQL tables as ZClasses? I CG> mean, the attributes of the ZClasses be stored in a SQL table? CG> TIA -- CG> +---------------------------------+---------------------------------+ CG> | César A. K. Grossmann | Capacitação Solidária | | CG> ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | CG> http://members.xoom.com/ckant/ | Clique e doe - é de graça | CG> +---------------------------------+---------------------------------+ CG> http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A CG> long-forgotten loved one will appear soon. CG> Buy the negatives at any price. CG> _______________________________________________ Zope maillist CG> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** CG> No cross posts or HTML encoding! ** (Related lists - CG> http://lists.zope.org/mailman/listinfo/zope-announce CG> http://lists.zope.org/mailman/listinfo/zope-dev ) From steve@spvi.com Fri Oct 27 12:11:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:11:24 -0500 (EST) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage In-Reply-To: (message from Dave Belfer-Shevett on Thu, 26 Oct 2000 09:27:38 -0400 (EDT)) References: Message-ID: <200010271111.GAA08015@mercury.spvi.com> Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve >>>>> "Dave" == Dave Belfer-Shevett writes: Dave> Hey there folks. I've just downloaded and installed these Dave> Products into my Zope instance. I'd talk to any of the Dave> support groups / lists / etc for these Products, but I can't Dave> find anythign aside from the author link, and a few small Dave> hints on the download page. Dave> I -think- I'm setting up an Album properly. Here are the Dave> steps, someone please tell me if this is not correct Dave> (There's an error that happens that I'll report in a Dave> moment...) Dave> 1) Install all the packages 2) Import ZPhotoAlbum via the Dave> Control panel 3) Go to whatever directory I want to run from Dave> 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) Dave> go into 'abc' folder (note the only thing in it right now is Dave> 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go Dave> into 'page1' folder 8) Add a ZPhoto Dave> Okay, here's where it gets fuzzy. My initial impression is Dave> "okay, tha'ts it. Just keep adding ZPhotos to populate the Dave> album". But when going to url.url.com/abc/ I just get the Dave> default 'index.html'. Dave> Tinkering, I found the 'Restore DTML' button up on the Dave> toolbar for the PhotoAlbum. Dave> So I click that, and get a lot more content in the folder in Dave> the management screen. Dave> Now when I go to url.url.com/abc/, I see my index, the Dave> AlbumPage, and the ZPhoto that I added. Dave> Here's where the problem happens. There are 2 buttons at Dave> the bottom of the page called 'fancy view' and 'explore Dave> view'. They should allow different views of the indexes. Dave> But when I click on one, I get: Dave> Zope Error Dave> Zope has encountered an error while publishing this Dave> resource. Dave> Error Type: NameError Error Value: defined_views Dave> here's the traceback: Dave> Traceback (innermost last): File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 222, in publish_module File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 187, in publish File Dave> /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in Dave> zpublisher_exception_hook (Object: CatalogAware) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 171, in publish File Dave> /home/shevett/zope/lib/python/ZPublisher/mapply.py, line Dave> 160, in mapply (Object: switch_view) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 112, in call_object (Object: switch_view) File Dave> /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, Dave> in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, Dave> line 528, in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, Dave> line 337, in eval (Object: view not in defined_views or not Dave> view_id) (Info: defined_views) File , line 0, in ? Dave> NameError: (see above) Dave> Any suggestions? Dave> -------------------. Web-based problem management: Dave> www.stonekeep.com Dave Belfer-Shevett Dave> >----------------------------------------------------. Dave> shevett@pobox.com / I like you... I'll kill you Dave> last... (from 'Handy \ ------------------< work phrases') | Dave> \______________________________________________________/ Dave> _______________________________________________ Zope Dave> maillist - Zope@zope.org Dave> http://lists.zope.org/mailman/listinfo/zope ** No cross Dave> posts or HTML encoding! ** (Related lists - Dave> http://lists.zope.org/mailman/listinfo/zope-announce Dave> http://lists.zope.org/mailman/listinfo/zope-dev ) From steinar@orion.no Fri Oct 27 12:29:48 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Fri, 27 Oct 2000 13:29:48 +0200 Subject: [Zope] Multiple Propertysheets from the same Python class ? Message-ID: <512D0F74D69DD311B23A0000E22298D224BD38@mail.orion.no> I am trying to make a "template" for creating different types of portals. Especially I am looking to develop my own DemoPortal (Portal) ZClass where I can subclass other Memberand PortalProperties from Python and more easily create a ZClass (like the Portal ZClass) that subclasses my Python classes. Question is: Can the contents of the Portal ZClass in DemoPortal by fully exportet to Python code and subclassed inside Zope (like the ZDG describes) ? I understand Python can put classes inside classes which would be necessary. But how do you define different property sheets within one Python class ? The DemoPortal has a MemberClass with 2 propertysheets (CommonProperties and SystemProperties) which I guess must be kept separate. Is this at all possible to do from Python, or am I barking up the wrong tree here. Regards Steinar ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From matt.bion@eudoramail.com Fri Oct 27 12:37:20 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 28 Oct 2000 00:37:20 +1300 Subject: [Zope] dtml-with using string reference and acquisition Message-ID: <39F968F0.ACC8484D@eudoramail.com> Hi, I am having a problem with using a string reference to an object. The scenario is as follows : I have the tree structure - testfolA display_method testfolB testfolC if display_method looks like the following, everything is fine : it returns testfolB as I would expect. now if I change to now read I get a Key_error that the URL does not exist. So I understand that testfolB.testfolC is not explicitly on the namespace stack, where as testfolB is, so that calling would work since it is a sequential object traversal, but unfortunately I have to create the second level object through a string reference that is passed in through a form. In some instances it may be more than 2 levels deep. Is there a way to traverse a string name of an object in one hit, or do I need to use String.split and traverse through each object name doing a "_[.... or "_.callitem(.... ? Any help would be very much appreciated. regards Matt Bion From steve@spvi.com Fri Oct 27 12:46:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:46:24 -0500 (EST) Subject: [Zope] More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Message-ID: <200010271146.GAA08208@mercury.spvi.com> Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? JS> The error shows: JS> Traceback (innermost last): File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 214, in publish_module File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 179, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, JS> line 202, in zpublisher_exception_hook (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 151, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, JS> line 304, in traverse File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, JS> line 249, in __bobo_traverse__ (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, JS> line 511, in notFoundError NotFound: (see above) JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From morten@esol.no Fri Oct 27 13:17:26 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 14:17:26 +0200 (CEST) Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: On Thu, 26 Oct 2000 complaw@hal-pc.org wrote: > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? In the latest version of ZopeGUM there is a poor example located in the gum module.. (in combination with the messagefilter module). http://www.zope.org/Members/morphex/ZopeGUM Regards, Morten From seb@jamkit.com Fri Oct 27 13:25:02 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 13:25:02 +0100 Subject: [Zope] ZMailIn In-Reply-To: <39F943E1.D9BB80D@nipltd.com> Message-ID: It sounds like you're thinking about a project management thing. Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. You could customise it to your specific needs, plus have the all the benefits of a webmail type application. Might be worth a look. seb. > complaw@hal-pc.org wrote: > > > > Has anyone thought of using SendMail (or any other e-mail > program) to send > > e-mail to Zope and have that e-mail be loaded directly into a > specific folder > > (say, based on the e-mail address or subject line)? > > You could probably build something using ZMailIn: > > http://www.zope.org/Members/NIP/ZMailIn > From maxm@normik.dk Fri Oct 27 13:25:05 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 14:25:05 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AAB@exchange> >From: Chris Withers [mailto:chrisw@nipltd.com] I got this answer to my question about how to render a dtml document from a method. >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) And I have been busy trying to read the source code to understand the advise: As far as I understand the story goes a little like this: HTMLFile returns an object (through inheritance) "String" in file "DT_String.py" that has "__call__()" implemented, which means that the class can be called as a function... Hmm ... I had actually not seen this method used in Python before. def __call__(self,client=None,mapping={},**kw): This method accepts an object in which it will look up values to insert in the dtml file, and a mapping object (dictionary) that also will look up values to insert. So i guess that is what (None,md) does. But I dont understand what "ignored" does in my method, as it is unused, unless it is used by md >def test(self,ignored,md): Furthermore I dont understand what md is. Some kind of mapping object naturally, but where does it come from? Also what is testisDocTemp supposed to do? If I grep the source a "isDocTemp" shows up but is isn't easy to see what this does either. Regards Max M From lupo@atisworld.com Fri Oct 27 13:38:31 2000 From: lupo@atisworld.com (Marcello Lupo) Date: Fri, 27 Oct 2000 14:38:31 +0200 Subject: [Zope] PIL/Zope Problem Message-ID: <39F97747.41E06D5B@atisworld.com> Hi to all, i read all the documentation and made all things to let interact PIL and Zope and i cannot find the way to make it work. If i try to import PIL from pyton interpreter it works perfectly with: ******************************* Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import PIL >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") >>> print data.format JPEG >>> print data.info {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} >>> print data.size (450, 309) >>> ****************************** as you can see it works. But when i try to access PIL.Image.open from an external method in Zope i get: ******************************* Error Type: AttributeError Error Value: Image Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: resize_image(foto)) (Info: foto) File , line 0, in ? File /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod.py, line 255, in __call__ (Object: resize_image) (Info: ((,), {}, None)) File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in resize_image (Object: ElementWithAttributes) AttributeError: (see above) ********************************* My external Method say: **************************** import PIL def resize_image(self, foto): if foto: data=PIL.Image.open(foto) data=data.resize((128, 128)) return data.size else: return "Nothing" *************************************** Can anyone help me?? Thanks Bye, MArcello From Danny@Adair.net Fri Oct 27 13:40:50 2000 From: Danny@Adair.net (Danny William Adair) Date: Fri, 27 Oct 2000 14:40:50 +0200 Subject: [Zope] ownership problems Message-ID: I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. ---------------------------------------------------------------------------- ------------ Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 ---------------------------------------------------------------------------- ------------ This is what I get: Adding other object types is no problem. From maxm@normik.dk Fri Oct 27 14:08:49 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 15:08:49 +0200 Subject: [Zope] How do I change dtml template on the fly in Python product? Message-ID: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> I have asked this question somewhat differently in another thread but here I go again from another angle, as it might have been my approach that was wrong to begin with. I have a Python product that allready does what I want it to, but I want to be able to create different views of the products content. (Model View Controller principle). To do this I have created a folder with different views (Or skins if you would prefer the Gnome/KDE way of saying it.) views view1 list.dtml view.dtml edit.dtml view2 list.dtml view.dtml edit.dtml In my class I have made a value that hold the name of the selected view, I call this: self.selView I want to make it possible to use the different sets of dtml files to create a different look and feel to the data. I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return HTMLFile('views/' + self.selView+ 'list') Is that the best way to do it? Regards Max M From zope@grewen.de Fri Oct 27 14:51:56 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 15:51:56 +0200 Subject: [Zope] PIL/Zope Problem References: <39F97747.41E06D5B@atisworld.com> Message-ID: <001601c0401d$12a36020$0300a8c0@windows> Hi , > > I use this external Methode to generate thumbs from an image an write both > in an mysql database. > May this helps you > > ____________________________________________________________________________ > ____________ > from PIL.Image import BICUBIC, BILINEAR, NEAREST > from cStringIO import StringIO > > import _mysql > import MySQLdb > import PIL > > def write(filename, pid): > db=MySQLdb.connect(db="shop",user="zope",passwd="") > c=db.cursor() > imgfile=open(filename,'rb') > sql_reset_img1="update PRODUCT set PIMAGE=NULL where PID="+ pid > sqlstr="update PRODUCT set PIMAGE='" + > _mysql.escape_string(imgfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img1) > # do the "update" load... > c.execute(sqlstr) > imgfile.close() > im = PIL.Image.open(filename) > fmt = im.format > if fmt == 'PNG': > fmt = 'JPEG' > size = (int('75'),int('75')) > x, y = im.size > if x > size[0]: y = y * size[0] / x; x = size[0] > if y > size[1]: x = x * size[1] / y; y = size[1] > size = x, y > im.draft(None, size) > im = im.resize(size) > im.size = size > im.save('/home/zope/tempimage/temp.jpg', fmt) > tempfile=open('/home/zope/tempimage/temp.jpg','rb') > sql_reset_img2="update PRODUCT set PTHUMB=NULL where PID="+ pid > sqlstri="update PRODUCT set PTHUMB='" + > _mysql.escape_string(tempfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img2) > # do the "update" load... > c.execute(sqlstri) > tempfile.close() > return 'image was written to db successfull' > ____________________________________________________________________________ Jens ----- Original Message ----- From: "Marcello Lupo" To: Cc: Sent: Friday, October 27, 2000 2:38 PM Subject: [Zope] PIL/Zope Problem > Hi to all, > i read all the documentation and made all things to let interact PIL and > Zope and i cannot find the way to make it work. > If i try to import PIL from pyton interpreter it works perfectly with: > > ******************************* > Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 > 19990314/Linux (egcs- on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import PIL > >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") > >>> print data.format > JPEG > >>> print data.info > {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} > >>> print data.size > (450, 309) > >>> > ****************************** > > as you can see it works. > But when i try to access PIL.Image.open from an external method in Zope > i get: > > ******************************* > > > Error Type: AttributeError > Error Value: Image > > > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be > incorrect. > A resource that this resource relies on may be > encountering an error. > > For more detailed information about the error, please refer > to the HTML source for this page. > > If the error persists please contact the site maintainer. > Thank you for your patience. > > > Traceback (innermost last): > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 214, in publish_module > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 179, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, > in zpublisher_exception_hook > (Object: ElementWithAttributes) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 165, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 102, in call_object > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line > 150, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, > line 502, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line > 335, in eval > (Object: resize_image(foto)) > (Info: foto) > File , line 0, in ? > File > /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod .py, > line 255, in __call__ > (Object: resize_image) > (Info: ((,), > {}, None)) > File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in > resize_image > (Object: ElementWithAttributes) > AttributeError: (see above) > > ********************************* > > My external Method say: > **************************** > import PIL > > def resize_image(self, foto): > > if foto: > data=PIL.Image.open(foto) > data=data.resize((128, 128)) > return data.size > else: > return "Nothing" > > *************************************** > > > Can anyone help me?? > Thanks > Bye, > MArcello > > _______________________________________________ > 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 ) > From Luc Tonin" reload ? Message-ID: <05a501c04020$8bac9b50$6200a8c0@longwy> This is a multi-part message in MIME format. ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable is it possible to reload only a without reloading an = entire page ??????????? if yes, how?? plz help ;) Luc TONIN=20 ------------------------------ D=E9veloppeur Web ------------------------------ =20 Multith=E9matiques http://www.multithematiques.com Chaines th=E9matiques sur c=E2ble et satellite Canal Jimmy, Cinecinemas, Cineclassics, Planete, Forum, Season, = Wishline,=20 Centre Jean Monet 03 82 24 00 42 Longlaville +333 82 24 00 42 54400 Longwy =20 ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
is it possible to reload only a <dtml-var = value> without=20 reloading an entire page ???????????
if yes, how??
plz help
;)
 
Luc TONIN =
------------------------------
D=E9veloppeur=20 Web
------------------------------
 
Multith=E9matiques
= http://www.multithematiques.com<= /A>
Chaines=20 th=E9matiques sur c=E2ble et satellite
Canal Jimmy, Cinecinemas, = Cineclassics,=20 Planete, Forum, Season, Wishline,
Centre Jean=20 Monet      03 82 24 00=20 42
Longlaville         &n= bsp;   =20 +333 82 24 00  42
54400 Longwy  =
------=_NextPart_000_05A2_01C04031.4EE612D0-- From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 15:22:57 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 09:22:57 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733915@innt-73.ata.com> Steve asked: > What version of ZFormulator are you running (and in what version of > Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to > work OK. Maybe it doesn't work with older zopes? Oops, I should know better by now, than to ask for help without including the details. Zope 2.1.6 on Solaris 2.6 for Sparc, and Zope 2.2.1 on Linux 2.2 for Intel. The installs seemed to go smoothly on both systems, and I am able to create Form objects. However neither will let me add any form elements. The user authentication dialog pops up, and of coures I'm already authenticated at the initial access to the management interface. I'm both owner and manager of everything, but the authentication rejects my input. ZFormulator has been available since late 1999, so I would expect the older versions to be OK. Thanks, Jerry S. JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? From paul.browning@bristol.ac.uk Fri Oct 27 16:07:10 2000 From: paul.browning@bristol.ac.uk (Paul Browning) Date: Fri, 27 Oct 2000 16:07:10 +0100 (GMT Daylight Time) Subject: [Zope] Securing ftp access? Message-ID: Our local CERT-type person mailed me the following and I replied as follows. Could I have given a better answer? > I notice that zope comes with an FTP server which, by default, runs on port > 8021. There's one running on "stingray", as I write, which seems to accept > any and all combinations of usernames/passwords (valid or otherwise), > although *I* don't seem to be able to do/see anything with any of the ones > I've tried. Hmmm. Hadn't noticed that before. Even if you disable the FTP Access permission for the role Manager (as well as Anonymous) it's still the same. But, as you note, you can't do very much. > Anyway, that's an aside. What my question is is "how can this > service be used such that usernames/passwords are transmitted securely?" Don't know. Does SSL (whether Zope is behind Apache or not) only apply to http stuff? My understanding is that Zope incoporates the Medusa server. There is a reference on the Medusa web page (http://www.nightmare.com/medusa/) to "SSL and Medusa with STunnel". An exercise left for the ambitious reader? Meanwhile I observe that if you set a Domains restriction for a particular user (done via the acl_users Folder) it applies to both ftp and http clients (and presumably WebDAV too) - though at first it doesn't seem so via ftp because you can login, but you can't actually do anything (just like Richard reports with any username/password). So, an imperfect answer to your question might be "disallow ftp access from outside our local domain and then keep your fingers crossed". TIA. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bris.ac.uk URL: http://www.bris.ac.uk/ From chrisw@nipltd.com Fri Oct 27 16:17:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:17:08 +0100 Subject: [Zope] WorldPilot References: Message-ID: <39F99C74.7C3C3399@nipltd.com> Seb Bacon wrote: > > Depends what you want to do with it, and what your zope setup is, but if > you've got enough control over the zope box you're using, you could consider > worldpilot + imap. WorldPilot's code is not the most customisable I've ever seen :-( cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:19:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:19:30 +0100 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> Message-ID: <39F99D02.1D0CF060@nipltd.com> > Luc Tonin wrote: > > is it possible to reload only a without reloading an > entire page ??????????? ...nice question marks ;-) ...not nice posting HTML to a plain text only list. The answer is no anyway. A page is completely assembled on the server side before being sent to the client. So, if a value changes in a dtml-var, then you need to resend the enite page to the browser. This is the way HTTP works and so there's nothing Zope-specific about not being able to do this. cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:26:45 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:26:45 +0100 Subject: [Zope] with a __call__ References: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> Message-ID: <39F99EB5.28B855D9@nipltd.com> Max Møller Rasmussen wrote: > I want to write my "index_html" method so that it returns a rendered version > of "list.dtml" corresponding to the selected view, by the name of the folder > holding the selected view. > > something like this (which doesn't work): > > def index_html(): > return HTMLFile('views/' + self.selView+ 'list') You actually want to write a __call__ method (something) like this: def __call__(self, REQUEST=None, **kw): """""" return apply(HTMLFile('views/' + self.selView+ 'list'),(self,REQUEST),kw) index_html=None ...this last bit is needed so index_html isn't acquired from an object above. cheers, Chris From lyno.sullivan@lynosullivan.org Thu Oct 26 20:05:02 2000 From: lyno.sullivan@lynosullivan.org (Lyno Sullivan, Candidate) Date: Thu, 26 Oct 2000 14:05:02 -0500 Subject: [Zope] Free software in online democracy Message-ID: "Feel like you're not heard in St. Paul? A Minnesota Senate candidate from Stillwater thinks he can change that with online democracy." Stillwater Gazette, August 18,2000, By MARK BROUWER Staff Writer. My vision of a State Senator using the Internet as a way to keep in touch with constituents made the front page. Mention was made of the use of free software, Zope, Python, etc. http://www.lynosullivan.org/news/newssquish/969254176 ---- Minnesota Statute 211B.04 requires that I say: Prepared and paid for by the Lyno Sullivan Volunteer Committee P.O. Box 272, Stillwater, MN 55082 651-430-2815 From bill@noreboots.com Fri Oct 27 16:17:05 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:17:05 -0600 Subject: [Zope] Calling form elements by name References: Message-ID: <39F99C71.99E48DA@noreboots.com> Danny William Adair wrote: > > I should have posted your version, it's more explicit: > > ------------------------------------------- > > thePos="_.str(Position)" > nameAsAString="Prefix+thePos"> >
>
I believe I see why this doesn't work: Try changing:
To:
Otherwise, it will try to find a variable named whatever is in the variable nameAsAString. -- E PLURIBUS LINUX From bill@noreboots.com Fri Oct 27 16:39:54 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:39:54 -0600 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F9A1CA.E1BFDC10@noreboots.com> Toby Dickenson wrote: > > On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > > >We are building some device controller software and to control those we have > >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > >such a modest setup? There is only going to be one or two users connected to > >Zope at once, so we don't need much performance in terms of page views per > >second :) > > Yes, Im using Zope in a similar scenario and it works well. > > I found a benefit in using a smaller number of publisher threads (I > use -T 2 ). Each thread gets its own copy of the ODB, which is an > unnecessary memory hog for the expected load. What OS is this on? On Linux each thread does _NOT_ get a copy of the ODB. It just _looks_ like it. See the archives for details. The benefit from smaller thread counts is that: A) Multiple threads is not a big boost on uniprocessor machines B) Python does some different things with threads, see the Global Interpreter Lock for details. Changin the realted value in Zope will acheive differing levels of performance. -- E PLURIBUS LINUX From twcook@iswt.com Fri Oct 27 17:27:03 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 11:27:03 -0500 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> <39F99D02.1D0CF060@nipltd.com> Message-ID: <39F9ACD7.BDB42A47@iswt.com> Chris Withers wrote: > > > Luc Tonin wrote: > > > > is it possible to reload only a without reloading an > > entire page ??????????? > > ...nice question marks ;-) > > ...not nice posting HTML to a plain text only list. > > The answer is no anyway. A page is completely assembled on the server > side before being sent to the client. So, if a value changes in a > dtml-var, then you need to resend the enite page to the browser. With the exception of possibly using JavaScript. If you're wanting to reload something that a DIFFERENT CLIENT has changed, sorry. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From cg@cdegroot.com Fri Oct 27 18:19:15 2000 From: cg@cdegroot.com (Cees de Groot) Date: 27 Oct 2000 19:19:15 +0200 Subject: [Zope] Forbidding overrides? Message-ID: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Something I remember from my early Zope days that could be solved, but I can't seem to find an answer: say I have a simple site where people can do simple things within their folder. However, I want my banners/logo whatever on their pages, so I've setup index_html to put my own stuff in and include their body_text. How can I prevent smartasses from creating index_html documents in their folder? More generally, is it possible to disallow certain folder methods or properties to be overriden from a point in the tree? -- Cees de Groot http://www.cdegroot.com GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/ From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 18:24:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 12:24:07 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Hi Again, It turns out that the problems I was seeing are related to the Proxy Layers that are in place to keep our IntraNet safe. ZFormulator doesn't work at all when I bypass the Proxy entirely, only works partially when the Proxy is invited to play, and only works fully when the directories that the Proxy is aware of are involved. This is OK, as long as the generated forms function correctly when a user sees them with the Proxy completely in control. We'll see . . . Thanks again! Jerry S. From steve@spvi.com Fri Oct 27 19:52:52 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 13:52:52 -0500 (EST) Subject: [Zope] Re: More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Message-ID: <200010271852.NAA11508@mercury.spvi.com> Found it: line 312: Form.py should be: __roles__ = ('Manager',) From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 19:57:39 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 13:57:39 -0500 Subject: [Zope] RE: More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Steve says: > Found it: > > line 312: Form.py should be: > > __roles__ = ('Manager',) Thanks Steve! Steve's motto is, "We don't need no stinkin' Docs!". BTW, we disagree about this . . . From juliodinis@hotmail.com Fri Oct 27 21:03:31 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Fri, 27 Oct 2000 20:03:31 WEST Subject: [Zope] Gadfly auto-increment datatype option? Message-ID: Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From steve@spvi.com Fri Oct 27 20:07:42 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 14:07:42 -0500 (EST) Subject: [Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator) In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Message-ID: <200010271907.OAA11619@mercury.spvi.com> Hmm... >>>>> "JS" == Spicklemire, Jerry writes: [... skip ...] JS> Steve's motto is, "We don't need no stinkin' Docs!". Interesting point..... JS> BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source code than bad/incorrect docs. I'd naturally rather have source code + good docs, but I'd sooner get something *done* today than wait for good docs tomorrow. ;-) Also.. I'd rather have source code and no docs than something closed with (apparantly) great docs.... since you can always have great docs that don't match the real (implimentation)/world, and *that* can steal weeks from your (otherwise) precious time/life.""" ....back to your regularly scheduled questions (and answers!) -steve From andres@corrada.com Fri Oct 27 20:50:14 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 27 Oct 2000 15:50:14 -0400 Subject: [Zope] php and zope In-Reply-To: <39F94934.929E94F3@adntic.com>; from Laurent Tranchant on Fri, Oct 27, 2000 at 11:21:56AM +0200 References: <39F94934.929E94F3@adntic.com> Message-ID: <20001027155013.B23080@corrada.com> Take a look at my HOWTO: http://www.zope.org/Members/Mamey/PHP I'll be updating it soon with improvements that allow authorization and cookies. On Fri, Oct 27, 2000 at 11:21:56AM +0200, Laurent Tranchant wrote: > hello everybody, > I am new on this list, and I on zope. > I have installed zope with apache on linux Suze 6.4, and I want to use > it with PostGreSQL. My first question is very simple : can I use php > code in DTML documents ??? I don't think so, but if someone can help > me... > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From leedm@state.mi.us Fri Oct 27 20:59:14 2000 From: leedm@state.mi.us (Darin Lee) Date: Fri, 27 Oct 2000 15:59:14 -0400 Subject: [Zope] Webdav Questions Message-ID: Zopistas, I am working under Windows NT 4 and connecting to my Zope Server via the webfolders icon in "My Computer." I enter the IP address and port of my server, select finish, and a list of folders on the Zope server appears. However, I find that I am unable to edit, or even copy, any of the Zope objects. I keep getting an error message "An error occured while trying to copy some or all of the selected files". Here are my questions? 1. How is authentication being handled by my Zope server? Am I automatically authenticated to the server as the user I am logged on as on the local NT workstation? It never prompts me to identify myself via username and password. 2. Can the world at large view my Zope site via WebDAV? It seems that I can connect to the server from multiple machines, even logged on as users who are not in the Zope acl_users folder...Is this the default behavior? I have looked through the How-to's and performed searches on "Zope and WebDAV" in Google but haven't turned up much useful information. Can anyone offer any tips, or point me in the right direction on this? Thanks in advance, Darin Lee From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> Message-ID: <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Hi, > Henny van der Linde wrote: > > > In this construction the call to do_login always raises the exception > > Unauthorized instead of presenting the standard login screen. > > > > How do I trap login errors in an elegant way? > > You can't, with the standard Zope acl_users. > > IIUC, LoginManager allows you to do exactly what you're talking about. > > cheers, > > Chris Thanks. I already thought about using Loginmanager but we still use Zope 2.1.6. I'm very commited, to and happy with Zope but I was amazed that you can't trap Unauthorized exception like that. I'ts seems such a basic functionality. cheers, Henny From rossl@med.usyd.edu.au Sat Oct 28 02:48:38 2000 From: rossl@med.usyd.edu.au (Ross Lazarus) Date: Fri, 27 Oct 2000 21:48:38 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! Message-ID: <39FA3076.4010A389@med.usyd.edu.au> Now here's something readers of this list might be interested in ... -------- Original Message -------- Subject: PythonLabs Team Moves to Digital Creations Date: Fri, 27 Oct 2000 20:42:42 -0500 From: Guido van Rossum To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org Newsgroups: comp.lang.python To all Python users and developers: Less than half a year ago, I moved with my team to BeOpen.com, in the hope of finding a new permanent home for Python development. At BeOpen, we've done several good things for Python, such as moving the Python and Jython development process to SourceForge, and the successful release of Python 2.0. Unfortunately, BeOpen.com's original plans for PythonLabs didn't work out as hoped, and we weren't able to reach mutual agreement on workable alternative plans -- despite trying for months. I am proud to have found a new home for my entire team: starting today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself are working for Digital Creations. We will be spending part of our time on core Python development (including Jython and Mailman) and part of our time on Python infrastructure improvements that also benefit Zope. Python will remain Open Source; Digital Creations has no desire to monetize or brand the Python language or specific Python distributions. All future work we do on Python as Digital Creations employees will be owned by a non-profit organization yet to be created. We think of this new organization as the Python Software Foundation. In the meantime (while the PSF is under construction) I will own such copyrights personally. We're excited to be working for Digital Creations: they are one of the oldest companies active in the Python community, one of the companies most committed to Python, and they have a great product! Plus, we know they have deep financial backing. We trust that Digital Creations will provide a stable home for Python for many years. Digital Creations has also offered to take over hosting of the python.org and starship sites. On behalf of the Python community, we're grateful for this support of the two prime community sites for Python, and we expect to be implementing the transitions shortly. These are exciting times for the PythonLabs team -- and also for Python and its community. Mainstream successes for Python are showing up everywhere, and we're proud to be a part of such a smart and friendly community. A great year lies ahead! --Guido van Rossum (home page: http://www.python.org/~guido/) From zen@shangri-la.dropbear.id.au Sat Oct 28 05:42:32 2000 From: zen@shangri-la.dropbear.id.au (Zen) Date: Sat, 28 Oct 2000 14:42:32 +1000 (AUS Eastern Standard Time) Subject: [Zope] GUF error: Unauthorized... In-Reply-To: <39F0F525.C8A49178@rotnet.com.br> Message-ID: On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: > raised an exception (('Unauthorized', 'crypt', The userAuthenticate, userDomains, userList, adn userRoles DTML Methods > are configurated to proxy the Manager role. -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University From scott@launchpoint.net Sat Oct 28 08:51:43 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 00:51:43 -0700 Subject: [Zope] more __len__ errors Message-ID: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: From paul@digicool.com Sat Oct 28 13:08:19 2000 From: paul@digicool.com (Paul Everitt) Date: Sat, 28 Oct 2000 08:08:19 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> Message-ID: <39FAC1B3.A77B863A@digicool.com> Yes, it's been hard keeping that particular secret. :^) We'll have more to say on this -- like an official press release -- over the coming week. --Paul Ross Lazarus wrote: > > Now here's something readers of this list might be interested in ... > > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org > Newsgroups: comp.lang.python > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > _______________________________________________ > 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 ) From chrism@digicool.com Sat Oct 28 13:34:46 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:34:46 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FAC7E6.2919B411@digicool.com> Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: > > I am having a intermittent problem with ZCatalog(I think). I have a couple > of products that are catalog-aware and have been working. Then, out of > nowhere if I call I get a __len__ > error, when a few minutes before it worked. I looked at the undo list to see > if I have done anything to cause it but could not find anything. I delete > the cataloged objects as well as the objects themselves and re-create them. > Same problem. Here is the TB: > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From chrism@digicool.com Sat Oct 28 13:37:28 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:37:28 -0400 Subject: [Zope] Zope and Python 2.0 References: Message-ID: <39FAC888.81F9FE4E@digicool.com> I think we're reaching a point where we'll soon be able to release a Python 2.0-compatible Zope source distribution, but you're right in that none of the current ones work properly with Python 2.0. Xavier Defrang wrote: > > Hi folks, > > I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. > > Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with > Python 2.0... I've got a system-wide installation of Python 2.0 and the > ./start scripts fails. I made a local installtion of Python 1.5.2 just to > run Zope. I changed the path the Python interpreter in the start shell > script but it looks like Medusa's asyncore.py can't find tjhe FCNTL > module... > > What the hell is going wrong? > > I also had to comment out a nasty #include "mymath.h" in > 'lib/Components/cPickle/cPickle.c' to get it built properly... > > - Xavier > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From Hugo Ramos" <39FAC1B3.A77B863A@digicool.com> Message-ID: <000d01c040e9$e0e89370$0800a8c0@toydolls> ----- Original Message ----- From: "Paul Everitt" To: "Ross Lazarus" Cc: Sent: Saturday, October 28, 2000 1:08 PM Subject: Re: [Zope] OT: PythonLabs Team Moves to Digital Creations! > > Yes, it's been hard keeping that particular secret. :^) > > We'll have more to say on this -- like an official press release -- over > the coming week. So this was the reason for the busy November at DC... ===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! From robin@jessikat.fsnet.co.uk Sat Oct 28 15:51:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Sat, 28 Oct 2000 15:51:09 +0100 Subject: [Zope] two things at once? Message-ID: I want my form button X to cause some data to be uploaded to the user. So I make the action call a method that sets up the right response content type etc and the upload goes well. 1) Can I verify that the action happened? 2) how can I force the page containing the original form to be refreshed so that I can change button etc. -- Robin Becker From simon@joyful.com Sat Oct 28 16:25:38 2000 From: simon@joyful.com (Simon Michael) Date: 28 Oct 2000 08:25:38 -0700 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! In-Reply-To: Paul Everitt's message of "Sat, 28 Oct 2000 08:08:19 -0400" References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <873dhhq971.fsf@joyful.com> Fantastic news. Congrats! From twcook@iswt.com Sat Oct 28 17:11:04 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 28 Oct 2000 11:11:04 -0500 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <39FAFA97.713A46C6@iswt.com> > > Now here's something readers of this list might be interested in ... It just doesn't get any better than this. Well, maybe if Jim Fulton was working FreePM. But that's definitely off topic. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From jhouchin@texoma.net Sat Oct 28 17:53:11 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Sat, 28 Oct 2000 11:53:11 -0500 Subject: [Zope] Website develoment with CVS Zope? Message-ID: <39FB0477.C9D75ABE@texoma.net> I am about to begin development and would like to use the CVS version of Zope. I have already setup my /usr/local/Zope/Zope2 directory and gotten Zope via CVS. When I have it install Zope and begin development are what issues or problems will I have when I do an update? I know because I will be developing and changing files in these directories but not via CVS that CVS will probably complain about the changes. Is this a problem? I will also be wanting to use the CVS of other Zope items like the PTK. Does this impact this in any way? How do those of you who develop using the CVS version do it? Any advice or best practices? Thanks for any help. Jimmie Houchin From andym@ActiveState.com Sat Oct 28 18:10:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Sat, 28 Oct 2000 10:10:20 -0700 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations Message-ID: <005301c04101$f3ab33b0$ae03a8c0@fork> This is great news for Zope... (well I think it is anyway) > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing > list),python-announce-list@python.org, python-dev@python.org > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > -- > http://www.python.org/mailman/listinfo/python-list From scott@launchpoint.net Sat Oct 28 19:21:32 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 11:21:32 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FAC7E6.2919B411@digicool.com> Message-ID: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. > From: Chris McDonough > Date: Sat, 28 Oct 2000 08:34:46 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Scott, we're struggling with some catalog issues right now... I didn't > see the traceback attached, but I assume it's a "len of unsized object" > error. We'd be very interested in obtaining a setup where this problem > was repeatable. > > Scott Burton wrote: >> >> I am having a intermittent problem with ZCatalog(I think). I have a couple >> of products that are catalog-aware and have been working. Then, out of >> nowhere if I call I get a __len__ >> error, when a few minutes before it worked. I looked at the undo list to see >> if I have done anything to cause it but could not find anything. I delete >> the cataloged objects as well as the objects themselves and re-create them. >> Same problem. Here is the TB: >> >> _______________________________________________ >> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > > _______________________________________________ > 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 ) > > From chrism@digicool.com Sat Oct 28 19:34:53 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 14:34:53 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB1C4D.14E1CE12@digicool.com> Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: > > Sorry about that, I forgot to send the trace back along with the message. As > my luck would have it, I go to the section that was giving me an error, now > it has disappeared? It s now working again with no errors. I know it isn't > just me, one of my clients is reporting the same error on their side from my > server. > Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > helps. > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 08:34:46 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Scott, we're struggling with some catalog issues right now... I didn't > > see the traceback attached, but I assume it's a "len of unsized object" > > error. We'd be very interested in obtaining a setup where this problem > > was repeatable. > > > > Scott Burton wrote: > >> > >> I am having a intermittent problem with ZCatalog(I think). I have a couple > >> of products that are catalog-aware and have been working. Then, out of > >> nowhere if I call I get a __len__ > >> error, when a few minutes before it worked. I looked at the undo list to see > >> if I have done anything to cause it but could not find anything. I delete > >> the cataloged objects as well as the objects themselves and re-create them. > >> Same problem. Here is the TB: > >> > >> _______________________________________________ > >> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From scott@launchpoint.net Sat Oct 28 20:02:08 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:02:08 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: One of the reasons I haven't moved to 2.2 yet is because of the extensive use of ZDiscussions on my server. I have successfully moved all other products over into a separate install, waiting to be turned on. All but ZDiscussions. I have been trying to create a ZClass-based replica of it similar methods etc. . I also run another Zope server with 2.2 on it and have had over 1,500 Catalog-aware objects in the catalog with no problems. So I figured it was 2.1.6.... Scott > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From scott@launchpoint.net Sat Oct 28 20:06:40 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:06:40 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2. Is there a way to use the same objects created by ZDiscussions in my ZClass version of ZD as long as the meta_types are the same? That way the change-over could be transparent.(hopefully) > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From chrism@digicool.com Sat Oct 28 23:05:05 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 18:05:05 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB4D91.5FBE7653@digicool.com> It's likely that moving to 2.2 may be a less-than-transparent prospect, mostly due to the security changes. But unfortunately, if this catalog thing is a showstopper for you, you'll probably need to bite the bullet and upgrade at some point. In any case, even without an upgrade, if you are willing and able to send us your file storage, your installed Products directory, and any external methods you've got lying around, with a proven way of recreating a catalog-related error symptom, we'd be probably able to make use of it on our quest to fix boundary conditions on the catalog. Scott Burton wrote: > > I will see what I can do about the before and after snapshots. Then again, I > should probably just make the move to 2.2. Is there a way to use the same > objects created by ZDiscussions in my ZClass version of ZD as long as the > meta_types are the same? That way the change-over could be > transparent.(hopefully) > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 14:34:53 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > > matter, but at least some of them have been fixed (not to mention that > > later versions of Zope log errors in cataloging and uncataloging > > objects). The Zope 2.1.X branch is not really being maintained. You > > should probably try to move to the latest release. > > > > That said, it would be most helpful to have a full copy of the Zope > > installation which exhibits the problem. Even better (but probably less > > possible) is to have a full copy of the Zope installation *right before* > > the problem starts occurring and one *right after* the problem starts > > occurring so we can look at the catalog data structures to see what > > might be happening. Platform is not thought to be an issue. This would > > be helpful even if it was a Zope 2.1.6 install. > > > > Scott Burton wrote: > >> > >> Sorry about that, I forgot to send the trace back along with the message. As > >> my luck would have it, I go to the section that was giving me an error, now > >> it has disappeared? It s now working again with no errors. I know it isn't > >> just me, one of my clients is reporting the same error on their side from my > >> server. > >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > >> helps. > >> > >>> From: Chris McDonough > >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 > >>> To: Scott Burton > >>> Cc: Zope List > >>> Subject: Re: [Zope] more __len__ errors > >>> > >>> Scott, we're struggling with some catalog issues right now... I didn't > >>> see the traceback attached, but I assume it's a "len of unsized object" > >>> error. We'd be very interested in obtaining a setup where this problem > >>> was repeatable. > >>> > >>> Scott Burton wrote: > >>>> > >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple > >>>> of products that are catalog-aware and have been working. Then, out of > >>>> nowhere if I call I get a __len__ > >>>> error, when a few minutes before it worked. I looked at the undo list to > >>>> see > >>>> if I have done anything to cause it but could not find anything. I delete > >>>> the cataloged objects as well as the objects themselves and re-create them. > >>>> Same problem. Here is the TB: > >>>> > >>>> _______________________________________________ > >>>> 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 ) > >>> > >>> -- > >>> Chris McDonough > >>> Digital Creations, Publishers of Zope > >>> http://www.zope.org > >>> > >>> _______________________________________________ > >>> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From jleach@mail.ocis.net Sun Oct 29 00:49:44 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:49:44 -0700 (PDT) Subject: [Zope] Securing ftp. Message-ID: hi, I'd like to set up a ftp site so a specific client gets sent to a specific folder when they log in, and they can not back out of that folder. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From jleach@mail.ocis.net Sun Oct 29 00:50:19 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:50:19 -0700 (PDT) Subject: [Zope] Calander. In-Reply-To: <39F92370.41D9FF13@iswt.com> Message-ID: hi, Thanks. I'll look into it. j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Fri, 27 Oct 2000, Tim Cook wrote: > "Jason C. Leach" wrote: > > > > hi, > > > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > > page. Anyone seen a product like this hanging around. > > > > There is a ZCalendar tag. But the EventFolder is much more full > featured. > > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management | http://FreePM.org > Censorship: The reaction of the ignorant to freedom. > > From jleach@mail.ocis.net Sun Oct 29 00:55:25 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:55:25 -0700 (PDT) Subject: [Zope] load_sipe.py URL. Message-ID: hi, What does the load_site.py expect as a URL? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From Henny van der Linde" Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From kedai@kedai.com.my Sun Oct 29 03:50:48 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 29 Oct 2000 11:50:48 +0800 Subject: [Zope] more __len__ errors Message-ID: <003701c0415b$6d0be7a0$e62fbcca@kedai> -----Original Message----- From: Scott Burton To: Zope List Date: Sunday, October 29, 2000 3:28 AM Subject: Re: [Zope] more __len__ errors >I will see what I can do about the before and after snapshots. Then again, I >should probably just make the move to 2.2. Is there a way to use the same >objects created by ZDiscussions in my ZClass version of ZD as long as the >meta_types are the same? That way the change-over could be >transparent.(hopefully) i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2 by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py maybe you could give it a shot. this was mentioned a while back in the list. hth From verzani@postbox.csi.cuny.edu Sun Oct 29 04:46:56 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 28 Oct 2000 23:46:56 -0500 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames Message-ID: Hi, I'd like to use zope to serve static webpages created with MS Frontpage (and others of course). I was hoping that they could be ftpped into the ZODB and served up straight. However, a number of folders have underscores for leaading folder names and I've discovered this is a Zope no no. Is there some way short of renaming the offending folders to do this. (also I'm not keen on LocalFS solutions either.) Thanks for any help. -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From morten@esol.no Sun Oct 29 06:45:14 2000 From: morten@esol.no (Morten W. Petersen) Date: Sun, 29 Oct 2000 07:45:14 +0100 (CET) Subject: [Zope] problem installing login manager In-Reply-To: <000701c04159$c34be680$eca879c3@mshome.net> Message-ID: On Sun, 29 Oct 2000, Henny van der Linde wrote: [...] > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? You probably need to compile the DynPersist.c file into a shared library; it's located within the ZPatterns product, and this command line (or something similar) will probably compile it for you: """ gcc -O2 -o DynPersist.so -c DynPersist.c -I../../ZODB \ -I../../../Components/ExtensionClass -I/usr/include/python1.5 """ HTH. Regards, Morten From jason_zope@yahoo.com Sun Oct 29 06:51:29 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sat, 28 Oct 2000 23:51:29 -0700 (PDT) Subject: [Zope] problem installing login manager Message-ID: <20001029065129.19470.qmail@web4604.mail.yahoo.com> You need to compile the DynPersist.c file for ZPatters to work. put a "Makefile.pre.in" file in the ZPatterns directory. (there is one in the lib/python dir, but any should work) then do a "make -f Makefile.pre.in boot" and then a "make" in the ZPatterns directory. Then it should be OK. - Note: I also had to add an empty "help" directory in the PlugIns directory to keep it from complaining about registering with the help system. hope this helps Jason --- Henny van der Linde wrote: > Hi, > > I just installed Zope 2.2.2 and tried to install the > latest version of Login > Manager. > > It failed: > > LoginManager Import Traceback > Traceback (innermost last): > File "C:\Program > Files\WebSite22\lib\python\OFS\Application.py", line > 397, > in import_products > product=__import__(pname, global_dict, > global_dict, silly) > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\__init__.py", > line 1, in ? > import LoginManager, LoginMethods, UserSources > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", > line 8, > in ? > from Products.ZPatterns.Specialists import > Specialist > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", > line 1, in ? > import Rack, Specialists, Customizers, > AttributeProviders, > SheetProviders > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", > line 9, in ? > from DataSkins import DataSkin > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", > line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? > > Thanks > > > Henny van der Linde > > > _______________________________________________ > 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 ) > __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jason_zope@yahoo.com Sun Oct 29 07:13:49 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sun, 29 Oct 2000 00:13:49 -0700 (PDT) Subject: [Zope] LoginManager and standard_html_header Message-ID: <20001029071349.29678.qmail@web4601.mail.yahoo.com> LoginManager seems to append the standard_html_header to the logoutForm when authorization fails. This would normally be ok but the problem is that it uses the standard_html_header from the directory where the authorization fails and not from where the logoutForm is. Is there a way to fix this? I'm ending up with either the wrong header or multiple headers. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From sander@atp.nl Sun Oct 29 08:36:05 2000 From: sander@atp.nl (Alexander Verhaar) Date: Sun, 29 Oct 2000 09:36:05 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 Message-ID: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title Alexander Verhaar Website : http://www.atp.nl From faassen@vet.uu.nl Sun Oct 29 13:44:16 2000 From: faassen@vet.uu.nl (Martijn Faassen) Date: Sun, 29 Oct 2000 14:44:16 +0100 Subject: [Zope] Re: More ZFormulator In-Reply-To: <200010271852.NAA11508@mercury.spvi.com> References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> <200010271852.NAA11508@mercury.spvi.com> Message-ID: <20001029144416.A19622@vet.uu.nl> Hi folks, I hadn't seen the traffic on ZFormulator on this list before, and this looks like a good bugfix; I knew there was a security related problem in ZFormulator for a long time, and this may actually be the fix. I hadn't been able to look at it for months, though I keep intending to get back to it soon (but I may actually really be able to get to it soon :).a Steve Spicklemire wrote: > > Found it: > > line 312: Form.py should be: > > > __roles__ = ('Manager',) > From seb@jamkit.com Sun Oct 29 15:21:23 2000 From: seb@jamkit.com (Seb Bacon) Date: Sun, 29 Oct 2000 15:21:23 -0000 Subject: [Zope] product permissions problem In-Reply-To: <020001c03f7e$caa1bb80$fe5da182@michieltje> Message-ID: hello all once again, I've got a DTML method in a product, which calls objectValues('Folder') to list some folders that are contained within the product itself. When I try it out inside the product, it works. When I use it as part of the constructor form, called from an other location, I get an unauthorized error. objectValues('Image') doesn't throw the error, so I think this must be to do with the 'Access contents information' permission mapping on the folder inside the product. (?!) I've tried giving the method a Manager proxy role to no avail. Any hints received with gratitude. seb. From gregor@hoffleit.de Sat Oct 28 21:13:50 2000 From: gregor@hoffleit.de (Gregor Hoffleit) Date: Sat, 28 Oct 2000 22:13:50 +0200 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com>; from eileen@orbell.com on Mon, Oct 23, 2000 at 09:29:09PM -0400 References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <20001028221350.A27222@53b.hoffleit.de> On Mon, Oct 23, 2000 at 09:29:09PM -0400, Eileen Orbell wrote: > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost :-) Just have a look at /usr/share/doc/zope/README.Debian. A topic therein is "How to set up Zope for an existing web server (e.g. Apache)". Try if it works for you that way, and come back to me if you fail. Then it's my fault, since I wrote this file ;-) Gregor From diego@magicwebdesign.com.br Sun Oct 29 19:20:09 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Sun, 29 Oct 2000 17:20:09 -0200 Subject: [Zope] dtml-while Message-ID: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml? Thanks in advance... -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From chrism@digicool.com Sun Oct 29 19:44:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 29 Oct 2000 14:44:17 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <000201c041e1$25303fe0$4fc48ad0@kurtz> This is way too cool. :-) Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs folks were unfortunately not in attendance. Since it was a Friday, and since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido Jam": we all got a chance to poke at him with questions and such and vice versa. (Probably the thing I got a kick out of most in that session was Jim just sitting there grinning like a maniac - he's pretty pumped about having the PythonLabs team here now.) We talked about class/type distinctions and the possibility of removing them within Python, why acquisition is useful and some of its shortcomings, stackless Python, and other less esoteric things. Hopefully the newer members of DC (like me) will soon get a chance to meet the rest of the PythonLabs team face-to-face. - C ----- Original Message ----- From: "Andy McKay" To: Cc: Sent: Saturday, October 28, 2000 12:10 PM Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is great news for Zope... > > (well I think it is anyway) > > > -------- Original Message -------- > > Subject: PythonLabs Team Moves to Digital Creations > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > From: Guido van Rossum > > To: python-list@python.org (Python mailing > > list),python-announce-list@python.org, python-dev@python.org > > > > To all Python users and developers: > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > hope of finding a new permanent home for Python development. At > > BeOpen, we've done several good things for Python, such as moving the > > Python and Jython development process to SourceForge, and the > > successful release of Python 2.0. > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > out as hoped, and we weren't able to reach mutual agreement on > > workable alternative plans -- despite trying for months. > > > > I am proud to have found a new home for my entire team: starting > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > are working for Digital Creations. We will be spending part of our > > time on core Python development (including Jython and Mailman) and > > part of our time on Python infrastructure improvements that also > > benefit Zope. > > > > Python will remain Open Source; Digital Creations has no desire to > > monetize or brand the Python language or specific Python > > distributions. All future work we do on Python as Digital Creations > > employees will be owned by a non-profit organization yet to be > > created. We think of this new organization as the Python Software > > Foundation. In the meantime (while the PSF is under construction) I > > will own such copyrights personally. > > > > We're excited to be working for Digital Creations: they are one of the > > oldest companies active in the Python community, one of the companies > > most committed to Python, and they have a great product! Plus, we > > know they have deep financial backing. We trust that Digital > > Creations will provide a stable home for Python for many years. > > > > Digital Creations has also offered to take over hosting of the > > python.org and starship sites. On behalf of the Python community, > > we're grateful for this support of the two prime community sites for > > Python, and we expect to be implementing the transitions shortly. > > > > These are exciting times for the PythonLabs team -- and also for > > Python and its community. Mainstream successes for Python are showing > > up everywhere, and we're proud to be a part of such a smart and > > friendly community. A great year lies ahead! > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > -- > > http://www.python.org/mailman/listinfo/python-list > > > > _______________________________________________ > 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 ) > > From hohage@muenster.de Sun Oct 29 21:15:02 2000 From: hohage@muenster.de (hohage) Date: Sun, 29 Oct 2000 21:15:02 +0000 Subject: [Zope] dtml-while Message-ID: <39FBC567@muepubb> Hallo Diego, this works(tested): Bye Sven >===== Original Message From Diego Rodrigo Neufert ===== >Why there isnt a dtml-while function in Zope? >How to implement it with dtml? >how to do a simple while x != y in dtml? > >Thanks in advance... > >-- >--------------------------- >Diego Rodrigo Neufert >-webmaster >--------------------------- >(Magic Web Design) >(email) (diego@magicwebdesign.com.br) >(curitiba) (pr) > >_______________________________________________ >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 ) From michel@digicool.com Sun Oct 29 20:37:46 2000 From: michel@digicool.com (Michel Pelletier) Date: Sun, 29 Oct 2000 12:37:46 -0800 Subject: [Zope] dtml-while References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <39FC8A9A.D2039244@digicool.com> Diego Rodrigo Neufert wrote: > > Why there isnt a dtml-while function in Zope? DTML is not meant to be used for general purpose, logic programming. It's a presentation and layout language. Additionally, a while construct would allow you to create indeterminate loops: ... and you're not allowed to loop indefinately in DTML. It's against the rules. does all the looping you need over a python sequence, since DTML doesn't let you build infinite sequences, all loops terminate. The solution to your problem is to you Python Methods. http://dev.zope.org/Members/4am/PythonMethod Python does have a while construct and is indented for programming logic. -Michel From steve@spvi.com Sun Oct 29 20:51:02 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 15:51:02 -0500 (EST) Subject: [Zope] dtml-while In-Reply-To: <0010291722010S.29903@belzebu.magicwebdesign.com.br> (message from Diego Rodrigo Neufert on Sun, 29 Oct 2000 17:20:09 -0200) References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <200010292051.PAA23035@mercury.spvi.com> Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like it's looping over a list of objects... one easy trick might be: Do something conditional.... Assuming you can specify an upper limit on the number of iterations required. -steve >>>>> "Diego" == Diego Rodrigo Neufert writes: Diego> Why there isnt a dtml-while function in Zope? How to Diego> implement it with dtml? how to do a simple while x != y in Diego> dtml? Diego> Thanks in advance... Diego> -- --------------------------- Diego Rodrigo Neufert Diego> -webmaster --------------------------- (Magic Web Design) Diego> (email) (diego@magicwebdesign.com.br) (curitiba) (pr) Diego> _______________________________________________ Zope Diego> maillist - Zope@zope.org Diego> http://lists.zope.org/mailman/listinfo/zope ** No cross Diego> posts or HTML encoding! ** (Related lists - Diego> http://lists.zope.org/mailman/listinfo/zope-announce Diego> http://lists.zope.org/mailman/listinfo/zope-dev ) From peter@grenna.net Sun Oct 29 21:56:01 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 29 Oct 2000 21:56:01 -0000 Subject: [Zope] None-debug mode on win2k Message-ID: <000901c041f3$0798d9d0$2a69fea9@peppe> Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. From jleach@mail.ocis.net Sun Oct 29 22:13:35 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 14:13:35 -0800 (PST) Subject: [Zope] Get file contents. Message-ID: hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From curtis@cardgate.net Sun Oct 29 22:50:16 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 30 Oct 2000 09:50:16 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: <0010261247490E.00650@localhost.localdomain> Message-ID: <00103009501610.00650@localhost.localdomain> On Thu, 26 Oct 2000, Toby Dickenson wrote: > >> Hi all > >> > >> Is anyone using or know the current state of Zope with python 2.0 ? > > > >I've been somewhat curious about this myself. > > The current release of Zope works well on python 2.0. If you are a > cautious type, you might not want to use it on a production server > yet. (I would certainly recommend you dont if you allow untrusted > users to write dtml) > Hmm.. well, that's good to know... which products have you tried it with so far? > >Will there need to be large changes now that strings are proper objects? > > (the string functions are now methods of strings). If so, will this mean > > the phasing out of _.string ? > > _.string is unlikely to go away. > > String methods are currently inaccessible TTW. The security > implications of opening this up have not yet been assessed. > > >And from the looks of things there are a large number of small changes > > that could be made to improve performance (such as the new 'augmented > > assignment' operators [ += *= /= and so on] ).... > > It seems likely that they will not be available in dtml (for the same > reasons as regular assignment). The case for PythonMethods has not yet > been investigated > I didn't mean to dtml, I meant to all the Python code underneath. I'm sure you've noticed there is a lot more to Zope than just DTML and Python methods. > > Toby Dickenson > tdickenson@geminidataloggers.com > Have a better one, Curtis Maloney. From steve@spvi.com Sun Oct 29 22:56:41 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 17:56:41 -0500 (EST) Subject: [Zope] Get file contents. In-Reply-To: (jleach@mail.ocis.net) References: Message-ID: <200010292256.RAA23696@mercury.spvi.com> Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this.... -steve ---------------------------------------------------------------------- # # ReadFile is an external method that reads data from a file uploaded from # the users computer and produces a TinyTable based on that data. # import string def ReadFile(self, infile, # input file..... outTableName='defaultTable', # name of output table outTableTitle='', # title of output table outTableColumns='', # columns for output table REQUEST=None, # Pass in REQUEST.... RESPONSE=None): # and response... if not hasattr(self, outTableName): self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) newTT = getattr(self, outTableName) newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) data = infile.read() data = string.replace(data,'\r','\n') data = string.replace(data,'\n\n','\n') lines = string.split(data,'\n') newLines = [] for i in range(len(lines)): line = string.strip(lines[i]) if line: sl = string.split(line,',') sl = map(lambda x:'"%s"' % x, sl) newLines.append(string.join(sl,',')) data = string.join(newLines, '\n') return newTT.manage_editData( data, REQUEST ) def main(): class foo: def manage_addTinyTable(self, *args, **kwargs): pass def manage_edit(self, *args, **kwargs): pass def manage_editData(self, data, REQUEST): print "In manage_editDdata" print data import StringIO f = StringIO.StringIO() f.write('a,b,c,d\n') f.write('d,e,f,g\n') f.seek(0) print f.read() f.seek(0) rf = foo() rf.defaultTable = foo() ReadFile(rf, f) if __name__=='__main__': main() >>>>> "Jason" == Jason C Leach writes: Jason> hi, Jason> I pass a zope file object (just plane text) to an external Jason> method. The file consists of a list of lines of text. I'd Jason> like to extract those lines from the file and put 'em in a Jason> list. Can anyone help with the extraction method? Jason> Thanks, j. Jason> ...................... ..... Jason C. Leach ... University Jason> College of the Cariboo. .. Jason> _______________________________________________ Zope Jason> maillist - Zope@zope.org Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross Jason> posts or HTML encoding! ** (Related lists - Jason> http://lists.zope.org/mailman/listinfo/zope-announce Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) From phil.harris@zope.co.uk Sat Oct 28 23:10:47 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:10:47 +0100 Subject: [Zope] None-debug mode on win2k References: <000901c041f3$0798d9d0$2a69fea9@peppe> Message-ID: <004901c0412c$099c2b50$0202a8c0@typhoon> Peter, When running Zope as a service you can add the parameter by using regedit, goto: hkey_local_machine\system\currentcontrolset\services\zope\parameters. The problem is though that the console window is hidden by default, but you have two options. 1. the easy way. run Zope by double-clicking on the start.bat file in your Zope folder. 2. the hard way. let the service interact with the desktop. You can do this by going to the services manager and double clicking on the the zope service, then on the log-on tab and changing the option 'allow service to interact with desktop'. I'm not sure how the second option works when no-one is logged though. hth Phil ----- Original Message ----- From: "Peter Bengtsson" To: Sent: Sunday, October 29, 2000 10:56 PM Subject: [Zope] None-debug mode on win2k | Zopistas, | | I have searched the mailinglist and look under the carpets and READMEs. | Maybe I'm just blind but how do I run Zope in none-debug mode ?? | In other words; how do I add the -D param? | | I run Zope2.2.2 on a win2k pro as a service. | | | | _______________________________________________ | 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 ) From Henny van der Linde" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I just installed Zope 2.2.2 and tried to install the latest version of = Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line = 397, in import_products product=3D__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, = in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line = 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program = Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in = ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

I just installed Zope 2.2.2 and tried to install the = latest=20 version of Login
Manager.

It failed:

LoginManager = Import=20 Traceback
Traceback (innermost last):
  File "C:\Program=20 Files\WebSite22\lib\python\OFS\Application.py", line 397,
in=20 import_products
    product=3D__import__(pname, = global_dict,=20 global_dict, silly)
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.= py",=20 line 1, in ?
    import LoginManager, LoginMethods,=20 UserSources
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginMana= ger.py",=20 line 8,
in ?
    from = Products.ZPatterns.Specialists import=20 Specialist
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py"= , line=20 1, in ?
    import Rack, Specialists, Customizers,=20 AttributeProviders,
SheetProviders
  File "C:\Program=20 Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in=20 ?
    from DataSkins import DataSkin
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py= ", line=20 1, in ?
    from DynPersist import = DynPersist
ImportError:=20 No module named DynPersist

What 's=20 happening?

Thanks


Henny van der = Linde
------=_NextPart_000_0013_01C04208.1E3C1700-- From phil.harris@zope.co.uk Sat Oct 28 23:58:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:58:03 +0100 Subject: [Zope] problem installing login manager References: <001601c041ff$bdc5d9e0$0aaa79c3@mshome.net> Message-ID: <006e01c04132$882c2aa0$0202a8c0@typhoon> Henny, You also need the ZPatterns product, which you then have to compile to get the dynpersist.pyd file. hth Phil ----- Original Message ----- From: Henny van der Linde To: Zope mailing list Sent: Monday, October 30, 2000 12:27 AM Subject: [Zope] problem installing login manager Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From vtwiddy@senet.com.au Mon Oct 30 00:13:16 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Mon, 30 Oct 2000 10:43:16 +1030 (CST) Subject: [Zope] PoPy Message-ID: Hi all Im trying to compile PoPy on a bsd 3.1 box it compiles fine but when i try to import it i get an error ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Has anybody had this before, know what libs i need to link against to get this to work or even if this is a kernel thing? Thanks Mark From Vincent - D. Ertner" Hi Zope, I wondered, whether it's possible and sensible to have php-Pages in Zope sites ... any thoughts and comments on this matter? Cheers, Vince ''' ô¿ô - From jleach@mail.ocis.net Mon Oct 30 01:56:31 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 17:56:31 -0800 (PST) Subject: [Zope] Get file contents. In-Reply-To: <200010292256.RAA23696@mercury.spvi.com> Message-ID: hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you method I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: manage_addTinyTable It would probably bail on the read also if it got that far. Perhaps I am caling it wrong, or not pasing the correct object. I jest pass in a Zope File opject, which hapens to be a few lines of text. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > Hi Jason, > > Here's an external method that I've used to populate a TinyTable > from a comma separated text file. You might at least get some ideas > about how to extract stuff from the file using this.... > > -steve > > ---------------------------------------------------------------------- > > # > # ReadFile is an external method that reads data from a file uploaded from > # the users computer and produces a TinyTable based on that data. > # > > import string > > def ReadFile(self, > infile, # input file..... > outTableName='defaultTable', # name of output table > outTableTitle='', # title of output table > outTableColumns='', # columns for output table > REQUEST=None, # Pass in REQUEST.... > RESPONSE=None): # and response... > > if not hasattr(self, outTableName): > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > newTT = getattr(self, outTableName) > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > data = infile.read() > data = string.replace(data,'\r','\n') > data = string.replace(data,'\n\n','\n') > lines = string.split(data,'\n') > newLines = [] > for i in range(len(lines)): > line = string.strip(lines[i]) > if line: > sl = string.split(line,',') > sl = map(lambda x:'"%s"' % x, sl) > newLines.append(string.join(sl,',')) > > data = string.join(newLines, '\n') > > return newTT.manage_editData( data, REQUEST ) > > > def main(): > class foo: > > def manage_addTinyTable(self, *args, **kwargs): > pass > > def manage_edit(self, *args, **kwargs): > pass > > def manage_editData(self, data, REQUEST): > print "In manage_editDdata" > print data > > import StringIO > > f = StringIO.StringIO() > f.write('a,b,c,d\n') > f.write('d,e,f,g\n') > f.seek(0) > > print f.read() > f.seek(0) > > rf = foo() > rf.defaultTable = foo() > > ReadFile(rf, f) > > if __name__=='__main__': > > main() > > >>>>> "Jason" == Jason C Leach writes: > > Jason> hi, > > Jason> I pass a zope file object (just plane text) to an external > Jason> method. The file consists of a list of lines of text. I'd > Jason> like to extract those lines from the file and put 'em in a > Jason> list. Can anyone help with the extraction method? > > Jason> Thanks, j. > > Jason> ...................... ..... Jason C. Leach ... University > Jason> College of the Cariboo. .. > > > Jason> _______________________________________________ Zope > Jason> maillist - Zope@zope.org > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jason> posts or HTML encoding! ** (Related lists - > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From Henny van der Linde" <006e01c04132$882c2aa0$0202a8c0@typhoon> Message-ID: <000901c04216$0eb60ee0$0100a8c0@mshome.net> Hi, ----- Original Message ----- From: "Phil Harris" To: "Henny van der Linde" ; "Zope mailing list" Sent: Saturday, October 28, 2000 11:58 PM Subject: Re: [Zope] problem installing login manager > Henny, > > You also need the ZPatterns product, which you then have to compile to get > the dynpersist.pyd file. > > hth > I know. It's included in the latest install of Login Manager (Zpatterns 0-4.3b1). The funny thing is that Zpatterns shows itself in the control panel/product management as installed product and Login Manager as an broken product. However when Zope boots up it also mentiones that it can't import the dynpersist.pyd file (belonging to Zpatterns). Interesting question is why Zpatterns isn't listed as a broken product as well. I tried to install the separate Zpatterns install but with the same results. Still a problem with dynpersist.pyd. Anyone? cheers, Henny van der Linde. From jleach@mail.ocis.net Mon Oct 30 04:35:24 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 20:35:24 -0800 (PST) Subject: [Zope] Displaying Folder Contents. Message-ID: hi, If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From askart@bellatlantic.net Mon Oct 30 04:40:27 2000 From: askart@bellatlantic.net (askart@bellatlantic.net) Date: Sun, 29 Oct 2000 23:40:27 -0500 Subject: [Zope] ssl w/ modrewrite Message-ID: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> I found the answear to this this a year ago, but can no longer find where I found it. I have a Zope site set up with modrewrite and apache so that Zope shows up as the root of the site: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*) /home/httpd/cgi-bin/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] (I know the format is wrong, this email client added carriage returns, but it works as typed in the server withour CRs.) I added modssl, but when I go in on an https I get the original apache root page, and can only access zope at https://address/cgi-bin/Zope . Furthermore, since the SSL connection is not going through modrewrite I cannot log in over SSL, I can just view the pages that anonymous has access to (none). How do I modify the above to make it work with ssl connections (it does not need to work with non-ssl connection since I will disable non-ssl as soon as I get ssl working. Sorry this is a little incoherant, I am suffering from jet-lag. -Harry From phd@mail2.phd.pp.ru Mon Oct 30 09:40:41 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Mon, 30 Oct 2000 09:40:41 +0000 (GMT) Subject: [Zope] load_site.py URL. In-Reply-To: Message-ID: On Sat, 28 Oct 2000, Jason C. Leach wrote: > What does the load_site.py expect as a URL? URL to a Zope folder, where you wnat to upload your files/directories. the folder should exists before you start load_site.py. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From grund@zblmath.FIZ-Karlsruhe.DE Mon Oct 30 09:41:21 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Mon, 30 Oct 2000 10:41:21 +0100 Subject: [Zope] Verify Watermark. Message-ID: <00103010455300.30611@donald> In Zope2.1.6 there was a function called 'verify watermark' in module Accesscontrol.User. This function seems to have gone in the 2.2.2 release. My question: Is there any direct replacement for this method ? Or at least a some kind of equivalent code ? thanks in advance, Hannes From maxmcorp@worldonline.dk Mon Oct 30 10:09:22 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 11:09:22 +0100 Subject: [Zope] Displaying Folder Contents. In-Reply-To: Message-ID: If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Maybe this will work??? Untested. Regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrisw@nipltd.com Mon Oct 30 10:50:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:50:23 +0000 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Message-ID: <39FD526F.DAF94274@nipltd.com> Henny van der Linde wrote: > Thanks. I already thought about using Loginmanager but we still use Zope > 2.1.6. Why? ;-) > I'm very commited, to and happy with Zope but I was amazed that you can't > trap Unauthorized exception like that. I'ts seems such a basic > functionality. Yeah, I totally agree :-S cheers, Chris From chrisw@nipltd.com Mon Oct 30 10:56:37 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:56:37 +0000 Subject: [Zope] Forbidding overrides? References: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Message-ID: <39FD53E5.F3DF872A@nipltd.com> Cees de Groot wrote: > > Something I remember from my early Zope days that could be solved, but I > can't seem to find an answer: say I have a simple site where people can > do simple things within their folder. However, I want my banners/logo > whatever on their pages, so I've setup index_html to put my own stuff > in and include their body_text. I'd to this using a SiteAccess Access Rule that always wraps their stuff in whatever you want. You'll probably need to use the traversal interface's RestrictedTraverse method too... > How can I prevent smartasses from creating index_html documents in their > folder? More generally, is it possible to disallow certain folder methods > or properties to be overriden from a point in the tree? Look at the __replaceable__ properties stuff on dev.zope.org. I guess you could roll your own folder with a list of attributes that could only be defined as singletons (__replaceable__ = UNIQUE). Just stabs in the dark... Chris PS: Banners as advertising don't work ;-) From chrisw@nipltd.com Mon Oct 30 11:40:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:40:04 +0000 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> Message-ID: <39FD5E14.8F72BB9E@nipltd.com> Jimmie Houchin wrote: > I know because I will be developing and changing files in these > directories but not via CVS that CVS will probably complain about the > changes. Is this a problem? Depends, if you're changing Zope source files, then you may get some merge conflicts, but there shouldn't be any real problems. If you edit/add file which aren't stored in cvs.zope.org, CVS will just ignore them, it's good like that ;-) > I will also be wanting to use the CVS of other Zope items like the PTK. > Does this impact this in any way? Just checkout the PTK/whatever to the appropriate bit of the Zope tree. IIRC, the PTK CVS structure isnt' conducive to doing this, though, which could be a pain :-( HTH, Chris From chrisw@nipltd.com Mon Oct 30 11:41:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:41:04 +0000 Subject: [Zope] Securing ftp. References: Message-ID: <39FD5E50.B10523BF@nipltd.com> "Jason C. Leach" wrote: > > I'd like to set up a ftp site so a specific client gets sent to a specific > folder when they log in, and they can not back out of that folder. That's not actually a question ;-) You might be able to do something usful with a SiteAccess Access Rule... cheers, Chris From chrisw@nipltd.com Mon Oct 30 11:48:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:48:06 +0000 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames References: Message-ID: <39FD5FF6.A8B62A7E@nipltd.com> John Verzani wrote: > Is there some way short of renaming the > offending folders to do this. (also I'm not keen on LocalFS solutions > either.) You will probably need to rename them. LocalFS sounds like your best bet, what have you got against it? ;-) That said, even with LocalFS, you'll probably find yourself needing to rename folders... cheers, Chris From steinar@orion.no Mon Oct 30 12:41:07 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Mon, 30 Oct 2000 13:41:07 +0100 Subject: [Zope] Multiple Inheritance and the Portal Base classes. Message-ID: <512D0F74D69DD311B23A0000E22298D224BD48@mail.orion.no> Can anybody see why I get the following error ? I try to subclass DemoPortalBase and PortalObjectBase into a class CMyPortalBase which I again subclass with a Zope ZClass. It all works fine until I add another class in the inheritance list of CMyPortalBase.When I try to call its __init__ method with the "self" argument if does not recognise this as the instance variable ? (I tries to print self, and it says that this is an instance of my ZClass). In other Python programs, calling Parent.__init__(self) works fine, but when running through Zope in this context Error Type: TypeError Error Value: unbound method must be called with class instance 1st argument class CMyPortalBase(TemplatePage.CTemplatePage,Portal.DemoPortalBase, PortalObject.PortalObjectBase): def __init__(self): TemplatePage.CTemplatePage.__init__(self) The CTemplatePage class is as follows : class CTemplatePage: standard_html_header = Globals.HTMLFile("StandardHeader", globals()) standard_html_footer = Globals.HTMLFile("StandardFooter", globals()) def __init__(self): print "In CTemplatePage" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From jonathan@home-all.org.uk Mon Oct 30 12:48:02 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 30 Oct 2000 12:48:02 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check Message-ID: <39FD6E02.7466D204@home-all.org.uk> Hi all, just a bit further down my vhosting journey ... got apache ProxyPassing and siteaccess installed but something is missing. I type in my vhosted domain www.red.com which (correctly) goes straight to /red and shows the index_html contents *except* images which show broken. The source shows that they (correctly) are trying to load from www.red.com/imagename which is right. This image is in /red along with the index_html. Also the one link to a dtml document in the /red directory is also broken. If I suppress siteaccess then everthing works from the initial www.red.com but only because the links and images are loading from the 'master site url'. you can click but then the url obviously gives the game away. so proxypass works. What I dont get is why I can see the body text in index_html, which lays out the page but not the image embedded in the page? my various settings ... NameVirtualHost 111.222.333.444 ServerName www.red.com ProxyPass / http://www.blue.com:8080/red ProxyPassReverse / http://www.blue.com:8080/red then in /red we have a siteroot with the following title: base: http://www.red.com path: / www.blue.com and www.red.com both point to 111.222.333.444 and the box also has the www.blue.com as its host name which zope recognises on start iup. a bit stuck. Jonathan From luca@lineanet.net Mon Oct 30 14:13:41 2000 From: luca@lineanet.net (Luca Mearelli) Date: Mon, 30 Oct 2000 15:13:41 +0100 Subject: [Zope] Login Manager problem Message-ID: <39FD8215.CC46A670@lineanet.net> This is a multi-part message in MIME format. --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I posted this some days ago on zope-ptk and zope-dev mailing list, but got no response, so I thought I've sent it to the wrong mailing list, here is waht happens, and a possible solution :-) I had a strange problem when trying out LoginManager v0.8.8b1 with the latest cvs Checkout (as of Oct.23), here is the traceback trying to add a LoginManager (The form didn't show up): Error Type: NameError Error Value: path ... Traceback (innermost last): File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/tmp/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/tmp/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: addLoginManager) (Info: /usr/local/tmp/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: UserSourcesMetaTypes(this())) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: UserSourcesMetaTypes(this())) (Info: UserSourcesMetaTypes) File /usr/local/tmp/Zope2/lib/python/ZPublisher/HTTPRequest.py, line 772, in __getitem__ NameError: (see above) after looking at the LM code I found that the manage_addLoginManagerForm is defined in LoginManager.py: ... manage_addLoginManagerForm = HTMLFile('addLoginManager', globals(), UserSourcesMetaTypes = PlugInFinder(LoginManager.UserSourcesGroup), LoginMethodsMetaTypes = PlugInFinder(LoginManager.LoginMethodsGroup)) ... At first I thought it could have been a LM problem, removing UserSourcesMetaTypes(this()) let the form appear, but when I focused on the UserSourcesMetaTypes work, and how the user sources PlugIns get installed I found nothing (It was actually my first test with LM & ZPatterns), moreover there was no mention of such problems by anyone else on the Mailing Lists. Then I tried to it on a Zope 2.2.0 (released) and it worked fine adding the LM. So it should have been something with my Zope CVS checkout, when looked at the HTTPRequest.py file at the line shown in the Traceback, i found a possible error with "__getitem__" When it tries to return the value of UserSourcesMetaTypes, it enters the "if key[:1]=='U':" at line 760 since UserSourcesMetaTypes starts with 'U', but match is empty, therefore path is not initialized and at the line 772 we have the NameError. Putting the lines 772-774 inside the "if match is not None:" fixed the problem (I included a diff for this), is it the right way to go, is it enough? I think so but I have a small knowledge of Zope internals so I'm not completely sure i.e. if we want to match only the env.variables starting with "URL" why not even change the "if key[:1]=='U':" into "if key[:3]=='URL':"? Thanks Luca Mearelli --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii; name="HTTPRequest.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="HTTPRequest.patch" *** HTTPRequest.py Mon Oct 23 15:32:09 2000 --- HTTPRequest.py.OLD Mon Oct 23 14:55:51 2000 *************** *** 769,777 **** path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --- 769,777 ---- path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --------------202347DD27BC2204E10B5913-- From stefan@epy.co.at Mon Oct 30 13:18:56 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 30 Oct 2000 14:18:56 +0100 (CET) Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 In-Reply-To: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> Message-ID: On Sun, 29 Oct 2000, Alexander Verhaar wrote: > I'm trying to change the standard realm with SiteAccess and a > External Method. I still get the standard 'Zope' realm, while > SiteAccess is pointing to the External Method. What am i doing > wrong? > > Here below the external method i used: > > import ZPublisher.HTTPResponse > > def NewRealm(self): > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet # or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan From zarir@cygnetsoft.com Mon Oct 30 13:00:21 2000 From: zarir@cygnetsoft.com (zarir@cygnetsoft.com) Date: Mon, 30 Oct 2000 18:30:21 +0530 (IST) Subject: [Zope] Off-shore development Message-ID: <200010301300.SAA12610@giaspn01.vsnl.net.in> Hi Digital Creations, We are a software development company based in Pune - India whose experienced skill sets might be able to assist your on-going development efforts. Needless to say our high productivity and cost effectiveness are value additions that could prove invaluable to your operations. Please do contact us if you feel we might be able to assist in any way. Regards and have a wonderful day Zarir M. Karbhari (Managing Director - CygNET Systems Pvt. Ltd.) http://www.cygnetsoft.com Voice :- +91-20-6134980,+91-20-6125365 From roland.schaetzle@adviion.de Mon Oct 30 14:07:41 2000 From: roland.schaetzle@adviion.de (=?iso-8859-1?Q?Roland_Sch=E4tzle?=) Date: Mon, 30 Oct 2000 15:07:41 +0100 Subject: [Zope] Re: ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT Message-ID: > I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually with the > start.bat my ZSQL methods work fine. > When I start Zope as a service, every ZSQL method returns a SQL error that states that the table I > am looking for does not exist. > Anybody out there know what's going on? > Thanks I had the same problems. They disappeard when I changed the settings of the Zope-service and allowed it to "interact with the desktop" (a check-box in the NT service settings). Roland ------------------------------------------------------------------------ Dr. Roland Schätzle, Institut AIFB, Universität Karlsruhe (TH) Englerstr. 11, Raum -121, Tel. 0721/608-7467 From sander@atp.nl Mon Oct 30 14:22:41 2000 From: sander@atp.nl (Alexander Verhaar) Date: Mon, 30 Oct 2000 15:22:41 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 References: Message-ID: <01c901c0427c$dcf49bd0$0c01a8c0@sanderw2k> --- In zope@egroups.com, "Stefan H. Holek" wrote: > On Sun, 29 Oct 2000, Alexander Verhaar wrote: > > > I'm trying to change the standard realm with SiteAccess and a > > External Method. I still get the standard 'Zope' realm, while > > SiteAccess is pointing to the External Method. What am i doing > > wrong? > > > > Here below the external method i used: > > > > import ZPublisher.HTTPResponse > > > > def NewRealm(self): > > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title > > I was unable to make it work that way either. However this *did* work > for me: > > edit your start script to include > > Z_REALM=Intranet # or whatever it is you need > export Z_REALM > > somewhere before the exec > > HTH, > Stefan > > Hmmm, this is the way i'm using it now. But if you hosts multiple sites, they all get the same realm. Also after debugging our Zope site i discovered that ZPublisher.Publish sets the realm before the ZPublisher.HTTPResponse. From brian@digicool.com Mon Oct 30 14:33:20 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 30 Oct 2000 09:33:20 -0500 Subject: [Zope] Verify Watermark. In-Reply-To: <00103010455300.30611@donald> Message-ID: > In Zope2.1.6 there was a function called 'verify watermark' in module > Accesscontrol.User. > > This function seems to have gone in the 2.2.2 release. > My question: Is there any direct replacement for this method ? > Or at least a some kind of equivalent code ? verify_watermark was an interim step in dealing with some security things that have since been superceded by the new SecurityPolicy architecture (see: http://www.zope.org/Members/michel/Projects/Interfaces/SecurityPolicies You shouldn't need verify_watermark in post-2.1.6 code. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From jhouchin@texoma.net Mon Oct 30 14:37:15 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:15 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD879B.42A9CC50@texoma.net> Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) > > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( > > HTH, > > 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 ) From jhouchin@texoma.net Mon Oct 30 14:37:33 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:33 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD87AD.94410D5E@texoma.net> Thanks for the reply. Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) As far as I know the only files I'll be adding or editing will be my own Python files, Products, and the ZODBs. If it'll just ignore them or maybe complain and then ignore, I'll be fine. For an experiment once, I added a file and then did an update. It complained about a file not be added thru CVS or something as such. I just wanted to make sure when ZODB changes and such it wouldn't be a problem. > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( Are you saying checkout the PTK into the directory in which it should be installed in the Zope installation rather than into the ZopePTK directory that it defaults to? I was thinking from reading some of the PTK list that this isn't painless. Maybe this can be improved when it reaches release status. > HTH, Yes, and thanks. > > Chris Jimmie Houchihn From brocken22@gmx.de Mon Oct 30 14:49:37 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 30 Oct 2000 15:49:37 +0100 (MET) Subject: [Zope] Zope.org Message-ID: <22012.972917377@www28.gmx.net> Hallo, have I missed something or why are there no news on the website.The last item was from the 18th of October.Also the mailing-list is not really busy.Any reason? -- Sent through GMX FreeMail - http://www.gmx.net From ghaley@venaca.com Mon Oct 30 14:52:06 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 30 Oct 2000 09:52:06 -0500 Subject: [Zope] PHP-Pages References: <60469395515.20001030021949@eec.de> Message-ID: <39FD8B16.37B16457@venaca.com> hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From peter@grenna.net Mon Oct 30 15:26:11 2000 From: peter@grenna.net (peter bengtsson) Date: Mon, 30 Oct 2000 15:26:11 -0000 Subject: [Zope] PHP-Pages In-Reply-To: <39FD8B16.37B16457@venaca.com> Message-ID: I have also been able to do almost everything I do in PHP in Zope, just like yourself. One of the major problems with Zope is its lack of developers, this is not true for Perl or PHP. Not to bothered but "larger" companies might be. I haven't tested the available PHP How-Tos; is it possible to use it just like a Python- or Perl Method object?? Would be really useful if true. hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From chrism@digicool.com Mon Oct 30 15:56:12 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 10:56:12 -0500 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: Message-ID: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Hi, Don't know. :-) How won't Zope start? What does it do? Just return and not spit an error? Let's take this to the Zope mail list if you don't mind (I've cc'ed it). ----- Original Message ----- From: Rudd-O DragonFear To: DC Support List Cc: support@digicool.com Sent: Monday, October 30, 2000 10:21 AM Subject: [Support] ZSybaseDA 2.00b2 Hey, I've been having some kind of problems with this DA. Compiling and loading (importing) sy_occ in python works perfectly. But zope won't start and won't say anything in the console or in the logs. what could it be? thanks in advance, Manuel From webmaven@lvcm.com Mon Oct 30 15:50:16 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 07:50:16 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> Message-ID: <39FD98B8.17034247@lvcm.com> Jonathan Cheyne wrote: > > my various settings ... > > NameVirtualHost 111.222.333.444 > > > ServerName www.red.com > ProxyPass / http://www.blue.com:8080/red > ProxyPassReverse / http://www.blue.com:8080/red > > > then in /red we have a siteroot with the following > > title: > base: http://www.red.com > path: / Jonathan, Do you have an Access Rule set up in your root Zope Folder? Michael Bernstein. From bill@carbonecho.com Mon Oct 30 16:10:51 2000 From: bill@carbonecho.com (Bill Welch) Date: Mon, 30 Oct 2000 16:10:51 +0000 (GMT) Subject: [Zope] ssl w/ modrewrite In-Reply-To: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: Please say what Port, Listen, and VirtualHost directives you have in place. I think that's really where the trouble. On Sun, 29 Oct 2000 askart@impop.bellatlantic.net wrote: > but it works as typed in the server withour CRs.) I added modssl, but > when I go in on an https I get the original apache root page, and can > only access zope at https://address/cgi-bin/Zope . Furthermore, since From grizel@mouli.net Mon Oct 30 16:24:44 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Mon, 30 Oct 2000 17:24:44 +0100 Subject: [Zope] Publish.py / publish hack Message-ID: <39FDA0CC.11432C1D@mouli.net> Hi, I'm using Zope 2.2.2 and for some personal reasons I need to patch the publish function from Publish.py. I used the usual __init__.py straegy to patch ZPublisher : from MyModule import Mypublish import ZPublisher.Publish from ImageFile import ImageFile # Patch the original publish function ZPublisher.Publish.publish = Mypublish But the fact is, publish is called several times at several places in the source code, and especially from the publish_module function when an exception is raised... And, although my patch works most of the times, it doesn't work when an exception is raised. I may need to replace another 'publish' reference somewhere, but does anyone know WHERE exactly ?? Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From ajohnston@nc.rr.com Mon Oct 30 16:24:34 2000 From: ajohnston@nc.rr.com (Alan Johnston) Date: Mon, 30 Oct 2000 11:24:34 -0500 Subject: [Zope] How to display PDF files Message-ID: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> I installed Zope for purposes of evaluation last week. I've been through the tutorial so I have minimal knowledge. One (apparently simple) thing I cannot find a way to do is link to a PDF file. I believe that everything ZServer serves up must come from the Zope Object Database (right? wrong?). At any rate, how do you get ZServer to send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in can display it? I tried creating 'File' and 'Image' objects. That's obviously not it. Forgive me, for I fear this is a dumb question ... but I just can't find the answer. Thanks, Alan From ckucera@globalcrossing.com Mon Oct 30 16:33:14 2000 From: ckucera@globalcrossing.com (Christopher J. Kucera) Date: Mon, 30 Oct 2000 10:33:14 -0600 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDA2CA.3A4C1F9D@globalcrossing.com> Alan Johnston wrote: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. Actually, "File" should be okay . . . Just click on "Browse" and select the PDF from your hard drive, and it will upload the PDF into ZODB and spit it back out properly . . . -CJ From Jerry.Spicklemire@IFLYATA.COM Mon Oct 30 16:39:04 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 30 Oct 2000 11:39:04 -0500 Subject: [Zope] reload ? Message-ID: <977A39E65CFCD3119ABF00D0B741D84973392F@innt-73.ata.com> Luc wonders: > is it possible to reload only a without reloading an = > entire page ??????????? > if yes, how?? The short answer is no. That is, unless you are willing to set up some sort of Java RMI process, or other complex solution, and pray that your audience has downloaded and enable, or at least hasn't turned off the required services. On the other hand, there may be a simple way to meet your needs. You could borrow an idea from those annoying Web Sites that pop up "little windows" in addition to the main page that you thought you were linking to. By separating the item you want to be refreshed so that it displays in its own browser window, and setting a metatag in that page specifying a short refresh period, the contents of that window will be reloaded independent of the "main" window. Later, Jerry S. From andym@ActiveState.com Mon Oct 30 17:15:39 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:15:39 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <01e601c04295$06cb9720$ae03a8c0@fork> Now I have to know, whats a "Jam Session"? ----- Original Message ----- From: "Chris McDonough" To: "Andy McKay" Cc: Sent: Sunday, October 29, 2000 11:44 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is way too cool. :-) > > Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs > folks were unfortunately not in attendance. Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. (Probably the thing I got a kick out of most in that session was Jim > just sitting there grinning like a maniac - he's pretty pumped about having > the PythonLabs team here now.) > > We talked about class/type distinctions and the possibility of removing them > within Python, why acquisition is useful and some of its shortcomings, > stackless Python, and other less esoteric things. Hopefully the newer > members of DC (like me) will soon get a chance to meet the rest of the > PythonLabs team face-to-face. > > - C > > ----- Original Message ----- > From: "Andy McKay" > To: > Cc: > Sent: Saturday, October 28, 2000 12:10 PM > Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > This is great news for Zope... > > > > (well I think it is anyway) > > > > > -------- Original Message -------- > > > Subject: PythonLabs Team Moves to Digital Creations > > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > > From: Guido van Rossum > > > To: python-list@python.org (Python mailing > > > list),python-announce-list@python.org, python-dev@python.org > > > > > > To all Python users and developers: > > > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > > hope of finding a new permanent home for Python development. At > > > BeOpen, we've done several good things for Python, such as moving the > > > Python and Jython development process to SourceForge, and the > > > successful release of Python 2.0. > > > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > > out as hoped, and we weren't able to reach mutual agreement on > > > workable alternative plans -- despite trying for months. > > > > > > I am proud to have found a new home for my entire team: starting > > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > > are working for Digital Creations. We will be spending part of our > > > time on core Python development (including Jython and Mailman) and > > > part of our time on Python infrastructure improvements that also > > > benefit Zope. > > > > > > Python will remain Open Source; Digital Creations has no desire to > > > monetize or brand the Python language or specific Python > > > distributions. All future work we do on Python as Digital Creations > > > employees will be owned by a non-profit organization yet to be > > > created. We think of this new organization as the Python Software > > > Foundation. In the meantime (while the PSF is under construction) I > > > will own such copyrights personally. > > > > > > We're excited to be working for Digital Creations: they are one of the > > > oldest companies active in the Python community, one of the companies > > > most committed to Python, and they have a great product! Plus, we > > > know they have deep financial backing. We trust that Digital > > > Creations will provide a stable home for Python for many years. > > > > > > Digital Creations has also offered to take over hosting of the > > > python.org and starship sites. On behalf of the Python community, > > > we're grateful for this support of the two prime community sites for > > > Python, and we expect to be implementing the transitions shortly. > > > > > > These are exciting times for the PythonLabs team -- and also for > > > Python and its community. Mainstream successes for Python are showing > > > up everywhere, and we're proud to be a part of such a smart and > > > friendly community. A great year lies ahead! > > > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > > > -- > > > http://www.python.org/mailman/listinfo/python-list > > > > > > > > _______________________________________________ > > 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 ) > From jasonic@nomadicsltd.com Mon Oct 30 17:49:18 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Mon, 30 Oct 2000 12:49:18 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> Message-ID: <005a01c04299$ba6e6380$c3090740@megapathdsl.net> ----- Original Message ----- From: Andy McKay > Now I have to know, whats a "Jam Session"? I assume 'jam' session = creative improvisation based on experience and talent, as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. - Jason From chrism@digicool.com Mon Oct 30 18:09:21 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 13:09:21 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> Message-ID: <013401c0429c$875bb6c0$1f48a4d8@kurtz> This is right, although here it's also an excuse to drink Guiness. ----- Original Message ----- From: "Jason Cunliffe" To: "Andy McKay" ; "Chris McDonough" Cc: Sent: Monday, October 30, 2000 12:49 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > ----- Original Message ----- > From: Andy McKay > > > > Now I have to know, whats a "Jam Session"? > > I assume 'jam' session = creative improvisation based on experience and > talent, > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > - Jason > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 17:58:53 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:58:53 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> <013401c0429c$875bb6c0$1f48a4d8@kurtz> Message-ID: <002c01c0429b$1184e4e0$ae03a8c0@fork> Now theres an idea... ;-) ----- Original Message ----- From: "Chris McDonough" To: "Jason Cunliffe" ; "Andy McKay" Cc: Sent: Monday, October 30, 2000 10:09 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is right, although here it's also an excuse to drink Guiness. > > ----- Original Message ----- > From: "Jason Cunliffe" > To: "Andy McKay" ; "Chris McDonough" > > Cc: > Sent: Monday, October 30, 2000 12:49 PM > Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > ----- Original Message ----- > > From: Andy McKay > > > > > > > Now I have to know, whats a "Jam Session"? > > > > I assume 'jam' session = creative improvisation based on experience and > > talent, > > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > > > - Jason > > > > > > _______________________________________________ > > 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 ) > > > > > From webmaven@lvcm.com Mon Oct 30 18:06:44 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:06:44 -0800 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDB8B4.A62CF881@lvcm.com> Alan Johnston wrote: > > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. 'File' should work. Are you naming the 'File' object with a .pdf suffix? HTH, Michael Bernstein. From bill@noreboots.com Mon Oct 30 18:30:40 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 11:30:40 -0700 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Message-ID: <39FDBE50.E632EBB2@noreboots.com> > ----- Original Message ----- > From: Rudd-O DragonFear > To: DC Support List > Cc: support@digicool.com > Sent: Monday, October 30, 2000 10:21 AM > Subject: [Support] ZSybaseDA 2.00b2 > > Hey, > I've been having some kind of problems with this DA. Compiling and loading > (importing) sy_occ in python works perfectly. But zope won't start and > won't say anything in the console or in the logs. > > what could it be? > > thanks in advance, Search the archives, from about this time last year. Quick synopsis: Check to ensure the sybase path statements are present in the zope start up script. -- E PLURIBUS LINUX From webmaven@lvcm.com Mon Oct 30 18:48:03 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:48:03 -0800 Subject: [Zope] Paul comments on the PythonLabs Move References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <39FDC263.C3784712@lvcm.com> Check out his comments here: http://weblogs.userland.com/zopeNewbies/discuss/msgReader$831 Cheers, Michael Bernstein. From andres@corrada.com Mon Oct 30 18:59:36 2000 From: andres@corrada.com (andres@corrada.com) Date: Mon, 30 Oct 2000 13:59:36 -0500 Subject: [Zope] PHP-Pages In-Reply-To: <60469395515.20001030021949@eec.de>; from Vincent - D. Ertner on Mon, Oct 30, 2000 at 02:19:49AM +0100 References: <60469395515.20001030021949@eec.de> Message-ID: <20001030135936.A10791@corrada.com> Check out my HOWTO: http://www.zope.org/Members/Mamey/PHP On Mon, Oct 30, 2000 at 02:19:49AM +0100, Vincent - D. Ertner wrote: > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Internet Programming wwww.mamemy.com ------------------------------------------------------ From dieter@handshake.de Mon Oct 30 18:57:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:57:08 +0100 (CET) Subject: [Zope] Message exchange between distributed python code In-Reply-To: <48899087@toto.iv> Message-ID: <14845.50254.478682.933172@lindm.dm> Alexander Limi writes: > I am currently writing some software in python that is spread over several > different computers. These small programs should be able to communicate > with each other and send messages that contain instructions between > themselves. You might be interested in "pyro" (Python remote objects). You will find it via "python.org" or with a search in "comp.lang.python.announce". Dieter From dieter@handshake.de Mon Oct 30 18:55:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:55:43 +0100 (CET) Subject: [Zope] image attachments in dtml-sendmail and dtml-mime In-Reply-To: <38102752@toto.iv> Message-ID: <14845.49576.678889.783219@lindm.dm> Matt writes: > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > Comments: > > > "paris.data"> > > > You are aware, that the generated message is not MIME conformant? You should use immediately in the message header and use to generated the various message parts. Dieter From dieter@handshake.de Mon Oct 30 18:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:59:43 +0100 (CET) Subject: [Zope] ZopeTime Question In-Reply-To: <113312476@toto.iv> Message-ID: <14845.50341.857832.212719@lindm.dm> Marcus Mendes writes: > Why the ZopeTime puts the differents values in the code bellow? > > > TimeMinutes())" capitalize> > > > > The first give me todays date; > the second give me the tomorrow date!! In earlier Zope versions, most methods of "DateTime" instances used local time, but "strftime" used GMT. As I understand it, this has been changed in Zope 2.2. At least, Brian asked in the list, whether it should be changed and got some positive feedback. Dieter From dieter@handshake.de Mon Oct 30 19:31:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:31:45 +0100 (CET) Subject: [Zope] again: install Zope under Solaris 8 In-Reply-To: <40453899@toto.iv> Message-ID: <14845.52017.929680.664852@lindm.dm> Jan-Thies Baehr writes: > .... Has anyone else > encountered problems installing Zope (in our case 2.2.2) under Solaris > 8? > Python is unable to import the ExtensionClass.... > .... > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: > file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: > symbol PyImport_ImportModule: referenced symbol not found I looks as though Python would not export its symbols to dynamically loaded objects. In earlier Solaris versions, this was the default behaviour. Other systems require a special linker option to make the symbols visible. Maybe, Solaris 8 does now require special actions, too. On Linux, the option is called "-export-dynamic". Maybe, you consult you linker manual. Dieter From dieter@handshake.de Mon Oct 30 19:25:17 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:25:17 +0100 (CET) Subject: [Zope] dtml document bug In-Reply-To: <5350899@toto.iv> Message-ID: <14845.51777.197023.480874@lindm.dm> Dmitry Slusarchuk writes: > I'm new to Zope development but I have already encountered such a problem: > from dtml document generates the following: > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: __call__ > > this problem disappears when I do smth like > from dtml method. what should I do? > > In addition > I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. This looks like the "cDocumentTemplate/Acquisition" bug (see the locator (URL:http://classic.zope.org:8080/Locator) for a description). The problem usually occurs in the context of a You can work around it by using instead. Dieter From dieter@handshake.de Mon Oct 30 19:39:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:39:59 +0100 (CET) Subject: [Zope] normal result with acquisition? In-Reply-To: <4638180@toto.iv> Message-ID: <14845.52397.169645.607414@lindm.dm> Tom Deprez writes: > Assume following : > > Folder1 > sql > show_abc > method_showdata > Folder2 > show_abc > > method_showdata has among it the following code : > > > >
> >
>
>
> > 1) When you call this function from Folder1 : show_abc of folder1 is used > > 2) When you call this function from Folder2 : show_abc of folder1 is used > > --> what you wouldn't expect? This *IS* normal acquisition behaviour. I use the following rule of thumb: When Zope looks up a name "n" for object "o" in context "c", then Zope lools for "n" in "o". If this fails, Zope walks up from "o" towards the root in search for "n". Only, if it does not find "n" on this route, it looks in the context "c" for "n". In your case, the object is "sql" and the name is "show_abc". The context is "Folder1" in the first and "Folder2" in the second case. But "show_abc" is found in both cases in the parent of "sql" -- without looking at the context. Dieter From dieter@handshake.de Mon Oct 30 18:35:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:35:22 +0100 (CET) Subject: [Zope] Re: [Zope-dev] dtml-in with objects and an expression In-Reply-To: <23514147@toto.iv> Message-ID: <14845.48273.554500.760172@lindm.dm> Guy Redwood writes: > I have a stack of objects called shcgbRallyDetails (details about > husky races). I want to display the next 3 races that are about to > close their entry submissions. eg display the next three rally > details where the closingdate is greater_or_equal to ZopeTime() > > I've got this working to prove the expression and dtml-in - but I'm > now stuck :-( > > "working.rallydetails.objectValues(['shcgbRallyDetails'])" > sort=closingdate> > >

> Closing:
>
> > All help would be appreciated What does not work? You may get more than 3 races? In this case, you could use: ZopeTime() and _.getitem('sequence-number') <= 3"> .... your presentation code .... This will give you the list sorted with decreasing closingdate. If you want a list sorted with increasing closingdate, you could use: ZopeTime() and (_.getitem('sequence-length') - _.getitem('sequence-index')) <=3"> .... your presentation code .... For more details, look at the variable list defined inside . Dieter From dieter@handshake.de Mon Oct 30 19:21:10 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:21:10 +0100 (CET) Subject: [Zope] Solaris,iPlanet,Oracle and Zope In-Reply-To: <106829166@toto.iv> Message-ID: <14845.50479.78877.339553@lindm.dm> Hi Turhan, Welcome to the Zope community! Turhan Arun writes: > Now my problem is as > follows > I have to use > Zope Application Server on SUN > iPlanet Web Server > Oracle 8.1.6 Database server > Would you help me about configuring these? I am having problems and you are > my only source. You have 2 subproblems: interfacing Zope with iPlanet and interfacing Zope with Oracle 8.1.6. 1. Unfortunately, I do not know iPlanet. You may search "zope.org" for "iPlanet" (maybe, you find a HowTo). There is also a searchable archive of this mailing list at NIP (to be found via "zope.org -> Resources -> Mailing Lists"). If you are unlucky, you must explore a bit yourself. "doc/WEBSERVERS.txt" (a file in the Zope distribution) is a good starting point. Although, it mainly speaks about Apache (and does not mention iPlanet), the "pcgi" connection will work with any webserver that supports CGI. It will work with "iPlanet". There might be some problems with the propagation of authentication information. You may decide to let iPlanet do all authentication and let Zope unprotected or you might need to learn how to configure iPlanet to pass authentication information. You may want to screen the iPlanet documentation, whether it supports proxy mode. In this mode, iPlanet would relay (some) requests to another web server (Zope in your case). This would be more efficient than "pcgi". 2. We use Zope with Oracle 8.1.6. We use DC's DCOracle and ZOracleDA (latest version! it has a beta in its version number!). It works satisfactory with the exception of LOB support. DC is working on improvements but the project is not externally funded, progress seems to be slow. Some days ago, someone in the list has reported a package that can be used to work around the LOB restrictions (if you know the LOB type). Search the list archive to locate the article (search for "DCOracle and BLOB"). Dieter From ajung@sz-sb.de Mon Oct 30 19:50:29 2000 From: ajung@sz-sb.de (Andreas Jung) Date: Mon, 30 Oct 2000 20:50:29 +0100 Subject: [Zope] DCOracle + LOB In-Reply-To: <200010292057.VAA00431@lindm.dm>; from fjesteban@uco.es on Wed, Oct 18, 2000 at 02:11:05PM +0200 References: <200010292057.VAA00431@lindm.dm> Message-ID: <20001030205029.A5323@sz-sb.de> On Wed, Oct 18, 2000 at 02:11:05PM +0200, Francisco José Esteban Risueño wrote: > If you know what type of data are you storing in the lob column, you can > use dmbs_lob package in order to insert and retrive data from the > original format into de lob format. We are use this techique succesfully > to insert/select text into/from a clob column. LOB support for Oracle 8i is broken in DCOracle. As a workaround we use stored procedures written in Java. They can be called from DCOracle. -- Andreas From dieter@handshake.de Mon Oct 30 20:37:19 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 21:37:19 +0100 (CET) Subject: [Zope] dtml-while In-Reply-To: <91095649@toto.iv> Message-ID: <14845.56140.19348.270193@lindm.dm> Diego Rodrigo Neufert writes: > Why there isnt a dtml-while function in Zope? > How to implement it with dtml? > how to do a simple while x != y in dtml? Because the Zope developers feared infinite loops created by dumb users or malicious hackers in "through the web" content. For the same reason, "_.range" has been cripled and the module "re" is not exposed. Dieter From asc@vineyard.net Mon Oct 30 20:46:44 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Mon, 30 Oct 2000 15:46:44 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if it's all in vain. Thanks, From fred@ontosys.com Mon Oct 30 20:47:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 30 Oct 2000 14:47:55 -0600 Subject: [Zope] incorporating generated sub-websites within a Zope site Message-ID: <20001030144755.A2818@enteract.com> I'm looking for suggestions about how to manage a Zope website that hosts some subsites created by tools outside of Zope. Here's the situation. I'm working on a community website (batavians.org) for a small city (Batavia, IL) where I want to allow various non-profit community organizations to manage their own subsites. But the very first test case is proving to be a problem because the manager of the subsite is using web page development tools that seem to make it hard to integrate their subsite with the rest of the site. They can FTP their files up to the Zope server (which I configured to use port 21 for FTP) and their work is accessible just fine given a small "glue" index_html object that bridges to their internal main page. But I got blocked when I tried to add a standard page footer onto their pages. Actually, I was able to add a dtml-var element to pull in a standard footer via acquisition and that works, but the manager of the sub-website has no way to pull that change back to her working version of the subsite. It seems that the lightweight "Web Studio 2.0" tool she's using has no FTP-download function at all. Not only that, it has no way to view/edit HTML at all! It's only possible to edit using a WYSIWYG design view (AFAICT). So she can't merge in the change even if I tell her exactly the HTML code to add. OK, this problem is largely the result of the crappy web-design tool she's using, but I really have no control over that. The subsite manage/author doesn't know HTML and would be completely helpless with Zope's "through the web" editing interface. A better tool such as Dreamweaver would at least allow her to download files and/or edit HTML directly, but that's moot in this case. Even with Dreamweaver I think the DTML tags would be invisible and hard for a non-programmer to deal with. (Not only that, Dreamweaver refuses to open files that don't have an extension, so it won't open index_html for example.) So what alternatives do I have? Is there some way that I can set up a filter such that every page of her subsite goes through the filter before being sent out to the browser, allowing me to tack on a page footer on those pages? I'm sure Zope has such a mechanism, but I don't know where to look. Even with such a filter I'm not keen about having to parse her pages (which are/should-be each a complete HTML document) in order to insert a footer line in the right place. What other schemes should I consider? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From dieter@handshake.de Mon Oct 30 21:16:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:16:40 +0100 (CET) Subject: [Zope] Displaying Folder Contents. In-Reply-To: <113966775@toto.iv> Message-ID: <14845.58608.743084.845912@lindm.dm> Jason C. Leach writes: > If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to > pass the folder to an external method, and have the method get a list of > all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ > fetching a list of the folder contents? Have a look at "ZopeFind" (--> ZQR (Zope quick reference) at URL:http://zdp.zope.org) Dieter From dieter@handshake.de Mon Oct 30 21:09:57 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:09:57 +0100 (CET) Subject: [Zope] How to display PDF files In-Reply-To: <123237122@toto.iv> Message-ID: <14845.58126.398702.990007@lindm.dm> Alan Johnston writes: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). You may use the products "LocalFS" or "ExternalFile" to access files inside the file system from Zope. > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. The "file" should be it. Maybe, you must set the property "content_type" correctly (when Zope guessed wrong based on the filename extension). Dieter From dieter@handshake.de Mon Oct 30 21:14:58 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:14:58 +0100 (CET) Subject: [Zope] ExtensionClass peculiarity (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) In-Reply-To: <59362859@toto.iv> Message-ID: <14845.58313.241376.357670@lindm.dm> Steinar Rune Eriksen writes: > In other Python programs, calling Parent.__init__(self) works fine, but when > running through Zope in this context > > Error Type: TypeError > Error Value: unbound method must be called with class instance 1st argument Have a look at the "ExtensionClass" documentation (-> zope.org). ExtensionClass is not completely compatible with Python: if a class "C" inherits from an extension class "E" and from a normal Python class "P", then Python does not recognize "C" as a subclass from "P". The mentioned documentation tells you, that there is a method "InheritedAttribute" to work around this problem. Dieter From dt@picknowl.com.au Mon Oct 30 21:23:43 2000 From: dt@picknowl.com.au (Daryl Tester) Date: Tue, 31 Oct 2000 07:53:43 +1030 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <39FDE6DF.740C58DD@picknowl.com.au> Chris McDonough wrote: > Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. But did you get to chant "We're not worthy! We're not worthy!"? :-) -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. "MS Linux is released under the provisions of the Gates Private License, which means you can freely use this Software on a single machine without warranty after having paid the purchase price and annual renewal fees." -- mslinux.org From amadorm@usm.edu.ec Mon Oct 30 21:36:14 2000 From: amadorm@usm.edu.ec (MANUEL JOSE AMADOR BRIZ) Date: Mon, 30 Oct 2000 16:36:14 -0500 (ECT) Subject: [Zope] New kinds of problems Message-ID: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Thanks, here are my two cents: Mini quick howto to connect to a sybase ASA/ASE: Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it WILL fail). GET from Sybase the RPMs called sybase-common and sybase-openclient, the latest versions. Install them. do a link from /opt/sybase to /opt/sybase- {currentversion} which should exist now. make sure you have $SYBASE set in your profile, to /opt/sybase. Download zope-2.2.2.src.tgz untar as root, then chown -R root.root /path/to/Zopefolder make sure you have python and python-devel RPMs or DEBs. cd to zope folder run \\\'python w_pcgi.py\\\' run \\\'python zpasswd.py access\\\', enter username, password, CLEARTEXT encoding and no domain get ZSybaseDAv2 b2 and place the targz file into the zope folder do a \\\'tar zxvmf ZSybaseDAv2.tar.gz0 in the zope folder Once more do a chown -R root.root * cd into lib/python/Products/ZSybaseDAv2/src cp Setup.linux or Setup.solaris to Setup make -f Makefile.pre.in boot make cd to the parent folder (cd ..) cp src/sy_occ.so . enter python and try to do \\\'import sy_occ\\\' if it works and doesn\\\'t spit errors, you\\\'re set. exit python and go to the zope folder, then run ./start if zope starts, you\\\'re all set now there is an executable called /opt/sybase/bin/dsedit that you will have to use to create network transports. Fill in the appropriate data. Now for the problems. I managed to connect to an ASA 7.0 database, and retrieved successfully a select * from systable, but can\\\'t execute stored procedures, it spits some kind of another operation on progress error or unknown data type returned error. I assume ASA and dsclient are talking incompatible protocols here. Can someone help me? By the way, the data source created with dsedit for our ASE server works fine. Everything runs OK. Please reply and CC: me because I\\\'m kinda lagged behind with the mailing list and I need a reply soon. Thanks. I hope these instructions help people in connecting to Sybase, given the poor support they have in some countries (I\\\'m thinking mine). Manuel ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil Enviado por: www.usm.edu.ec From jfarr@real.com Mon Oct 30 21:40:48 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 30 Oct 2000 13:40:48 -0800 Subject: [Zope] Get file contents. References: Message-ID: <034301c042ba$110abac0$416917ac@poly> For a File object, you want "str(ob.data)", where 'ob' is your File object. --jfarr ----- Original Message ----- From: "Jason C. Leach" To: "Steve Spicklemire" Cc: Sent: Sunday, October 29, 2000 5:56 PM Subject: Re: [Zope] Get file contents. > hi, > > That's exactly what I'm hoping to do. But for my method, it does not know > what read() is, or read_raw(); I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: read > > If I try you method I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: manage_addTinyTable > > > It would probably bail on the read also if it got that far. > > Perhaps I am caling it wrong, or not pasing the correct object. I jest > pass in a Zope File opject, which hapens to be a few lines of text. > > Thanks, > j. > > > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > > > > Hi Jason, > > > > Here's an external method that I've used to populate a TinyTable > > from a comma separated text file. You might at least get some ideas > > about how to extract stuff from the file using this.... > > > > -steve > > > > ---------------------------------------------------------------------- > > > > # > > # ReadFile is an external method that reads data from a file uploaded from > > # the users computer and produces a TinyTable based on that data. > > # > > > > import string > > > > def ReadFile(self, > > infile, # input file..... > > outTableName='defaultTable', # name of output table > > outTableTitle='', # title of output table > > outTableColumns='', # columns for output table > > REQUEST=None, # Pass in REQUEST.... > > RESPONSE=None): # and response... > > > > if not hasattr(self, outTableName): > > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > > > newTT = getattr(self, outTableName) > > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > > data = infile.read() > > data = string.replace(data,'\r','\n') > > data = string.replace(data,'\n\n','\n') > > lines = string.split(data,'\n') > > newLines = [] > > for i in range(len(lines)): > > line = string.strip(lines[i]) > > if line: > > sl = string.split(line,',') > > sl = map(lambda x:'"%s"' % x, sl) > > newLines.append(string.join(sl,',')) > > > > data = string.join(newLines, '\n') > > > > return newTT.manage_editData( data, REQUEST ) > > > > > > def main(): > > class foo: > > > > def manage_addTinyTable(self, *args, **kwargs): > > pass > > > > def manage_edit(self, *args, **kwargs): > > pass > > > > def manage_editData(self, data, REQUEST): > > print "In manage_editDdata" > > print data > > > > import StringIO > > > > f = StringIO.StringIO() > > f.write('a,b,c,d\n') > > f.write('d,e,f,g\n') > > f.seek(0) > > > > print f.read() > > f.seek(0) > > > > rf = foo() > > rf.defaultTable = foo() > > > > ReadFile(rf, f) > > > > if __name__=='__main__': > > > > main() > > > > >>>>> "Jason" == Jason C Leach writes: > > > > Jason> hi, > > > > Jason> I pass a zope file object (just plane text) to an external > > Jason> method. The file consists of a list of lines of text. I'd > > Jason> like to extract those lines from the file and put 'em in a > > Jason> list. Can anyone help with the extraction method? > > > > Jason> Thanks, j. > > > > Jason> ...................... ..... Jason C. Leach ... University > > Jason> College of the Cariboo. .. > > > > > > Jason> _______________________________________________ Zope > > Jason> maillist - Zope@zope.org > > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > > Jason> posts or HTML encoding! ** (Related lists - > > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > > Jason> 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 ) > From maxmcorp@worldonline.dk Mon Oct 30 22:22:24 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 23:22:24 +0100 Subject: [Zope] My Items will not show themself in manage_main (objectItems) Message-ID: I have made a product that inherits: "OFS.ObjectManager.ObjectManager" and so should be able to contain other object. I have given the product a manage option: {'label':'Contents', 'action':'manage_main'} This is inherited from ObjectManager, To make it possible to add content to my product. But when I add ie. a dtml method to my folderish object, it does it allright, and the document gets added. I know because I can see it directly when going to it's url. And if I try to add another document with the same name I get an error saying that the id is allready used. But the Item doesn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to create for the Items to show up in "objectItems". Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrism@digicool.com Mon Oct 30 22:44:26 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 17:44:26 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <39FDE6DF.740C58DD@picknowl.com.au> Message-ID: <021a01c042c2$f5015dd0$1f48a4d8@kurtz> Yes. Well... I did, anyway. :-) ----- Original Message ----- From: "Daryl Tester" To: "Chris McDonough" Cc: Sent: Monday, October 30, 2000 4:23 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > Chris McDonough wrote: > > > Since it was a Friday, and > > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > > Jam": we all got a chance to poke at him with questions and such and vice > > versa. > > But did you get to chant "We're not worthy! We're not worthy!"? :-) > > > -- > Regards, > Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. > > "MS Linux is released under the provisions of the Gates Private License, which > means you can freely use this Software on a single machine without warranty > after having paid the purchase price and annual renewal fees." -- mslinux.org > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 23:03:45 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 15:03:45 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <009401c042c5$abbffb10$ae03a8c0@fork> > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". Not from what I can remember. I would have to see your constructor for more info. Andy. From kthangavelu@earthlink.net Mon Oct 30 19:56:56 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 30 Oct 2000 11:56:56 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <39FDD288.58381058@earthlink.net> Max M wrote: > > I have made a product that inherits: > "OFS.ObjectManager.ObjectManager" > and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. > I have given the product a manage option: > {'label':'Contents', 'action':'manage_main'} > This is inherited from ObjectManager, To make it possible to > add content to my product. > > But when I add ie. a dtml method to my folderish object, it does it > allright, and the document gets added. I know because I can see it directly > when going to it's url. And if I try to add another document with the same > name I get an error saying that the id is allready used. > > But the Item doesn't show up in Itemlist on the "manage_main" page. So I > cannot edit the items that I have added. > > I only get the: > "There are currently no items in XXX" some more information on what you changed in the container would be useful. > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". this pseudo code should give you the result you want?, it works for me to display objects in the manage_main. def manage_addMyContainer: foo = MyContainer() bar = MyObject() foo._setObject(bar, 'bar') self._setObject(foo, 'foo') caveat, register your permissions properly on the manage_add, and note that adding bar in this way will mean it won't have access to acquisition properties from further up the tree at creation (including manage_afterAdd). also for registering manage options this syntax is a little more inclusive. manage_options=( OFS.ObjectManager.ObjectManager.manage_options+ ( {'label':'YourTabHere', 'action':'YourMethodHere'}, )+ AccessControl.Role.RoleManager.manage_options+ OFS.SimpleItem.SimpleItem.manage_options ) hth kapil From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> <39FD526F.DAF94274@nipltd.com> Message-ID: <00cc01c042d6$e013c340$c2aa79c3@mshome.net> Hi, ----- Original Message ----- From: "Chris Withers" To: "Henny van der Linde" Cc: "Zope mailing list" Sent: Monday, October 30, 2000 11:50 AM Subject: Re: [Zope] trapping login errors/exceptions > Henny van der Linde wrote: > > Thanks. I already thought about using Loginmanager but we still use Zope > > 2.1.6. > > Why? ;-) > Just careful. Not every Zope release is realy that stable at first. Products are not always upward compatible. The sudden change in the security model with Zope 2.2.0 scared us a bit. Maybe these are minor things but we realy can't afford to experiment a lot in the organization where I (and my co Zopistas) work. BTW I can't get Login Manager installed in a very fresh Zope 2.2.2 installation. See my earlier posting. Any ideas? greetz, Henny van der Linde From jarvis.sd082@ex.tel.co.jp Tue Oct 31 01:27:51 2000 From: jarvis.sd082@ex.tel.co.jp (TFE WSD JARVIS JOHN) Date: Tue, 31 Oct 2000 10:27:51 +0900 Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Yes, but you have to do in it a round about way. (Actually, I've seen mention of a patch to Apache that does this, but I don't think it's neccessary) Here's the setup I'm using: RewriteEngine On RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} [QSA,L,P] RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH > -----Original Message----- > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > Sent: Tuesday, October 31, 2000 5:47 AM > To: zope@zope.org > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > Hi, > > Does anyone know if it is even *possible* to pass environment variables > (specifically REMOTE_USER) to Zope when it is set up behind > Apache/ProxyPass. > > I've looked around the list archives, and the Apache docs and tried a > bunch of different configs but nothing works. I'm starting to wonder if > it's all in vain. > > Thanks, > > > > _______________________________________________ > 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 ) From docs@digicool.com Tue Oct 31 01:32:35 2000 From: docs@digicool.com (Michel Pelletier) Date: Mon, 30 Oct 2000 17:32:35 -0800 Subject: [Zope] Zope Book Beta Message-ID: <39FE2133.F00ED435@digicool.com> Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel From bill@noreboots.com Tue Oct 31 03:38:49 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 20:38:49 -0700 Subject: [Zope] New kinds of problems References: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Message-ID: <39FE3EC9.67D86580@noreboots.com> MANUEL JOSE AMADOR BRIZ wrote: > > Thanks, here are my two cents: > > Mini quick howto to connect to a sybase ASA/ASE: > > Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it > WILL fail). Only if you didn't read the RELEASE-NOTES. Use kgcc, it is the same compiler as RH 6.2 has. --- root@darwin in /root $ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) root@darwin in /root $ gcc --version egcs-2.91.66 root@darwin in /root --- ucntcme@locutus in /home/ucntcme $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) ucntcme@locutus in /home/ucntcme $ kgcc --version egcs-2.91.66 --- ... > exit python and go to the zope folder, then run ./start > > if zope starts, you\\\'re all set not quite. You should stop zope, open a new terminal, and start zope from there. More often than not, you will need to set up the $SYBASE variables in the zope start up script. Running Zope in a 'clean' terminal will test the environment. -- E PLURIBUS LINUX From zope@philosoft.at Tue Oct 31 04:05:07 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 05:05:07 +0100 Subject: [Zope] pluggable brains Message-ID: <200010310505070734.0771D84D@mail.noet.at> --=====_97296510718467=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_97296510718467=_ Content-Type: text/html; charset="us-ascii"
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_97296510718467=_-- From zope@philosoft.at Tue Oct 31 05:01:15 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 06:01:15 +0100 Subject: [Zope] pluggable brains In-Reply-To: <200010310505070734.0771D84D@mail.noet.at> References: <200010310505070734.0771D84D@mail.noet.at> Message-ID: <200010310601150109.07A53A1C@mail.noet.at> --=====_9729684756334=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I already found the answer myself: one can only use ZClasses as pluggable brains that are NOT persistent!! phil *********** REPLY SEPARATOR *********** On 31.10.2000 at 05:05 Philipp Auersperg wrote: For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_9729684756334=_ Content-Type: text/html; charset="us-ascii"
I already found the answer myself:
 
one can only use ZClasses as pluggable brains that are NOT persistent!!
 
phil
*********** REPLY SEPARATOR ***********

On 31.10.2000 at 05:05 Philipp Auersperg wrote:
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_9729684756334=_-- From jleach@mail.ocis.net Tue Oct 31 04:45:52 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 20:45:52 -0800 (PST) Subject: [Zope] meta type? Message-ID: hi, What is ment by a meta type? Is that like 'Image' in the case of images, and Folder in the case of folders? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 05:00:46 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 06:00:46 +0100 (CET) Subject: [Zope] meta type? In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > Is that like 'Image' in the case of images, and Folder in the case of > folders? Yupp. From jleach@mail.ocis.net Tue Oct 31 06:04:07 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 22:04:07 -0800 (PST) Subject: [Zope] Almost Done. Message-ID: hi, So I'm almost done my first zope project. Pretty small. I must say, I have done in 4 lines of DTML what would have taken pages in ASP. How do I get a TinyTable to display it's contents? All I find in the docs is and that does not seem to work for me, unles I am lacking a tag? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 06:24:01 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 07:24:01 +0100 (CET) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > hi, Hi. > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try this: (and next time, post the error message, Zope version and OS you are running :-) From jleach@mail.ocis.net Tue Oct 31 07:03:22 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 23:03:22 -0800 (PST) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: hi, Gave that a shot, no luck. I just dones nothing where as if I misspel the object ID it screams (so it's finding it). I can edit and View the object fine, just not call it. I'm running Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Tue, 31 Oct 2000, Erik Enge wrote: > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > hi, > > Hi. > > > How do I get a TinyTable to display it's contents? > > > > All I find in the docs is and that does not > > seem to work for me, unles I am lacking a tag? > > Try this: > > > > (and next time, post the error message, Zope version and OS you are > running :-) > > From morten@esol.no Tue Oct 31 08:05:34 2000 From: morten@esol.no (Morten W. Petersen) Date: 31 Oct 2000 09:05:34 +0100 Subject: [Zope] Strange KeyError upon calling absolute_url Message-ID: I've got a strange error here; whenever absolute_url is called, it is raised a KeyError exception, stating that SERVER_URL is missing.. (The traceback..) Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addTransform) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addTransform) File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 54, in manage_addTransform File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 154, in __init__ (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 278, in _setObject (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 114, in manage_afterAdd (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 184, in index_object (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 157, in url (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/Traversable.py, line 119, in absolute_url (Object: CatalogAware) KeyError: (see above) The line(s) causing the error were a rather long list of _setObject commands: """ [...] self._setObject('M', agencysort.AgencySort('M')) self._setObject('N', agencysort.AgencySort('N')) [...] """ Any ideas? Thanks in advance. -Morten From cj.de.brabander@hccnet.nl Tue Oct 31 08:27:06 2000 From: cj.de.brabander@hccnet.nl (Kees de Brabander) Date: Tue, 31 Oct 2000 09:27:06 +0100 Subject: [Zope] Almost Done. References: Message-ID: <004601c04314$60710380$b560fea9@piii667> hi Jason, by itself does what you ask it to do: it runs through the rows of your tinytable and that's it. If you want to see the content of your table, you'll have to construct a html table with fieldnames in the cells: ...
Then you're done. cb ----- Original Message ----- From: Jason C. Leach To: Erik Enge Cc: Sent: Tuesday, October 31, 2000 8:03 AM Subject: Re: [Zope] Almost Done. > hi, > > Gave that a shot, no luck. I just dones nothing where as if I misspel the > object ID it screams (so it's finding it). I can edit and View the object > fine, just not call it. > > I'm running Zope/Zope 2.2.2 (source release, > python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A > > > j. > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Tue, 31 Oct 2000, Erik Enge wrote: > > > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > > > hi, > > > > Hi. > > > > > How do I get a TinyTable to display it's contents? > > > > > > All I find in the docs is and that does not > > > seem to work for me, unles I am lacking a tag? > > > > Try this: > > > > > > > > (and next time, post the error message, Zope version and OS you are > > running :-) > > > > > > > _______________________________________________ > 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 ) > > From jacintha.menezes@wipro.com Tue Oct 31 09:37:43 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 31 Oct 2000 15:07:43 +0530 Subject: [Zope] one more In-Reply-To: <39FD8DDC.120C9975@globalcrossing.com> Message-ID: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Hi, I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Thanks bye, jacintha From ws@gmd.de Tue Oct 31 09:58:11 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 10:58:11 +0100 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEA5C3.30680.5483DF1@localhost> On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From jonathan@home-all.org.uk Tue Oct 31 10:14:33 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Tue, 31 Oct 2000 10:14:33 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> Message-ID: <39FE9B89.B54B5700@home-all.org.uk> Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: > Jonathan Cheyne wrote: > > > > Ah, no, I though that was if you were doing the virtual hosting in zope > > (as opposed to virtual hosts in httpd.conf or a rewrite)? > > > > I will add one, pronto > > Sorry, I didn't mean to confuse you. If you're using Apache > Virtual hosting, you don't need an access rule. I thought > that you might have one that was conflicting. > > One thing that might help you figure this out is to add a > 'debug' DTML Method to your root folder that contains: > > > > And trying various URLs with /debug tacked on the end to see > how the HTTP request is being rewritten. > > HTH, > > Michael Bernstein. From p@state-of-mind.de Tue Oct 31 10:25:12 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 31 Oct 2000 11:25:12 +0100 Subject: [Zope] AW: [Zope] Zope Book Beta In-Reply-To: <39FEA5C3.30680.5483DF1@localhost> Message-ID: Thanks! Pretty neat thing :-) I like the ducks: a-hi-ru. "Kore wa desu? Ahiru desu." It must have been something like that... p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Wolfgang Strobl > Gesendet: Dienstag, 31. Oktober 2000 10:58 > An: zope@zope.org; zope-book@zope.org > Betreff: Re: [Zope] Zope Book Beta > > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. > > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > From l.tranchant@adntic.com Tue Oct 31 11:20:19 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Tue, 31 Oct 2000 12:20:19 +0100 Subject: [Zope] PoPy Message-ID: <39FEAAF3.FE07CAD7@adntic.com> --------------0C7C06BE069157DD2DA5173E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody, I am new with Zope and I don't know Python. I want to use Zope with PostgreSQL. I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ? I have tried, and some errors appeared : when compiling __init__.py : ImportError: No module named Globals when compiling PoPy_db.py : The PoPy module is old: Update your version of PoPy So, I tried to install PoPy-1.3.6, but I failed! Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody,

I am new with Zope and I don't know Python.
I want to use Zope with PostgreSQL.
I have installed PoPy-1.2.1 and compiled the module PoPymodule.so.
I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/.
My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ?
I have tried, and some errors appeared :

when compiling __init__.py :
        ImportError: No module named Globals
when compiling PoPy_db.py :
        The PoPy module is old: Update your version of PoPy

So, I tried to install PoPy-1.3.6, but I failed!

Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E-- From chrisw@nipltd.com Tue Oct 31 11:49:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:49:04 +0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEB1B0.46B76306@nipltd.com> There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. This is the complete, technical draft of the book with > all screenshots (but minus illustrations, those are on there way!). > Some other things like a colophon and information about the authors is > missing. The beta includes all completed chapters, the API reference, > and the DTML reference. We've received over a hundred comments, > corrections, and ideas from you the community and it has made a much > better book. This is the one to print out and give to your friends as > christmas gifts, folks, so get crackin and start reading at > http://www.zope.org/Members/michel/ZB/. > > Enjoy, > > -Michel > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 31 11:52:32 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:52:32 +0000 Subject: [Zope] Gadfly References: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Message-ID: <39FEB280.A0331F5A@nipltd.com> jacintha menezes wrote: > I am using Gadfly database for Employee details.Kindly let me know > whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. cheers, Chris From fog@mixadlive.com Tue Oct 31 11:58:04 2000 From: fog@mixadlive.com (Federico Di Gregorio) Date: Tue, 31 Oct 2000 12:58:04 +0100 Subject: [Zope] Re: [Soft] [Fwd: [Zope] PoPy] In-Reply-To: <39FEB0EA.905C9C2B@mixadlive.com>; from pcm@mixadlive.com on Tue, Oct 31, 2000 at 12:45:46PM +0100 References: <39FEB0EA.905C9C2B@mixadlive.com> Message-ID: <20001031125804.O504@mixadlive.com> first of all, always install the latest versions of popy and zpopyda. you can get them on our website, www.mixadlive.com. you don't need to compile the .py files of the database adapter, zope takes care of loading them through python that will compile them on the fly. please, when a compilation fails, send use some more information, at least the compiler error message and, if you can, installed packages/programs, etc... hope this helps, federico p.s. if you use the Debian distribution you can install popy and zpopyda by simply invoking "apt-get install python-popy zope-popyda" > I am new with Zope and I don't know Python. > I want to use Zope with PostgreSQL. > I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. > I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. > My problem is I don't know if I have to compile the Phyton files in > ZPoPyDA ? > I have tried, and some errors appeared : > > when compiling __init__.py : > ImportError: No module named Globals > when compiling PoPy_db.py : > The PoPy module is old: Update your version of PoPy > > So, I tried to install PoPy-1.3.6, but I failed! > > Is there someone who could help me ??? :-( -- Federico Di Gregorio MIXAD LIVE System Programmer fog@mixadlive.com Debian GNU/Linux Developer & Italian Press Contact fog@debian.org Those who do not study Lisp are doomed to reimplement it. Poorly. -- from Karl M. Hegbloom .signature From phil.harris@zope.co.uk Tue Oct 31 12:30:00 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 12:30:00 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <057301c04336$4d5d29a0$5c773fc1@media1> Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil ----- Original Message ----- From: "Chris Withers" To: Cc: ; Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta > There a PDF of it anywhere? > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From chrisw@nipltd.com Tue Oct 31 13:06:29 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 13:06:29 +0000 Subject: [Zope] Re: two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> Message-ID: <39FEC3D5.7CAA72CC@nipltd.com> You should probably try to give your mails more helpful subject lines, something like "adding acl_users and databases" would have been great in this case ;-) jacintha menezes wrote: > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > doesn't get assigned > even if i specify it. Kindly let me know, is there anyway by which when i > add an acl_user, > role as manager is taken automatically. > tags used are as follows : > > > > > > Not really sure what you're trying to do here. It soudns like you're trying to add new users to an acl_users folder. Not sure why you need all those REQUEST.set's, why not just pass them as keyword arguments to manage_users? > 2. Is there any other reliable database which we can use. MySQL, Oracle, PostGres... all have adapters for Zope. You could, of course, use the ZODB, but that's a slightly different kettle of fish. cheers, Chris PS: Please email the list and CC me in rather than just emailing me, there are many more people on the list who will have more knowledge than me in the areas you're asking about. From hgebel@inet.net Tue Oct 31 13:24:16 2000 From: hgebel@inet.net (Harry Henry Gebel) Date: Tue, 31 Oct 2000 08:24:16 -0500 Subject: [Zope] ssl w/ modrewrite In-Reply-To: ; from bill@carbonecho.com on Mon, Oct 30, 2000 at 04:10:51PM +0000 References: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: <20001031082416.A31505@inet.net> On Mon, Oct 30, 2000 at 04:10:51PM +0000, Bill Welch wrote: > Please say what Port, Listen, and VirtualHost directives you have in > place. I think that's really where the trouble. > > but it works as typed in the server withour CRs.) I added modssl, but > > when I go in on an https I get the original apache root page, and can > > only access zope at https://address/cgi-bin/Zope . Furthermore, since Thanks! I copied my modrewrite stuff into the SSL virtual host and everything worked fine after that. -- Harry Henry Gebel, ICQ# 76308382 West Dover Hundred, Delaware From b.pouye@paris.infonie.fr Tue Oct 31 13:30:04 2000 From: b.pouye@paris.infonie.fr (b.pouye@paris.infonie.fr) Date: Tue, 31 Oct 2000 14:30:04 +0100 Subject: [Zope] Zope and Sybase Stored Procedures Message-ID: Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am trying to do all my SQL requests by using stored procédures. The only thing that goes wrong is that I don't know how to make a call to a Sybase Stored Procedure within Zope. Can anyone help me ? Sincerly, Badara POUYE Infosources 16, rue Hoche Tour Kupka B 92906 Paris La Défense Tel.: (+33)141028000 From twcook@iswt.com Tue Oct 31 14:03:23 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 31 Oct 2000 08:03:23 -0600 Subject: [Zope] Add users & other acl_user quirks was:two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> <39FEC3D5.7CAA72CC@nipltd.com> Message-ID: <39FED12B.C37967AE@iswt.com> Chris Withers wrote: > > > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > > > > > > > > > > > > > > Not really sure what you're trying to do here. It soudns like you're > trying to add new users to an acl_users folder. Not sure why you need > all those REQUEST.set's, why not just pass them as keyword arguments to > manage_users? It is _probably_ because it was given as an example somewhere. 'Cuz I did the same thing. In my case those values are coming from a form with a lot of other stuff as well. My question that is similar to this is: Is there any reason why an acl_user folder cannot be added to the instance of a ZClass that is subclassed from OFS:Folder & Catalog Aware? I tried putting it in the ZClass itself. It doesn't show up. But if I try to manually add it to an instance I get an error saying that one already exists. A few days ago ethan (I think) said that they used a BTreeFolder for the Zope.Org user folder. Is this a _modified_ BTreeFolder? I thought there were some parts of the security mechanism that was part of acl_user folders? Inquiring minds...... -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From Jerry.Spicklemire@IFLYATA.COM Tue Oct 31 14:23:52 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Tue, 31 Oct 2000 09:23:52 -0500 Subject: [Zope] Almost Done. Message-ID: <977A39E65CFCD3119ABF00D0B741D849733932@innt-73.ata.com> Jason pondered: > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try it like this:
where tablename is the name of your table, and fieldname1, fieldname2 are names of fields. I've not used TinyTables, but this works with other tabular systems. Later, Jerry S. From tony.mcdonald@ncl.ac.uk Tue Oct 31 15:17:33 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 31 Oct 2000 15:17:33 +0000 Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs Message-ID: Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info may contain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' 215 % grep -i trackerbase Data.fs Binary file Data.fs matches doh! I change my PYTHONHOME to point to a Zope 2.2.1 installation that a lot of servers use. The lib/python/Products directory there shows no TrackerBase there. No TrackerBase in the (local, ie server-specific) directory, Products, either. Can anyone give me a clue as to where to look for this errant Product? Tone ps *excellent* news about BDFL and his troupe joining DC! ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hohage@muenster.de Tue Oct 31 16:31:43 2000 From: hohage@muenster.de (hohage) Date: Tue, 31 Oct 2000 16:31:43 +0000 Subject: [Zope] meta type? Message-ID: <39FEC383@muepubb> Hallo Jason, you are on the right way. Try this in a folder: ----------------- ----------------- You'll get the names of all the metatypes in the current folder. Bye Sven P.S.:the "available objects" button shows all available metatypes in your installation(you can add more by installing products or creating them on your own). >===== Original Message From "Jason C. Leach" ===== >hi, > >What is ment by a meta type? > >Is that like 'Image' in the case of images, and Folder in the case of >folders? > >j. > >...................... >..... Jason C. Leach >... University College of the Cariboo. >.. > > >_______________________________________________ >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 ) From phd@mail2.phd.pp.ru Tue Oct 31 15:53:22 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Tue, 31 Oct 2000 15:53:22 +0000 (GMT) Subject: [Zope] ZDNet compares 4 our rivals Message-ID: Hello! ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP: http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Scripting in ColdFusion found to be the best choice :) Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From webmaven@lvcm.com Tue Oct 31 16:08:33 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 31 Oct 2000 08:08:33 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> <39FE9B89.B54B5700@home-all.org.uk> Message-ID: <39FEEE81.2E452929@lvcm.com> Jonathan Cheyne wrote: > > Ok, well I got some success by eliminating apache and using the site accesss > example methods and an access rule. > > but. > > is this a lower performance solution than fronting zope with apache? The short answer is: "Only in some special cases". An example of such a 'special case' is if you want certain static files to be served directly by apache, and not by Zope. Or maybe you just like Apaches log-files better ;-) If the stuff that Apache was going to be fronting for was coming out of Zope anyway, then there is no difference. You may want to keep Apache around for certain things, just use IP hosting for your root folder (no Virtual hosting) and have the Access Rules and SiteRoots take care of both blue.com and red.com in sub-folders. that's what i'm doing on the Zope I'm hosting at CodeIt.com. HTH, Michael Bernstein. From bill@carbonecho.com Tue Oct 31 16:34:55 2000 From: bill@carbonecho.com (Bill Welch) Date: Tue, 31 Oct 2000 16:34:55 +0000 (GMT) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: Message-ID: I had a similar problem a month ago with PTK and ZDiscussions and I consider this to be corruption of the ZODB not related to the particular products. You might be able to fix it by going into the DB directly through python; stop zope start python in zope/lib/python 'import Zope, ZServer; root = Zope.app(); dir(root)' and dig around from there I didn't know that trick at the time, so I fixed it by: exporting my objects from the root folder (fortunately, I'm virtual hosting and I only had to export a couple of folders) stopping zope replacing Data.fs with Data.fs.in starting zope importing my objects On Tue, 31 Oct 2000, Tony McDonald wrote: > Hi all, > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > From ngps@post1.com Tue Oct 31 05:38:59 2000 From: ngps@post1.com (Ng Pheng Siong) Date: Tue, 31 Oct 2000 13:38:59 +0800 Subject: [Zope] M2Crypto problem In-Reply-To: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com>; from erik@pacific-shores.com on Tue, Oct 24, 2000 at 07:23:30AM -0700 References: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> Message-ID: <20001031133859.A650@madcap.dyndns.org> On Tue, Oct 24, 2000 at 07:23:30AM -0700, Erik Myllymaki wrote: > I'm trying to use M2Crypto to access some https pages through an external > method, but I get this error: > > SSLError: SSLEAY_RAND_BYTES: PRNG not seeded > > How do I seed the PRNG? Hmmm, getting behind on my mail... ;-) There should be a file 'randpool.dat' in the M2Crypto distribution. This is created from my FreeBSD's /dev/random, and contains enough randomness to satisfy OpenSSL. Copy that file to where your external method's .py lives. Let me know if it doesn't work. I've been very busy recently. No time to work on M2Crypto and Zope crypto stuff at all. ;-( In future, for (marginally ;-) better response time, write me direct. Cheers. -- Ng Pheng Siong * http://www.post1.com/home/ngps From heatherzau@yahoo.com Tue Oct 31 17:22:32 2000 From: heatherzau@yahoo.com (heatherzau@yahoo.com) Date: Tue, 31 Oct 2000 09:22:32 -0800 (PST) Subject: [Zope] Restart Zope script Message-ID: <20001031172232.67191.qmail@web10707.mail.yahoo.com> Hello. Do you like my script to restart Zope? I don't. I followed instructions in the Zope archive to write a restart script for Zope. It works if I run it from the command line but if I put it in a cron job, it hangs and does not start properly. Can you help me? THANK YOU. Heather #!/usr/bin/python import os, string # My Zope is installed in /usr/zope # So the commands to stop and start it are, stopcmd = "/usr/zope/stop" startcmd = "/usr/zope/start &" # Command to check Zope processes running, cmd = "ps aux | grep zope" # Find the Zope PIDs that are actually running, readstdin = os.popen(cmd).readlines() pids = [] for eachline in readstdin : words = string.split(eachline) if len(words) > 2 : pids.append(words[1]) pids.append(string.split(eachline)[1]) # Find the PIDs that should be running, pidsfile = "/usr/zope/var/Z2.pid" f = open(pidsfile, 'r') data = f.read() f.close() runningpids = 0 zopepids = string.split(data) for eachpid in zopepids : if eachpid in pids : runningpids = runningpids + 1 if runningpids != 2 : os.popen(stopcmd) os.popen(startcmd) __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From kthangavelu@earthlink.net Tue Oct 31 12:52:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 31 Oct 2000 04:52:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> Message-ID: <39FEC0A3.7DF866A2@earthlink.net> Phil Harris wrote: > > Give me a few hours and I'll be knocking out the eBook and PDF versions. > > By the end of the day. > > Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil > ----- Original Message ----- > From: "Chris Withers" > To: > Cc: ; > Sent: Tuesday, October 31, 2000 11:49 AM > Subject: Re: [Zope] Zope Book Beta > > > There a PDF of it anywhere? > > > > cheers, > > > > Chris > > > > Michel Pelletier wrote: > > > > > > Amos and I are gibbering like madmen with excitement to announce the > > > Zope Book Beta. This is the complete, technical draft of the book with > > > all screenshots (but minus illustrations, those are on there way!). > > > Some other things like a colophon and information about the authors is > > > missing. The beta includes all completed chapters, the API reference, > > > and the DTML reference. We've received over a hundred comments, > > > corrections, and ideas from you the community and it has made a much > > > better book. This is the one to print out and give to your friends as > > > christmas gifts, folks, so get crackin and start reading at > > > http://www.zope.org/Members/michel/ZB/. > > > > > > Enjoy, > > > > > > -Michel > > > > > > _______________________________________________ > > > 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 ) > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sun Oct 29 17:16:22 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:16:22 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <014e01c041cb$f8c1c970$0202a8c0@typhoon> Nah, I use the offical stuff , Adobe Distiller. For the eBook stuff I use a Microsoft Word Add-in, available from www.pocketpc.com (really microsoft under a pseudonym) hth Phil ----- Original Message ----- From: "Ender" To: "Phil Harris" Cc: ; ; Sent: Tuesday, October 31, 2000 12:52 PM Subject: Re: [Zope] Zope Book Beta | Phil Harris wrote: | > | > Give me a few hours and I'll be knocking out the eBook and PDF versions. | > | > By the end of the day. | > | > Phil | | Hi Phil, | | how do you do that? for the pdf are you dumping stuff into reportlab? | | Kapil | | | > ----- Original Message ----- | > From: "Chris Withers" | > To: | > Cc: ; | > Sent: Tuesday, October 31, 2000 11:49 AM | > Subject: Re: [Zope] Zope Book Beta | > | > > There a PDF of it anywhere? | > > | > > cheers, | > > | > > Chris | > > | > > Michel Pelletier wrote: | > > > | > > > Amos and I are gibbering like madmen with excitement to announce the | > > > Zope Book Beta. This is the complete, technical draft of the book with | > > > all screenshots (but minus illustrations, those are on there way!). | > > > Some other things like a colophon and information about the authors is | > > > missing. The beta includes all completed chapters, the API reference, | > > > and the DTML reference. We've received over a hundred comments, | > > > corrections, and ideas from you the community and it has made a much | > > > better book. This is the one to print out and give to your friends as | > > > christmas gifts, folks, so get crackin and start reading at | > > > http://www.zope.org/Members/michel/ZB/. | > > > | > > > Enjoy, | > > > | > > > -Michel | > > > | > > > _______________________________________________ | > > > 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 ) | > | > _______________________________________________ | > 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 ) From ckant@fazenda.gov.br Tue Oct 31 18:35:46 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Tue, 31 Oct 2000 16:35:46 -0200 Subject: [Zope] Sybase/MS SQL Server Database Adaptor - FreeTDS Message-ID: <39FF1102.B1263576@fazenda.gov.br> Hi! Does anyone have implemented any application in Linux that connects to a MS SQL Server 6.5 form a Linux box? I know there are a way to connect to a MS SQL Server using FreeTDS (http://www.FreeTDS.org/), but doesn't know how to make it runs with Python/Zope. Can anyone helps me? []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Sed quis custodiet ipsos Custodes? [Who guards the Guardians?] From Danny@Adair.net Tue Oct 31 18:37:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:37:46 +0100 Subject: [Zope] Change rendering of a folder Message-ID: Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny From amos@digicool.com Tue Oct 31 18:39:58 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 10:39:58 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FEA5C3.30680.5483DF1@localhost> Message-ID: <39FF11FE.41B79D22@digicool.com> Wolfgang Strobl wrote: > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. I believe that O'Reilly doesn't want the book redistributed before it is printed. I'll recheck with them. Take a look at the copyright stuff info on each page. Luckily the book will soon be under an open content license, and then you'll be free to do what ever you wish. Thanks for taking a look at the book! -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From twiens@compusmart.ab.ca Tue Oct 31 18:56:24 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 11:56:24 -0700 Subject: [Zope] Mapping tools with Zope References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <39FF1604.522CF6D0@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From robin@jessikat.fsnet.co.uk Tue Oct 31 18:58:00 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 18:58:00 +0000 Subject: [Zope] preventing acquisition Message-ID: I have some folderish Zclasses which have index_html methods to implement a UI. I would like to inhibit acquisition of these. So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like

You're not supposed to be looking at

in my index_html, but this doesn't work for the second case. Is there a generic way to do this? -- Robin Becker From Danny@Adair.net Tue Oct 31 18:58:29 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:58:29 +0100 Subject: [Zope] Sorry, resolved Message-ID: Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Danny William Adair Gesendet: Dienstag, 31. Oktober 2000 19:38 An: zope@zope.org Betreff: [Zope] Change rendering of a folder Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny _______________________________________________ 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 ) From ws@mystrobl.de Tue Oct 31 19:28:50 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 20:28:50 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF11FE.41B79D22@digicool.com> Message-ID: <39FF2B82.7500.28F81960@localhost> On 31 Oct 2000, at 10:39, Amos Latteier wrote: > I believe that O'Reilly doesn't want the book redistributed before it is > printed. It's gone. > I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? >Take a look at the copyright stuff info > on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl From asc@vineyard.net Tue Oct 31 19:48:28 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 31 Oct 2000 14:48:28 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Message-ID: Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... On Tue, 31 Oct 2000, TFE WSD JARVIS JOHN wrote: > Yes, but you have to do in it a round about way. > (Actually, I've seen mention of a patch to Apache that > does this, but I don't think it's neccessary) > > Here's the setup I'm using: > RewriteEngine On > RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} > [QSA,L,P] > RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] > RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] > > In this case, REMOTE_ADDR will be available in the > REQUEST namespace under "client_ip" > > HTH > > > -----Original Message----- > > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > > Sent: Tuesday, October 31, 2000 5:47 AM > > To: zope@zope.org > > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > > > Hi, > > > > Does anyone know if it is even *possible* to pass environment variables > > (specifically REMOTE_USER) to Zope when it is set up behind > > Apache/ProxyPass. > > > > I've looked around the list archives, and the Apache docs and tried a > > bunch of different configs but nothing works. I'm starting to wonder if > > it's all in vain. > > > > Thanks, > > > > > > > > _______________________________________________ > > 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 ) > From amos@digicool.com Tue Oct 31 19:44:16 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 11:44:16 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF2110.AF8151CC@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see what I'm talking about. As soon as the book is published it will go under an open content license and we'll make PDF, and probably other formats available. At that time you'll also be able to convert the book to whatever formats you want and redistribute it as you wish. Thanks for your patience. -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From robin@jessikat.fsnet.co.uk Tue Oct 31 20:10:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:10:09 +0000 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> References: <39FE2133.F00ED435@digicool.com> Message-ID: In article <39FE2133.F00ED435@digicool.com>, Michel Pelletier writes > >Amos and I are gibbering like madmen with excitement to announce the >Zope Book Beta. This is the complete, technical draft of the book with >all screenshots (but minus illustrations, those are on there way!). >Some other things like a colophon and information about the authors is >missing. The beta includes all completed chapters, the API reference, >and the DTML reference. We've received over a hundred comments, >corrections, and ideas from you the community and it has made a much >better book. This is the one to print out and give to your friends as >christmas gifts, folks, so get crackin and start reading at >http://www.zope.org/Members/michel/ZB/. > >Enjoy, > >-Michel > ... wonderful, but the stuff on Python methods seems to refer to features which are certainly not in 2.2.2 and apparently not in CVS. Indeed CVS Zope2 doesn't seem to contain any Python method product! Indeed we will apparently soon be able to create XSLT methods! Which potential Zope does the book address? -- Robin Becker From robin@jessikat.fsnet.co.uk Tue Oct 31 20:51:54 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:51:54 +0000 Subject: [Zope] preventing acquisition In-Reply-To: References: Message-ID: In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From evan@4-am.com Tue Oct 31 20:58:04 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 31 Oct 2000 15:58:04 -0500 Subject: [Zope] Zope & Apache/ProxyPass : environment variables References: Message-ID: <00d801c0437d$434cbf10$3e48a4d8@digicool.com> From: Aaron Straup Cope > Thanks. It appears, though, that there is no way to do this without > appending a query string to the redirected URL. Is this correct? That, or mangling the URL in some way and then unmangling on the Zope end. If someone out there has any experience with Apache modules, they could earn the undying gratitude of many Zopistas by enhancing mod_forwarding to do this sort of thing. Cheers, Evan @ digicool & 4-am From michel@digicool.com Tue Oct 31 20:54:49 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:54:49 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF2B82.7500.28F81960@localhost> Message-ID: <39FF3199.2EAC7DB2@digicool.com> Wolfgang Strobl wrote: > > On 31 Oct 2000, at 10:39, Amos Latteier wrote: > > > I believe that O'Reilly doesn't want the book redistributed before it is > > printed. > > It's gone. > > > I'll recheck with them. > > No need to. > > But what is the meaning of This is the one to print out and give to > your friends as christmas gifts, folks, so get crackin and start > reading at." in the announcement? That was a joke. Sorry. -Michel From michel@digicool.com Tue Oct 31 20:57:51 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:57:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF324F.2A90AFB2@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? No, we won't produce one until the book goes to an open content license when it hits the shelf. -Michel > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From jasonic@nomadicsltd.com Tue Oct 31 21:15:59 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Tue, 31 Oct 2000 16:15:59 -0500 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <39FF2110.AF8151CC@digicool.com> Message-ID: <026501c0437f$c4c18ba0$c3090740@megapathdsl.net> Hello Congratulations on getting the book to this stage!! It is very readable and I hope it is well promoted, and well received. One obvious presentation improvement I suggest is that you make ALL zope code references in the same typographic style. For example throughout most of the text you sensibly have DTML and Python examples in courier or equivalent. But in the Appendices, for example http://www.zope.org/Members/michel/ZB/AppendixA.html under sections marked 'Attributes', there is not a clear consistent distinction: encode=string MIME Content-Transfer-Encoding header, defaults to base64. Valid encoding options include base64, quoted-printable, uuencode, x-uuencode, uue, x-uue, and 7bit. If the encode attribute is set to 7bit no encoding is done on the block and the data is assumed to be in a valid MIME format. "encode=string" should display in courier also like all examples. And if possible put one extra line space after each Attribute description before the next entry. Thought this takes up a little more space, it is white space well used adn really helps one to find and absorb this crucial content better. An editorial suggestion I would make is that in the Appendices, MORE examples would be BETTER and clearer definitions and examples of the attributes arguments would really help too. Even a single one or two-line example after each 'Attributes section would be a godsend. I imagine there are lots of juicy examples in the archives. For example check sendmail, mailhost ="mailhostnamegoeshere" Also there is no mention about the sendmail quirkiness of formatting, needing space after the subject: line This is a FAQ and surely belongs in the appendix of the only Zope book. Are there others? In general for the Appendices, please check that explicitly it is clear and consistent when and if anything is returned, and when and how arguments are needed. You all know, and take all this for granted no doubt, but others truly don't. The API aspect is one that holds so many people back and so many questions about real-world use. Copious well placed examples go a long way. I know how hard it is use to make a book and how many endless fiddly time-consuming tasks there are. But it really is worth getting this right. I work for 10 years in the design and production side of book publishing. Ditto the index. I hope you push to make sure your editorial team at OReilly are really behind you on helping to produce a great index and will sweat all the details and typographic minutiae which do matter so much when you hold the final result. A classic example is 'Lingo in a Nutshell' [ORA] which has very detailed examples and excellent tables and appendices, but was marred by a cheap fast shallow index. It was author Bruce Epstein's painful learning curve. It is still the definitive LINGO book, but widely criticized for lack of serious index. Bruce later added stuff online and vowed to fix it in the next edition. As I recall from his post to the Direct-L mailing list, he said that he had not been personally very involved in the index, and as an exhausted and tired new author, he had not reckoned on what could go wrong, nor how important the index is to a static printed paper book. Very different from the dynamic online world where a few searches on google or wherever will get a handy reference, backed up by a post to xyz-mailinglist. Best wishes - Jason ________________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector From twiens@compusmart.ab.ca Tue Oct 31 22:02:30 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 15:02:30 -0700 Subject: [Zope] Mapping tools with Zope Message-ID: <39FF419C.6BC2856D@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T PS. I'm posting this a second time as I accidentally posted the first message as part of the Zope Book Beta thread. Sorry. -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From ws@mystrobl.de Tue Oct 31 22:08:00 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 23:08:00 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <39FF50D0.5314.2989D443@localhost> On 31 Oct 2000, at 12:54, Michel Pelletier wrote: > That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl From aboulang@ldeo.columbia.edu Tue Oct 31 22:27:35 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Tue, 31 Oct 2000 17:27:35 -0500 (EST) Subject: [Zope] Mapping tools with Zope In-Reply-To: <39FF419C.6BC2856D@compusmart.ab.ca> (message from twiens on Tue, 31 Oct 2000 15:02:30 -0700) Message-ID: <200010312227.RAA05754@ox.ldgo.columbia.edu> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. Here is one one other that I know of that may be of interest. BBN Technologies; contribution to the OpenGIS effort, a product called openmap, www.openmap.org. This is a JavaBeans tooolkit. I have downloaded it but have not done anything serious with it. FYI, Albert Boulanger aboulanger@vpatch.com From dieter@handshake.de Tue Oct 31 22:02:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:02:33 +0100 (CET) Subject: [Zope] incorporating generated sub-websites within a Zope site In-Reply-To: <34848996@toto.iv> Message-ID: <14847.16076.672445.475183@lindm.dm> Fred Yankowski writes: > ... publishing content created with standard web design tools via Zope ... There have been some discussions about this in "zope-dev" in relation with "HiperDOM" and "XHTML" templates. Maybe, you search the "zope-dev" archive to get an overview. As far as I know, DC plans to support such publication. HiperDOM might already go some way into this direction (for tools that generate XHTML). There is an easy way to provide header and footer to your content -- provided you are ready to use a bit uncomfortable URLs, i.e. to view an object with URL "u", you use "u/view". "view" is a method (DTML or PYTHON) that operates on "u". It removes the header and footer in "u" and replaces it with header and footer of your choice, after passing values extracted from the original header to the new header (e.g. title, link, meta tags). With some advanced Zope, maybe the "Traversable" product, it might be possible to get around the additional "/view" URL suffix. Dieter From dieter@handshake.de Tue Oct 31 22:03:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:03:54 +0100 (CET) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: <54175321@toto.iv> Message-ID: <14847.16782.566315.644387@lindm.dm> Tony McDonald writes: > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > > and the traceback... > > (Info: ('\000\000\000\000\000\000\015\367', > '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ > Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke > rBase > > Now the thing is, I *do not have* TrackerBase.TrackerBase in my > Products folder. To try and get rid of this error, I have deleted > *all* the products in my Products Folder and restarted my server. The > error message still comes up. > I have packed the database and tried 'grep' The problem will probably disappear, when you do install "TrackerBase". Dieter From dieter@handshake.de Tue Oct 31 22:05:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:05:05 +0100 (CET) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <44407041@toto.iv> Message-ID: <14847.16851.2182.108602@lindm.dm> Aaron Straup Cope writes: > I'd like to be able to perform all authentication in Apache-land on the > SSL and, if successful, hand the request off the Zope. The thing is, I > still need to know who's actually authenticated once they readch > Zope-world and assinging REMOTE_USER to a request parameter doesn't make > me very comfortable. > > Alas... The "doc/WEBSERVERS.txt" contains some information about how to convince Apache to pass "REMOTE_USER". I am not sure, it will be enough for you. Dieter From dieter@handshake.de Tue Oct 31 21:37:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 22:37:40 +0100 (CET) Subject: [Zope] Gadfly In-Reply-To: <12604657@toto.iv> Message-ID: <14847.15152.805685.438529@lindm.dm> Chris Withers writes: > jacintha menezes wrote: > > > I am using Gadfly database for Employee details.Kindly let me know > > whether there is any maximum limit for the space available. > > Probably related to the memory in the machine you are running Zope on. > > Bear in mind that gadfly databases are not persistent and loose their > contents when you restart Zope. It is very easy to make them persistent. When I remember correctly, it was only necessary to pass "commit" to Gadfly. Dieter From phil.harris@zope.co.uk Sun Oct 29 17:50:41 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:50:41 -0000 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF50D0.5314.2989D443@localhost> Message-ID: <003101c041d0$c2da66f0$0202a8c0@typhoon> Hi all, If your talking about me with the PDF and eBook, then if it's a problem I won't redistribute it. It's actually sitting on my machine waiting to go, but I'll hold if need be. Let me know either way. hth Phil ----- Original Message ----- From: "Wolfgang Strobl" To: ; "Amos Latteier" ; ; Sent: Tuesday, October 31, 2000 10:08 PM Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta | On 31 Oct 2000, at 12:54, Michel Pelletier wrote: | | > That was a joke. Sorry. | | Uh, oh. Well, my thought was as follows: people are already | annoucing making PDF versions, which are a much greater | potential harm to to the number of sales of a printed book.With a | good pdf file, I can get to my local prinshop and get a perfect | bounded book back within half an hour. | | On the other hand, a MS HTML help file is of little use other than | having a compact, searchable file which fits well into a | development environment on Windows. Frankly, I can't see how | these could do any harm to selling your book. To the contrary; I | tend to beleive that having a properly indexed and tightly | integrated online format might even might help selling the book. | | For example; I have HTML help versions _and_ printed copies of | the - outdated - Zope docs, and one of each from the actual | howto-collection, and I'm using them both. | | -- | Wolfgang Strobl | | _______________________________________________ | 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 ) From troy.farrell@wilcom.com Tue Oct 31 23:04:19 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Tue, 31 Oct 2000 17:04:19 -0600 Subject: [Zope] preventing acquisition Message-ID: Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -----Original Message----- From: Robin Becker [mailto:robin@jessikat.fsnet.co.uk] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: Zope@zope.org Subject: Re: [Zope] preventing acquisition In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From nichols@tradingconnections.com Tue Oct 31 23:01:26 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 31 Oct 2000 17:01:26 -0600 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF50D0.5314.2989D443@localhost> References: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <4.3.2.7.2.20001031165846.00c7d960@tradingconnections.com> At 10/31/00 11:08 PM, Wolfgang Strobl wrote: >For example; I have HTML help versions _and_ printed copies of >the - outdated - Zope docs, and one of each from the actual >howto-collection, and I'm using them both. Wolfgang - How about putting up your HTML help version of the howto-collection? That would be very cool. Thanks! -- Dennis Nichols nichols@tradingconnections.com From phil.harris@zope.co.uk Tue Oct 31 01:50:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 01:50:09 -0000 Subject: [Zope] OT Zope book images -> PDF References: Message-ID: <008301c042dc$e7d072d0$0202a8c0@typhoon> Eric, I got Acrobat to recognise the png's by first loading the html nto msword and then 'printing' the PDF from there. hth Phil ----- Original Message ----- From: "Eric Walstad" To: "Zope@Zope.Org" Sent: Thursday, November 02, 2000 12:58 AM Subject: [Zope] OT Zope book images -> PDF | In light of all the hubbub about the Zope book, I thought I would try and | make my own copy of it in PDF format (just for me, of course). I'm finding | that Acrobat doesn't know how to convert the PNG image file type used in the | Zope Book. (or rather, I don't know how to get it to work !) Anyone know | how to get png files into Acrobat? Oh, I'm trying to use their 'Open Web | Page' method of creating the document. Is there another/better way that | will get the png images? | Thanks, | Eric. | | | _______________________________________________ | 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 ) From peter@grenna.net Sun Oct 1 00:23:12 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 1 Oct 2000 00:23:12 +0100 Subject: [Zope] Hexcolors and DTML Message-ID: <001b01c02b35$67513450$01d4a8c0@peppe> This might be a math-python question but... All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 I can do a loop from 1 to 255, but I don't know where to go from there. BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? From zope@philosoft.at Sun Oct 1 02:52:40 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sun, 01 Oct 2000 03:52:40 +0200 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? Message-ID: <200010010352400046.182B82FD@192.7.2.223> --=====_97036516041=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Since XML blows lots of overhead over the line sending large amounts of data via XML becomes a performance question. There exist XML-compressors, for example XMill that address this problem. What I need is integrating such an XML compressor into the Zope XMLRPC= mechanism, Before I do something that is already done by somebody else: Did anybody play with XML compressors for Zope or at least have a hint how= to do that? thanks --=====_97036516041=_ Content-Type: text/html; charset="us-ascii"
Since XML blows lots of overhead over the line sending large amounts of
data via XML becomes a performance question.
 
There exist XML-compressors, for example XMill that address this problem.
 
What I need is integrating such an XML compressor into the Zope XMLRPC mechanism,
Before I do something that is already done by somebody else:
 
Did anybody play with XML compressors for Zope or at least have a hint how to do that?
 
thanks
--=====_97036516041=_-- From chrism@digicool.com Sun Oct 1 03:47:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 30 Sep 2000 22:47:17 -0400 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? References: <200010010352400046.182B82FD@192.7.2.223> Message-ID: <39D6A5B5.D77B08CE@digicool.com> Phillip, If your data transfers are bounded between a number of systems that you control, it's possible to solve this problem the sledgehammer way by having them communicate via a channel such as a compressed ssh tunnel (if your processors aren't a bottleneck). -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From twcook@iswt.com Sun Oct 1 03:59:40 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 30 Sep 2000 21:59:40 -0500 Subject: [Zope] Hexcolors and DTML References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <39D6A89C.EA2B0341@iswt.com> Peter Bengtsson wrote: > > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > > BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? Not an expert on this at all. But, I believe that all the websafe colors are defined in pairs of the following hex digits. 00, 33, 66, 99, cc, & ff. So only colors that are composed of those pairs are websafe. If that's true then yes there are shades of gray that are not web safe. Checkout this link for more info. http://www.reallybig.com/visibone/lab/index.shtml Therefore there are only six shades of websafe gray. 000000, 333333, 666666, 999999, cccccc, & ffffff. Put those in a list? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From wilson@visi.com Sun Oct 1 05:32:48 2000 From: wilson@visi.com (Timothy Wilson) Date: Sat, 30 Sep 2000 23:32:48 -0500 (CDT) Subject: [Zope] handling date properties in Message-ID: Hi everyone, I've created a simple ZClass to allow our Human Resources dept. to post job openings on our Web site. There's a DTML method that iterates through a folder containing all of the 'Job Board Entry' instances and displays them in an HTML table. No problem there. The ZClass has a number of properties including two dates, 'date_posted' for the date that the job is officially available and 'offer_expires' for the date the job opening officially closes. I want to display only those jobs for which the current date is on or after the 'date_posted' and on or before 'offer_expires'. I've tried a bunch of things, but haven't hit upon the winning answer. Any takers? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From nolan_d@bigfoot.com Sun Oct 1 07:26:15 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Sun, 01 Oct 2000 01:26:15 -0500 Subject: [Zope] Z class complexities Message-ID: <20001001012615P.nolan@tiny> I'm having a kinda complex problem, and hopefully my explanation can do it justice. :) I'm using zope to construct an XML document from the contents of a folder. Basically, the folder's index.xml iterates through the folder's contents, rendering each object to produce the final document. The objects are separate z classes which combine various properties into a small snippet of the larger XML document. The z class has a render() method which combines the properties into the XML snippet. I have a Render view configured to run this method, and it works. (Though for some reason it adds a ..., which I'd really like to get rid of. How can I?) I've written the index_html to collect the individual objects and concatenate their contents into an XML document. The code for the method is below: This almost gives me what I want (I say "almost" because everything works, short of the render() call.) Viewing this results in: +----------------------------------------------------------------------------+ ||Zope Error | || | ||Zope has encountered an error while publishing this resource. | || | ||Error Type: KeyError | ||Error Value: title | ||---------------------------------------------------------------------------| || | ||Troubleshooting Suggestions | || | || o This resource may be trying to reference a nonexistent object or | || variable title. | || o The URL may be incorrect. | || o The parameters passed to this resource may be incorrect. | || o A resource that this resource relies on may be encountering an error. | || | ||For more detailed information about the error, please refer to the HTML | ||source for this page. | || | ||If the error persists please contact the site maintainer. Thank you for | ||your patience. | +----------------------------------------------------------------------------+ Traceback (innermost last): File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/e1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/e1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index.xml) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index.xml) File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: PARENTS[0].objectValues('ESPPackage')) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[_['id']].render()) (Info: _) File <string>, line 0, in ? File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: render) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: render) KeyError: (see above) --> I have a title variable in the z class which this index.xml method is referencing. And, as previously stated, the render() method runs without errors when invoked via the view. Yet, trying to display this document from within another doesn't work. Can anyone please advise? Thanks a bunch in advance. From stefan@epy.co.at Sun Oct 1 09:38:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Sun, 1 Oct 2000 10:38:17 +0200 (CEST) Subject: [Zope] DTMLTemplate on Zope 2.2.1 Message-ID: I a trying to make the DTMLTemplate Product work on Zope 2.2.1 No luck so far ;( I can add a DTMLTemplate instance but when I try to edit it, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: first argument must be sequence of strings Traceback (innermost last): File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: MyBlocks) File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 271, in recordMetaData TypeError: (see above) I believe it worked with Zope 2.1.6. Any hints appreciated. Stefan -- Stefan H. Holek, stefan@epy.co.at From rsepulveda@linuxmty.org Sun Oct 1 09:39:07 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 03:39:07 -0500 Subject: [Zope] Use variable value by other file In-Reply-To: Dieter Maurer's message of "Sat, 30 Sep 2000 22:10:17 +0200 (CEST)" References: <14806.18483.33225.450699@lindm.dm> Message-ID: <87og15x8es.fsf@linuxmty.org> Dieter Maurer writes: > It is not necessary for "standard_html_footer" to be > in the same folder than your file. Yes, I realize that it was a mistake in the variable name: - instead of a _. -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From rsepulveda@linuxmty.org Sun Oct 1 11:06:41 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 05:06:41 -0500 Subject: [Zope] One page for different selections Message-ID: <87k8bsyixa.fsf@linuxmty.org> Is there a way to make a variable change its value depending which 'href' the user clicks in order to change the contents of the next page viewed? For example, I want to have a page with six links, and depending which of them the user clicks, a variable will change its value so the next page will display that data refered on the link clicked. Is there a way to do this without having six files, one for each other; just having one file with that variable? -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From sebbacon@email.com Sun Oct 1 13:42:25 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:42:25 +0100 Subject: [Zope] One page for different selections References: <87k8bsyixa.fsf@linuxmty.org> Message-ID: <39D73131.60633ECD@email.com> I'm not sure exactly what you mean when you say > Is there a way to do this without having six files, one for each > other; just having one file with that variable? but one answer to what I think you're asking is Foo Bar and then in the next_page document: this will render the foo object if someone clicks on "Foo", etc. HTH, seb. "Rafael Sepúlveda" wrote: > > Is there a way to make a variable change its value depending which > 'href' the user clicks in order to change the contents of the next > page viewed? > > For example, I want to have a page with six links, and depending which > of them the user clicks, a variable will change its value so the next > page will display that data refered on the link clicked. > From sebbacon@email.com Sun Oct 1 13:48:50 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:48:50 +0100 Subject: [Zope] handling date properties in References: Message-ID: <39D732B2.FD73DA33@email.com> Hi, > ... I want to display only those jobs > for which the current date is on or after the 'date_posted' and on or > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > the winning answer. Any takers? Try Job:
Seb. From mail@okstudio.com.au Sun Oct 1 16:58:18 2000 From: mail@okstudio.com.au (George Osvald) Date: Mon, 2 Oct 2000 01:58:18 +1000 Subject: [Zope] working crontab restart script on FreeBsd Message-ID: <000001c02bc0$6a977580$48f438cb@gosvald> I was trying to do this for a little while so in case anyone's interested, here it is. Most of the code was kindly sent to me by other people so do not blame me for the mistakes. This script(auto) checks ZOPE every 15'th minute and if it does not run, it will restart it. It has been working without a problem on FreeBSD 4.0 after I patched ZOPE's pidfile for LF's. (without that little operation it returns an error message and restarts ZOPE every time without checking it) I am running this from crontab: SHELL=/bin/sh 0,15,30,45 * * * * /home/user/auto And this script(auto) is sitting in my user directory: #!/bin/sh ZOPEDIR="/home/user/zope" INFOMAIL="mail@okstudio.com.au" STARTFILE="$ZOPEDIR/start" STOPFILE="$ZOPEDIR/stop" PIDFILE="$ZOPEDIR/var/Z2.pid" PID1ACTIVE=0 PID2ACTIVE=0 if [ -x $STARTFILE ]; then if [ -r $PIDFILE ]; then PID1=`cut -d" " -f1 $PIDFILE` PID2=`cut -d" " -f2 $PIDFILE` if kill -0 $PID1 2>/dev/null then PID1ACTIVE=1 fi if kill -0 $PID2 2>/dev/null then PID2ACTIVE=1 fi fi if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then $STOPFILE >/dev/null 2>&1 sleep 10 $STARTFILE date | mail -s"Zope restarted" $INFOMAIL >/dev/null 2>&1 fi fi Regards, George From roeder@berg.net Sun Oct 1 16:41:26 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 17:41:26 +0200 Subject: [Zope] handling date properties in References: <39D732B2.FD73DA33@email.com> Message-ID: <39D75B26.2646394B@berg.net> Hi ! seb wrote: > > Hi, > > > ... I want to display only those jobs > > for which the current date is on or after the 'date_posted' and on or > > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > > the winning answer. Any takers? > > Try > > > > > Job:
>
>
>
I have added it to he ZSnippets: http://zdp.zope.org/projects/zsnippet/snippets/time/expiration Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From roeder@berg.net Sun Oct 1 17:02:18 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 18:02:18 +0200 Subject: [Zope] Z class complexities References: <20001001012615P.nolan@tiny> Message-ID: <39D7600A.565060D4@berg.net> Hi Nolan ! Nolan Darilek wrote: > > I'm having a kinda complex problem, and hopefully my explanation can > do it justice. :) > > I'm using zope to construct an XML document from the contents of a > folder. Basically, the folder's index.xml iterates through the > folder's contents, rendering each object to produce the final > document. The objects are separate z classes which combine various > properties into a small snippet of the larger XML document. > > The z class has a render() method which combines the properties into > the XML snippet. I have a Render view configured to run this method, > and it works. (Though for some reason it adds a ..., which > I'd really like to get rid of. How can I?) Attach the following code: > I've written the index_html to collect the individual objects and > concatenate their contents into an XML document. > > > > > > > > Something like this should work if you have a DTML Method to_xml: Place the to_xml in the ESPPackage ZClass Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From andym@ActiveState.com Sun Oct 1 20:54:18 2000 From: andym@ActiveState.com (Andy McKay) Date: Sun, 1 Oct 2000 12:54:18 -0700 Subject: [Zope] SQL errors References: <14805.3989.417931.96225@lindm.dm> Message-ID: <005c01c02be1$62bb9370$ae03a8c0@fork> Of course, thank you. That works just fine. ----- Original Message ----- From: "Dieter Maurer" To: "Andy McKay" Cc: Sent: Friday, September 29, 2000 2:55 PM Subject: Re: [Zope] SQL errors > Andy McKay writes: > > Using ZODBC Database Adapter to connect to an MSSQL and I can call the sql > > method in dtml eg: > > > > > > > > > > Error! > > > > > > But does anyone know a way of trapping the specific error eg: database down, > > key violation etc...? Or do I have to hack ZODBC to return different errors? > You know the "error_value" variable defined inside the "dtml-except"? > > Maybe, it can give you additional information about the kind > of error. > If it is the wrong one, reraise the exception. > > > Dieter > > _______________________________________________ > 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 ) > From jensebaer@hotmail.com Sun Oct 1 22:09:36 2000 From: jensebaer@hotmail.com (jensebaer) Date: Sun, 1 Oct 2000 23:09:36 +0200 Subject: [Zope] LocalFS manage_addFolder solution? Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, while searching for a solution to add a folder to LocalFS, I found this = message: _________________________________________________________________________= _____ > Folder creation isn't really supported in LocalFS at the moment. Very = > low level support is there (module function _save_Folder) but it's not = > intended to be called externally and there doesn't seem to be any path = > to call it. There is certainly not a local definition of > manage_addFolder in LocalDirectory. This is on my list of stuff to do = > for our site, but I don't know if it's on Jonothan's list for the real > product. It is. It's hard. I'm going to need some help with this one, I'm afraid. --jfarr _________________________________________________________________________= _____ My question: Is there now a solution to perfom manage_addFolder to LocalFS? Thank You=20 Jens ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
while searching for a solution to add a = folder to=20 LocalFS, I found this message:
________________________________________________________________= ______________
> Folder creation isn't really = supported in=20 LocalFS at the moment.  Very
> low level support is there = (module=20 function _save_Folder) but it's not
> intended to be called = externally=20 and there doesn't seem to be any path
> to call it.  There = is=20 certainly not a local definition of
> manage_addFolder in=20 LocalDirectory.  This is on my list of stuff to do
> for our = site,=20 but I don't know if it's on Jonothan's list for the real
>=20 product.

It is. It's hard. I'm going to need some help with this = one, I'm=20 afraid.

--jfarr

________________________________________________________________= ______________
 
 
My question:
 
Is there now a solution to perfom = manage_addFolder=20 to LocalFS?
 
Thank You
 
Jens
------=_NextPart_000_0005_01C02BFC.AAFAF3E0-- From scott@launchpoint.net Sun Oct 1 22:13:59 2000 From: scott@launchpoint.net (Scott Burton) Date: Sun, 01 Oct 2000 14:13:59 -0700 Subject: [Zope] sendmail tag strangeness Message-ID: > 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. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I have searched around about sendmail tag problems on the list and have found similar answers to my question. However none of them work. I have used this syntax To: <> From: Subject: body.... I pay close attention to not having any whitespace before the To: and From: headers. I receive this error from multiple SMTP hosts: 503 must have sender and recipient first I can send an email with this syntax: body... The problem is, I have to put in the recipient by hand. This method is supposed to email a recipient after filling out a form so the recipient has to be a variable. When I try using or &dtml-recipient; or _[recipient] I still have errors or the SMTP log shows that the variable does not get evaluated and shows up as a string of <&dtml-recipient;> as being the recipient in the SMTP header. Is this a bug? Is there something else I could try? TIA Scott B. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable sendmail tag strangeness I have searched around about sendmail tag problems on the list and have fou= nd similar answers to my question. However none of them work.

I have used this syntax
<dtml-sendmail mailhost=3D"MailHost">
To: <<dtml-var recipient>>
From: <me@mydomain.com>
Subject: <Whatever>

body....

</dtml-sendmail>

I pay close attention to not having any whitespace before the To: and From:= headers.

I receive this error from multiple SMTP hosts: 503 must have sender and recipient first


I can send an email with this syntax:

<dtml-sendmail mailhost=3D"MailHost" mailto=3D"you@yourdomain= .com" mailfrom=3D"me@mydomain.com">

body...

</dtml-sendmail>

The problem is, I have to put in the recipient by hand. This method is supp= osed to email a recipient after filling out a form so the recipient has to b= e a variable. When I try using <dtml-var recipient> or &dtml-recip= ient; or _[recipient] I still have errors or the SMTP log shows that the var= iable does not get evaluated and shows up as a string of <&dtml-recip= ient;> as being the recipient in the SMTP header.

Is this a bug? Is there something else I could try?

TIA

Scott B.
--MS_Mac_OE_3053254440_367021_MIME_Part-- From roeder@berg.net Sun Oct 1 23:02:01 2000 From: roeder@berg.net (Maik Roeder) Date: Mon, 02 Oct 2000 00:02:01 +0200 Subject: [Zope] sendmail tag strangeness References: Message-ID: <39D7B459.2C3D96BD@berg.net> Hi Scott ! Scott Burton wrote: > The problem is, I have to put in the recipient by hand. This method is > supposed to email a recipient after filling out a form so the recipient > has to be a variable. When I try using or &dtml-recipient; > or _[recipient] I still have errors or the SMTP log shows that the variable > does not get evaluated and shows up as a string of <&dtml-recipient;> > as being the recipient in the SMTP header. > > Is this a bug? Is there something else I could try? I have tested the following code on the ZDP site, and it works: To: <> From: The CommentClass constructor Subject: A new Comment has been added to ZDP ! Dear Tom ! Under the following URL, a Comment has been added: URL: / Name: Nickname: Content: Have a nice day, The CommentClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/CommentClass_add/manage_main) Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 Process ID: 1478 (1024) Running for: 34 days 4 hours 6 min 32 sec Maybe you can test the above code and see if it works. It may be possible to track down the bug by comparing the code from 2.1.3 with the code from your Zope version. Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From curtis@cardgate.net Mon Oct 2 00:27:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 10:27:56 +1100 Subject: [Zope] Hexcolors and DTML In-Reply-To: <001b01c02b35$67513450$01d4a8c0@peppe> References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <00100210275606.02655@localhost.localdomain> On Sun, 01 Oct 2000, Peter Bengtsson wrote: > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for > a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > ">BLAH
> BTW, are there non-websafe greycolors? Can the loop be for only websafe > ones? > According to a recent study, there are approximately 13 'web safe' colours, out of the full 16,777,216. Can you be bothered restricting yourself to support the 'lowest common denominator' ? If you really want to know what they are, do a quick search back on www.slashdot.org for the link. Have a better one, Curtis Maloney From jatwood@bwanazulia.com Mon Oct 2 00:52:14 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 1 Oct 2000 19:52:14 -0400 Subject: [Zope] ANN: ZUBB/ZDiscussions 0.6.0 Released In-Reply-To: <005c01c02be1$62bb9370$ae03a8c0@fork> References: <14805.3989.417931.96225@lindm.dm> <005c01c02be1$62bb9370$ae03a8c0@fork> Message-ID: http://www.zope.com/Members/BwanaZulia/ZUBB With the help of Jeffrey and Angel here is 0.6.0 Changes in Version 0.6.0 Fixed the problem (again) with 2.2.2 (submitted by Angel Garcia) Added message count to the main view (submitted by Jeffrey Harris) Added last post to main view (submitted by Jeffrey Harris) Modified thread view so it will show entire thread (Submitted by Jeffrey Harris) Modified both README and header of ZDiscussions.py Upgraded status to STABLE from DEVELOPMENT as it has now been in production on five of my sites with no problems. Example Sites: http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES Report bugs and such to: http://www.bwanazulia.com/discussions/test/ If you have a ZUBB/ZDiscussion installation and would like to be added to the list please let me know. Thanks, J From jens@grewen.de Mon Oct 2 02:48:16 2000 From: jens@grewen.de (Grewen.de) Date: Mon, 2 Oct 2000 03:48:16 +0200 Subject: [Zope] How to use manage_addLocalFS Message-ID: <000801c02c12$d597c220$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I want to create an LocalFS object. I use but that doesn=B4t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I want to create an LocalFS = object.
 
I use <dtml-call = "manage_addLocalFS('LocalFS',=20 'Tis is the title', '/home/zope/productimages')"> but that doesn=B4t=20 work.
 
Simular to <dtml-call=20 "manage_addFolder('Folder', 'Tis is the title')">
 
Any ideas?
 
May I have to use a externel methode = like in the=20 mail I posted before?
 
 
------=_NextPart_000_0005_01C02C23.988B08E0-- From wilson@visi.com Mon Oct 2 04:19:19 2000 From: wilson@visi.com (Timothy Wilson) Date: Sun, 1 Oct 2000 22:19:19 -0500 (CDT) Subject: [Zope] Allright, who broke acquisition? Message-ID: Hi everyone, I'm running Zope 2.2.2 on Linux. All of the sudden I've got some DTML methods that are no longer being acquired in subfolders. I changed the HTML a bit and the whole thing stopped working! I've got some little navigation menus that I'd like to reuse in subfolders by simply referring to them via and having them acquired from the parent folder. Anybody know when this is happening? Here's a sample of the code and the traceback:
Quick Links
Site map
District Information
Site feedback
E-Mail System
About our site
Web-devel Page
Any ideas? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From curtis@cardgate.net Mon Oct 2 05:50:02 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 15:50:02 +1100 Subject: [Zope] Limited file size editing... Message-ID: <00100215500209.02655@localhost.localdomain> Just curious... I've seen several times on this list people pointing out that the limit on the size of files you can edit in Zope via the web interface is a result of your browser. The sizes I recall were somewhere in the vacinity of 64K. I currently have a 470K file open for editing in Netscape 4.75 (under Linux). What are the limits on various browsers? Ignore me if you think this is too far off topic.... Curtis. From lda@rice.edu Mon Oct 2 06:38:25 2000 From: lda@rice.edu (Larry Albert) Date: Mon, 02 Oct 2000 00:38:25 -0500 Subject: [Zope] ZopeTime().Date() confusion Message-ID: <0G1S00DR7FMEX0@mta4.rcsntx.swbell.net> This is driving me batty. I am trying to do something very simple. I want a method to perform an update no more than once a day. I know there are other approaches to this issue -- such as using bobobase_modification_time, not to mention Xron -- but I would like to use a date property for reasons I won't go into here. I am using Zope 2.2.1. Every time the method updates, I update the date property called last_updated with this: This gives me a date that appears to be accurate, such as 2000/10/01. Then, every time the page gets called, I want to check to see if it is time to call the method, so I use: don't update method update method store new last_updated This worked fine until, at the appointed hour, last_updated began to sense that even though it appeared to be "2000/10/01" (and even when I typed it in that way by hand), the time in Greenwich was actually more important to its sense of identity than was its appearance to me. So even when ZopeTime().Date() gave me 2000/10/01, last_updated.isCurrentDay() would evaluate to false(!). So the method would update every time the page was called. As a kluge, I changed my update command to , which works, but causes the update to occur, I presume, at midnight GMT, rather than midnight here, which would be nicer (actually, I'd love to be able to control the precise hour updates should occur, but I can't figure out how to do that). This is also complicated -- but not relevantly, I hope? -- by the fact that the Zope installation seems to think the time zone is GMT+2 rather than GMT-5 (I'm in Texas). I understand that the previously counterintuitive use of strftime was changed for 2.2.1 -- but I am not using strftime, I am using Date() and isCurrentDay(). I've tried all sorts of combinations of switching time zones but succeeded only in confusing myself. So three questions: 1. Is there a better way to do this (still using a property called last_updated)? 2. Does the use of Date() and isCurrentDay(), etc. still switch everything to GMT, even though strftime was changed? If so, what is the list of methods that compare GMT, and which that compare the local installation time? 3. This appears to be a perfect example of something that should be very simple becoming needlessly complicated. Couldn't some more user-friendly ("beginner") time or date objects be implemented in DTML? Thanks for any help! Larry Albert lda@rice.edu From rbickers@logicetc.com Mon Oct 2 07:05:00 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 02:05:00 -0400 Subject: [Zope] How to use management tabs not for management Message-ID: I want to create create HTML pages with my own Zopish looking tabs that have nothing to do with Zope management. Is there a simple way to use manage_tabs for this, or do I need to make my own version of it? Everything I've tried gets me caught up in the Zope management system. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From Danny@Adair.net Mon Oct 2 14:57:53 2000 From: Danny@Adair.net (Danny William Adair) Date: Mon, 2 Oct 2000 15:57:53 +0200 Subject: [Zope] Access problems Message-ID: What has happened? Whatever resource I'm trying to access (including the management IF), I get this (running a 2.2.1 Zope on Unix) --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) TIA, Prost, Danny From jatwood@bwanazulia.com Mon Oct 2 15:00:03 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 10:00:03 -0400 Subject: [Zope] Zope bug collector on zope.org available? Message-ID: http://classic.zope.org:8080/Collector/ Does anyone know what product this is and if it is available for download? I am looking for something that is similar to BugZilla. Ethan? Paul? Anyone? Thanks, J From skip@mojam.com (Skip Montanaro) Mon Oct 2 15:52:32 2000 From: skip@mojam.com (Skip Montanaro) (Skip Montanaro) Date: Mon, 2 Oct 2000 09:52:32 -0500 (CDT) Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? In-Reply-To: <532696846@toto.iv> Message-ID: <14808.41264.48003.973440@beluga.mojam.com> Philipp> Did anybody play with XML compressors for Zope or at least have Philipp> a hint how to do that? I use a slightly modified version of Fredrik Lundh's xmlrpclib.py module that will often use zlib compression to compress responses. Running over a wide area network such as the Internet I've seen speedups of as much as 5-to-1. Instructions and my current version of xmlrpclib.py are available from my Python Bits page: http://www.musi-cal.com/~skip/python/ I believe it is a drop-in replacement for Zope's version, though note that my code has other mods as well (in particular, it specifies the encoding as Latin-1 for all requests and responses). You should compare it with the versions distributed with Zope or by PythonWare to decide what changes you want to incorporate in your own system. -- Skip Montanaro (skip@mojam.com) http://www.mojam.com/ http://www.musi-cal.com/ From brian@digicool.com Mon Oct 2 16:23:06 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 2 Oct 2000 11:23:06 -0400 Subject: [Zope] FYI: Python product tutorial updated In-Reply-To: <4036A094D96A9549A6D6CCD979F1F3630C2477@engin-mail2.ad.engin.umich.edu> Message-ID: > This tutorial looks great...it explained a lot of things to me > that I wasn't > able to put together before. > > But...on looking at it, a nagging thought keep recurring...this > is a really > quite long and complicated process for a Poll product. As much as I like > Zope and thing it is a great platform on which to develop web > applications, > I often wonder about the complexity and obscurity of some of the > procedures > that need to executed while making what are, on the face of it, > often quite > simple web objects or applications. Consequently I have honestly > had quite a > hard time convincing PHP-savvy colleagues that the path to Zope Zen is > something worth starting on. Does anyone else experience these nagging > doubtful thoughts occasionally ? I think yours is a valid criticism. Zope provides the infrastructure to do a lot of powerful and complex things, with the downside that (currently) as a developer a lot of the details are "in your face". One major goal I have for Zope going forward is to strive for "optional complexity" - not only for day-to-day use of Zope but also for component developers. I'd be very interested to hear any ideas you folks have on ways to help "make simple things simple" for development and to allow people to deal with complexity only as they begin to need it... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From dan@sol.control.com Mon Oct 2 17:08:15 2000 From: dan@sol.control.com (Dan L. Pierson) Date: 02 Oct 2000 11:08:15 -0500 Subject: [Zope] LocalFS manage_addFolder solution? In-Reply-To: "jensebaer"'s message of "Sun, 1 Oct 2000 23:09:36 +0200" References: Message-ID: "jensebaer" writes: > ______________________________________________________________________________ > > > Folder creation isn't really supported in LocalFS at the moment.  Very > > low level support is there (module function _save_Folder) but it's not > > intended to be called externally and there doesn't seem to be any path > > to call it.  There is certainly not a local definition of > > manage_addFolder in LocalDirectory.  This is on my list of stuff to do > > for our site, but I don't know if it's on Jonothan's list for the real > > product. > It is. It's hard. I'm going to need some help with this one, I'm afraid. > --jfarr > ______________________________________________________________________________ > > My question: > > Is there now a solution to perfom manage_addFolder to LocalFS? The general case _is_ hard, but special cases can be much easier. In an earlier message Jonothan recommended using external methods to add folders. We plan to take this approach for our use. For one thing it makes enforcing our site policies much easier than a general approach. From rbickers@logicetc.com Mon Oct 2 16:26:09 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 11:26:09 -0400 Subject: [Zope] How to use management tabs not for management In-Reply-To: <007601c02c63$1866ab20$01d4a8c0@peppe> Message-ID: I didn't mean to imply that I didn't want to use any DTML. If there's a way to set manage_options and call manage_tabs though DTML or a Python method, that would be ideal. I would like to avoid having to create my own modified manage_tabs for this purpose, but if that's what it takes, so be it. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com > -----Original Message----- > From: Peter Bengtsson [mailto:peter@grenna.net] > Sent: Monday, October 02, 2000 7:23 AM > To: Ron Bickers > Cc: zope@zope.org > Subject: Re: [Zope] How to use management tabs not for management > > > Viewing the HTML source of your Zope management and highlightning > the tabs HTML? There is no DTML there. > However, there are some images. src="/p_/ltab" and src="/p_/rtab" > Could that be it? > > > > > I want to create create HTML pages with my own Zopish looking > tabs that have > > nothing to do with Zope management. Is there a simple way to use > > manage_tabs for this, or do I need to make my own version of > it? Everything > > I've tried gets me caught up in the Zope management system. From roche@ybm.co.za Mon Oct 2 17:35:15 2000 From: roche@ybm.co.za (Roch'e Compaan) Date: Mon, 2 Oct 2000 18:35:15 +0200 Subject: [Zope] Mailhost TypeError Message-ID: <000f01c02c8e$be68c7d0$0102a8c0@roche.up-front.co.za> I'm recreated a mailhost in Zope 2.2.0. Whenever I want to send mail with sendmail tag I get a TypeError. This worked in Zope 2.1.x. This is the traceback: Traceback (innermost last): File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/2-2-0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/2-2-0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/Products/Etailer/OrderManager.py, line 136, in manage_editProperties (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/App/special_dtml.py, line 120, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/SendMailTag.py, line 188, in render (Object: MailHost) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/MailHost.py, line 220, in send (Object: MailHost) File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 465, in sendmail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 349, in mail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 118, in quoteaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 451, in parseaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 496, in getaddrlist File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 504, in getaddress File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 484, in gotonext TypeError: len() of unsized object --> The source for my DTML method: To: <> From: <> Subject: Test email from Hi, This is a test email from your online shop. If you have received this email, then you will also receive an email for each of the orders that are placed at your online store. From rroeber@unlserve.unl.edu Mon Oct 2 17:47:51 2000 From: rroeber@unlserve.unl.edu (Ronald L. Roeber) Date: Mon, 2 Oct 2000 11:47:51 -0500 Subject: [Zope] Zope Dies with FastCGI In-Reply-To: <00092909360005.17524@tokey.kedai.com.my> Message-ID: <000301c02c90$80dc2e00$9968fea9@rroeber.unl.edu> > > > > Two types of messages: > > > > First in its death throws: > > [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm > > with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 > > sec) > > > > And later when its all over: > > [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection > > refused > > > > : FastCGI: failed to connect to server "apache_server_path/htdocs/zope": > > > > connect() failed > > > > It will run fine for quite some time but then it dies. > > There are no other refereces to zope in the error logs. > > I am looking into possible network issues. > > I will likely try daemontools this weekend. > > > i've seen this problem only when there's a lot of connection;s > usually more > than 100 connections at any one time. to test this out, maybe > you can use > apache ab and step up until something breaks. I can't seem to break it... ab -n 1500 -c 300 I get the same errors as in my original posting but Zope doesn't die. I left it alone after these tests and it died about 25 minutes later with noone using it. (its behind a firewall) This weekend I installed daemontools and can keep it running or at least restart it. The problem is most definitely not with load. I probably has to do with the way I have (mis)configured it. But for the life of me I can't see what it would be. Another odd thing with this set up is that some page requests from Netscape 4.x clients are very slow for what they are doing. IE and the new Mozilla engine are lightening fast...same page. Doesn't matter what platform of Netscape(*nix, Windows,Mac). The EventFolder product is the most obvious case. It locks Netscape for minutes while IE and Moz browsers load the page just fine. I will try some other things. Thanks for the ideas. > > also, try setting fastcgiexternalserver with -appConnTimeout 0 > Did this, doesn't seem to make a difference... > tell us how it goes. > > Thanks for your help. > > > > Ron... > > > > > > _______________________________________________ > > > > _______________________________________________ > > 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 ) > > -- > > http://www.kedai.com.my/kk > http://www.kedai.com.my/eZine > > if you SMELLLLLLL ... what the Rock is cookin > From Jerry.Spicklemire@IFLYATA.COM Mon Oct 2 18:02:26 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 2 Oct 2000 12:02:26 -0500 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <977A39E65CFCD3119ABF00D0B741D84973386A@innt-73.ata.com> Hi Brian, Regarding: > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... One of the features the stands when a newbies starts poking around at Zope.org is the wealth of contributed modules. Most of these were created as an aid to development, sort of a "make the process of creating a complex thing into a simpler process" approach. However, it's kind of like all the goodies available for Linux, or Perl, or Python itself, and any number of other Open Source projects that have generated lot's of add-ons. The problem is that finding time to try them all to see which turn out to be useful is another kind of complexity in itself. It seems like the Zope community should be able to benefit by leveraging all the great stuff that's there. On the other hand, the sheer volume turns out to be a barrier. I keep coming back to the notion of building a subset of the most useful, solid, and well documented modules into a "core" Zope distribution, so that they are available as "add" options without lot's unzipping, restarting, etc. Beyond that, a painless way to upgrade versions of all things Zope would definitely encourage folks to keep up with security fixes, and other improvements. Think about Debian's and FreeBSD's update tools. In order to get to the "consulting ware" vision of a more productiive Zope, "out of the box", this is the kind of thinking that needs to be adopted. We know there are wonderful and astounding things that are possible if you aren't afraid to get your hands dirty reading source code, but most folks expect anything they need to do to be sitting there waiting behind a menu option! This sounds to me like a higher level of object creation, Martijn Faassen's Formulator comes to mind, that can be selected and integrated into an existing site that has graphic standards already defined, which is itself another high level object that could help. A Graphic Standards "Template" that can be applied in the form of a "wrapper", and can be adjusted trough a forms based interface with options for colors, type style, background images, etc. Thanks, Jerry S. From thaths@netscape.com Mon Oct 2 18:21:00 2000 From: thaths@netscape.com (Sudhakar Chandra) Date: Mon, 02 Oct 2000 10:21:00 -0700 Subject: [Zope] [Q] Generating a dynamic navigation bar... References: <39D4D460.C287D0DC@netscape.com> <39D5EA93.A6891A8B@berg.net> Message-ID: <39D8C3FC.BFE7AE74@netscape.com> Maik Roeder proclaimed: > Sudhakar Chandra wrote: > > Questions: > > 1. The problem with this DTML method is that all the DTML Documents and > > Folders are represented as a link in the nav bar. I want to build > > intelligence into this DTML method to make the tab / cell for the current > > document just textual (as opposed to a link). If I am calling this method > > from foo_html, I do not the "tab" for foo_html to be a link. How do I do > > this? I'm guessing some kind of #if. > > First you can store the your url: > > > > Then, when you call your method, you can test whether your > url is the current url > > > > The must be another way of doing this, but I can't remember. Does > someone else see how this could be done differently ? Thanks. It took a bit of hackage on my part because I was calling the subcategories DTML Method like so: As you can see, I'm in a different name space inside the DTML method. I put in the REQUEST.set in the main DTML Document instead of the DTML method and it worked like a charm. Only pain now is that all my DTML Documents now need to have the REQEST.set directive in them. Not a big deal. > > 2. Currently, the TD cells of the table vary in length based on the > > contents of the cell. I want all the TDs to be of equal length. I want to > > first count the number of DTML Documents and Folders and make each TD to be > > width 100/n % (where n is the number of Documents and Folders). Any ideas > > on how I can do math inside DTML methods? > You can set a REQUEST variable with the result of your computation: > This worked like a charm. Thanks! S. -- Lisa: It's full, Dad, that means you have to take out the trash. Bart: Yup, that's the rule. "He who tops it off, drops it off." Homer: Nuh-uh. "It isn't filled until it's spilled." Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From ckant@fazenda.gov.br Mon Oct 2 18:49:41 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Mon, 02 Oct 2000 14:49:41 -0300 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> Message-ID: <39D8CAB5.DC46529B@fazenda.gov.br> Maik Roeder wrote: > > > Clicking in the "submit" button, it gives me an error, telling that > > 'username' is not defined. So I included an hidden field with > > name="username" and value="", but I'm thinking this > > is not the better way to do that... > > To my knowledge, it's the only way to do it, and if it works, why bother ? And from the first link, there are a way to include such a hidden field when calling a link? That is the real question: how to substitute the 'someuser' using hidden fields? ManageUserProperties is an DTML method, and are differents calls, with differents usernames in the same page (if I put a hidden field it's value will be the same to all the calls to the DTML Method in question). I'm thinking that maintaining some "session attributes" in a cookie is another idea, and sustitute the direct call to the method to a call to a JavaScript, but I don't want to use the most complicated method... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html If you know the answer to a question, don't ask. -- Petersen Nesbit From shane@digicool.com Mon Oct 2 18:58:41 2000 From: shane@digicool.com (Shane Hathaway) Date: Mon, 02 Oct 2000 13:58:41 -0400 Subject: [Zope] Hotfix_2000-10-02 Message-ID: <39D8CCD1.A0F6087A@digicool.com> http://www.zope.org/Products/Zope/Hotfix_2000-10-02/Hotfix_2000-10-02.tar.gz This hotfix addresses an important security issue that affects Zope versions 2.2.0, 2.2.1, and 2.2.2. It is sometimes possible to access, through a URL only, objects protected by a role which the user has in some context, but not in the context of the accessed object. Currently, the validate() method of all known user folder implementations validates against the users' roles in the context of PARENTS[0]. PARENTS[0] refers to the acquisition context of the object being published. All security checks, however, should check an object's containment, not its acquisition context. validate(), therefore, needs to verify the user's roles in the context of the object being published. This hotfix forces that to occur by temporarily leaving the object at PARENTS[0] then removing it after validation has been performed. Unfortunately, this is not an ideal correction. In the near future all user folder validate() implementations need to perform security checks using the new Zope security policy subsystem. Until that is completed, this hotfix should close the security problem. While we know of no instances of this issue being used to exploit a site, we recommend that any Zope 2.2.x site that is accessible by untrusted clients have this hotfix product installed to mitigate the issue. The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. From sebbacon@email.com Mon Oct 2 19:17:17 2000 From: sebbacon@email.com (seb) Date: Mon, 02 Oct 2000 19:17:17 +0100 Subject: [Zope] FYI: Python product tutorial updated References: Message-ID: <39D8D12D.2E5DDA80@email.com> > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... I entirely agree with Jerry's points about the standard zope distribution. There are various architecture / grammar / security issues that need to be adressed in Zope. However, I believe a much higher priority should be given to a rationalised set of documentation, plus a core set of products and templates, to be included with the standard Zope distribution. It should be easier to upgrade or add modules; I read a suggestion somewhere that a product standard should be produced, to which all products must conform (package layout, etc). Here's my thoughts in more detail, FWIW: Who are the target users of zope? My personal take is: 1) application developers (in the unzoped world, java, php, perl hackers) 2) interface developers (html coders, designers) 3) content managers I've been using zope for about a month now, (and *thinking* about using it for more than a year!) and my thoughts on simplicity for these users are: 1) application developers Application developers should *expect* a steep initial learning curve. Even python took me a little while to get my head round, but it was worth it. PHP is only easy because it follows a paradigm that people have learned elsewhere. There's no point trying to shield application developers from the complexity of zope. But we need to hold their hand until they can do it by themselves. The _ONLY_ hurdle to my zope enlightenment is (surprise) the documentation. In particular, what consistently holds me back is the lack of api documentation. I'd like to see something like javadoc-style API descriptions. I know, it's open source, I could do it myself. I know, I'm covering old ground. But I can't state enough how immensely frustrating it is to spend 5 hours trying to work out how to do something that you *know* you could do in 5 minutes in PHP. I don't know much about the ZDP and I'm sure they're putting in a lot of effort, but my feeling is that it is _very_much_ in the best interests of DC to promote a decent set of references. Even something as simple as repackaging the ZQR and including it in the standard distribution would be a start. When I get some time I'd love to help with this. 2) dtml is too much like a programming language and I'm finding it a big effort to abstract the logic away from DTML sufficiently. Interface developers want "" rather than "...", etc, in their HTML. The mechanisms for doing this are already present in zope but the onus is too much on the application designer to come up with ways of doing this. I always end up doing application logic in DTML documents because it's easier (and _quicker_) than spending a while coming up with an abstract design and then coding it all in python and loading it as External methods and then having to debug it all. Efforts like ZPatterns and the PTK are the way forward here: toolkits and design patterns that make common tasks easier. A project to come up with patterns and toolkits for common template-building tasks would be valuable. It should also be easier for application developers to create custom DTML tags. There should be a simple way to package tags and install tags, and then a library could be started on zope.org. For example, a question recently posed on the mailing list was how to include the contents of another web page in your own document. The obvious answer is an External method - however, wouldn't it be neater to encapsulate this functionality in a tag? (i'm sure this debate has been worked through before...) > ... A Graphic Standards > "Template" that can be applied in the form of a "wrapper", > and can be adjusted trough a forms based interface with > options for colors, type style, background images, etc. > 3) I understand skinnable CMS interfaces are on their way. At the moment I have to re-code the whole management interface from the bottom up for each client, which is a real drag. I'm really looking forward to this feature. Seb From jfarr@real.com Mon Oct 2 19:23:11 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 2 Oct 2000 11:23:11 -0700 Subject: [Zope] How to use manage_addLocalFS References: <000801c02c12$d597c220$0300a8c0@windows> Message-ID: <037801c02c9d$d2716bb0$416917ac@poly> That should work. Can you post the traceback? --jfarr ----- Original Message ----- From: "Grewen.de" To: Sent: Sunday, October 01, 2000 6:48 PM Subject: [Zope] How to use manage_addLocalFS Hi all, I want to create an LocalFS object. I use but that doesn´t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? From luis.mateos@MatraNortel.com Mon Oct 2 19:56:43 2000 From: luis.mateos@MatraNortel.com (Mateos, Luis) Date: Mon, 2 Oct 2000 20:56:43 +0200 Subject: [Zope] Reusing images from properties menu Message-ID: <200010021905.VAA07115@jupiter.matranortel.com> Hello all! I'm trying to reuse property values to add images dynamically. In other words, when selecting values from a multiple selection in the properties menu, like English, French, Spanish..., will add the respective image flag into a search results page for example. At times, it could be more than one image... I tried to use "dtml-var image" as a value and it didn't work, then i tried using the "img src" tag and it work using a string but it didn't when using a multiple selection. Could somebody feed me on how to reuse images from the properties menu? Or whether there are some other better options to get the same job done?! Thanks in advance, Luis From darcyc@engin.umich.edu Mon Oct 2 20:51:51 2000 From: darcyc@engin.umich.edu (Darcy Clark) Date: Mon, 2 Oct 2000 15:51:51 -0400 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <4036A094D96A9549A6D6CCD979F1F3630C24CE@engin-mail2.ad.engin.umich.edu> Brian, thanks for the reply ... I am currently more hopeful and feeling a little better about the amount of time and effort that I have put into Zope; knowing that the Zope book is coming also helps a lot. As someone else on the list replied, the obscurity problem will be partially solved with the book and others that will hopefully follow. I am in particular looking forward to some case studies that show how to use *and* why you should use some of the more complex Zope functionality. After being immersed in Zope for so long (about a year), I decided it was time to take a survey of the other tools out there - after doing a quick survey, I came away still unimpressed with most of them. I still think Zope requires more conceptual understanding (Zen?) that the other tools, but I'm still convinced that these concepts, many of which I am still yet to fully understand, offer far deeper and more elegant solutions to web development problems than the majority of the other tools. It's going to be tricky to achieve "optional complexity" - but that is exactly the nature of Zope. There are several levels or layers of Zen - after reaching each layer new potential ways to solve problems become possible. For instance, I know enough DTML and SQL to implement most of the functionality that I need and I have been writing my own ZClasses also. But I don't yet fully grasp the full possibilities of the Catalog, and Python/External Methods and I have had no luck getting any of the alternative User/Membership systems to work for me. These latter concepts/tools constitute my next level of complexity. Anyway, that's just my 2 cents .... Darcy > -----Original Message----- > From: Brian Lloyd [mailto:brian@digicool.com] > Sent: Monday, October 02, 2000 11:23 AM > To: Darcy Clark; zope@zope.org > Subject: RE: [Zope] FYI: Python product tutorial updated > > > > This tutorial looks great...it explained a lot of things to me > > that I wasn't > > able to put together before. > > > > But...on looking at it, a nagging thought keep recurring...this > > is a really > > quite long and complicated process for a Poll product. As > much as I like > > Zope and thing it is a great platform on which to develop web > > applications, > > I often wonder about the complexity and obscurity of some of the > > procedures > > that need to executed while making what are, on the face of it, > > often quite > > simple web objects or applications. Consequently I have honestly > > had quite a > > hard time convincing PHP-savvy colleagues that the path to > Zope Zen is > > something worth starting on. Does anyone else experience > these nagging > > doubtful thoughts occasionally ? > > I think yours is a valid criticism. Zope provides the > infrastructure to do a lot of powerful and complex things, > with the downside that (currently) as a developer a lot of > the details are "in your face". One major goal I have for > Zope going forward is to strive for "optional complexity" - > not only for day-to-day use of Zope but also for component > developers. > > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.com > > > From dieter@handshake.de Mon Oct 2 21:39:04 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:39:04 +0200 (CEST) Subject: [Zope] ZopeTime().Date() confusion In-Reply-To: <70420886@toto.iv> Message-ID: <14808.61734.808117.717671@lindm.dm> Larry Albert writes: > .... > I am using Zope 2.2.1. Every time the method updates, I update the date > property called last_updated .... > .... checking last update at least 1 day ago .... "ZopeTime()" returns a "DateTime.DateTime" object. Such objects can be substracted giving the difference in days. This means, you can use: to set "last_updated" and = 1"> to check that the last update is at least 1 day ago. Dieter From dieter@handshake.de Mon Oct 2 21:32:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:32:52 +0200 (CEST) Subject: [Zope] sendmail tag strangeness In-Reply-To: <68800227@toto.iv> Message-ID: <14808.61477.749840.288959@lindm.dm> Scott Burton writes: > I have searched around about sendmail tag problems on the list and have > found similar answers to my question. However none of them work. > ... > > I pay close attention to not having any whitespace before the To: and From: > headers. > > I receive this error from multiple SMTP hosts: 503 must have sender and > recipient first Is it possible that you installed ZDebug. As several people on the list pointed out, ZDebug is incompatible with "sendmail" (at least some ZDebug versions). Dieter PS: I do not like Mime mails in this list, because the stupid mailman installation discards Mime headers in the digest. As a consequence, my mail reader is unable to decode such messages :-( From steve@spvi.com Mon Oct 2 22:21:54 2000 From: steve@spvi.com (Steve Spicklemire) Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: References: Message-ID: <200010022121.QAA54340@mercury.spvi.com> Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve >>>>> "J" == J Atwood writes: J> http://classic.zope.org:8080/Collector/ J> Does anyone know what product this is and if it is available J> for download? I am looking for something that is similar to J> BugZilla. J> Ethan? Paul? Anyone? J> Thanks, J J> _______________________________________________ Zope maillist - J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No J> cross posts or HTML encoding! ** (Related lists - J> http://lists.zope.org/mailman/listinfo/zope-announce J> http://lists.zope.org/mailman/listinfo/zope-dev ) From mindlace@digicool.com Mon Oct 2 22:34:38 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 02 Oct 2000 17:34:38 -0400 Subject: [Zope] zope.org issues Message-ID: <39D8FF6E.3C5E00CC@digicool.com> Zopatistas, zope.org is currently having some difficulties that can kill the server. We're working on them. Thanks, ~ethan From jatwood@bwanazulia.com Mon Oct 2 23:11:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 18:11:57 -0400 Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: <200010022121.QAA54340@mercury.spvi.com> Message-ID: Hey Steve, Exactly. It is really full-featured. I am impressed. Thanks, J > From: Steve Spicklemire > Reply-To: steve@spvi.com > Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) > To: jatwood@bwanazulia.com > Cc: zope@zope.org > Subject: Re: [Zope] Zope bug collector on zope.org available? > > > Hi J., > > Is this what you're looking for? > > http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions > > -steve >>>>>> "J" == J Atwood writes: > > J> http://classic.zope.org:8080/Collector/ > > J> Does anyone know what product this is and if it is available > J> for download? I am looking for something that is similar to > J> BugZilla. > > J> Ethan? Paul? Anyone? > > J> Thanks, J > > > J> _______________________________________________ Zope maillist - > J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No > J> cross posts or HTML encoding! ** (Related lists - > J> http://lists.zope.org/mailman/listinfo/zope-announce > J> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From curtis@cardgate.net Mon Oct 2 23:27:12 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 3 Oct 2000 09:27:12 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: <39D850CB.B88DBB0A@nipltd.com> References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> Message-ID: <0010030927120A.02655@localhost.localdomain> On Mon, 02 Oct 2000, Chris Withers wrote: > Curtis Maloney wrote: > > According to a recent study, there are approximately 13 'web safe' > > colours, out of the full 16,777,216. Can you be bothered restricting > > yourself to support the 'lowest common denominator' ? > > What makes the other 15,777,203 'unsafe'? > As I understand it, it's due to system palettes. On low colour machines (256 or even 16colour) some colours are reserved for the system GUI so that you can match the 'theme', leaving you with fewer than the full capacity of the display you are using. Admittedly, since most people these days are running 15bit or higher colour depths, and non-paletted video modes, for the majority of users this isn't a problem. (Thus my 'lowest common denominator' comment.) The only other possible reason I can recall is that some of the 'named' colours are not supported by all browsers, or are not interpreted the same. > cheers, > > Chris Have a better one, Curtis From dario@ita.chalmers.se Mon Oct 2 23:55:45 2000 From: dario@ita.chalmers.se (Dario Lopez-Kästen) Date: Tue, 3 Oct 2000 00:55:45 +0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software Message-ID: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> as seen on cms list. Would this affect Zope in any way? /dario ----- Original Message ----- >From: "Evan Williams" > > Interesting: > ----------------------------- > Information Today: http://www.infotoday.com/it/oct00/news14.htm > "eMedicine, Inc. (http://www.emedicine.com), the medical-education network > and developer of the first online peer-reviewed medical reference series, > has announced that the U.S. Patent and Trademark Office has granted a patent > to the company's proprietary Group Publishing System (GPS) software. The GPS > enables collaborative, enterprisewide publishing and allows authors and > editors to create large, multi-author projects-online content, journals, > books, and manuals-entirely on the Internet. > "Jeff Berezin, chief technical officer and architect of the GPS system, > said: 'The software is unique-it is the only enterprise software that allows > all production to take place on the Internet. The system allows authoring > and editing within the GPS environment or through word-processing programs > like Word.' Software engineer Joanne Berezin, who co-developed the system, > said, 'Our system is a complete authoring, editing, and version-control > system with complete management-tracking tools and a built-in communications > network.'" > ----------------------------- > > -------------------------- > Subscribe: http://www.camworld.com/cms/ > More Info: http://cms.filsa.net/ > Post: cms-list@camworld.com > From tseaver@digicool.com Tue Oct 3 01:53:40 2000 From: tseaver@digicool.com (Tres Seaver) Date: Mon, 02 Oct 2000 20:53:40 -0400 Subject: [Zope] Zope bug collector on zope.org available? References: <200010021900.MAA25416@zope.codeit.com> Message-ID: <39D92E14.28F5EF4C@digicool.com> "J. Atwood" asked: > > http://classic.zope.org:8080/Collector/ > > Does anyone know what product this is and if it is available for download? I > am looking for something that is similar to BugZilla. > > Ethan? Paul? Anyone? The Collector is an *ancient* piece of software -- you probably want Ken Mannheimer's Tracker:: http://www.zope.org/Members/klm/TrackerWiki Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From twcook@iswt.com Tue Oct 3 04:14:41 2000 From: twcook@iswt.com (Tim Cook) Date: Mon, 02 Oct 2000 22:14:41 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> Message-ID: <39D94F21.E0E4D38A@iswt.com> "Dario Lopez-Kästen" wrote: > > as seen on cms list. Would this affect Zope in any way? Standard IANAL disclaimer. But, I read the patent. It looks like Zope is okay. You just can't build an application on it (or anything else where multiple people edit the same document online). Watch ZWiki!!!! :-) -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From lalo@hackandroll.org Tue Oct 3 05:03:48 2000 From: lalo@hackandroll.org (Lalo Martins) Date: Tue, 3 Oct 2000 02:03:48 -0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software In-Reply-To: <39D94F21.E0E4D38A@iswt.com>; from twcook@iswt.com on Mon, Oct 02, 2000 at 10:14:41PM -0500 References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> Message-ID: <20001003020348.B27959@hackandroll.org> On Mon, Oct 02, 2000 at 10:14:41PM -0500, Tim Cook wrote: > "Dario Lopez-Kästen" wrote: > > > > as seen on cms list. Would this affect Zope in any way? > > Standard IANAL disclaimer. But, I read the patent. It looks like > Zope is okay. You just can't build an application on it (or > anything else where multiple people edit the same document > online). Watch ZWiki!!!! So wouldn't the original WikiWikiWeb be prior art? []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar From twcook@iswt.com Tue Oct 3 06:07:25 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:07:25 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> Message-ID: <39D9698D.81ED236E@iswt.com> Lalo Martins wrote: > > anything else where multiple people edit the same document > > online). Watch ZWiki!!!! > > So wouldn't the original WikiWikiWeb be prior art? I would think there is a lot of prior art. What I wrote above should have been enclosed in tags. :) After citing several other patents there big key is supposed to be not ahving to download a version of the document and work on it locally and then upload it again. Also I noticed that their software only works (according to them) with Mac & MS OS's. I guess DC should file for a patent based on total cross-platform use! Our patent office doesn't have a clue and doesn't seem to research very much either. It's becoming worse than useless. One of the developers that frequents the openhealth mailing lists recently indicated that he had been contacted because he supposedly infringed on someones patent. No details yet but he indicated that it was some basic implementation that many developers have done before. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From sebbacon@email.com Tue Oct 3 10:07:29 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 10:07:29 +0100 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> Message-ID: <39D9A1D1.2B4C4D7B@email.com> "César A. K. Grossmann" wrote: > > Maik Roeder wrote: > > > > > Clicking in the "submit" button, it gives me an error, telling that > > > 'username' is not defined. So I included an hidden field with > > > name="username" and value="", but I'm thinking this > > > is not the better way to do that... > That is the real question: how to substitute the > 'someuser' using > hidden fields? M > I'm thinking that maintaining some "session attributes" in a cookie is > another idea, and sustitute the direct call to the method to a call to a > JavaScript, but I don't want to use the most complicated method... There are only two ways of doing this: 1) hidden form inputs 2) cookies 3) session variables (kind of like number 2) Using the former solution, you can make your link be the submit button for the form, either by using Javascript (yuk: someuser) or by making it a graphical button rather than a text link ( as far as I remember, but I might be wrong). Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb From chrisw@nipltd.com Tue Oct 3 10:15:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 10:15:04 +0100 Subject: [Zope] Off Topic: Patent Offices References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> <39D9698D.81ED236E@iswt.com> Message-ID: <39D9A398.27DF2975@nipltd.com> Tim Cook wrote: > > Our patent office doesn't have a clue and doesn't seem to > research very much either. Name me one that does ;-) Chris From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 10:54:54 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 11:54:54 +0200 Subject: [Zope] Guidelines for showing most exciting things of Zope? Message-ID: <3.0.6.32.20001003115454.0092cda0@poirot> Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you think would need to be told to convince people that it's worth looking at it by themselfs? Do people think such a practical guideline would be usefull? Tom. From Danny@Adair.net Tue Oct 3 11:24:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 3 Oct 2000 12:24:46 +0200 Subject: [Zope] Access problems Message-ID: Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) Furthermore, I have to authenticate on _every_ occasion, even with objects I know are totally available to Anonymous. After (http) authentication I get the above mentioned attribute error. I'm clueless. What is this about? Thanking you so much in advance, Prost, Danny P.S.: Of course I can't recall doing anything rude to my installation, actually I can't recall doing _anything_. (What they all say) From Aitor.Grajal@teleline.es Tue Oct 3 11:39:05 2000 From: Aitor.Grajal@teleline.es (Aitor Grajal) Date: Tue, 03 Oct 2000 12:39:05 +0200 Subject: [Zope] SiteRoot, can i do????? Message-ID: <200010031239050003.0099451F@mailhost.teleline.es> --=====_97056954541=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying do that SiteRoot can this : If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all= links 'http://xyz.mydomain.com/Zope" but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put= in all links 'https://xyz.mydomain.com/Zope" . The second is the new, so can access for http o https at the same contens,= and this is very nice. My idea is change the source code of Site Root. It=B4s possible ?? Somebody can help my? Thanks --=====_97056954541=_ Content-Type: text/html; charset="us-ascii"
Hello, I'm trying do that SiteRoot can this :
 
If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'http://xyz.mydomain.com/Zope"
 
but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" .
 
The second is the new, so can access for http o https at the same contens, and this is very nice.
My idea is change the source code of Site Root.
It´s possible ??
 
Somebody can help my?
 
Thanks
--=====_97056954541=_-- From juliodinis@hotmail.com Tue Oct 3 13:49:42 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Tue, 03 Oct 2000 12:49:42 WEST Subject: [Zope] script execution timeout? Message-ID: Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From magnus@websys.no Tue Oct 3 14:11:14 2000 From: magnus@websys.no (Magnus Alvestad) Date: 03 Oct 2000 15:11:14 +0200 Subject: [Zope] 'websafe' colours In-Reply-To: Curtis Maloney's message of "Tue, 3 Oct 2000 09:27:12 +1100" References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> <0010030927120A.02655@localhost.localdomain> Message-ID: [Curtis Maloney] | As I understand it, it's due to system palettes. On low colour | machines (256 or even 16colour) some colours are reserved for the | system GUI so that you can match the 'theme', leaving you with fewer | than the full capacity of the display you are using. Actually the problem with many colours is that there is slight difference between how they are shown in for example BGCOLOR and in a gif. There was an article about this in the online version of Wired. -Magnus From sebbacon@email.com Tue Oct 3 13:19:16 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:19:16 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> Message-ID: <39D9CEC4.32C712DC@email.com> Hello, Whenever I do a > def play(self,sound): > return sound and a > I get a > Error Type: TypeError > Error Value: not enough arguments; expected 2, got 1 Now, I thought 'self' was passed _implicitly_, as explained in http://www.zope.org/Documentation/How-To/ExternalMethods, but I'm actually having to do a > to pass the context to 'self' in the External method. Explanations gratefully received. Thanks, seb. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 13:19:00 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 14:19:00 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello everybody, I started to play with Zope in order to use it as intranet platform. For this I need database access. I tried odbc and MySQL and got it working fine. However we have some existing warehouse queries which take minutes to complete. When I set up ZODBC connection and ZSQL method to access such query, it halts all other Zope activities until it finishes. I tried this both with NT Zope and Linux Zope, ODBC and MySQL DAs. As long as the query runs, no other requests are serviced. I understand that long query blocks database connection, but I thought Zope is threaded, so it should run other requests not using this database connection just fine, no? Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this morning looking for solution to this problem on the net, but with no luck yet. Can anybody enlighten me why is that? And what can I do to fix this. Otherwise I like Zope a lot. Easy, featured, just great. Thanks in advance and Best regards, Petr Hrasky -------------------------------------------- IT Department BNP-Dresdner Bank (CR), a.s. +420-2-57006474 From chrisw@nipltd.com Tue Oct 3 13:33:49 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:33:49 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> Message-ID: <39D9D22D.BB48DFA6@nipltd.com> Shane Hathaway wrote: > I'm not sure how well MailHost scales, but you can certainly store > thousands of names in a ZODB-managed list. Tests done for the > BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if you're sending the mail to a few thousand people is to be non-blocking. IIRC, currently, a method/page with a tag pair in it will only return when the mail has been sent to all the recipients. So, if the mails going to lots of people, the page takes ages to return. This is the problem I had where our mail server was taking lots of time to send messages (it was doing lots of stuff to make sure the address was valid) so submitting posts on Squishdot.org was taking ages too. What, IMHO, is really needed is a mailhost/sendmail tag type thing that gets a message and a list of addresses to send it to. If it could do that in a seperate thread/process/whatever so that whatever calls it doesn't block, that'd be great. Of course, it'd need to have a 'hook back' method provided so any errors that occured could be dealt with. I wonder how mailman does this stuff and if the code could be borrowed for Zope? cheers, Chris From akm@mail.theinternet.com.au Tue Oct 3 13:35:05 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:35:05 +1000 Subject: [Zope] 'self' in external methods In-Reply-To: <39D9CEC4.32C712DC@email.com>; from seb on Tue, Oct 03, 2000 at 01:19:16PM +0100 References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> Message-ID: <20001003223505.D97561@zeus.theinternet.com.au> +-------[ seb ]---------------------- | Hello, | | Whenever I do a | > def play(self,sound): | > return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From sebbacon@email.com Tue Oct 3 13:44:13 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:44:13 +0100 Subject: [Zope] script execution timeout? References: Message-ID: <39D9D49D.2B6AA8F9@email.com> > Is there a place to define a script execution timeout? not in the urllib module. Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. seb From akm@mail.theinternet.com.au Tue Oct 3 13:32:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:32:44 +1000 Subject: [Zope] database connection problem (halting Zope) In-Reply-To: ; from Hrasky Petr on Tue, Oct 03, 2000 at 02:19:00PM +0200 References: Message-ID: <20001003223243.C97561@zeus.theinternet.com.au> +-------[ Hrasky Petr ]---------------------- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case. | Could it be that the python binary used is not compiled for threading? Perhaps, but, I think Zope will fail to start if your python does not support threading. | I spent yesterday afternoon and this | morning looking for solution to this problem on the net, but with no | luck yet. | | Can anybody enlighten me why is that? And what can I do to fix this. It might be that the ODBC driver for MySQL is serialising all accesses to MySQL (i.e. the MySQL ODBC driver is not threaded). This is a bit of a guess though. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From chrisw@nipltd.com Tue Oct 3 13:52:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:52:03 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> <20001003223505.D97561@zeus.theinternet.com.au> Message-ID: <39D9D673.532FD8AC@nipltd.com> Andrew Kenneth Milton wrote: > > +-------[ seb ]---------------------- > | Hello, > | > | Whenever I do a > | > def play(self,sound): > | > return sound > > You don't define self as a parameter to an external method, so: > > def play(sound): > > will work fine in an external method. It's not as simple as that. The mechnism involved here is complex and arguably broken. This is becoming a FAQ, see the mailing list archives for previous versions of this discussion which will provide all the detail. cheers, Chris From twcook@iswt.com Tue Oct 3 14:13:13 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 08:13:13 -0500 Subject: [Zope] database connection problem (halting Zope) References: Message-ID: <39D9DB69.4EBC6E70@iswt.com> > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From owrede@khm.de Tue Oct 3 14:39:22 2000 From: owrede@khm.de (Oliver Wrede) Date: Tue, 3 Oct 2000 15:39:22 +0200 Subject: [Zope] SiteAccess2 problem Message-ID: --============_-1241542131==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one): Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: 'string' object has no attribute 'name' ------------------------------------------------------------------------ Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: www/AccessRuleAdd) (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_getAccessRule(this())) (Info: manage_getAccessRule) File , line 0, in ? File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule (Object: Traversable) AttributeError: (see above) -- .. Oliver Wrede .. owrede@khm.de .. Academy of Media Arts, Cologne .. Peter-Welter-Platz 2 . 50676 Koeln, Germany .. http://www.khm.de .. ICQ# 6580315 .. PGP 6.0 Fingerprint: .. 922C FFA2 9A07 5B8E CB2A 10A2 C370 6A62 2232 196C --============_-1241542131==_ma============ Content-Type: text/html; charset="us-ascii" SiteAccess2 problem
I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects.

Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one):


Zope Error

Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: 'string' object has no attribute 'name'

------------------------------------------------------------------------

Troubleshooting Suggestions

*       The URL may be incorrect.
*      The parameters passed to this resource may be incorrect.
*       A resource that this resource relies on may be encountering an error.


For more detailed information about the error, please refer to the HTML source for this page.

If the error persists please contact the site maintainer. Thank you for your patience.




Traceback (innermost last):
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__
    (Object: www/AccessRuleAdd)
    (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
    (Object: manage_getAccessRule(this()))
    (Info: manage_getAccessRule)
  File <string>, line 0, in ?
  File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule
    (Object: Traversable)
AttributeError: (see above)

--
.. Oliver Wrede
.. owrede@khm.de

.. Academy of Media Arts, Cologne
.. Peter-Welter-Platz 2 . 50676 Koeln, Germany
.. http://www.khm.de
.. ICQ# 6580315
.. PGP 6.0 Fingerprint:
.. 922C FFA2 9A07 5B8E CB2A  10A2 C370 6A62 2232 196C
--============_-1241542131==_ma============-- From chalaoux@cybercable.fr Tue Oct 3 14:27:02 2000 From: chalaoux@cybercable.fr (FR Chalaoux) Date: Tue, 03 Oct 2000 15:27:02 +0200 Subject: [Zope] Looking for BSDI version of Zope Message-ID: <39D9DEA6.DD49A6DE@cybercable.fr> Hi, I looking for a recent compiled Zope version running on BSDI/OS 4.0.1 with its python attached Thanks, FR. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 15:04:01 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 16:04:01 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello, thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong queries and halt Zope. I have no such queries for Sybase yet. I will try to recompile python for linux, but I can't do so for WinNT as I have no compiler. Anyway I thought the python distributed with binary release of Zope is threaded, no? So, does anybody know of either binary and threaded Zope driver for Oracle , Sybase etc. or the same ODBC driver? And what is the state of python threading on WinNT paltform? Thanks, Petr -----Original Message----- From: Tim Cook [mailto:twcook@iswt.com] Sent: Tuesday, October 03, 2000 3:13 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: Re: [Zope] database connection problem (halting Zope) > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From zope@isp.lu Tue Oct 3 15:10:39 2000 From: zope@isp.lu (zope) Date: Tue, 03 Oct 2000 16:10:39 +0200 Subject: [Zope] how to access the items of an array... Message-ID: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Hi In a form, I defined an array variable as follows: After submitting the form, gives me following result: ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] My question is now how to access the different items of that array? Thanks a lot for your help. Marc From evan@4-am.com Tue Oct 3 15:43:35 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 3 Oct 2000 10:43:35 -0400 Subject: [Zope] SiteAccess2 problem References: Message-ID: <004101c02d48$4f320fb0$3e48a4d8@digicool.com> From: Oliver Wrede > I am trying to use SiteAccess2 with a site which has imported > SiteAccess1 objects. Have you used Extensions/updata.py to upgrade these objects? Cheers, Evan @ digicool & 4-am From bkc@murkworks.com Tue Oct 3 15:53:52 2000 From: bkc@murkworks.com (Brad Clements) Date: Tue, 3 Oct 2000 10:53:52 -0400 Subject: [Zope] Only superuser can set Proxy on DTML methods? Message-ID: <39D9BABF.24116.3B75549@localhost> It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. But I can't see anywhere how to enable my userid to have this proxy role. So only the superuser can set the proxy role for a document. But once I do that, I can't edit it anymore as Manager (expected) So .. how can a Manager grant the proxy role on documents? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From chrisw@nipltd.com Tue Oct 3 15:51:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 15:51:17 +0100 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <39D9F265.62CEB365@nipltd.com> Brad Clements wrote: > > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. The wording is crap. What it means is that the user object you are authenticated with must have the role you are trying to give to the object by proxy. ...which makes sense if you think about it. ...but is frustrating if the role actually nothing to do with you, and has less permissions that your role. For example, you, as someone with only the Manager role, can't give a Customer proxy role to an object, even though Customers can do much less than Managers, because you don't have the Customer role. So, you have to go to acl_users and give yourself the Customer role just to complete the operation, and then, more than likely, remove the Customer role from yourself later... I can see why it's like it is, btu sureyl the Manager could be made to eb an exception? Or mayeb that's what's happening with the Superuser object? > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) Hmm... you imply the superuser has ended up owning an object, which shouldn't be possible (yes, that can of worms again :P) so does anyone know what's going on here? cheers, Chris From maxm@normik.dk Tue Oct 3 16:05:00 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 3 Oct 2000 17:05:00 +0200 Subject: [Zope] Sorting and accessing elements in the Message-ID: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> I am making a mailer zClass where it will only be nessecary to make the form fields with the values you want to send, then the zClass will give you a reply on the webpage and send a nicely formatted e-mail. The problem is that the form elements are unknown but they need to be set up in predictable order to format the output automatically. To do this I need the form values in a sorted order. I can then give the form fields names like this: ------------------------------------ Then the mail can be automatically formatted like this: 1) First Name Max M 2) Last Name Rasmussen etc.... ------------------------------------ I have tried to use the sequence-item as a key in REQUEST.form, but it doesn't work like I want it to. ---------------------------------

:

<---- THIS IS WHAT DOESNT WORK --------------------------------- Regards Max M From joachim.werner@iuveno.de Tue Oct 3 16:17:00 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Tue, 3 Oct 2000 17:17:00 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100317251000.05524@promotor> Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope site. The latter two seem to have been unmaintained for quite a while. Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an alternative solution? We are working on an integrated groupware solution (it will all be open sourced) and want to either store all documents (incl. mail) in a single Zope-based storage or at least simulate that by dynamically wrapping the mails into objects (similar to what Local_FS does with files on the file system). Thanks in advance! Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From jatwood@bwanazulia.com Tue Oct 3 16:56:02 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 03 Oct 2000 11:56:02 -0400 Subject: [Zope] IMAP and Zope! In-Reply-To: <00100317251000.05524@promotor> Message-ID: Why not just pick apart the pieces you need from WorldPilot. It seems a shame to have to start from scratch. J > From: Joachim Werner > Organization: Iuveno - Smart Communication > Date: Tue, 3 Oct 2000 17:17:00 +0200 > To: zope@zope.org > Subject: [Zope] IMAP and Zope! > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have > found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. > > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? > > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > > -- > Iuveno - Smart Communication > > > Joachim Werner > > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) > > From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 17:15:34 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 18:15:34 +0200 Subject: [Zope] List Message-ID: <3.0.6.32.20001003181534.008ef9c0@poirot> Hi, I'm storing a selection of a user to a database as string. This selection is a multiple selection from a select box and is outputted as a list. Now I want to iterate over this list (after retrieving it from the database), but how can I do this? How can I tell Zope that the string is actually a list? How can I typecast in Zope? Thanks, Tom. From andym@ActiveState.com Tue Oct 3 17:37:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:37:28 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <001f01c02d58$383b0d60$ae03a8c0@fork> You need to let item=sequence-item since sequence-item is interpreted in python as a mathemtical operation sequence minus item. : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:38:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:38:34 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <002601c02d58$5f25f930$ae03a8c0@fork> Although this could be simpler (you dont need the REQUEST.set): : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:42:17 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:42:17 -0700 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <002c01c02d58$e4037e20$ae03a8c0@fork> If you want to put a string into a list you can use to split a string up. What database are you using and what are actually getting back? ----- Original Message ----- From: "Tom Deprez" To: Sent: Tuesday, October 03, 2000 9:15 AM Subject: [Zope] List > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? > > Thanks, Tom. > > > _______________________________________________ > 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 ) > From kthangavelu@earthlink.net Tue Oct 3 12:38:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 03 Oct 2000 04:38:37 -0700 Subject: [Zope] IMAP and Zope! References: <00100317251000.05524@promotor> Message-ID: <39D9C53D.6CF93A58@earthlink.net> Joachim Werner wrote: > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. I agree, WorldPilot is nice but its hard to split into component functionality for integration into an a site. > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? LoginManager. > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > -- > Iuveno - Smart Communication > > Joachim Werner > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) From andym@ActiveState.com Tue Oct 3 17:51:52 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:51:52 -0700 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <004601c02d5a$3b04c9d0$ae03a8c0@fork> Use the in tag: ----- Original Message ----- From: "zope" To: Sent: Tuesday, October 03, 2000 7:10 AM Subject: [Zope] how to access the items of an array... > Hi > > In a form, I defined an array variable as follows: > > > > > > > > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > > > _______________________________________________ > 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 ) > From peter@grenna.net Tue Oct 3 18:07:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:07:09 +0100 Subject: [Zope] A hint on FSSession References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> <39D9A1D1.2B4C4D7B@email.com> Message-ID: <002c01c02d5c$7e830210$01d4a8c0@peppe> > Why use javascript to access cookies? You can set and get them purely > using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why > not install a session product (HappySession, FSSession, SQLSession...), > it'll probably make your life easier in the long run... > > seb > Yes, and if you choose to use FSSession, remember to rename the object to something other that "FSSession". Having an object called "FSSession" in more than one place can f**k things up in the namestack, so to be on the safe side, rename (note "rename") the FSSession object to something more unique after having created one. This caused me a lot of brain damage, and I had it explained by a friend after may failed attempts to understand the error messages. From jwashin@vt.edu Tue Oct 3 18:06:58 2000 From: jwashin@vt.edu (Jim Washington) Date: Tue, 03 Oct 2000 13:06:58 -0400 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <39DA1232.D58E830F@vt.edu> Tom Deprez wrote: > > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? Use a python or external method to make a list from your string. I am supposing you are storing a string representation of the list that looks like: "['fred', 'bob', 'mary']" Get rid of any punctuation you do not want with (e.g.) theString = string.replace(theString, '[', ' ') (Yes, there are more efficient ways to do this!) Then, once you have a space-delimited list of items, you may use theList = string.split(theString) which will make a list of the words in the string. Return theList. -- Jim Washington From peter@grenna.net Tue Oct 3 18:26:24 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:26:24 +0100 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <005001c02d5f$0ebfae80$01d4a8c0@peppe> > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > Here's the syntax. where X is an integer. or
> > _______________________________________________ > 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 ) > From SuzetteR@ngc.co.tt Tue Oct 3 19:23:47 2000 From: SuzetteR@ngc.co.tt (Suzette Ramsden) Date: Tue, 3 Oct 2000 14:23:47 -0400 Subject: [Zope] IIS port problem Message-ID: <569FC7E4C179D311ABAF009027B11327198F08@icys> I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small discussion forum that can be accessed via the INTRANET. My Web server name is SRNT and is installed on my F:\ partition drive I installed Zope in the root cgi-bin directory and called my website ZopeSite. I selected the "Run as a win32 service" F:\InetPub\wwwroot\cgi-bin\ZopeSite\ I went to my browser (MS Internet Explorer 5.0) and accessed the Zope Site using the URL: http://srnt:8080/manage I successfully accessed my Zope site manager and everything was working just fine. Now comes the problem: I do not want to connect to the Intranet using the server port (8080) in the URL to access the Zope pages . I installed both Squishdot and TinyTables products on Zope and started building a Squishdot site, which I named ChatClub. However, the URL to access the Squishdot site looks like: http://srnt:8080/Control_Panel/Products/Squishdot/ChatClub/index_html I WANT IT TO AT LEAST SAY: http://srnt/Control_Panel/Products/Squishdot/ChatClub/index_html OR http://srnt/ChatClub/index_html I don't want any reference to the server port 8080. I have read several help documents on IIS and PCGI AND THEY ALL SAY DIFFERENT THINGS. One document said to copy the Zope.pcgi to the IIS cgi-bin folder and another said to copy it to the IIS scripts folder. One document showed the Zope.pcgi file path configuration completely different from mine. The document showed : PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py And mine showed PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope The document even had files I didn't have anywhere in my directory like pcgi.soc and some in completely different folders like: Help document: PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid My file: PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid I know there must be a a simple way to accomplish this. I just need someone to tell me how to do it STEP BY STEP. I am a Programmer/Analyst, but I am only a novice when it comes to servers and all the details. PLEASE HELP Regards, Suzette E. Ramsden From klm@digicool.com Tue Oct 3 20:12:29 2000 From: klm@digicool.com (Ken Manheimer) Date: Tue, 3 Oct 2000 15:12:29 -0400 (EDT) Subject: [Zope] Re: 'Offline' mailhost In-Reply-To: <39D9D22D.BB48DFA6@nipltd.com> Message-ID: On Tue, 3 Oct 2000, Chris Withers wrote: > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? I don't have a quick answer. (It's been a long time since i worked on mailman, and this stuff in particular has changed a lot.) It looks like the code in Mailman/Handlers/SMTPDirect.py is what's of interest, and it doesn't depend too elaborately on the rest of mailman, which is good. I'm have no idea whether it solves the problem of doing unblocking delivery in a way that lets the delivery requester get a status back. Ken klm@digicool.com From code@ou.edu Tue Oct 3 20:17:25 2000 From: code@ou.edu (Leichtman, David J) Date: Tue, 3 Oct 2000 14:17:25 -0500 Subject: [Zope] Zope stalls indefinitely Message-ID: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running 2.1.6 on Solaris with pgsql and the ZPyGre adapter and the most recent copy of FSSession. Any thoughts. I've posed this question to a lot of people many times. Now that it's back, I'm hoping for fresh insight. From edc@8days.com Tue Oct 3 21:18:49 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:18:49 -0600 Subject: [Zope] LoginManager Error Message-ID: Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter redefined Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addLoginManager) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addLoginManager) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 237, in manage_addLoginManager File /usr/local/zope/lib/python/Products/ZPatterns/PlugIns.py, line 313, in _constructPlugIn TypeError: (see above) From edc@8days.com Tue Oct 3 21:24:42 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:24:42 -0600 Subject: [Zope] UserDB plus crypt Message-ID: --============_-1241517811==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do? My modified UserDb.py is attached. Thanks! -ed- --============_-1241517811==_============ Content-Id: Content-Type: text/plain; name="UserDb.py"; charset="us-ascii" ; format="flowed" Content-Disposition: attachment; filename="UserDb.py" ; modification-date="Tue, 3 Oct 2000 14:24:04 -0600" """User Db product This product provides support for User Folder-like objects that store data in back-end databases. CREATE TABLE users ( username varchar(255) NOT NULL, password varchar(255) NOT NULL, domains varchar(255), roles varchar(255) ); """ __version__='$Revision: 1.13 $'[11:-2] import Globals, App.Undo, socket, regex from Products.ZSQLMethods.SQL import SQL from Globals import PersistentMapping from Globals import Persistent from Globals import HTMLFile, MessageDialog from string import join,strip,split,lower from App.Management import Navigation, Tabs from Acquisition import Implicit from OFS.SimpleItem import Item from OFS.Document import Document from base64 import decodestring, encodestring from urllib import quote, unquote from ImageFile import ImageFile from AccessControl.Role import RoleManager from AccessControl.User import BasicUser, BasicUserFolder from string import split, join, upper, lower ## Crypt toolkit ## import crypt, random ListType=type([]) class User(BasicUser): icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class UserDb(BasicUserFolder): """ """ meta_type='User Db' id ='acl_users' title ='User Db' icon ='misc_/UserDb/UserDb_icon' isPrincipiaFolderish=1 isAUserFolder=1 encryptedpasswords=1 manage_options=( {'label':'Contents', 'action':'manage_main'}, {'label':'Properties', 'action':'manage_properties'}, {'label':'Security', 'action':'manage_access'}, {'label':'Undo', 'action':'manage_UndoForm'}, ) __ac_permissions__=( ('View management screens', ['manage','manage_menu','manage_main','manage_copyright', 'manage_tabs', 'manage_properties', 'manage_UndoForm']), ('Undo changes', ['manage_undo_transactions']), ('Change permissions', ['manage_access']), ('Manage users', ['manage_users']), ('Change User Dbs', ['manage_edit']), ) manage_properties=HTMLFile('properties', globals()) def __init__(self, conn_id, cookie_mode=0): self.conn_id=conn_id self.cookie_mode=cookie_mode self.docLogin =Document(_docLogin, __name__='docLogin') self.docLogout=Document(_docLogout, __name__='docLogout') self.docLogin.__roles__=None self.docLogout.__roles__=None self.sqlListQuery=SQL('sqlListQuery', '', conn_id, '', _sqlListQuery) self.sqlUserQuery=SQL('sqlUserQuery', '', conn_id, 'username', _sqlUserQuery) self.sqlAddQuery=SQL('sqlAddQuery', '', conn_id, 'username password domains roles', _sqlAddQuery) self.sqlEditQuery=SQL('sqlEditQuery', '', conn_id, 'username password domains roles', _sqlEditQuery) self.sqlDelQuery=SQL('sqlDelQuery', '', conn_id, 'username', _sqlDelQuery) def getUserNames(self): """Returns a list of user names or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: data.append(sqlattr(ob, 'username')) data.sort() return data def getUsers(self): """Return a list of user objects or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: user=User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) data.append(user) return data def getUser(self, name): """Return the named user object or None if no such user exists""" if name==self._super.getUserName(): return self._super try: ob=self.sqlUserQuery(username=name) except: return None if not ob: return None ob=ob[0] return User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) def _doAddUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlAddQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlAddQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doChangeUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlEditQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlEditQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doDelUsers(self, names): for name in names: self.sqlDelQuery(username=name) # ---- def old_std_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] # If no authorization, only a user with a # domain spec and no passwd or nobody can # match if not auth: for ob in self.getUsers(): domains=ob.getDomains() if domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob return None # Only do basic authentication if lower(auth[:6])!='basic ': return None name,password=tuple(split(decodestring(split(auth)[-1]), ':')) user=self.getUser(name) if user is None: return None # Try to authenticate user encryptedpass = str(crypt.crypt(str(password),'ab')) #print encryptedpass if not user.authenticate(encryptedpass, request): return None # We need the user to be able to acquire! user=user.__of__(self) # Try to authorize user if user.allowed(parent, roles): return user return None std_validate=BasicUserFolder.validate def cookie_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] req_has=request.has_key resp=request['RESPONSE'] if req_has('__ac'): c=request['__ac'] c=unquote(c) try: c=decodestring(c) except: resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) name,password=tuple(split(c, ':')) encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): return user resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) if req_has('__ac_name') and req_has('__ac_password'): name=request['__ac_name'] password=request['__ac_password'] encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): token='%s:%s' % (name, password) token=encodestring(token) token=quote(token) resp.setCookie('__ac', token, path='/') request['__ac']=token try: del request['__ac_name'] del request['__ac_password'] except: pass return user raise 'LoginRequired', self.docLogin(self, request) if auth: return None # Try domain matching for ob in self.getUsers(): domains=ob.getDomains() if ob.domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob # Allow anonymous access to things under UserDbs, # if the object is public. nobody=self._nobody if nobody.allowed(parent, roles): ob=nobody.__of__(self) return ob raise 'LoginRequired', self.docLogin(self, request) def validate(self,request,auth='',roles=None): if self.cookie_mode: return self.cookie_validate(request, auth, roles) return self.std_validate(request, auth, roles) def __len__(self): return len(self.sqlListQuery()) def enumQueries(self): list=[] type=SQL.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def enumDocuments(self): list=[] type=Document.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def manage_edit(self, connection_id, cookie_mode, REQUEST=None): """Change properties""" if connection_id != self.conn_id: # Connection changed - update sql methods! self.conn_id=connection_id for ob in self.enumQueries(): title=ob.title args=ob.arguments_src src=ob.src ob.manage_edit(title, self.conn_id, args, src) self.cookie_mode=cookie_mode if REQUEST: return MessageDialog( title ='UserDb Changed', message='UserDb properties have been updated', action =REQUEST['URL1']+'/manage_properties', target ='manage_main') logout__roles__=None def logout(self, REQUEST): """Logout""" REQUEST['RESPONSE'].expireCookie('__ac', path='/') return self.docLogout(self, REQUEST) manage_addUserDbForm=HTMLFile('addUserDb', globals()) def manage_addUserDb(self, connection_id, cookie_mode=0, REQUEST=None): """ """ if hasattr(self.aq_base, 'acl_users'): return MessageDialog( title ='Item Exists', message='This object already contains a User Folder', action ='%s/manage_main' % REQUEST['PARENT_URL']) ob=UserDb(connection_id, cookie_mode) self._setObject('acl_users', ob) self.__allow_groups__=self.acl_users if REQUEST: return self.manage_main(self,REQUEST,update_menu=1) addr_match=regex.compile('[0-9\.\*]*').match host_match=regex.compile('[A-Za-z0-9\.\*]*').match def domainSpecValidate(spec): for ob in spec: sz=len(ob) if not ((addr_match(ob) == sz) or (host_match(ob) == sz)): return 0 return 1 def domainSpecMatch(spec, request): if request.has_key('REMOTE_HOST'): host=request['REMOTE_HOST'] else: host='' if request.has_key('REMOTE_ADDR'): addr=request['REMOTE_ADDR'] else: addr='' if not host and not addr: return 0 if not host: host=socket.gethostbyaddr(addr)[0] if not addr: addr=socket.gethostbyname(host) _host=split(host, '.') _addr=split(addr, '.') _hlen=len(_host) _alen=len(_addr) for ob in spec: sz=len(ob) _ob=split(ob, '.') _sz=len(_ob) if addr_match(ob)==sz: if _sz != _alen: continue fail=0 for i in range(_sz): a=_addr[i] o=_ob[i] if (o != a) and (o != '*'): fail=1 break if fail: continue return 1 if host_match(ob)==sz: if _hlen < _sz: continue elif _hlen > _sz: _item=_host[-_sz:] else: _item=_host fail=0 for i in range(_sz): h=_item[i] o=_ob[i] if (o != h) and (o != '*'): fail=1 break if fail: continue return 1 return 0 # A getattr-like helper that hopefully can compensate for the # various oddities in data returned by different stupidbases. import Missing mt=type(Missing.Value) def typeconv(val): if type(val)==mt: return '' return val def sqlattr(ob, attr): name=attr if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=upper(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=lower(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) raise NameError, name def absattr(attr): if callable(attr): return attr() return attr def reqattr(request, attr): try: return request[attr] except: return None _docLogin=""" Login

Name
Password
""" _docLogout=""" Logout

You have been logged out of the system.
""" _sqlListQuery=""" This query retrieves rows representing all users schema: username password domains roles SELECT * FROM users """ _sqlUserQuery=""" This query retrieves a row representing a given user schema: username password domains roles SELECT * FROM users """ _sqlAddQuery=""" This query adds a new user INSERT INTO users VALUES ( , , , ) """ _sqlEditQuery=""" This query updates a users data UPDATE users SET password=, domains=, roles= """ _sqlDelQuery=""" This query removes a user DELETE from users """ import __init__ __init__.need_license=1 --============_-1241517811==_============-- From rik.hoekstra@inghist.nl Tue Oct 3 21:39:45 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:39:45 +0200 Subject: [Zope] IIS port problem References: <569FC7E4C179D311ABAF009027B11327198F08@icys> Message-ID: <003f01c02d7a$114ea280$fe5da182@michieltje> > http://srnt/ChatClub/index_html note that most probably the reference will look something like http://srnt/cgi-bin/Zope.pcgi/ChatClub/index_html That is, you'll loose the port, but you rape your url. If you want a shorter url, you most probably have to do other (isapi like) things to IIS > > I don't want any reference to the server port 8080. > I have read several help documents on IIS and PCGI AND THEY ALL SAY > DIFFERENT THINGS. > One document said to copy the Zope.pcgi to the IIS cgi-bin folder and > another said to copy it to the IIS scripts folder. > the main point is you need _one_ (not several) Zope.pcgi file that has the proper locations of all the things needed in it. It does not matter where you put it. In your /pcgi/util directory there is a pcgifile.py script that will help you check the pcgi info file (that is the very Zope.pcgi file I referred to). If this doesn't report any errors, your IIS-pcgi connection will probably work. > One document showed the Zope.pcgi file path configuration completely > different from mine. The document showed : > PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py > > And mine showed > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope > this may be true, but it's a strange place for a Zope installation > The document even had files I didn't have anywhere in my directory like > pcgi.soc and some in completely different folders like: hm, IIRC the soc file is Unix only. > Help document: > PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid > > My file: > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid > > I know there must be a a simple way to accomplish this. It can be simple, but it may turn into a nightmare if it doesn't work (you have been warned). As a comfort, it took me no more than a quarter of an hour to get it installed on several different NT machines. I just need someone > to tell me how to do it STEP BY STEP. Your best step by step guide is on http://zdp.zope.org/projects/zbook/book/VII/PlatformInstallation/InstallDraf ts/instwindraft3/ hth Rik From rik.hoekstra@inghist.nl Tue Oct 3 21:45:40 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:45:40 +0200 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> <39DA1232.D58E830F@vt.edu> Message-ID: <004901c02d7a$e5509f20$fe5da182@michieltje> > > I'm storing a selection of a user to a database as string. This selection > > is a multiple selection from a select box and is outputted as a list. > > Now I want to iterate over this list (after retrieving it from the > > database), but how can I do this? How can I tell Zope that the string is > > actually a list? How can I typecast in Zope? , but that won't work in this case as you'll get a resultant [something,] > > Use a python or external method to make a list from your string. I am > supposing you are storing a string representation of the list that looks > like: > > "['fred', 'bob', 'mary']" > > Get rid of any punctuation you do not want with (e.g.) > > theString = string.replace(theString, '[', ' ') > > (Yes, there are more efficient ways to do this!) > > Then, once you have a space-delimited list of items, you may use > > theList = string.split(theString) > > which will make a list of the words in the string. Return theList. > a python/external method is more elegant, but if you want this can be done in the same way from DTML: or using dtml-let But whether all this works depends much on what your database returns. Rik From kworth@engin.umich.edu Tue Oct 3 21:52:17 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Tue, 3 Oct 2000 16:52:17 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems Message-ID: I just recently upgraded to 2.2.2. Upon upgrading, all instances of products that I created are broken. The products themselves are not, just every instance of every product that I made. External and standard products work just fine. Strange part coming up: I can make new instaces replacing the broken ones. However, 10-30 minutes after creating these new instances, the new instances are broken. I've tried this twice, with the same results. Anyone have any ideas? Thanks Kevin -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From rik.hoekstra@inghist.nl Tue Oct 3 22:11:52 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 23:11:52 +0200 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <00e001c02d7e$8e15daa0$fe5da182@michieltje> > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. > > But I can't see anywhere how to enable my userid to have this proxy > role. > > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) > > So .. how can a Manager grant the proxy role on documents? If I read your description correctly, it is closely related to a problem I reported several times to the collector (a year ago), but was never solved. See: http://classic.zope.org:8080/Collector/916/view Rik From dieter@handshake.de Tue Oct 3 22:00:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:00:08 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <97129676@toto.iv> Message-ID: <14810.18474.904823.246608@lindm.dm> =?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes: > Is there a place to define a script execution timeout? I do not think so. > I've been using urllib and there is no way to kill a urllib.open > if its taking too long. Does zope has that implemented? There is a patch to Python's "httplib" providing a socket timeout option. Unfortunately, not all OS support the necessary socket system call, e.g. my Linux 2.0.36 does not. Maybe, your OS does. Dieter From dieter@handshake.de Tue Oct 3 21:56:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 22:56:45 +0200 (CEST) Subject: [Zope] Access problems In-Reply-To: <45749606@toto.iv> Message-ID: <14810.17844.51565.241516@lindm.dm> Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter From dieter@handshake.de Tue Oct 3 22:16:39 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:16:39 +0200 (CEST) Subject: [Zope] database connection problem (halting Zope) In-Reply-To: <110283996@toto.iv> Message-ID: <14810.19006.650936.544140@lindm.dm> Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter From dieter@handshake.de Tue Oct 3 22:05:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:05:59 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <50582432@toto.iv> Message-ID: <14810.18680.261585.547328@lindm.dm> seb writes: > > Is there a place to define a script execution timeout? > Try setting an alarm using the signal module, wrapping the GET request > in a try clause, and then setting the alarm to 0 in the finally clause. Be very careful with signals of any kind inside Zope: I had to patch ZServer, as the Oracle client library used signals (probably SIGALRM) when the Oracle server was unavailable. Under Solaris 2.7, this resulted in ZServer's "select" call being aborted with "Interrupted system call". Zserver was unprepared for this event and died. Dieter From jatwood@bwanazulia.com Tue Oct 3 22:32:56 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 3 Oct 2000 17:32:56 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems In-Reply-To: References: Message-ID: Hey Kevin, I had the same problem when upgrading from 2.1.6 - 2.2.2 but have not found an answer at all. I followed the directions that I found on Zope.org to the letter but to no avail. I checked the products and they all work in a clean install of 2.2.2 If you find out anything let me know. Thanks, J At 4:52 PM -0400 10/3/2000, Kevin Worth wrote: >I just recently upgraded to 2.2.2. Upon upgrading, all instances of >products that I created are broken. The products themselves are not, >just every instance of every product that I made. External and >standard products work just fine. > >Strange part coming up: I can make new instaces replacing the broken >ones. However, 10-30 minutes after creating these new instances, the >new instances are broken. I've tried this twice, with the same >results. > >Anyone have any ideas? > >Thanks > >Kevin >-- >----------------------------------------------- >Kevin Worth >Computer Systems Specialist II and Adjunct Lecturer >Department of Materials Science and Engineering >University of Michigan >_______________________________________________ >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 ) From fred@ontosys.com Wed Oct 4 00:21:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Tue, 3 Oct 2000 18:21:53 -0500 Subject: [Zope] why does squishdot url_quote email address values? Message-ID: <20001003182153.A16179@enteract.com> Version 0-7-2 of Squishdot seems to use the url_quote option when accessing the value of admin_address in particular, so when a DTML page has code like and admin_address is a property with the value "foo@bar.com", the resulting HTML code is foo%40bar.com which doesn't work correctly, particularly when used as the value of a 'mailto:' URL. So what's the solution? Is Squishdot wrong to use url_quote this way? Why is url_quote hiding the "@" anyway -- I don't see any reason for escaping it this way. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From hannu@tm.ee Wed Oct 4 06:52:43 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 04 Oct 2000 08:52:43 +0300 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> Message-ID: <39DAC5AB.CE9CC1EE@tm.ee> Chris Withers wrote: > > Shane Hathaway wrote: > > I'm not sure how well MailHost scales, but you can certainly store > > thousands of names in a ZODB-managed list. Tests done for the > > BTreeFolder product prove it. > > Sadly, I think MailHost doesn't scale too well :-( > > What it'd need to do if you're sending the mail to a few thousand people > is to be non-blocking. > IIRC, currently, a method/page with a addresses> tag pair in it will only return when the > mail has been sent to all the recipients. So, if the mails going to lots > of people, the page takes ages to return. Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Also you could send just one message to all the recipients instead of sending individual messages. > This is the problem I had where our mail server was taking lots of time > to send messages (it was doing lots of stuff to make sure the address > was valid) so submitting posts on Squishdot.org was taking ages too. > > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? Maybe you could just use mailman as MTA, greating temporary mailing-lists. -------- Hannu From lheber@debis.com Wed Oct 4 08:14:47 2000 From: lheber@debis.com (Lars Heber) Date: Wed, 04 Oct 2000 09:14:47 +0200 Subject: [Zope] Namespace problems... Message-ID: <39DAD8E7.ACB56A3@debis.com> Hi there, I've still got to build a bigger website. So I stored my headers and footers and many other things in root/pub. All the other documents are stored in root/Intra and below. I've got my standard_html_header, with which I can display user-defined titles which may also contain values of global properties. The user-defined title is being built in the document before the header is called, e. g. something like: In the standard_html_header method I'm checking whether there is a titel attribute or not. This works fine. But for general use I want to keep the possibility of displaying the title_or_id of the document when I don't introduce a user-defined title. This would be no problem if s_h_h wasn't situated in root/pub, so I have to call it within the . But doing this, pub is on the top of my namespace, so that calling title_or_id returns the title_or_id of the container of s_h_h, i. e. pub! How can I nevertheless access within the s_h_h to the title_or_id of my original document? Thanks. Lars From frederic.quin@free.fr Wed Oct 4 09:18:05 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Wed, 04 Oct 2000 10:18:05 +0200 Subject: [Zope] A temporary python object defined in a dtml-let tag ??? Message-ID: <39DAE7BD.385186F@free.fr> Hi all, I wonder if it's possible to create temporary a python object in a dtml-let tag. If someone knows more about how to do this, please, help me... Thanks Fred Quin From stephan.goeldi@datacomm.ch Wed Oct 4 10:06:31 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Wed, 04 Oct 2000 09:06:31 GMT Subject: [Zope] SiteRoot Message-ID: I have a problem with SiteAccess: My site runs with Apache and Zope 2.0.0. Apache has 2 Domains: www.domain1.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain1.com/ in Zope exists: /provider/www/domain1.com www.domain2.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain2.com/ in Zope exists: /provider/www/domain2.com In both subdirectories (domain1.com and domain2.com) exist the SiteRoot method. In the SiteRoot method is written: Title: www.domain1.com Base: http://www.domain1.com Path: / When I point my Browser to www.domain1.com everything works ok. Now I create /provider/www/domain2.com OK I create the acl_user domain2.com with a password. OK I create a SiteRoot: Title: www.domain2.com Base: http://www.domain2.com path: / OK I restart Zope and Apache OK Now when I point my Browser to www.domain2.com I get the Website of www.domain1.com. I go to http://www.domain2.com/manage and get the folder: /provider/www/domain1.com instead of /provider/www/domain2.com When I log in as domain1.com I get the folder /provider/www/domain1.com and everything works ok. But I can go up to the folder /provider/www and see what else is in this folder. But domain1.com has no access to this folder, i.e. there is no acl_user in this folder. What goes wrong? I already tried to upgrade to 2.2.1 and 2.2.2 but this destroys the data structure. Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From dzienniak@sawan.com.pl Wed Oct 4 11:06:17 2000 From: dzienniak@sawan.com.pl (Marcin Dzienniak) Date: Wed, 4 Oct 2000 11:06:17 +0100 Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: <001001c02dea$c3a21370$63020101@sawan.com.pl> Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I have Oracle 8i 8.1.6 . Please send me some information for my adress dzienniak@sawan.com.pl Thank you for your attention. From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:08:00 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:08:00 +0200 Subject: [Zope] List In-Reply-To: <39DA1232.D58E830F@vt.edu> References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <3.0.6.32.20001004120800.0093a330@poirot> Hi all, Thanks for the lots of correct answers. With a small modification (looking up several python docs :-) ) all things worked! Thanks in advance, Tom. At 13:06 03/10/2000 -0400, you wrote: >Tom Deprez wrote: >> >> Hi, >> >> I'm storing a selection of a user to a database as string. This selection >> is a multiple selection from a select box and is outputted as a list. >> Now I want to iterate over this list (after retrieving it from the >> database), but how can I do this? How can I tell Zope that the string is >> actually a list? How can I typecast in Zope? > >Use a python or external method to make a list from your string. I am >supposing you are storing a string representation of the list that looks >like: > >"['fred', 'bob', 'mary']" > >Get rid of any punctuation you do not want with (e.g.) > >theString = string.replace(theString, '[', ' ') > >(Yes, there are more efficient ways to do this!) > >Then, once you have a space-delimited list of items, you may use > >theList = string.split(theString) > >which will make a list of the words in the string. Return theList. > >-- Jim Washington > From bruno@xs2.greenpeace.org Wed Oct 4 11:13:22 2000 From: bruno@xs2.greenpeace.org (bruno@xs2.greenpeace.org) Date: Wed, 4 Oct 2000 12:13:22 +0200 (MEST) Subject: [Zope] PCGI and images not displaying Message-ID: Hello My set up: Linux (X/OS distribution based on RedHat 6.0), Zope 2.1.6 + PCGI + Apache 1.3.9 We have a DTML document that shows an image based on the selection from the user, something like this: (I snipped all the rest because it's of no interest here). The image is stored as an object in the ZODB. When the user requests that page, sometimes, the image is not returned to the browser. What I see in the log from Apache is a return code 304 (not changed) and a return code 200 in the Z2.log ... Does anyone knows of this? Is there a workaround besides putting the image in the filesystem and serving it as a URL from Zope only? TIA. /B From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:28:43 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:28:43 +0200 Subject: [Zope] IMAP and Zope! In-Reply-To: References: <00100317251000.05524@promotor> <00100317251000.05524@promotor> Message-ID: <3.0.6.32.20001004122843.00921020@poirot> Hi, I thought that WorldPilot told at the LinuxTag that version 2, would be more modular in design. I guess you can always ask the developers about the new release. Tom From fjesteban@uco.es Wed Oct 4 12:03:03 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 04 Oct 2000 13:03:03 +0200 Subject: [Zope] DCOracle 1.3.2 for Windows NT References: <001001c02dea$c3a21370$63020101@sawan.com.pl> Message-ID: <39DB0E66.2611FC44@uco.es> I'm not tried it yet, but you can get an VC6 Workspace for DCOracle in this page: http://starship.python.net/crew/arpadk/ Marcin Dzienniak escribió: > Hello, > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . > > Please send me some information for my adress dzienniak@sawan.com.pl > > Thank you for your attention. > > _______________________________________________ > 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 ) From Jean@mosaicsoftware.com Wed Oct 4 12:36:22 2000 From: Jean@mosaicsoftware.com (Jean Jordaan) Date: Wed, 4 Oct 2000 13:36:22 +0200 Subject: [Zope] Last-modified header missing -- time-stamps turned off. Message-ID: Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to do with the http headers returned by Zope. Does Zope not include last-modified headers since it predominantly serves dynamic pages? Regards, -- Jean Jordaan -- technical writer -- Mosaic Software -- Zope 2.2 on WinNT and W2K From Petr.Hrasky@bnp-dresdner-bank.cz Wed Oct 4 12:37:27 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Wed, 4 Oct 2000 13:37:27 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: thanks again, yes, the python versions I use are compiled for threads, they link against libpthread under linux. I have also found ZmxODBCDA adapter and it does not work for me yet - it shows in Zope as broken product. I also spoke to local Oracle hotline and they said that ODBC access is not thread safe until 8.1.6.1.1 due to some error in OCI libs. Now I am downloading Oracle for Linux and Sybase for Linux and I will try to compile OracleDA and SybaseDA. Thanks a lot all. Regards, Petr -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Tuesday, October 03, 2000 11:17 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: RE: [Zope] database connection problem (halting Zope) Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter _______________________________________________ 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 ) From Danny@Adair.net Wed Oct 4 12:59:09 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 13:59:09 +0200 Subject: [Zope] Access problems In-Reply-To: <14810.17844.51565.241516@lindm.dm> Message-ID: >Is it possible, that you upgraded from an earlier Zope installation? > >The traceback suggests that your requests tries to access >the object "broken", probably an object from a broken >product. Thanks, I've found the problem: It was a broken ZPatterns. I've updated to 0.4.2a3, but left an "old" compiled Dynpersist.so in the directory (V 0.3). After updating this, everything was fine. I guess I just have to be prepared to get the weirdest sstuff to see as long as I 1.) use alpha/beta products to authenticate my users on root level, and 2.) keep refusing to wear glasses (Actually, this beta ZPatterns is fine). Thanks, Prost, Danny -----Ursprungliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Dieter Maurer Gesendet: Dienstag, 3. Oktober 2000 22:57 An: Danny@adair.net Cc: zope@zope.org Betreff: Re: [Zope] Access problems Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter _______________________________________________ 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 ) From maxm@normik.dk Wed Oct 4 13:03:56 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 4 Oct 2000 14:03:56 +0200 Subject: [Zope] Namespace problem with the dtml-sendmail and the smtphost Message-ID: <7BD10B680501D411B9DF009027E06F32011C12@exchange> I have a dtml method in a zClass that looks like this: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! "theSMTPHost" is defined as a property in the zClass. But when i use the method I get a: Error Type: error Error Value: host not found If i write: It gets send without a hitch. and if I write it returns mail.tele.dk as expected. I then try this, which also fails. Mailhost: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! Is it not possible to set the smtphost to a string in a dtml variabel? Regards Max M From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 13:35:29 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 14:35:29 +0200 Subject: [Zope] Integers in ZSQLMethod Message-ID: <3.0.6.32.20001004143529.0092d4b0@poirot> Hi, Is it possible to use following code in ZSQLMethod : , But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. From jonathan@home-all.org.uk Wed Oct 4 14:10:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 04 Oct 2000 14:10:17 +0100 Subject: [Zope] Detecting Roles not working Message-ID: <39DB2C39.3824562B@home-all.org.uk> Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in the index_html of my zclass i have edit this
so if the user is anonymous or logged in without the Staff role assigned they should not see the "edit this" link ... Doesn't work! It basically never returns a 'true' response thus never displays the edit this link even when logged in. Tried various permutations and variations on this theme without any success. Help! Without this, I am not sure how to customize the interface for different user groups. I am on 2.2.0 but I think it was similar under 2.1.6. Absolutely any clues no matter how obscure would be gratefully received (or indeed the glaringly obvious solution etc :-) Cheers Jonathan From heinkel@cenix-bioscience.com Wed Oct 4 14:12:53 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Wed, 4 Oct 2000 15:12:53 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <3.0.6.32.20001004143529.0092d4b0@poirot> References: <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <00100415145201.00737@celap> On Wed, 04 Oct 2000, you wrote: > Hi, > > Is it possible to use following code in ZSQLMethod : > > , > > But also allow null as value for the integer? (Thus not filled in) > use or the newer syntax Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 14:26:05 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 15:26:05 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <00100415145201.00737@celap> References: <3.0.6.32.20001004143529.0092d4b0@poirot> <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <3.0.6.32.20001004152605.009222d0@poirot> Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: >On Wed, 04 Oct 2000, you wrote: >> Hi, >> >> Is it possible to use following code in ZSQLMethod : >> >> , >> >> But also allow null as value for the integer? (Thus not filled in) >> > >use > >or the newer syntax > >Ralph > > >------------------------------------------------------------------ >Ralph Heinkel Cenix Bioscience GmbH >Director of the IT-Unit Tel : +49 6221/387 915 >Meyerhofstr. 1 Fax : +49 6221/387 971 >69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com > From ergul@ccs.neu.edu Wed Oct 4 15:59:20 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Wed, 4 Oct 2000 10:59:20 -0400 (EDT) Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-970671560=:2377 Content-Type: TEXT/PLAIN; charset=US-ASCII Marcin Dzienniak wrote: > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . I had compiled DCOracle 1.3.1 b1 libraries as .dll's a while back on WinNT4.0 against Oracle 8.1.6.0 and they worked fine for me until we moved onto Linux. I've attached it hoping it works for you (and maybe others). Ayhan Ergul ---559023410-851401618-970671560=:2377 Content-Type: APPLICATION/ZIP; name="DCOracle-1.3.1b1-compiled.zip" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="DCOracle-1.3.1b1-compiled.zip" UEsDBBQAAgAIAAp+FynlIMBQrZ0AAACQAQAIAAAAb2NpXy5kbGzsW310FFWW r04XSQEFXUpHeiQyjdOuKMhm7TgDJqyASchIhOrudDdMvkSQaSMfGexWZkyU 2N1Oqh89G3aye9iz2bMw45zjqMdlZ5iz0XGhQxNCWMcB1BXWj0XUtTIdNAdm MSpQe+97VZ3OJybHc/afFKdSXe/j3vvuu/d373uvuP8HLZyZ4zgebk3juHaO Xcu4a1+n4Z757Vdmcgem/mFeu6n8D/MqAg8/aq/fvu2H29dvsW9Yv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6g3gS0z0C/XtR2aHu0Up1cF6JT6YpMK02lJidI lSrTWtN600bTq6bXTW/BHNtmeh/m2UemXabdphrTflOjqcl0xHQCZt0ZkECt Jq/poqnd1GHqNvWYKLPULDPLzUpzkDnYHGJWmdUwL/VmM8ioeHOSeYbZap5r XmzeFb07emDxG3gGnoFn4Bl4Bp6BZ+D5/+/5P1BLAQIUABQAAgAIAAp+Fynl IMBQrZ0AAACQAQAIAAAAAAAAAAAAIAC2gQAAAABvY2lfLmRsbFBLAQIUABQA AgAIAAR+FylpgC6DCksAAACwAAAKAAAAAAAAAAAAIAC2gdOdAABCdWZmZXIu ZGxsUEsFBgAAAAACAAIAbgAAAAXpAAAAAA== ---559023410-851401618-970671560=:2377-- From chrisw@nipltd.com Wed Oct 4 16:16:59 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:16:59 +0100 Subject: [Zope] dunno References: <20001003182153.A16179@enteract.com> Message-ID: <39DB49EB.69E89B1A@nipltd.com> Fred Yankowski wrote: > > Version 0-7-2 of Squishdot seems to use the url_quote option when > accessing the value of admin_address in particular, so when a DTML > page has code like > > Where does this code occur? (all occurences please ;-) > and admin_address is a property with the value "foo@bar.com", the > resulting HTML code is > > foo%40bar.com > > which doesn't work correctly, particularly when used as the value of a > 'mailto:' URL. How odd... Where have you got a mailto: URL? I've never had problem with this. What evrsion of Zoep are you using? > So what's the solution? Is Squishdot wrong to use url_quote this way? Dunno... > Why is url_quote hiding the "@" anyway -- I don't see any reason for > escaping it this way. Dunno... Anyone with clues, please give me one :-) cheers, Chris From chrisw@nipltd.com Wed Oct 4 16:19:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:19:31 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: <39DB4A83.6858FB20@nipltd.com> Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? > Also you could send just one message to all the recipients instead of > sending individual messages. Urm, they could be pretty unfriendly mail messages if they're being sent to a coupla thousand people. The bandwidth dcoming out of your server alone would be far higher than it needed to be :-( > > I wonder how mailman does this stuff and if the code could be borrowed > > for Zope? > > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. Any how-to's for this or how hard it would be to set up? cheers, Chris From kthangavelu@earthlink.net Wed Oct 4 11:33:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 03:33:37 -0700 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> Message-ID: <39DB0781.C577FBE2@earthlink.net> Jonathan Cheyne wrote: > > Hi all > > I have built the basis of a site with full, form-based webediting of > objects. Coming round to cleanup time and I wanted to remove certain > visible functions from the default object views unless you have already > logged in (with various possible roles) > > in the index_html of my zclass i have > > > edit this
>
> so if the user is anonymous or logged in without the Staff role assigne > they should not see the "edit this" link ... > > Doesn't work! It basically never returns a 'true' response thus never > displays the edit this link even when logged in. try (untested) Cheers Kapil From l.caroti@wayin.net Wed Oct 4 16:41:21 2000 From: l.caroti@wayin.net (Luciano Caroti) Date: Wed, 4 Oct 2000 17:41:21 +0200 Subject: [Zope] Implementing a distributing mirror Message-ID: Hi, I would like to implement a system to distribute PDF document. I would like to use ZOPE on 5 server distributed in Europe. I would like to build a system that send an email to a paying user where I put an URL. I would like that in URL I send temporary authentication information to allow access to a virtual directory where I put only documents or images files that user purchased. Have you any hints on how implement this architecture? Thank you in advance, Luciano Caroti. From amonta@regents.state.la.us Wed Oct 4 16:45:55 2000 From: amonta@regents.state.la.us (Dr. Anthony Monta) Date: Wed, 04 Oct 2000 10:45:55 -0500 Subject: [Zope] help! dtml-if question Message-ID: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Hi, I've tried to find a solution myself but now am stuck. I created a little "Blurb" product for a university department website so that faculty members can announce recent publications on the department's homepage. They create these ZClass instances in their own folders, and a DTML method in the top-level folder grabs and displays them at random. (I want to avoid using ZCatalog for the time being.) What the method does is randomly choose a faculty folder, and then randomly choose a Blurb instance within that folder. Here's the hack I came up with: (end tags omitted) The problem is that this method will produce an Index Error when it comes across a folder that doesn't contain an instance of "Blurb" class. So I need to make the selection of a folder conditional on Zope's finding a Blurb in that folder. Here's what I tried after reading up: Some default Blurb would appear. This method fails. Can someone help? Cheers, Anthony ~~~~~~~~~~~~~~~~ Anthony Brietz Monta Coordinator of Curricular Assessment & Academic Reporting Louisiana Board of Regents 150 Third Street, Suite 129 Baton Rouge, LA 70801-1389 225.342.4253, ext. 143 amonta@regents.state.la.us From klm@digicool.com Wed Oct 4 16:54:40 2000 From: klm@digicool.com (Ken Manheimer) Date: Wed, 4 Oct 2000 11:54:40 -0400 (EDT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: On Wed, 4 Oct 2000, Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. This seems like a good idea. It makes it hard to get disposition status for the delivery in the transaction - but that problem is intrinsic to email communications, and probably best addressed by using the "sender" header (i think it is), so delivery failure notifications go to someone who needs to know about the failure. Even better - but lots more complicated: have the failure notifications directed to a program which queues the fact of the failure for the sending program to use. I haven't used it, but contemporary MTAs have catchall aliases, by which you can handle a pattern of recipients. Have the envelope sender fit the pattern, and encode the information about the program that needs to get back the failure information. I think this kind of architecture is necessary for comprehensive mail sending from zope, with delivery failure accounting, since mail sending is inherently asynchronous. > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. This is also a good idea in principle, but would wind up being cumbersome. Mailling list "objects" are heavy weight components in mailman - each one having a list metadata and archive directory, mta aliases, etc. Plus, you may have to leave the list up until the last delivery is completed (successful or not). Better, i think, to adopt techniques and steal code from mailman, to take the pieces you want. Ultimately, i don't think you'd be taking that much - there's a lot in python that gets you a lot of the way. It's the embedded knowledge that's useful... -- Ken klm@digicool.com From joachim.werner@iuveno.de Wed Oct 4 17:00:03 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Wed, 4 Oct 2000 18:00:03 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100418001401.10603@promotor> Thanks for the input I got! Just a small wrap-up of what I learned: - The NotMail and old IMAP Adapter code don't seem to be seriously used by anybody - WorldPilot could be a solution, but it only if it was more modular. Ryan Hughes promised to integrate it into Zope by release 2 (incl. a ZODB-based document storage - There is a similar project by Morten W. Petersen that also will feature a ZODB-based message storage that will be searchable, Catalog-aware etc. Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de ------------------------------------------------------- -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From bill@carbonecho.com Wed Oct 4 17:11:41 2000 From: bill@carbonecho.com (Bill Welch) Date: Wed, 4 Oct 2000 16:11:41 +0000 (GMT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DB4A83.6858FB20@nipltd.com> Message-ID: Techniques for effeciently sending a message to a large number of recipients are covered extensively in majordomo documentation - www.greatcircle.com/majordomo. Also check out ftp://cs.utk.edu/pub/moore/bulk_mailer Bill. On Wed, 4 Oct 2000, Chris Withers wrote: > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( From sfl@beehive.de Wed Oct 4 17:15:16 2000 From: sfl@beehive.de (Sebastian Luehnsdorf) Date: Wed, 4 Oct 2000 18:15:16 +0200 (CEST) Subject: [Zope] cookies & ie5.5 win Message-ID: hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution? any help would be appreciated. ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99 From drusch@globalcrossing.com Wed Oct 4 17:23:20 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 04 Oct 2000 11:23:20 -0500 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> Message-ID: <39DB5978.8F8CF1EF@globalcrossing.com> This works for me, no pun intended :) Dan Kapil Thangavelu wrote: > > Jonathan Cheyne wrote: > > > > Hi all > > > > I have built the basis of a site with full, form-based webediting of > > objects. Coming round to cleanup time and I wanted to remove certain > > visible functions from the default object views unless you have already > > logged in (with various possible roles) > > > > in the index_html of my zclass i have > > > > > > edit this
> >
> > so if the user is anonymous or logged in without the Staff role assigne > > they should not see the "edit this" link ... > > > > Doesn't work! It basically never returns a 'true' response thus never > > displays the edit this link even when logged in. > > try (untested) > > > or (tested) > > > > Cheers > > Kapil > > _______________________________________________ > 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 ) From jwashin@vt.edu Wed Oct 4 17:30:15 2000 From: jwashin@vt.edu (Jim Washington) Date: Wed, 04 Oct 2000 12:30:15 -0400 Subject: [Zope] help! dtml-if question References: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Message-ID: <39DB5B17.5050307@vt.edu> Hi, Anthony how about: 0"> Your _.has_key() (I think you meant _.hasattr()) statement was looking for something named "Blurb", not a thing of type"Blurb", so of course it failed. The objectValues(['atype']) statement returns a list of the things of the type, so checking for a non-zero length of the list will do what you need. -- Jim Washington Dr. Anthony Monta wrote: > Hi, > > I've tried to find a solution myself but now am stuck. I created a > little "Blurb" product for a university department website so that > faculty members can announce recent publications on the department's > homepage. They create these ZClass instances in their own folders, > and a DTML method in the top-level folder grabs and displays them at > random. (I want to avoid using ZCatalog for the time being.) What > the method does is randomly choose a faculty folder, and then randomly > choose a Blurb instance within that folder. Here's the hack I came up > with: > > > > > > > > > (end tags omitted) > > The problem is that this method will produce an Index Error when it > comes across a folder that doesn't contain an instance of "Blurb" > class. So I need to make the selection of a folder conditional on > Zope's finding a Blurb in that folder. Here's what I tried after > reading up: > > > > > > > > > > > Some default Blurb would appear. > > This method fails. Can someone help? > From Danny@Adair.net Wed Oct 4 18:57:56 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 19:57:56 +0200 Subject: [Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3 In-Reply-To: <39DB36A2.4080601@cat-box.net> Message-ID: >You can build one yourself on that server. Thanks, I've built one. :-) From grundhan@cs.tu-berlin.de Thu Oct 5 21:21:39 2000 From: grundhan@cs.tu-berlin.de (Hannes) Date: Thu, 05 Oct 2000 21:21:39 +0100 Subject: [Zope] Client.py and timeouts Message-ID: <39DCE2D1.F8EE2D4B@cs.tu-berlin.de> I recently used Client.py to get data from the web into the zope machinery, the setup was exactly as proposed in the ZClient How-To. Maybe I missed something, but the Client module seems to support the setting of an timeout, but I was unable to finger out the right syntax I thought of: web_client(url='http://someserver.com', timeout=60) or some variants of it. (or it doesnt work at all for some other reasons.) Any help would be appreciated.. Hannes From mindlace@digicool.com Wed Oct 4 20:23:42 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 15:23:42 -0400 Subject: [Zope] zope.org restarting Message-ID: <39DB83BE.109AA5AB@digicool.com> Zopatistas, we're tracking down a memory leak. Thanks for your patience, ~ethan From jatwood@bwanazulia.com Wed Oct 4 20:38:43 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 04 Oct 2000 15:38:43 -0400 Subject: [Zope] Wierd 2.2.2 start up problem Message-ID: I have installed 2.2.2 on more than a few machines.... on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line 446, in setstate ImportError: No module named Document I have tried wiping it away and trying again like three times. Anyone know what this? Why it is not happening in installs. All RH Linux. Thanks, J From peter@grenna.net Wed Oct 4 21:10:54 2000 From: peter@grenna.net (Peter Bengtsson) Date: Wed, 4 Oct 2000 21:10:54 +0100 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> <39DB5978.8F8CF1EF@globalcrossing.com> Message-ID: <004001c02e3f$34595160$01d4a8c0@peppe> Stolen somewhere from this list, and I don't remember from who. ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". > > > This works for me, no pun intended :) > > Dan > > Kapil Thangavelu wrote: > > > > Jonathan Cheyne wrote: > > > > > > Hi all > > > > > > I have built the basis of a site with full, form-based webediting of > > > objects. Coming round to cleanup time and I wanted to remove certain > > > visible functions from the default object views unless you have already > > > logged in (with various possible roles) > > > > > > in the index_html of my zclass i have > > > > > > > > > edit this
> > >
> > > so if the user is anonymous or logged in without the Staff role assigne > > > they should not see the "edit this" link ... > > > > > > Doesn't work! It basically never returns a 'true' response thus never > > > displays the edit this link even when logged in. > > > > try (untested) > > > > > > > or (tested) > > > > > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) > From shane@digicool.com Wed Oct 4 21:21:58 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:21:58 -0400 Subject: [Zope] timecards@digicool.com Message-ID: <39DB9166.575C595D@digicool.com> This is a multi-part message in MIME format. --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry for the tardiness. Shane --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000917.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000917.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAAB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AIgAiAAkABgAjABIACgAlAAAAAAAAAAAAAwAAAAAADQAl EgASAAPACcBCAQQAvgAaABMAAAAgACQAJAAiABYAIgAiACIAIgAiAAkABgAjABMACgAlAAAA AAAAAAAAAwAAAAAADQAlEwATAAPACcBCAQQAvgAaABQAAAAgACQAJAAiABYAFgAWABYAFgAi AAkABgAjABQACgAlAAAAAAAAAAAAAwAAAAAADQAlFAAUAAPACcBCAQQAvgAaABUAAAAgACQA JAAiACIAIgAiACIAIgAiAAkABgAjABUACgAlAAAAAAAAAAAAAwAAAAAADQAlFQAVAAPACcBC AQQAvgAaABYAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABYACgAlAAAAAAAAAAAAAwAA AAAADQAlFgAWAAPACcBCAQQAvgAaABcAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABcA CgAlAAAAAAAAAAAAAwAAAAAADQAlFwAXAAPACcBCAQQAvgAaABgAAAAgACQAJAAiACIAIgAi ACIAIgAiAAkABgAjABgACgAlAAAAAAAAAAAAAwAAAAAADQAlGAAYAAPACcBCAQQAvgAaABkA AAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABkACgAlAAAAAAAAAAAAAwAAAAAADQAlGQAZ AAPACcBCAQQAvgAaABoAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABoACgAlAAAAAAAA AAAAAwAAAAAADQAlGgAaAAPACcBCAQQAvgAaABsAAAAgACQAJAAiACIAIgAiACIAIgAiAAkA BgAjABsACgAlAAAAAAAAAAAAAwAAAAAADQAlGwAbAAPACcBCAQQAvgAaABwAAAAgACQAJAAi ACIAIgAiACIAIgAiAAkABgAjABwACgAlAAAAAAAAAAAAAwAAAAAADQAlHAAcAAPACcBCAQQA vgAaAB0AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB0ACgAlAAAAAAAAAAAAAwAAAAAA DQAlHQAdAAPACcBCAQQAvgAaAB4AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB4ACgAl AAAAAAAAAAAAAwAAAAAADQAlHgAeAAPACcBCAQQAvgAaAB8AAAAgACQAJAAiACIAIgAiACIA IgAiAAkABgAjAB8ACgAlAAAAAAAAAAAAAwAAAAAADQAlHwAfAAPACcBCAQQAvgAaACAAAAAm ACcAJwAoACgAKAAoACgAKAAoAAkABgAjACAACgApAAAAAAAAAAAAAwAAAAAADQAlIAAgAAPA CcBCAQQACAIQACAAAAALAAGBAAAAAAABDwAIAhAAIQAAAAEAAYEAAAAAAAEPAAgCEAAiAAAA CwABgQAAAAAAAQ8AvgAcACEAAAAWABYAFgAWABYAFgAWABYAFgAWABYACgC+ABQAIgAAABYA FgAWABYAFgAWABYABgD9AAoAIgAHACoAIQAAAL4ACgAiAAgAKgAqAAkABgAjACIACgArAAAA AAAAAAAAAwAAAAAADQAlBAAgAArACsBCAQQA7ABQAA8AAvBIAAAAEAAI8AgAAAABAAAAAAQA AA8AA/AwAAAADwAE8CgAAAABAAnwEAAAAAAAAAAAAAAAAAAAAAAAAAACAArwCAAAAAAEAAAF AAAAPgISALYGAAAAAEAAAAAAAAAAAAAAAB0ADwADAAAAAAAAAQAAAAAAAAAKAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAA/hwAAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000924.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000924.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQAaAMgAAAD/f5ABAAAAAAAABQ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AdAAoAJQAAAAAAAAAAAAMAAAAA AA0AJR0AHQADwAnAQgEEAL4AGgAeAAAAIAAkACQAIgAiACIAIgAiACIAIgAJAAYAIwAeAAoA JQAAAAAAAAAAAAMAAAAAAA0AJR4AHgADwAnAQgEEAL4AGgAfAAAAIAAkACQAIgAiACIAIgAi ACIAIgAJAAYAIwAfAAoAJQAAAAAAAAAAAAMAAAAAAA0AJR8AHwADwAnAQgEEAL4AGgAgAAAA JgAnACcAKAAoACgAKAAoACgAKAAJAAYAIwAgAAoAKQAAAAAAAAAAAAMAAAAAAA0AJSAAIAAD wAnAQgEEAAgCEAAgAAAACwABgQAAAAAAAQ8ACAIQACEAAAABAAGBAAAAAAABDwAIAhAAIgAA AAsAAYEAAAAAAAEPAL4AHAAhAAAAFgAWABYAFgAWABYAFgAWABYAFgAWAAoAvgAUACIAAAAW ABYAFgAWABYAFgAWAAYA/QAKACIABwAqACMAAAC+AAoAIgAIACoAKgAJAAYAIwAiAAoAKwAA AAAAAAAAAAMAAAAAAA0AJQQAIAAKwArAQgEEAOwAUAAPAALwSAAAABAACPAIAAAAAQAAAAAE AAAPAAPwMAAAAA8ABPAoAAAAAQAJ8BAAAAAAAAAAAAAAAAAAAAAAAAAAAgAK8AgAAAAABAAA BQAAAD4CEgC2BgAAAABAAAAAAAAAAAAAAAAdAA8AAwAAAAAAAAEAAAAAAAAACgAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAANR0AAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72-- From shane@digicool.com Wed Oct 4 21:36:21 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:36:21 -0400 Subject: [Zope] timecards@digicool.com References: <39DB9166.575C595D@digicool.com> Message-ID: <39DB94C5.89CB6B7A@digicool.com> Shane Hathaway wrote: > > Sorry for the tardiness. Uh, ahem, please disregard. Sorry for sending that to the wrong place. Shane From bennettt@am.appstate.edu Wed Oct 4 23:03:28 2000 From: bennettt@am.appstate.edu (TMGB) Date: Wed, 04 Oct 2000 18:03:28 -0400 Subject: [Zope] client proxy setting Message-ID: <39DBA930.875750F0@am.appstate.edu> Can I get the user's client proxy setting using 'REQUEST' or some other syntax, product, or utility. This is not Proxy Roles or ProxyPass, but the client's proxy settings if any. I am working on a help page to debug a user's settings if he or she can't get to certain pages with our proxy server settings on their browser. I've found this to work for testing cookies acceptance:(set a cookie and then try to get it) YES, You Do Have Cookies Enabled NO, Your browser is not accepting cookies Thanx, Thomas -- -------------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org -------------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library bennettt@am.appstate.edu http://www.library.appstate.edu/webmaster/ Voice: 828 262 6587 FAX: 828 262 3001 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine From terry@adroit.net Thu Oct 5 00:25:19 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 05 Oct 2000 09:25:19 +1000 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> Message-ID: <39DBBC5F.9D375761@adroit.net> Chris Withers wrote: > Hannu Krosing wrote: > > Perhaps it would be better to solve this by configuring your sendmail > > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. > > Can you tell me how to set that up with exim? > > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( > How would the bandwidth change?? > > > > I wonder how mailman does this stuff and if the code could be borrowed > > > for Zope? > > > > Maybe you could just use mailman as MTA, greating temporary > > mailing-lists. > > Any how-to's for this or how hard it would be to set up? > > 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 ) -- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124 From ewalstad@yahoo.com Wed Oct 4 23:01:53 2000 From: ewalstad@yahoo.com (Eric) Date: Wed, 04 Oct 2000 15:01:53 -0700 Subject: [Zope] external method import error (ImportError)... Message-ID: Hi, To summarize: How do I import modules in an External Method's .py file? I have an external method that points to a .py file that has an import statement at the top. The import statement loads another module of mine (CProject.py). I've placed both files (pwToxml.py and CProject.py) in the Zope/Extensions directory. When I try to create an external method on the pTox.py file with the following parameters: ID = pTox Function Name = pTox Python Module File = pwToxml I get the following error: Error Type: ImportError Error Value: No module named CProject Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 130, in manage_addExternalMethod File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 178, in __init__ (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 201, in manage_edit (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 210, in getFunction (Object: pTox) File /usr/local/Zope/lib/python/App/Extensions.py, line 217, in getObject (Info: ('/usr/local/Zope/Extensions/pwToxml.py', 'pwToxml')) File /usr/local/Zope/Extensions/pwToxml.py, line 1, in ? ImportError: (see above) I checked the sys.path for my Python installation and placed the CProject.py file there, but I still get the same error. Here's the top of my pwToxml.py file: import CProject, string def pTox(self, REQUEST): """Function to map pw to CProject Objects""" P=CProject.CProject() dictData = REQUEST.form.items() strTemp = "" strError = "Error Retrieving Dictionary Value" ...etc... Thanks for any help you can provide. From curtis@cardgate.net Wed Oct 4 23:48:38 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 5 Oct 2000 09:48:38 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: References: Message-ID: <00100509483801.00895@localhost.localdomain> On Wed, 04 Oct 2000, Stephan Goeldi wrote: > > > > According to a recent study, there are approximately 13 'web safe' > > > > colours, out of the full 16,777,216. > > > > > > What makes the other 15,777,203 'unsafe'? > > If you mean the 'browsersafe colours' then there are 218. > Yes, my mistake. I did mean 'browser safe'. I was aware of the previous belief of 216 (mostly because of 256 colour modes less 40 system colours), but as I stated, a recent study has "dispelled the myth", claiming (and now I correct myself :) only 22 browser safe colours. http://slashdot.org/articles/00/09/08/1622204.shtml has some more details, and a link to the actual article. > >The only other possible reason I can recall is that some of the 'named' > >colours are not supported by all browsers, or are not interpreted the > > same. > > No, the problem is, that they are not displayed the same. > Not long after posting my message I realised this also. (o8 > -goe- > Have a better one, Curtis Maloney From mindlace@digicool.com Wed Oct 4 23:43:00 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:43:00 -0400 Subject: [Zope] Zope stalls indefinitely References: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Message-ID: <39DBB274.2BA7F0D9@digicool.com> "Leichtman, David J" wrote: > > Thought we had a problem of ours fixed, but here it is once again, a month > later. > Zope, every once in a while, will just stall indefinitely. The Zope process > doesn't die, it just hangs. > Any thoughts. I've posed this question to a lot of people many times. Now > that it's back, I'm hoping for fresh insight. hm. have you been using -M to see which things are being called when it hangs? ~ethan From mindlace@digicool.com Wed Oct 4 23:54:50 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:54:50 -0400 Subject: [Zope] Last-modified header missing -- time-stamps turned off. References: Message-ID: <39DBB53A.39A6F0CD@digicool.com> Jean Jordaan wrote: > > Hi all > > Just a note from the blue .. I'm snarfing the ZB using > wget -np -m http://www.zope.org/Members/michel/ZB/ > and for every document I'm seeing: > > Last-modified header missing -- time-stamps turned off. > > What's the significance of this? I assume something to > do with the http headers returned by Zope. Does Zope not > include last-modified headers since it predominantly serves > dynamic pages? This is correct. No Last-Modified headers except for files and images (and that is specific to zope.org). Including a last modified header isn't hard, however: http://www.zope.org/Members/rbeer/caching ~ethan From aboulanger@ldeo.columbia.edu Thu Oct 5 00:31:21 2000 From: aboulanger@ldeo.columbia.edu (Albert Boulanger) Date: Wed, 04 Oct 2000 19:31:21 -0400 Subject: [Zope] WDDX anyone? Message-ID: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also there is full rdf. From: http://www.wddx.org/ Welcome to WDDX.ORG, the home of the WDDX SDK and related projects. WDDX.ORG seeks to empower Web developers with technology that enables them to create new forms of value on the Internet using distributed data and Web syndicate networks. The Web Distributed Data Exchange, or WDDX, is a free, open XML-based technology that allows Web applications created with any platform to easily exchange data with one another over the Web. To learn more about WDDX, check out the Understanding WDDX section of the site. Who created WDDX? Allaire created WDDX in order to solve key problems in exchanging data between Web applications. In particular, Simeon Simeonov, Allaire's language technology architect, created WDDX to support problems of distributed computing within ColdFusion. This work was generalized into a cross-language framework, and resulted in the creation of the WDDX SDK and WDDX.org. The WDDX SDK was created by Nate Weiss, an independent Web developer, with the support of Allaire and a number of other third parties. How does WDDX work? All of the standard programming environments on the Web (ColdFusion, Perl, ASP, Java, JavaScript, PHP, etc) include native data structures such as arrays, record sets or value pairs. WDDX provides a module for each language that will automatically serialize or translate the native data structures into an abstract representation in XML, or deserialize WDDX XML into a native data structure. For example, you could use WDDX to take a complex array in ColdFusion, serialize it into XML, send it to an ASP server, and then deserialize from XML into a VBScript array object with all the types natively converted. This conversion process between languages is relatively transparent to developers by shifting any XML processing and interaction into the WDDX modules, eliminating developers from having to directly program or manipulate XML themselves, This is not an RMI mechanism. Regards, Albert Boulanger aboulanger@vpatch.com From nestor@engendro.com Thu Oct 5 01:06:26 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Wed, 4 Oct 2000 19:06:26 -0500 (COT) Subject: [Zope] Product Testing In-Reply-To: Message-ID: HI, i'm trying to learn how to make products, i have been able to modify the poll product that comes with the product tutorial, and now i'm creating a new product however i need to restart zope for the changes to take effect, i think i can omit this if i can compile (generate the *.pyc) in the product directory, can anybody send me a few bits of how can i made that? thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From michel@digicool.com Mon Oct 2 21:41:25 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: [Zope] Fw: ZSQL Methods in ZClasses, not working References: Message-ID: <39D8F2F5.B825620@digicool.com> Just wanted to get this point archived... Thanks Michel. Forwarded by Alexander Schonfeld ---------------- Original message follows ---------------- From: Michel Pelletier To: alex@garage.co.jp Cc: " \(DC Support List\)" Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: Re: [Support] [ZOPE Collector] Z SQL Methods Bug entry: ZSQL Methods in ZClasses, not working -- alex@garage.co.jp wrote: > > A new bug entry was added with the following information: > > Title: ZSQL Methods in ZClasses, not working > > At: http://classic.zope.org:8080/Collector/Collector/1664/sview > > Submitter: Alex > > Email: alex@garage.co.jp > > Description: Adding a ZSQL method to a ZClass and trying to access it from a method in that class gives permission denied and no matter what the password, denies access. You need to select *Use Database Methods* on your ZClasses *Permissions* view, and then select each ZSQL method you create and map *Use Database Methods* to *Use Database Methods*. I haven't really groked why it's that hard, but it works. -Michel From mandrews@netgenics.com Thu Oct 5 01:17:36 2000 From: mandrews@netgenics.com (Andrews, Martin) Date: Wed, 4 Oct 2000 20:17:36 -0400 Subject: [Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2 Message-ID: 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_000_01C02E61.AA7FFC96 Content-Type: text/plain; charset="iso-8859-1" When I have the 2000-10-02 hotfix installed I can no longer authenticate to zope. I fails with the attached message (Error Type: AttributeError, Error Value: editabsolute_url). I am guessing the problem is related to the fact that I am using GUF 1.2.4 (patched to have the getUserById() method). Any ideas? Martin mandrews@netgenics.com ------_=_NextPart_000_01C02E61.AA7FFC96 Content-Type: application/octet-stream; name="zope.err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zope.err" Zope=0A=

=0A= =0A=
=0A= Zope=0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= 3D"Zope"=0A= =0A=

Zope Error

=0A=

Zope has encountered an error while publishing this resource.=0A=

=0A= =0A=

=0A= Error Type: AttributeError
=0A= Error Value: manageabsolute_url
=0A=

=0A= =0A=
=0A= =0A=

Troubleshooting Suggestions

=0A= =0A=
    =0A=
  • The URL may be incorrect.
  • =0A=
  • The parameters passed to this resource may be incorrect.
  • =0A=
  • A resource that this resource relies on may be encountering an = error.
  • =0A=
=0A= =0A=

For more detailed information about the error, please=0A= refer to the HTML source for this page.=0A=

=0A= =0A=

If the error persists please contact the site maintainer.=0A= Thank you for your patience.=0A=

=0A=
=0A= =0A= =0A=

Last modified: 2000/10/04 15:55:28.369 US/Eastern=0A= =0A= ------_=_NextPart_000_01C02E61.AA7FFC96-- From kthangavelu@earthlink.net Thu Oct 5 00:16:09 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 16:16:09 -0700 Subject: [Zope] WDDX anyone? References: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Message-ID: <39DBBA39.8C7C26E1@earthlink.net> Albert Boulanger wrote: > > Has anyone considered WDDX for Zope? This seems like a nice next step to > > exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs > for CF, perl, etc. > > I have some applications in mind for intranet syndication that goes > beyond what RSS can do. Also there is full rdf. > > From: http://www.wddx.org/ > WDDX provides a module for > each language that will automatically serialize or translate the native > data structures into an abstract representation in XML, or deserialize > WDDX XML into a native data structure. For example, you could use WDDX > to take a complex array in ColdFusion, serialize it into XML, send it to > an ASP server, and then deserialize from XML into a VBScript array > object with all the types natively converted. This conversion process > between languages is relatively transparent to developers by shifting > any XML processing and interaction into the WDDX modules, eliminating > developers from having to directly program or manipulate XML themselves, > > This is not an RMI mechanism. So what about this couldn't be emulated with xml-rpc? Curious, Kapil From roman@speeder.org Thu Oct 5 06:35:53 2000 From: roman@speeder.org (Roman Milner) Date: 05 Oct 2000 00:35:53 -0500 Subject: [Zope] LDAP won't work - yes I've applied the patch Message-ID: <871yxvluiu.fsf@blip.speeder.zoe> I'm trying to get ldap methods to work with 2.2.2. I can access the attributes of the objects returned from an ldap method with a python extension fine, but dtml-in'ing the returned list doesn't work. I keep getting an error (traceback below). Any ideas? Thanks, ^Roman Your action caused an unknown error to occur. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From ppetru@ppetru.net Fri Oct 6 04:00:44 2000 From: ppetru@ppetru.net (Petru Paler) Date: Fri, 6 Oct 2000 06:00:44 +0300 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DCE3C8.3E9F6BD2@digicool.com>; from michel@digicool.com on Thu, Oct 05, 2000 at 01:25:44PM -0700 References: <39DCE3C8.3E9F6BD2@digicool.com> Message-ID: <20001006060044.C1065@ppetru.net> On Thu, Oct 05, 2000 at 01:25:44PM -0700, Michel Pelletier wrote: > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > > > Hi Brad - > > > > SOAP is still something we want to do, but it is on hold right > > now (we just don't have the resources at the moment). I've been > > hoping that someone might take the lead and start a project on > > dev.zope.org, but so far that hasn't happened :( > > Take a look at: > > http://classic.zope.org:8080/Collector/1360/view > > I remember glancing at it for a bit, it might be a good start to at > least get it to the same level of support as xml-rpc. Glad to see that people finally show some interest in that :) That patch was the result of a long night, but I'm sure it can be gotten to work properly (right now I think it has problems with exception handling). -- Petru Paler, mailto:ppetru@ppetru.net http://www.ppetru.net - ICQ: 41817235 From kthangavelu@earthlink.net Fri Oct 6 01:55:12 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Thu, 05 Oct 2000 17:55:12 -0700 Subject: [Zope] sudden ZClass breakage References: Message-ID: <39DD22F0.CD3E5F7B@earthlink.net> Timothy Wilson wrote: > > Hi everyone, > > I've been working away on a ZClass-based product that will provide a > searchable job board for our Human Resources Dept. here at school. Things > were going along fine until, it seemed, out of the blue I started getting an > error message about an "Invalid Date-Time String" and a lengthy > traceback. I'm wondering if anyone can glean anything from the > traceback. Is this one of those obvious errors that I'm just missing? I'm > really puzzled. Any advice would be appreciated. Here's the traceback: You're trying to change the zclass properties after creating it but you're not passing in a valid date time string and hence you're getting this error. Make sure the string you're passing in conforms to a date time format. (check ZOPE_HOME/lib/python/DateTime/DateTime.py for the supported formats), or just cast it explicitly like . I've noticed some behavior earlier today where i change all my zclass properties in a manage_changeProperties (depends on where) even ones not listed in the request. if this is your problem and you don't have date_time string set in the REQUEST you can try explicitly passing in a dummy date time string (ZopeTime or distant past), or setting it to its default value, i'd chuck this into the Collector/Tracker. i'm sure others have good solutions. > > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > wilson@visi.com | | http://linux.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 ) From stephan.goeldi@datacomm.ch Fri Oct 6 09:15:26 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 06 Oct 2000 08:15:26 GMT Subject: [Zope] browsable parent directories Message-ID: I successfully installed and used SiteAccess on my Zope 2.2.0. There is a directory /www on my server, where subdirectories are stored. Customer domains point to those subdirectories: /www/domain1 /www/domain2 etc. in domain1 and domain2 are the acl_user folders with manager permission for the customer. And there are the SiteRoot methods as Title = www.domain1.com Base = http://www.domain1.com Path = / When the customer accesses the manage screen, in the left frame everything is correct displayed (as www.domain1.com/). In the right folder it isn't. On the top of the right frame is the current path displayed as: /toplevel/www/domain1 The customer can browse to /toplevel/www and look who else is on this server. This is bad security IMHO. Is there a workaround for this? I downloaded SiteAccess 2, because I didn't know which version I installed some weeks ago. There was no 'Product' directory in my Zope root. So I created the directory and untarred SiteAccess2. I don't know how to delete SiteAccess 1. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From knight@righteous.net Fri Oct 6 09:37:37 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:37:37 -0700 (PDT) Subject: [Zope] redirect to user's folder not working In-Reply-To: <00100610043506.00895@localhost.localdomain> Message-ID: > On Fri, 06 Oct 2000, Andy McKay wrote: > > AUTHENTICATED_USER is not a string so need to cast it before doing the > > string operation: > > > > > > > > effectively does the same thing, it calls the > > string representation of AUTHENTICATED_USER. > > > > A more 'polite' way to get the user name is to use > AUTHENTICATED_USER.getUserName(). Not as short, true, but definitely more > explicit. Agreed. Any remember, several user managers don't completely conform to the AUTHENTICATED_USER "standards", and you might see calling AUTHENTICATED_USER directly fail completely. ;] Knight knight@phunc.com From knight@righteous.net Fri Oct 6 09:41:30 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:41:30 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: > How do I get a zope database connection from an enternal method? You can access your db using your existing ZSQL Methods by calling them from the namespace passed in, specifically self. Example: def myextmethod(self): mfl_id = 3 results = self.sqlCountUsers(mfl_id=mfl_id) for result in results: print result[0], result[3] Keep in mind that a list is returned, not a dictionary. Knight knight@phunc.com From knight@righteous.net Fri Oct 6 10:05:26 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 02:05:26 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) > > From matt@virtualspectator.com Fri Oct 6 10:55:53 2000 From: matt@virtualspectator.com (matt) Date: Fri, 6 Oct 2000 22:55:53 +1300 Subject: [Zope] XMLDocument create attributes problem Message-ID: <00100622591302.00925@localhost.localdomain> Hi, I'm trying to make an external method create and set some attributes of nodes in an XML document. The following is a fragment of the code, and the error. I can't even get a valid attribute created, let alone set. Does anyone have some examples? Please could you reply to me as well as the list, regards Matt from Products.XMLDocument.XMLDocument import Document def add(self, id, title): ob=Document() ob.title=title ob.id=id id=self._setObject(id, ob) log_node = ob.createElement('log') an_at = ob.createAttribute('attribute1') Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: too many arguments; expected 3, got 4 Traceback (innermost last): File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: addxmldoc('test', 'some_title_test')) (Info: addxmldoc) File , line 0, in ? File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ExternalMethod/ExternalMethod.py, line 270, in __call__ (Object: addxmldoc) (Info: (('test', 'some_title_test'), {}, None)) File /usr/local/zope/Zope-2.2.0-linux2-x86/Extensions/addxmldoc.py, line 11, in add (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/XMLDocument/XMLDocument.py, line 283, in createAttribute (Object: Manageable) TypeError: (see above) From rbeer@uni-goettingen.de Fri Oct 6 12:19:11 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 6 Oct 2000 13:19:11 +0200 Subject: [Zope] Migrating from 2.1.6 to 2.2.2 In-Reply-To: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> References: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> Message-ID: Take a look at http://www.zope.org/Products/Zope/2.2.0/upgrading_to_220. Ragnar >I have a Zope based web site running under 2.1.6. I want to move it >to a different machine which will be running 2.2.2. Can someone >identify the steps I need to take to make this move? What things do >I need to be aware of in moving between these versions? Do I just >need to copy the data.fs along with any required product files, or >do I need move/configure other things. > >Thanks. > > >_______________________________________________ >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 ) From ssmith6@bigpond.net.au Fri Oct 6 13:17:11 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Fri, 6 Oct 2000 22:17:11 +1000 Subject: [Zope] Passing lists to zsql methods Message-ID: <000101c02f8f$5b8a6840$be348490@vic.bigpond.net.au> I have a form comprising two selection lists, each supporting multiple selection. I want the inputs to become parameters to a zsql method. I find the input works if the user selects at least one item from each list, but fails with a 'bad object id' message if either list is left unselected. I have tried providing a default list value, no luck. Any ideas out there? The form looks like:

Use this form to specify the parameters for your query or submission

All fields are optional

Multiple selection is supported - hold down the CONTROL key

and the zsql method reads: use thetable BEGIN transaction INSERT INTO rumours (Description) VALUES () DECLARE @rumourid int SELECT @rumourid = MAX(rumourid) FROM rumours COMMIT INSERT INTO roperators(rumourid, OperatorID) VALUES (@rumourid, ) INSERT INTO rclasses(rumourid, ClassID) VALUES (@rumourid, ) From sebbacon@email.com Fri Oct 6 13:52:37 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 13:52:37 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: I've got a ZClass "A" that subclasses another ZClass "B". I can use the default propertysheets/B/manage method to update B's properties; but how do I access the properties of A through the management interface? Many thanks Seb. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of knight Sent: 06 October 2000 10:05 To: zope@zope.org Cc: Mark Twiddy Subject: Re: [Zope] external method database connection Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) From knight@righteous.net Fri Oct 6 14:07:20 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 06:07:20 -0700 (PDT) Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Either I don't fully understand your question, or I'm misinterpreting what you are trying to accomplish. If you are subclassing A, calling it B, then it _already_ has the properties of A when it was subclassed. However, if you have two instances running, one A, and one subclass of A called B, then you can not access that data in A from B since they are seperate instances. Maybe you could clarify what you are trying to accomplish (example maybe)... Regards, Knight knight@phunc.com On Fri, 6 Oct 2000, Seb Bacon wrote: > I've got a ZClass "A" that subclasses another ZClass "B". I can use the > default propertysheets/B/manage method to update B's properties; but how do > I access the properties of A through the management interface? > > Many thanks > > Seb. > > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of > knight > Sent: 06 October 2000 10:05 > To: zope@zope.org > Cc: Mark Twiddy > Subject: Re: [Zope] external method database connection > > > Also, you could always import the specific module for your database, and > create a db connection, then execute() and fetch() directly. Although, if > you are putting this in an external method, it would be wiser to use your > existing ZSQL methods ;] > > Knight > knight@phunc.com > > On Fri, 6 Oct 2000, knight wrote: > > > > > > How do I get a zope database connection from an enternal method? > > > > You can access your db using your existing ZSQL Methods by calling them > > from the namespace passed in, specifically self. > > > > Example: > > > > def myextmethod(self): > > mfl_id = 3 > > results = self.sqlCountUsers(mfl_id=mfl_id) > > for result in results: > > print result[0], result[3] > > > > > > > > Keep in mind that a list is returned, not a dictionary. > > > > Knight > > knight@phunc.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 ) > > > _______________________________________________ > 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 ) > > From odeckmyn.list@teaser.fr Fri Oct 6 14:16:23 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 15:16:23 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ Message-ID: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Hi all, What is the new way to apply the "__no_before_traverse__" using SiteAccess2 ? When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not apply ; this enabling to play with the management interface on a broken SiteAcces configuration... What is the "nowadays way to to this (TM)" ? Please help ! Thanx ! --- We are Micro$oft. You will be assimilated. Resistance is futile. From jjunior@cidadei.com.br Fri Oct 6 14:40:05 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Fri, 6 Oct 2000 10:40:05 -0300 Subject: [Zope] variable Message-ID: <70DA17B25830D411AD6500508B11CB4B3689D2@PRIMA-EXC01> It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. From evan@4-am.com Fri Oct 6 15:30:06 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 10:30:06 -0400 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> From: Olivier Deckmyn > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 Two ways, and it's factored so that you can turn SiteAccess objects off more selectively. First, you can turn all SiteRoots or Access Rules in your site off by restarting Zope with environment variables SUPPRESS_SITEROOT and/or SUPPRESS_ACCESSRULE set. Second, you can insert _SUPPRESS_SITEROOT or _SUPPRESS_ACCESSRULE in a URL right after the name of a container that has one you want to suppress. You can include both, in either order, if a folder has both an Access Rule and a SiteRoot that you want to turn off. Cheers, Evan @ digicool & 4-am From odeckmyn.list@teaser.fr Fri Oct 6 15:23:47 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 16:23:47 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <033c01c02fa1$0a274600$0d00000a@ODECKMYN2K> the new magic buzz word is : "_SUPPRESS_SITEROOT" et voila ! Olivier. ----- Original Message ----- From: "Olivier Deckmyn" To: Sent: Friday, October 06, 2000 3:16 PM Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ > Hi all, > > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 > ? > > When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : > http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not > apply ; this enabling to play with the management interface on a broken > SiteAcces configuration... > > What is the "nowadays way to to this (TM)" ? > > Please help ! > > Thanx ! > > --- > We are Micro$oft. You will be assimilated. Resistance is futile. > > > > _______________________________________________ > 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 ) > > From lheber@debis.com Fri Oct 6 15:24:48 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:24:48 +0200 Subject: [Zope] Animated GIFs Message-ID: <39DDE0B0.B461CE18@debis.com> Hi there, I've got a strange problem. I want to upload an animated GIF to my Zope, but when I want to view it, animation stops at the last frame instead of looping indefinitely. When not uploaded to Zope, the animation works fine, also, when I download the GIF by rightclick from a Zope site and view it again outside Zope, it works perfectly! What's going on here??? Any ideas? PS.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 15:29:21 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 16:29:21 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <200010061629210601.00EAF59D@mail.inetsysonline.com> --=====_9708425616334=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with Zope speed. I've done benchmarking in two machines, with the same hardware. (K7 700= MHz, 128 MB, 20GB HD) Windows machine : W 2000 Professional with Zope for Windows Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 Windows 2000----------------------------------------------------------- Server Hostname: windows Server Port: 80 Document Path: /index_html Document Length: 486 bytes Concurrency Level: 25 Time taken for tests: 1.807 seconds Complete requests: 1000 Failed requests: 137 (Connect: 0, Length: 137, Exceptions: 0) Non-2xx responses: 864 Total transferred: 660974 bytes HTML transferred: 473471 bytes Requests per second: 553.40 Transfer rate: 365.79 kb/s received Connnection Times (ms) min avg max Connect: 0 0 10 Processing: 11 42 356 Total: 11 42 366 ----------------------------------------------------------------------------= ------- Linux-----------------------------------------------------------------------= ---- Server Hostname: linux Server Port: 8088 Document Path: /Contactos Document Length: 396 bytes Concurrency Level: 25 Time taken for tests: 7.688 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 595000 bytes HTML transferred: 396000 bytes Requests per second: 130.07 Transfer rate: 77.39 kb/s received Connnection Times (ms) min avg max Connect: 0 8 224 Processing: 102 181 54 Total: 102 189 278 ----------------------------------------------------------------------------= --------------------------- There's a big difference in the number of requests per second, four times= more in the Windows machine. Anyone knows why? Does it mean that Zope running in Windows is better than= in Linux? /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Inform=E1tica Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ --=====_9708425616334=_ Content-Type: text/html; charset="us-ascii"
Hi, I have a problem with Zope speed.
I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD)
 
Windows machine : W 2000 Professional with Zope for Windows
Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1
 
Windows 2000-----------------------------------------------------------
 
Server Hostname:        windows
Server Port:            80
 
Document Path:          /index_html
Document Length:        486 bytes
 
Concurrency Level:      25
Time taken for tests:   1.807 seconds
Complete requests:      1000
Failed requests:        137
   (Connect: 0, Length: 137, Exceptions: 0)
Non-2xx responses:      864
Total transferred:      660974 bytes
HTML transferred:       473471 bytes
Requests per second:    553.40
Transfer rate:          365.79 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     0    10
Processing:    11    42   356
Total:         11    42   366
-----------------------------------------------------------------------------------
Linux---------------------------------------------------------------------------
 
Server Hostname:        linux
Server Port:            8088
 
Document Path:          /Contactos
Document Length:        396 bytes
 
Concurrency Level:      25
Time taken for tests:   7.688 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      595000 bytes
HTML transferred:       396000 bytes
Requests per second:    130.07
Transfer rate:          77.39 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     8   224
Processing:   102   181    54
Total:        102   189   278
-------------------------------------------------------------------------------------------------------
 
There's a big difference in the number of requests per second, four times more in the Windows machine.
Anyone knows why? Does it mean that Zope running in Windows is better than in Linux?

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
Aitor Grajal Crespo
Director General
 
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66
 
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--=====_9708425616334=_-- From lheber@debis.com Fri Oct 6 15:31:38 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:31:38 +0200 Subject: [Zope] Problems with animated GIFs Message-ID: <39DDE24A.2F98F486@debis.com> Hi there, I've got a strange problem with animated GIFs: They work fine in any browser. Uploading to Zope, viewing it. Animation goes up to the last frame, but instead of looping indefinitely, it stops at the last frame. Downloading that file from Zope, viewing it in any browser outside Zope, works perfectly! What's going on here??? Any ideas? P.S.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From joachim.werner@iuveno.de Fri Oct 6 15:16:06 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 6 Oct 2000 16:16:06 +0200 Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> References: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> Message-ID: <00100616363700.19497@promotor> I also don't get the LDAP Methods to work, even tried on 2.1.6. The test tab works as usual, but when I use them in DTML I don't have success either. Can anybody who got them working please try to explain the syntax step by step? The provided examples don't work for me. That's what I do: 1. I have a working LDAP Connection 2. If I create an LDAP method ("ldapmethod") with the argument "sn" and the filter "sn=" I get the correct result with the test tab. 3. I try to use the method in DTML: ,
This raises an Error Type: KeyError Error Value: sn The strange thing is that the method itselfs seems to work but passes no data: If I just use .
then the number of "." equals the number of entries the method should pass. Also, results in things like "[, ]", again the number of empty elements is correct, they just shouldn't be empty ... ______________________ Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From sebbacon@email.com Fri Oct 6 15:30:09 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 15:30:09 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Thanks, I'll rephrase it using my real life problem: I have a Picture class, which comprises image, title, description, etc. I also have a ProductItem class, which subclasses Picture to include a price, etc. So finally I have got a ProductItem class, which has a title, image, price, ... I can access properties inherited from the Picture no problem. The problem is that the default management screen for editing the properties of ProductItem, propertysheets/Details/manage, only provides a means of editing the unique properties of ProductItem. Is there a means of managing all the properties of a ZClass, including those of its parent class? Or do I have to code my own management screen to do this? And if so, what is the correct way of refering to these properties in DTML? Feeling a bit dumb...cheers, Seb From bkc@murkworks.com Fri Oct 6 15:46:54 2000 From: bkc@murkworks.com (Brad Clements) Date: Fri, 6 Oct 2000 10:46:54 -0400 Subject: [Zope] FCGI or PCGI for Zope behind Stronghold for SSL, which way to go? Message-ID: <39DDAD9B.13445.1324009B@localhost> Can anyone offer their suggestion as to which method will be better, both in terms of speed and reliability? I do not need virtual hosting, just SSL. Thanks for comments.. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From konermann@inf.tu-dresden.de Fri Oct 6 15:54:32 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Fri, 06 Oct 2000 16:54:32 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <39DDE7A8.F5EB9BC2@inf.tu-dresden.de> Hi all. Correct me, if i am wrong, but AFAIK ZServer (coming with Zope) is multi-threaded by default, whereas Apache/Zope uses PCGI or FCGI and is *not* multi-treaded. Best regards, Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From brian@digicool.com Fri Oct 6 16:20:38 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:20:38 -0400 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DC9E22.6297.EFF90F6@localhost> Message-ID: > Okay, has anything been done at all? > > Where would I start? What's left to do? Petru Paler contributed some preliminary work: http://classic.zope.org:8080/Collector/1360/view While I think that this is a good thing and I'm glad he did it, I think that experience has shown that just suddenly making *everything* available via a new protocol (xml-rpc, SOAP) is not really the right approach. There are a number of people who have recently voiced their (legitimate) concern that by default *practically everything* on their site is xml-rpc enabled - and they have no easy way to turn it off or make things selectively available. This is a very important point - I think people would rather be able to implement SOAP services selectively rather than by One Big Switch that may expose just about anything. I would very much like to see a project started on dev.zope.org that starts off by drafting a "user manual" that describes how SOAP services would be implemented from the standpoint of a Zope developer. This would give us a good way to come to agreement without worrying about code just yet. Some attention should be given to how SOAP services get exposed by other systems at this point (they do *not* just suddenly expose every in-memory object to SOAP). We should also anticipate some of the work being done in "discoverability" of SOAP services in our draft (which I think will affect how you go about "defining" a Web service. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From brian@digicool.com Fri Oct 6 16:30:39 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:30:39 -0400 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Linux-------- > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > There's a big difference in the number of requests per second, > four times more in the > Windows machine. Anyone knows why? Does > it mean that Zope running in Windows is better than in Linux? No - look at your results. Every request failed on the win32 box (and they all succeeded on linux). You have some sort of problem in your windows setup, and you'll always get higher throughput for errors than you can for completed requests... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From tom.deprez@uz.kuleuven.ac.be Fri Oct 6 16:27:57 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Fri, 06 Oct 2000 17:27:57 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <3.0.6.32.20001006172757.00948330@poirot> Why do you test the one with ZServer and the other with Apache? If you want correct results you've to test both with ZServer or both with Zope behind Apache. Not? Tom. From wmiller@mediaone.net Fri Oct 6 16:43:51 2000 From: wmiller@mediaone.net (wmiller@mediaone.net) Date: Fri, 06 Oct 2000 15:43:51 -0000 Subject: [Zope] ZSQL returns integer only Message-ID: <8rkrvn+pupe@eGroups.com> The Oracle8i recordset I'm retrieving includes a few columns which are NUMBER(10,0) format which are milliseconds. I would like to divide each by 1000 and use the ROUND function to return a result with one decimal place, e.g. ROUND(column1/1000, 1). This works as expected in SQL*Plus. It returns the results as a number formated to one decimal place. ZSQL however returns only an integer. Any suggestions on how to get the decimal places to show? From jwh@allencreek.com Fri Oct 6 16:50:58 2000 From: jwh@allencreek.com (James Howe) Date: Fri, 06 Oct 2000 11:50:58 -0400 Subject: [Zope] Zope with Apache Message-ID: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> I asked this question a couple of months ago but received no response, so I figured I would ask it again to see if anyone can answer the question... We are running Zope behind an Apache server. We've got things configured so that it mostly works. However, we noticed that the "breadcrumbs" list at the top of a workspace screen doesn't work correctly. For example, if I'm looking at the object /Foo/Bar/Baz, the list of items in the breadcrumbs might look like this: DTMLDocument at / Foo / Bar / Baz The links to Foo and Bar do not correctly take into account the extra item needed to tell Apache that the link goes to the Zope site. For example, the link to Foo needs to say something like http://foo.bar.com/Zope/Foo/manage_workspace instead of http://foo.bar.com/Foo/manage_workspace The tabs for the management screens work fine, however. In looking at what is happening, I believe the problem exists because the links in the breadcrumbs line are relative links. The link to "foo" would look like this: Foo instead of Message-ID: <39DDF5A7.6B4485DA@vt.edu> Hi, Seb Go to the "Views" tab of the ProductItem ZClass. You should be able to add another tab referring to propertysheets/Picture/manage. This has worked for me in a similar situation. -- Jim Washington Seb Bacon wrote: > > Thanks, > > I'll rephrase it using my real life problem: > > I have a Picture class, which comprises image, title, description, etc. > I also have a ProductItem class, which subclasses Picture to include a > price, etc. > > So finally I have got a ProductItem class, which has a title, image, price, > ... > > I can access properties inherited from the Picture no problem. The problem > is that the default management screen for editing the properties of > ProductItem, propertysheets/Details/manage, only provides a means of editing > the unique properties of ProductItem. Is there a means of managing all the > properties of a ZClass, including those of its parent class? Or do I have > to code my own management screen to do this? And if so, what is the correct > way of refering to these properties in DTML? From lheber@debis.com Fri Oct 6 17:25:01 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:25:01 +0200 Subject: [Zope] HTML-Code in variables Message-ID: <39DDFCDD.99EF5C3F@debis.com> Hi again, this time I'd like to put some html-code in a variable via . Unfortunately, when I have the following: ... results in the following string: "<h1>this is some html</h2> What can I do against it??? TIA Lars From frederic.quin@free.fr Fri Oct 6 17:37:46 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Fri, 06 Oct 2000 18:37:46 +0200 Subject: [Zope] Problem with Z SQL Method associated with a class... Message-ID: <39DDFFDA.EBD09896@free.fr> Hi all, I associated a Z SQL Method to a class. This class MUST have attributes but I obtain a Zope error on them. Did anyone know why and what I can do ??? Thanks Fred HERE IS THE ERROR ---------------------------------------- Error Zope has encountered an error while publishing this resource. See below for details. Error Type: AttributeError Error Value: interests_founded Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Version 2.0.1 -- © 2000 Profile For You -- Internal use only. Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLMethod.py, line 146, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: sqlSiteProfileDetails( WEBSITEID=REQUEST.id, PAGEID=REQUEST.pg )) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: XMLToDict(REQUEST.pstor)) (Info: REQUEST) File , line 0, in ? File /Zope/Extensions/IntranetToolKit.py, line 132, in XMLToDict (Object: Profile4uXMLParser) AttributeError: (see above) HERE IS MY CLASS ---------------------------------------------------- import string import sys from Shared.DC.xml import * from Shared.DC.xml.pyexpat import * class Profile4uXMLParser: # Necessary method to make the pyexpat module works def start_element(self, name, attrs): self.current_name = name # Simple tag for which we just want to store the attributes or the value situated just after the tag if ((name != 'interests') and (self.interests_founded == 0)): for i in range(len(attrs)): if ((i % 2) == 0): self.datas[attrs[i]] = attrs[i+1] # If we have a value just after the tag, it will be associate with the name of the tag after if (name != 'profile'): self.datas[name] = '' # We find the tag interests so... elif (self.interests_founded == 0): self.interests_founded = 1 # Tag founded in the tag interests else: tmp = {} tmp['level'] = string.replace(name,'l','') for i in range(len(attrs)): if ((i % 2) == 0): tmp[attrs[i]] = attrs[i+1] self.interests.append(tmp) # Necessary method to make the pyexpat module works def end_element(self, name): # End of interests : we can find others simple tags if (name == 'interests'): self.interests_founded = 0 # Necessary method to make the pyexpat module works def char_data(self, data): # Association of the value founded just after the tag with the name of the tag if ((self.current_name != 'interest') and (self.interests_founded == 0)): # If the data need to be decoded... if (string.find(data,':') >= 0): tmp2 = {} tmp = string.split(data,':') for i in range(len(tmp)): if ((i % 3) == 0): tmp2[tmp[i]] = [tmp[i+1],tmp[i+2]] self.datas[self.current_name] = tmp2 else: self.datas[self.current_name] = data def XMLToDict(self, dict): self.interests_founded = 0 # To know when we have found the interests self.datas = {} # To store all general informations self.current_name = '' # To associate the information located just after a tag to the name of this tag (see char_data method) self.interests = [] # To store temporaly the interests p = pyexpat.ParserCreate() p.StartElementHandler = self.start_element p.EndElementHandler = self.end_element p.CharacterDataHandler= self.char_data if (self.INTEREST != 'false'): p.Parse(self.INTEREST) dict[self.datas['type']] = [self.datas,self.interests] return dict From lheber@debis.com Fri Oct 6 17:46:56 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:46:56 +0200 Subject: [Zope] HTML-Code in variables (addition) Message-ID: <39DE0200.8F65CAF5@debis.com> Sorry, I mixed something up. Normal html is no problem at all. The problem is how to use quotes or such things. Of course I get an error by typing: Yahoo!"> I tried typing " instead of ", but then the """ also goes into the html code on my page - thus the link is broken... Are there any possibilities to let Zope change the " into ", or perhaps there is another way to do it like with the \" in C. Thanks to you all! Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 17:56:45 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 18:56:45 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> References: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: <200010061856450247.0171E71C@mail.inetsysonline.com> both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) thanks. *********** REPLY SEPARATOR *********** On 06/10/2000 at 17:27 Tom Deprez wrote: >Why do you test the one with ZServer and the other with Apache? >If you want correct results you've to test both with ZServer or both with >Zope behind Apache. Not? > >Tom. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ From steve@spvi.com Fri Oct 6 19:40:16 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 6 Oct 2000 13:40:16 -0500 (EST) Subject: [Zope] Zope with Apache In-Reply-To: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> (message from James Howe on Fri, 06 Oct 2000 11:50:58 -0400) References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <200010061840.NAA80566@mercury.spvi.com> Hi James, Are you using SiteAccess? If not.. it would probably be worth a try. It will take care of setting BASE0 etc to soemthing intelligent. -steve >>>>> "James" == James Howe writes: James> I asked this question a couple of months ago but received James> no response, so I figured I would ask it again to see if James> anyone can answer the question... James> We are running Zope behind an Apache server. We've got James> things configured so that it mostly works. However, we James> noticed that the "breadcrumbs" list at the top of a James> workspace screen doesn't work correctly. For example, if James> I'm looking at the object /Foo/Bar/Baz, the list of items James> in the breadcrumbs might look like this: James> DTMLDocument at / Foo / Bar / Baz James> The links to Foo and Bar do not correctly take into account James> the extra item needed to tell Apache that the link goes to James> the Zope site. For example, the link to Foo needs to say James> something like James> http://foo.bar.com/Zope/Foo/manage_workspace James> instead of James> http://foo.bar.com/Foo/manage_workspace James> The tabs for the management screens work fine, however. James> In looking at what is happening, I believe the problem James> exists because the links in the breadcrumbs line are James> relative links. The link to "foo" would look like this: James> Foo James> instead of James> request to "foo.bar.com:8080/Zope". When my browser sees James> the relative path, it prepends the "foo.bar.com" instead of James> "foo.bar.com:8080/Zope" because it doesn't know any better. James> I've managed to get around the problem by changing some James> code in the tabs_path_info method found in Management.py. James> Basically I modifed the code to prepend "BASE0" to each of James> the items in the breadcrumbs list. This way, I get James> absolute links instead of relative. However, I'm wondering James> if there is just some additional configuration I need to do James> in Apache to fix this problem without modifying Zope James> itself. Has anyone else encountered this and is this a bug James> in Zope, or is this simply a configuration issue that I James> need to resolve. If its a configuration issue, what would I James> need to change. Any help would be appreciated. James> Thanks. James> James W. Howe mailto:jwh@allencreek.com Allen Creek James> Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann James> Arbor, MI 48103 James> _______________________________________________ Zope James> maillist - Zope@zope.org James> http://lists.zope.org/mailman/listinfo/zope ** No cross James> posts or HTML encoding! ** (Related lists - James> http://lists.zope.org/mailman/listinfo/zope-announce James> http://lists.zope.org/mailman/listinfo/zope-dev ) From simon@joyful.com Fri Oct 6 20:27:57 2000 From: simon@joyful.com (Simon Michael) Date: 06 Oct 2000 12:27:57 -0700 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ In-Reply-To: "Olivier Deckmyn"'s message of "Fri, 6 Oct 2000 15:16:23 +0200" References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <87r95tbwhu.fsf@joyful.com> You need to set an environment variable and restart zope, see the siteaccess2 documentation on zope.org for more details. -Simon From sdm7g@virginia.edu Fri Oct 6 20:55:51 2000 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Fri, 6 Oct 2000 15:55:51 -0400 (EDT) Subject: [Zope] Can Free Software Manage Your Web Site? Message-ID: Inside magazine has a feature on Zope: "Can Free Software Manage Your Web Site?" ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- "All operating systems want to be unix, All programming languages want to be lisp." From caz@tcdi.com Fri Oct 6 20:53:14 2000 From: caz@tcdi.com (Corey Zimmet) Date: Fri, 6 Oct 2000 15:53:14 -0400 Subject: [Zope] ZopeLDAP 1.0b4 breaks the root directory security tab Message-ID: Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: string member test needs char left operand Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) (Info: /usr/local/Zope/lib/python/AccessControl/access.dtml) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177, in TypeError: (see above) Removing the product returns the system back to normal. Does anyone know what I can patch to remove this? Thanks, Corey From diego@magicwebdesign.com.br Fri Oct 6 20:59:26 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Fri, 6 Oct 2000 16:59:26 -0300 Subject: [Zope] Fwd: Re: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <00100616595700.01857@belzebu.magicwebdesign.com.br> Are you using Zope behind apache under Linux? Or it's a direct request to ZServer? As I can see the files are not the same, try to bench exactly the same file... On Fri, 06 Oct 2000, you wrote: > > Hi, I have a problem with Zope speed. > I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD) > > Windows machine : W 2000 Professional with Zope for Windows > Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 > > Windows 2000----------------------------------------------------------- > > Server Hostname: windows > Server Port: 80 > > Document Path: /index_html > Document Length: 486 bytes > > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 0 10 > Processing: 11 42 356 > Total: 11 42 366 > > ----------------------------------------------------------------------------------- > Linux--------------------------------------------------------------------------- > > Server Hostname: linux > Server Port: 8088 > > Document Path: /Contactos > Document Length: 396 bytes > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 8 224 > Processing: 102 181 54 > Total: 102 189 278 > > ------------------------------------------------------------------------------------------------------- > > There's a big difference in the number of requests per second, four times more in the Windows machine. > Anyone knows why? Does it mean that Zope running in Windows is better than in Linux? > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.com > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From nestor@engendro.com Fri Oct 6 21:23:36 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:23:36 -0500 (COT) Subject: [Zope] Data.fs has invalid transaction header In-Reply-To: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> Message-ID: Hi, I was working with zope and try to use the "-D" flag within it but a terrible thing happend when i was restarting the server: Starting Zope................................Traceback (innermost last): File "/usr/sbin/zope-z2", line 558, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/lib/zope/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 301, in __init__ self._pos, self._oid, tid = read_index( File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 1556, in read_index panic('%s has invalid transaction header at %s', name, pos) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 218, in panic raise CorruptedTransactionError, message ZODB.FileStorage.CorruptedTransactionError: /var/lib/zope/var/Data.fs has invalid transaction header at 46034131 ............................... failed. The problem is that it never start again :'''( so i'am nervous only thinking that i can loose all of my work, there is any way to fix that? Thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From nestor@engendro.com Fri Oct 6 21:31:56 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:31:56 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: I forgot: Zope version 2.2.0-1 (On a Debian Potato i386) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 21:39:30 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 13:39:30 PDT Subject: [Zope] Java equivalent to WorldPilot? Message-ID: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From nestor@engendro.com Fri Oct 6 22:05:46 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 16:05:46 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: Sorry for the spam. Well i was able to fix it, i read the mail list at http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/0d9670dbe206a11c8025687e005919a3?OpenDocument and it tell that i can split the file at position 46034131 i do this: split --bytes=46034131 Data.fs cp xaa Data.fs i loose: 3089 bytes, however i don't know this correspond to. and starts zope, and everything goes OK. i make a final test and provide the "-D" option for Zope and everything comes OK, and better because the traceback is printed in the pages that shows an error. I think the problem was made when i install some products from the mk-zprod package. Well i am happy again :) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 22:22:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 14:22:25 PDT Subject: [Zope] HTTP user authentication in Python Message-ID: Hi, Where can I find out more information on HTTP user authentication? I have seen the RFC before, but it's a bit too technical to follow. I think Python does not include the authentication/cookie handling part probably because out of concern about abuses. :) Does anyone know where I can find more info on the authentication and cookie protocol stuff? Is there any Python module already written to handle these things? The idea is to be able to fetch external webpages automatically using Python, including providing the necessary auth and cookie info. Of course this opens up a whole can of security worms, but heck, it's open information and someone must already have written something in Python already. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From asc@vineyard.net Fri Oct 6 22:29:46 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 17:29:46 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions Message-ID: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I can't seem to figure out, specifically, which permissions to give a user that will allow them to read ZopeTime(). (see below) For the admin user, I have set the Access content information and View * options globally. I've tried guessing at some others, but there are alot of possible combinations to try so I thought maybe I would just ask. Related, is there a detailed description of the default Security settings? I've checked the mailing lists and the Zope docs and if it's there, I guess I missed it. Thanks, Traceback (innermost last): File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: test) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: test) File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: REQUEST.set('ts', ZopeTime())) (Info: REQUEST) File , line 0, in ? NameError: (see above) From fred@ontosys.com Fri Oct 6 22:42:42 2000 From: fred@ontosys.com (Fred Yankowski) Date: Fri, 6 Oct 2000 16:42:42 -0500 Subject: [Zope] one external method calling another; what possibilities? Message-ID: <20001006164242.A91552@enteract.com> I'm using some example code that defines an External Method to process a form. That External Method calls another utility function to log some data. I'm not quite sure what choices I have for creating that utility function, so I created another External Method for it. Both functions are in the same Python source file in the Extensions folder. Anyway, the main external function calls the utility function like this: self.function2(arg1=valuex, arg2=valuey) I expected that function2 would have to be defined like this: def function2(self, **kwargs) but it turned out that that fails at runtime with a complaint about a mismatch between the number of arguments sent and expected (0 and 1, respectively). The following does work: def function2(**kwargs) So, why isn't function2 called as a method function? Was there some better way I could have implemented function2, rather than as an external method? Where is reference documentation on External Methods? I couldn't find anything other than a very cursory overview in one of the PDF'ed documents (I forget which). -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Charlie.E.Wilkinson@irs.gov Fri Oct 6 23:08:56 2000 From: Charlie.E.Wilkinson@irs.gov (Wilkinson Charlie E) Date: Fri, 6 Oct 2000 18:08:56 -0400 Subject: [Zope] Zope, Threads and Signals Message-ID: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> 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_01C02FE2.05E0E2F4 Content-Type: text/plain; charset="iso-8859-1" It all began when I was a small child, but I'll skip ahead a bit.... Last night I wrote a network client class with plans to use it as an External Method in Zope. Works great from the command line. My first real Python program. Mom and Dad were so proud! However, when I plugged it into Zope and tried to call it from a document method, I got this: Error Type: ValueError Error Value: signal only works in main thread Gack!! Um... Silly me, but I wrote all this code to use sigalarm and blocking I/O. Anyone know how I can overcome this great adversity, aside from rewriting it all to use non-blocking I/O? Know of any good examples of External Method network clients you could point me at? Or would making it a Zope Product somehow fix everything? (Sorry, I had to ask...) -cw- -- Charlie Wilkinson TRIS Development Systems Administrator IS:SD:CT:CC:TD Phone: 202-283-3241 MSMail: Charlie.E.Wilkinson@irs.gov SMTP: cwilkins@tris.irs.gov Home: cwilkins@boinklabs.com This message constructed from 90% post-consumer electrons. ------_=_NextPart_001_01C02FE2.05E0E2F4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Zope, Threads and Signals

It all began when I was a small child, but I'll skip = ahead a bit....  Last night I wrote a network client class with = plans to use it as an External Method in Zope.  Works great from = the command line.  My first real Python program.  Mom and Dad = were so proud!  However, when I plugged it into Zope and tried to = call it from a document method, I got this:

        Error = Type: ValueError
        Error = Value: signal only works in main thread

Gack!!  Um...  Silly me, but I wrote all = this code to use sigalarm and blocking I/O.  Anyone know how I can = overcome this great adversity, aside from rewriting it all to use = non-blocking I/O?  Know of any good examples of External Method = network clients you could point me at?  Or would making it a Zope = Product somehow fix everything?  (Sorry, I had to = ask...)

-cw-

--
Charlie Wilkinson
TRIS Development Systems Administrator
IS:SD:CT:CC:TD
Phone: 202-283-3241
MSMail:   = Charlie.E.Wilkinson@irs.gov
SMTP:  cwilkins@tris.irs.gov
Home:  cwilkins@boinklabs.com
This message constructed from 90% post-consumer = electrons.

------_=_NextPart_001_01C02FE2.05E0E2F4-- From evan@4-am.com Fri Oct 6 23:30:27 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 18:30:27 -0400 Subject: [Zope] Zope with Apache References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <010d01c02fe5$07166ba0$3e48a4d8@digicool.com> From: James Howe > We are running Zope behind an Apache server. We've got things configured so > that it mostly works. However, we noticed that the "breadcrumbs" list at > the top of a workspace screen doesn't work correctly. This was broken with respect to virtual hosting, as well, and the fix for that in the CVS trunk may also take care of what you're seeing. Should be in Zope 2.3 (soon, I hope). Cheers, Evan @ digicool & 4-am From peter@grenna.net Sat Oct 7 00:32:53 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 7 Oct 2000 00:32:53 +0100 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? ;-) Especially to all Linux supporters for the badwill of the emails title. I would really be interested in its correct results. Cheers everyone > > Failed requests: 137 > > No - look at your results. Every request failed on the win32 > box (and they all succeeded on linux). You have some sort of > problem in your windows setup, and you'll always get higher > throughput for errors than you can for completed requests... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.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 ) > From konermann@inf.tu-dresden.de Sat Oct 7 00:57:40 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Sat, 07 Oct 2000 01:57:40 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: <39DE66F4.EA44AFDB@inf.tu-dresden.de> Hi all! Peter Bengtsson wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? Definitely, yea! > I would really be interested in its correct results. Me too. :-) Cheerio! Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From jfarr@real.com Sat Oct 7 02:23:43 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 6 Oct 2000 18:23:43 -0700 Subject: [Zope] Zope, Threads and Signals References: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: <014701c02ffd$3b6e0030$416917ac@poly> I would just use the asynchronous network clients in asyncore and asynchat. Since ZServer also uses them you would be automagically plugged into the ZServer select loop if you were sitting behind ZServer. --jfarr ----- Original Message ----- From: "Wilkinson Charlie E" To: Sent: Friday, October 06, 2000 3:08 PM Subject: [Zope] Zope, Threads and Signals > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From kthangavelu@earthlink.net Fri Oct 6 21:23:30 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 13:23:30 -0700 Subject: [Zope] Java equivalent to WorldPilot? References: Message-ID: <39DE34C2.7277B9C7@earthlink.net> Hung Jung Lu wrote: > > Hi, > > Does anyone know any Java software (commercial or not) that is equivalent to > WorldPilot? > > regards, > > Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal format) and also javawebmail.sourceforge.net From knight@righteous.net Sat Oct 7 02:29:40 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:29:40 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: On Fri, 6 Oct 2000, Tom Deprez wrote: > Why do you test the one with ZServer and the other with Apache? > If you want correct results you've to test both with ZServer or both with > Zope behind Apache. Not? > > Tom. Exactly, or atleast both ZServer. You can definately attribute some latency due to the Apache integration... (minimal, but still needs to be noted!) Knight knight@phunc.com From knight@righteous.net Sat Oct 7 02:35:21 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:35:21 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061856450247.0171E71C@mail.inetsysonline.com> Message-ID: To get ACCURATE timings, you need to create the situations almost identical, other than the operating system. So, that means: 1) Windows and Linux tunings should be similar; are you running extra daemons on the Linux box that Windows isn't (smtp, ftp, etc)? 2) The server architecture should be the same (identical hardware) 3) The software architecture should be the same; are you running both Zope and Apache on each machine, or are you spliting these services up somehow. A server with Apache+Zope, and then another server with just Zope will NOT match up. Just keep that in mind... Knight knight@phunc.com On Fri, 6 Oct 2000, Aitor Grajal Crespo wrote: > both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) > thanks. > > *********** REPLY SEPARATOR *********** > > On 06/10/2000 at 17:27 Tom Deprez wrote: > > >Why do you test the one with ZServer and the other with Apache? > >If you want correct results you've to test both with ZServer or both with > >Zope behind Apache. Not? > > > >Tom. > > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.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 ) > > From knight@righteous.net Sat Oct 7 02:37:55 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:37:55 -0700 (PDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:42:49 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:42:49 -0700 (PDT) Subject: [Zope] one external method calling another; what possibilities? In-Reply-To: <20001006164242.A91552@enteract.com> Message-ID: External methods are not extensions to any Zope classes. External methods allow you to incorporate external functionality from Zope, as you already know. You can define classes that are referenced in your functions though. Keep in mind, that the external method that you created that gets called is just a function. By default, self gets passed in, so be sure its in your function definition. When calling _another_ function from your external method, self does NOT get passed, since your external method does not belong to a specific class instance... i.e. there's no container to pass as self. So you have to pass self explicitly. Example: def myextmethod(self, somevar): something() morethings() myotherfunc(self, somevar): def myotherfunc(self, somevar): print somevar If this doesn't help, please clarify what exactly you are trying to do... Knight knight@phunc.com On Fri, 6 Oct 2000, Fred Yankowski wrote: > I'm using some example code that defines an External Method to process > a form. That External Method calls another utility function to log > some data. I'm not quite sure what choices I have for creating that > utility function, so I created another External Method for it. Both > functions are in the same Python source file in the Extensions folder. > > Anyway, the main external function calls the utility function like this: > > self.function2(arg1=valuex, arg2=valuey) > > I expected that function2 would have to be defined like this: > > def function2(self, **kwargs) > > but it turned out that that fails at runtime with a complaint about a > mismatch between the number of arguments sent and expected (0 and 1, > respectively). The following does work: > > def function2(**kwargs) > > So, why isn't function2 called as a method function? > > Was there some better way I could have implemented function2, rather > than as an external method? > > Where is reference documentation on External Methods? I couldn't find > anything other than a very cursory overview in one of the PDF'ed > documents (I forget which). > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:45:38 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:45:38 -0700 (PDT) Subject: [Zope] Zope, Threads and Signals In-Reply-To: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: cw, Are you spawning additional threads by chance? Or just the threads that Zope creates? Knight knight@phunc.com On Fri, 6 Oct 2000, Wilkinson Charlie E wrote: > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From knight@righteous.net Sat Oct 7 02:49:56 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:49:56 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > ;-) > Especially to all Linux supporters for the badwill of the emails title. > > I would really be interested in its correct results. > > Cheers everyone Especially with all this press I've seen in publications over the last month or two regarding Windows 2000 is outperforming *nix. (over my dead _dead_ body) Knight > > > > Failed requests: 137 > > > > No - look at your results. Every request failed on the win32 > > box (and they all succeeded on linux). You have some sort of > > problem in your windows setup, and you'll always get higher > > throughput for errors than you can for completed requests... > > > > > > Brian Lloyd brian@digicool.com > > Software Engineer 540.371.6909 > > Digital Creations http://www.digicool.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 ) > > From asc@vineyard.net Sat Oct 7 04:17:22 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 23:17:22 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: > Aaron, you left out the error. What was it... > > On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > > > Hi, > > > > My name is Aaron. > > > > I am trying to set up zope with (atleast) three roles : manager, admin, > > user. > > > > I'd like to give the last two the bare minimum Security permissions > > possible and adding them as needed later on. > > > > My problem is that I can't seem to figure out, specifically, which > > permissions to give a user that will allow them to read ZopeTime(). > > > > (see below) > > > > For the admin user, I have set the Access content information and View * > > options globally. I've tried guessing at some others, but there are alot > > of possible combinations to try so I thought maybe I would just ask. > > > > Related, is there a detailed description of the default Security > > settings? I've checked the mailing lists and the Zope docs and if it's > > there, I guess I missed it. > > > > Thanks, > > > > > > > > > > > > > > Traceback (innermost last): > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > > publish_module > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > > publish > > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > > zpublisher_exception_hook > > (Object: Traversable) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > > publish > > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > > mapply > > (Object: test) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > > call_object > > (Object: test) > > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > > __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > > 528, in __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > > 337, in eval > > (Object: REQUEST.set('ts', ZopeTime())) > > (Info: REQUEST) > > File , line 0, in ? > > NameError: (see above) > > > > > > _______________________________________________ > > 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 ) > > > > > > From matt@virtualspectator.com Sat Oct 7 04:20:49 2000 From: matt@virtualspectator.com (matt) Date: Sat, 7 Oct 2000 16:20:49 +1300 Subject: [Zope] xmldocument and properties In-Reply-To: <39DE66F4.EA44AFDB@inf.tu-dresden.de> References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <00100716220803.00855@localhost.localdomain> Does anyone have a simple example of creating and setting the properties of a node within an xml document, using xmldocument and external methods. thanks Matt From kthangavelu@earthlink.net Sat Oct 7 03:40:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 19:40:58 -0700 Subject: [Zope] Underscore Caracter References: Message-ID: <39DE8D3A.D9618763@earthlink.net> Chris McDonough wrote: > > Yes. Thank you. > > Note however that methods of modules accessed via the underscore namespace > may be filtered individually, so although 'replace' exists as a method of > the Python string module, this does not necessarily make it accessible > implicitly through Zope via _.string.replace. It happens to be accessible > in this case, but I'd bet there are cases in which methods accessible > via modules of the _ namespace have been removed for "safe scripting" > purposes. having recently gone through the code to produce ZModules (defined interface for adding modules to _), it was apparent that all the modules that live in namespace are completely exposed. Kapil From iap@y2fun.com Sat Oct 7 09:58:33 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Sat, 7 Oct 2000 16:58:33 +0800 Subject: [Zope] Problem of Catalog "Find items to ZCatalog" References: <39DE8D3A.D9618763@earthlink.net> Message-ID: <02d201c0303c$c76f3920$6601a8c0@y2fun.com> Hi, In the management view of a Catalog (ex. /Catalog), there is a tab named "Find items to ZCatalog". In that tab, there is a field "Find objects of type:". The options listed there were retrieved from the "factory" of a ZClass. (The "add list name" field, a good feature for people who are not native speakers of English.). I doubt that what "Find items to ZCatalog" actually searched is the meta_type of the objects not the value of "add list name" in its ZClass. Because I have to identify these two in order to find my items to ZCalalog. Is that true? Iap, Singuan From knight@righteous.net Sat Oct 7 10:08:36 2000 From: knight@righteous.net (knight) Date: Sat, 7 Oct 2000 02:08:36 -0700 (PDT) Subject: [Zope] Underscore Caracter In-Reply-To: <39DE8D3A.D9618763@earthlink.net> Message-ID: > Chris McDonough wrote: > > > > Yes. Thank you. > > > > Note however that methods of modules accessed via the underscore namespace > > may be filtered individually, so although 'replace' exists as a method of > > the Python string module, this does not necessarily make it accessible > > implicitly through Zope via _.string.replace. It happens to be accessible > > in this case, but I'd bet there are cases in which methods accessible > > via modules of the _ namespace have been removed for "safe scripting" > > purposes. > > having recently gone through the code to produce ZModules (defined > interface for adding modules to _), it was apparent that all the modules > that live in namespace are completely exposed. What's the problem with that? Aren't most, if not all, the modules living in the _ namespace just standard python modules available anyways? Knight From zope@philosoft.at Sat Oct 7 10:42:32 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sat, 07 Oct 2000 11:42:32 +0200 Subject: [Zope] HTTP user authentication in Python In-Reply-To: References: Message-ID: <200010071142320968.38BFDB97@192.7.2.223> The core of HTTP authentication is the following (you have to put the authentication into the HTTP header): import httplib h=httplib.HTTP(....) .... h.putheader("AUTHORIZATION", "Basic %s" % string.replace( encodestring("%s:%s" % (self.username, self.password)), "\012", "")) .... there is a xmlrpc howto where you find a detailed description: http://www.zope.org/Members/Amos/XML-RPC good luck phil *********** REPLY SEPARATOR *********** On 06.10.2000 at 14:22 Hung Jung Lu wrote: >Hi, > >Where can I find out more information on HTTP user authentication? I have >seen the RFC before, but it's a bit too technical to follow. I think Python >does not include the authentication/cookie handling part probably because >out of concern about abuses. :) > >Does anyone know where I can find more info on the authentication and cookie >protocol stuff? Is there any Python module already written to handle these >things? > >The idea is to be able to fetch external webpages automatically using >Python, including providing the necessary auth and cookie info. Of course >this opens up a whole can of security worms, but heck, it's open information >and someone must already have written something in Python already. > >regards, > >Hung Jung >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) From tav" hi, i am running into a slight problem due to STILL not being able to understand namespaces perfectly, and would appreciate if someone could help out. ----- the situation is this: ----- i have a dtml document called "pageowners", on which i have a list property called owners. which changes every hour. lets assume right now, it says tav and Bill. now, in the same folder, i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". there is a dtml document corresponding to each owner. each of the three documents have a title and content. parseit simply gives them a table layout, which simplified immensely, looks like:

what i want to do is display whomever is listed as an owner, in such nice tables. ----- the problem is this: ----- in "standard_html_header", it looks up which owners are listed in "pageowners", and then runs through them in a sequence. however, (and this is where it gets tricky), i want the owners to be formatted by running them thru "parseit". however i get stuck when in parseit, as i dont know how to do , i tried to set Bill in the namespace by using , and then tried to call within "parseit" but that doesn't work :/ and, again, i want this to be done automatically, so i dont want to have to manually list Bill, tav, noa, etc.... i am pretty sure that DTML can handle this, and this is one of the reasons why i like zope, because it lends itself to a structured system which is easily maintainable, e.g. the owners could increase from 5 to a 1000, and this would still work. Any help would be much appreciated. Thanks in advance -- best regards, tav From jan@haul.de Thu Oct 5 17:40:44 2000 From: jan@haul.de (Jan H. Haul) Date: Thu, 05 Oct 2000 18:40:44 +0200 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> <39DBBC5F.9D375761@adroit.net> Message-ID: <39DCAF0C.3A3EF78D@haul.de> Terry Kerr wrote: > > Chris Withers wrote: > > > Hannu Krosing wrote: > > > > > Also you could send just one message to all the recipients instead of > > > sending individual messages. > > > > Urm, they could be pretty unfriendly mail messages if they're being sent > > to a coupla thousand people. The bandwidth dcoming out of your server > > alone would be far higher than it needed to be :-( > > How would the bandwidth change?? Well, suppose you send a message of, say, 2 KByte (about one page of typed text) to 1,000 recipients. You'll make about 1,000 connections to the recipients' MX hosts. Each of these will be around 42 KByte large. Huh? Why that? you ask. Because in the header of each mail, the whole recipient list will be listed under To: or Cc: (I assumed 40 bytes per address as a roundabout figure). In the envelope (what the SMTP protocol *uses* to deliver the message, only one address will be used, the body To: list is mainly for the recipients' use (to show them who else got it). Besides, there are other problems why you will want separate mails: - privacy: You would not like to have "your" recipients end up on other people's mailing lists - stability: When E-mail bounces, you would like to hanle it intelligently, like trying this address once again (as it could be a temporary outage) and take the address off the list if it still bounces a week or so later - stability again: You woulld not like to be blacklisted as either a spammer or clueless by the recipients' postmaster :-) I would probably use a stable MTA (like qmail, which has good mailing list processing software, or postfix) for the job. Cheers, Jan From dieter@handshake.de Sat Oct 7 13:08:30 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:08:30 +0200 (CEST) Subject: [Zope] Quotes in DTML (Python) expressions (was: [Zope] HTML-Code in variables (addition)) (was: [Zope] HTML-Code in variables (addition)) In-Reply-To: <41808890@toto.iv> Message-ID: <14815.4428.764737.937930@lindm.dm> Lars Heber writes: > Yahoo!
"> I.e. you use Python's hexadecimal (or octal) quoting for '"' (\x22) inside the Python string. Dieter From dieter@handshake.de Sat Oct 7 13:03:29 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:03:29 +0200 (CEST) Subject: [Zope] Container Class questions In-Reply-To: <92758925@toto.iv> Message-ID: <14815.4163.366826.967501@lindm.dm> geoff@northernwastes.org writes: > .... product with associated image .... > Should I create a product that can contain said images? If so, how do > I do this? Should I simply force a naming conventions for the images > and tie them together with the sample catalog items that way? I would use a ZClass to model the product. I would inherid from "Folder". This makes the ZClass folder-like. Especially, I can place images and other related objects inside them (if they do not easily fit in properties). Dieter From dieter@handshake.de Sat Oct 7 12:59:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:59:23 +0200 (CEST) Subject: [Zope] Problem with In-Reply-To: <130555996@toto.iv> Message-ID: <14815.3907.275735.867783@lindm.dm> Tim Gildersleeve writes: > The line is > > > Error Type: TypeError > Error Value: number coercion failed I can assure you, that the "number coercion failed" is not raised in the above "REQUEST.set". "set" accepts any type. The problem arises at a later time, probably because "fSTART" or some other computation incredient does not have the correct type. You know about the magic ":type" suffixes in form variables. There is a howto about them at Zope.org. Dieter From dieter@handshake.de Sat Oct 7 12:45:16 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:45:16 +0200 (CEST) Subject: [Zope] external method import error (ImportError)... In-Reply-To: <100746361@toto.iv> Message-ID: <14815.2891.316428.490745@lindm.dm> Eric writes: > To summarize: How do I import modules in an External Method's .py file? I remember, I read this in some "External Method" related documentation. You do *NOT* place such modules inside the folder "Extensions" but put them somewhere else reachable by "PYTHONPATH". The documentation suggests that you create a subpackage inside "Shared", say "Extensions", and place there your module (don't forget "__init__.py" in the subfolder representing the subpackage), say "". Then, in your external method, you would use: from Shared.Extensions import Dieter From dieter@handshake.de Sat Oct 7 12:38:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:38:31 +0200 (CEST) Subject: [Zope] client proxy setting In-Reply-To: <47365137@toto.iv> Message-ID: <14815.2582.805065.344135@lindm.dm> TMGB writes: > Can I get the user's client proxy setting using 'REQUEST' or some other > syntax, product, or utility. This is not Proxy Roles or ProxyPass, but > the client's proxy settings if any. I am working on a help page to > debug a user's settings if he or she can't get to certain pages with our > proxy server settings on their browser. I am not sure, I understand what you want to know. I you mean: how is the browser's proxie configuration: manually, direct connection or automatic (with what configuration file). Then, I fear, you will not get this information. If you want to know, which proxie was used for a given request, then there is some chance. Some proxies set the HTTP "VIA" header. Inside Zope, you access it as "HTTP_VIA". It can tell you through which proxies the request was routed. Dieter From dieter@handshake.de Sat Oct 7 12:31:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:31:15 +0200 (CEST) Subject: [Zope] Wierd 2.2.2 start up problem In-Reply-To: <115532451@toto.iv> Message-ID: <14815.2238.216040.114955@lindm.dm> J. Atwood writes: > I have installed 2.2.2 on more than a few machines.... on my fifth machine I > got this after doing the install. > > 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\000\003' > Traceback (innermost last): > File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line > 446, in setstate > ImportError: No module named Document > > I have tried wiping it away and trying again like three times. Anyone know > what this? Why it is not happening in installs. All RH Linux. On your fifth machine, the ZODB seems to contain an object referencing a module "Document" which apparently is not installed. Activate the logging facility (by starting Zope with "start .... STUPID_LOG_FILE=zope.log ...") and check, whether you see anything suspicious in "zope.log". Dieter From dieter@handshake.de Sat Oct 7 12:50:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:50:23 +0200 (CEST) Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <32820358@toto.iv> Message-ID: <14815.3305.716063.19539@lindm.dm> Roman Milner writes: > I'm trying to get ldap methods to work with 2.2.2. I can access the > attributes of the objects returned from an ldap method with a python > extension fine, but dtml-in'ing the returned list doesn't work. I keep > getting an error (traceback below). > zope.org) AccessRule in your top (logical) folder to modify your REQUEST object as you like. Dieter From dieter@handshake.de Thu Oct 12 08:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 09:59:43 +0200 (CEST) Subject: [Zope] How to see if two objects are the same (minor fix) In-Reply-To: <40435241@toto.iv> Message-ID: <14821.27476.628244.862590@lindm.dm> Ron Bickers writes: > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 What you see here, is Zope's (more precisely ExtensionClass's) acquisition magic: when you access "object.attribute", you (usually) will not get the object corresponding to "attribute" but a new object: "attribute.__of__(object)" i.e. the attribute object in the context of "object". When you look up an attribute of this object, it will first in the object itself and when it does not success there, it will look in the context. That is what you like with acquisition. The downside: When you access the "same" object via different contexts, you will in fact get different objects (as the contexts are different). "is" will return false, as it should be. But, even, if you use "==", you will get "false". There have been some discussion in the list, whether this is the best behaviour. What can you do? You can use the "aq_base" attribute to strip away any context and get to the base object. At least in Zope 2.2.1, "aq_base" was not exposed to DTML. Thus, you would need an external method, say "getBaseObject", to get at the base: def getBaseObject(object): return getattr(object,'aq_base',object) With this function, you can compare the base objects: Be careful, however: Even, if such a test returns true for two objects, the objects may nevertheless have different behaviour (as the contexts are different). Dieter From amador@alomega.com Thu Oct 12 09:12:06 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Thu, 12 Oct 2000 03:12:06 -0500 Subject: [Zope] int and string comparisons Message-ID: <39E57256.54A427DD@alomega.com> --------------F181E4C9DE8090EF2366B5AC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) --------------F181E4C9DE8090EF2366B5AC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet

   <dtml-in "_.range(1,32,1)">
        <option value="&dtml-sequence-item;"
        <dtml-let item=sequence-item>
        <dtml-if begin_day>
        <dtml-if expr="item == REQUEST.begin_day"> selected </dtml-if>
<dtml-comment>CONVERTIR A INT</dtml-comment>
        </dtml-if>
        </dtml-let>
        >&dtml-sequence-item;</option>
      </dtml-in>

The comparison fails because item is an int and REQUEST.begin_day is a string (i guess).  How can I coerce item into a string, or REQUEST.begin_day into an int?
 I tried python's builtin int() function around REQUEST.begin_day.  Won't work.

Any suggestions?

-- 
Manuel Amador (Rudd-O)
  --------------F181E4C9DE8090EF2366B5AC-- From lheber@debis.com Thu Oct 12 09:29:24 2000 From: lheber@debis.com (Lars Heber) Date: Thu, 12 Oct 2000 10:29:24 +0200 Subject: [Zope] Re: How to use standard html headers and footers properly (was: Re: [Zope] Namespace problems...) [Zope] Namespace problems...) References: <39DAD8E7.ACB56A3@debis.com> <39E54C2D.D071677F@alomega.com> Message-ID: <39E57664.4997EAE3@debis.com> Hi, first, thanks for your advice! "Manuel Amador (Rudd-O)" schrieb: > > > > > > on your document, WILL work fine. > > But I suggest recreating standard_html_header as a METHOD and calling OK, once again: My standard_html_header is still a METHOD!!! And within it, I DO access to the variables of the calling document / method! > > > > That's _exactly_ what I did! I only inserted a to pass this var to standard_html_header. > > Since methods don't have properties, they will use calling object's > properties. Read again. Do NOT use DTML documents for headers and > footers. Use METHODS. I DON'T! >> So I stored my headers and footers and many other things in >> root/intra/pub. >> >> All the other documents are stored in root/intra and below. >> >> I've got my standard_html_header, with which I can display >> user-defined >> titles which may also contain values of global properties. The >> user-defined title is being built in the document before the header >> is >> called, e. g. something like: > Look above! >> In the standard_html_header !!!>>>_method_<<> whether there is a titel attribute or not. > >> This works fine. > >> But for general use I want to keep the possibility of displaying the >> >> title_or_id of the document when I don't introduce a user-defined >> title. >> >> This would be no problem if s_h_h wasn't situated in root/intra/pub, >> so I have >> to call it within the . >> >> But calling it within the , pub is on the top of my >> namespace, so that calling title_or_id returns the title_or_id of >> the container of s_h_h, i. e. >> pub, INSERTED: and not as wanted the title_or_id of the calling >> document! > >> How can I nevertheless access within the s_h_h to the title_or_id of >> my >> original document? INSERTED: i. e. explicitely accessing to a >> layer of the namespace which isn't on its top! > Hope I now explained it well enough. Thank you very much. Lars From chrisw@nipltd.com Thu Oct 12 09:58:44 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 09:58:44 +0100 Subject: [Zope] aq_base References: <14821.27476.628244.862590@lindm.dm> Message-ID: <39E57D44.DC711E9A@nipltd.com> Dieter Maurer wrote: > At least in Zope 2.2.1, "aq_base" was not exposed > to DTML. ...and I don't think it ever would or should be sicne it strips off all security context and would probably let you do 'bad things' :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:05:05 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:05:05 +0100 Subject: [Zope] What contains an object.... References: Message-ID: <39E57EC1.11A1B425@nipltd.com> Ron Bickers wrote: > > > > > So, is there another way in DTML I can see if an object was acquired from > PARENTS[-1] or not? Is there a way to check an objects container out of > context? Hmmm... try the following as a replacement for the above stuff: cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:06:35 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:06:35 +0100 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> Message-ID: <39E57F1B.D2637FDF@nipltd.com> "Geoffrey L. Wright" wrote: > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > The above should now work... ...if it doesn't please explain in what way ;-) cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:08:40 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:08:40 +0100 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> Message-ID: <39E57F98.5610C3B3@nipltd.com> Paul Winkler wrote: > > Hi, > > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? IIRC, zope.org's acl_users has about 11,000 people in it without too many problems... Ethan, can you confirm? cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:12:27 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:12:27 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: Message-ID: <39E5807B.46071A34@nipltd.com> Tony McDonald wrote: > to reply to Andy? In my own reportlab distribution I changed; > import Image > to > from PIL import Image Well, it sounds right and if it works then it probably is ;-) It probably depends exactly where you install PIL, though, which I haven't done yet :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:18:57 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:18:57 +0100 Subject: [Zope] int and string comparisons References: <39E57256.54A427DD@alomega.com> Message-ID: <39E58201.7889A0@nipltd.com> "Manuel Amador (Rudd-O)" wrote: > selected Try replacing the above with: ...and stop posting HTML to a non-HTML list! cheers, Chris From sebbacon@email.com Thu Oct 12 10:13:39 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:13:39 +0100 Subject: [Zope] int and string comparisons In-Reply-To: <39E57256.54A427DD@alomega.com> Message-ID: if you're submitting from a form, you can coerce strings into other data types by giving the form items special names, e.g.: Your REQUEST then has variables called foo and bar which are ints and floats, respectively. also, don't post html mail - not everyone can read it. seb. -----Original Message----- From: rudd-o@usm.edu.ec [mailto:rudd-o@usm.edu.ec]On Behalf Of Manuel Amador (Rudd-O) Sent: 12 October 2000 09:12 To: zope@zope.org Subject: [Zope] int and string comparisons This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) From heinkel@cenix-bioscience.com Thu Oct 12 10:21:34 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Thu, 12 Oct 2000 11:21:34 +0200 Subject: [Zope] SybaseDA and ASA In-Reply-To: <39E54DBD.BA0A33F2@alomega.com> References: <39E54DBD.BA0A33F2@alomega.com> Message-ID: <00101211262701.00750@celap> On Thu, 12 Oct 2000, you wrote: > I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDA against > sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the > latest one). Loading python and importing sy_occ works perfectly. > > BUT, I can't create a SybaseDA SQL connection object . Specifically, > trying to create it sez connection failed. I've tried EVERY POSSIBLE > parameter combination on the creation form. None worked. > > By the way, I'm using Adaptive Server Anywhere for linux, 6.0.3. It is > NOT ASE. It is ASA. > > Does sy_occ work with ASA, or only with ASE? Any experiences? > Last week I was trying to upgrade from Zope V 2.1.6 (with working sybase adapter) to a 2.2.x version, and my sybase adapter stop working (yes I recompiled it). We are using ASE 11.9.2 on a linux box. Seems like Zope has introduced some incompatibilities which no one has discovered so far. Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From Marcin.Kasperski@softax.com.pl Thu Oct 12 10:33:31 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Thu, 12 Oct 2000 11:33:31 +0200 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> Message-ID: <39E5856B.43E0755D@softax.com.pl> > > As I finally installed mod_proxy_add_forward, I get original address in > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > The question is: can I do something easy to automatically perform > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > set remote_ip = whatever is in X-Forwarded-For > > logic? In particular, I would like changed IP to be used by Zope access > > control and Zope log. > We have had similar problems. > > Friendly people from NIP made a HowTo patch Apache to let the > information through. > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > AccessRule in your top (logical) folder to modify your > REQUEST object as you like. > Does there exist some sample of such usage? Can such a change be performed before authorization? I use SiteRoot to translate addressess between external and internal (in subdirectories, not in main directory). Can those approaches be merged one with another? -- http://www.mk.w.pl / Marcin.Kasperski | Sztuczki i kruczki w C++: @softax.com.pl | http://www.mk.w.pl/porady/porady_cplusplus @bigfoot.com \ From sebbacon@email.com Thu Oct 12 10:46:38 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:38 +0100 Subject: [Zope] Content Management System Message-ID: This query started out in a separate thread about permissions, but it's sufficiently important to me to pose again here. I've been struggling to make the CMS abilities of zope user-friendly enough for 'joe average' end-users. Really it's designed for a 'power' content manager who delegates, secures, and generally has taken the time to study all the Content Management docs, etc. However, most of my clients don't have those kinds of requirements and aren't that technologically savvy, so I end up coding ultra-simplified interfaces for them on a per-project basis. I know you can restrict permissions on just about every available method, and I am aware of the current skinnable zope project, which may improve the situation drastically. But I'm interested to know, how many of you offer the Zope TTW interface to clients as a content management system, and how many just use it as a development interface? I'm beginning to wonder if content management and system administration should be split out into separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, syndication, etc...). But I'm still far from being a zope power user myself, and have yet to appreciate the range of its potential. What do you people think? Seb. From sebbacon@email.com Thu Oct 12 10:46:40 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:40 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14820.48557.338437.974103@lindm.dm> Message-ID: oops, I forgot to foward my last mail on this subject to the list. My response here to Dieter's response captures contains the main points though... > > > I think, the implementation would be easy. > > > Management, however, would be more difficult, as there are no > > > good defaults for the "URL Traversable" permission. > > > It is not easy, to determine (e.g.) for a DTML method/document > > > whether it is only used as a component (such as > > > "standard_html_header") or is a full grown presentation method. > > > > Um, I don't think I understand. [ snip ] > Currently, Zope tries to have very few explicit, object specific > permissions. The ideal is that permissions are specified high above in > the hierarchy and acquired by lower objects. > This is quite possible with the current scheme. > Implementing an "URL accessible" permission would require > much more tweaking of single object permissions. > > There are other ways to solve your problem by organization > (putting things that should not be seen somewhere else) > that do not require an additional permission. Now I understand... I would disagree, however: I think there is a sensible default value. The default would be that anonymous does not have 'traverable' permission, but the manager / owner does. The cases where an authenticated user is able to traverse some objects but not others would, as you point out, be rare, because you could instead manage these by organisation. You would still use organisation to avoid having to set too many additional permissions. However, this solution would solve the 'security' issue of the anonymous user being able to list objectIds in any folder TTW. It would also allow the developer more flexibilty in how they designed their application, which can only be a Good Thing? seb. From iap@y2fun.com Thu Oct 12 11:08:50 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Thu, 12 Oct 2000 18:08:50 +0800 Subject: [Zope] "from" is a reserved word? References: Message-ID: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Hi,The following dtml couse error, The workaround is to change "from" to other words. Iap, Singuan From tdickenson@geminidataloggers.com Thu Oct 12 11:11:41 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 12 Oct 2000 11:11:41 +0100 Subject: [Zope] Re: Upload just file headers? In-Reply-To: References: <39E4C569.B2E6B51F@yahoo.com> Message-ID: <1e3bus02d70n10b17j81789u3dh94qhfi2@4ax.com> On Wed, 11 Oct 2000 15:41:16 -0700 (PDT), knight wrote: > infilename = REQUEST.form['attached_file'].filename # Get filename > infile = REQUEST.form['attached_file'] # Get the file descriptor > myheader = infile.read(500) # Read up to 500 bytes > infile.close() # Close the stream > >This should be in an external method or product. > >I haven't tested whether or not this will only let the client upload the >first 500 bytes Im sure it wont >it's very possible zope takes in the entire file, and >puts it into a buffer that is like a file descriptor (hence StringIO). File uploads are spooled into a temporary file, and the request is only dispatched into Zope once the whole request has arrived. Anything smarter than that will require some ZServer hacking. Toby Dickenson tdickenson@geminidataloggers.com From chrisw@nipltd.com Thu Oct 12 11:25:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 11:25:00 +0100 Subject: [Zope] doesn't... References: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: <39E5917C.D3D2EB94@nipltd.com> "iap_y2fun.com" wrote: > > > Don't worry... the problems are mainyl caused 'cos doesn't do what most people would expect it to... *grinz* Chris From odeckmyn.list@teaser.fr Thu Oct 12 11:47:18 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 12 Oct 2000 12:47:18 +0200 Subject: [Zope] [Job] Zope Job in France Message-ID: <069f01c03439$cb18e340$0d00000a@ODECKMYN2K> Jeune Start-up dans le monde de l'internet recherche développeurs/chefs de projet Internet / Zope. Diplômé BAC+2/5 (ingénieur ou universitaire), vous avez une première expérience (éventuellement un stage significatif) en développement d'applications avec Zope. Connaissant bien HTML et HTTP, vous maîtrisez parfaitement au moins un langage de programmation objet (Python, Delphi, Java, C++, ...). Vous avez une connaissance de UML et de l'objet en général. Une connaissance de XML et LDAP serait un GROS plus. Vous êtes rigoureux et organisé. De plus, vous avez une bonne connaissance des SGBDR et êtes capable de lire et rédiger des documents en anglais. Votre mission : Vous participez à la conception, au développement et à la gestion du site. Selon votre potentiel, vous évoluerez au sein de la société vers de plus amples responsabilités notamment en prenant une part de plus en plus importante dans le déroulement des projets. Expérience : N'hésitez pas à joindre à votre candidature tout document pouvant démontrer vos compétences (ex : URLs de vos réalisations) Profil : Vous êtes rigoureux et organisé, dynamique et passionné et prêt à travailler dans une équipe jeune et très ambitieuse. Ce poste, basé à Paris-La Défense, est à pourvoir immédiatement dans le cadre d'un CDI. Rémunération proposée : 210KF à 290KF selon profil et expérience. Contact : Merci d'adresser CV et une lettre de motivation à : olivier.deckmyn@experts-md.com Olivier Deckmyn, CTO eXperts-MD.com From rik.hoekstra@inghist.nl Thu Oct 12 13:10:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:10:08 +0200 Subject: [Zope] Content Management System References: Message-ID: <00cf01c03445$5e59b8e0$fe5da182@michieltje> > This query started out in a separate thread about permissions, but it's > sufficiently important to me to pose again here. > > I've been struggling to make the CMS abilities of zope user-friendly enough > for 'joe average' end-users. Really it's designed for a 'power' content > manager who delegates, secures, and generally has taken the time to study > all the Content Management docs, etc. However, most of my clients don't > have those kinds of requirements and aren't that technologically savvy, so I > end up coding ultra-simplified interfaces for them on a per-project basis. > > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? The PTK might offer you some help in this respect. Zope as a CMS _is_ possible, but IMO you'll have to wrap the parts of the management interface that you want to expose to your users and hide the rest. This will effectively limit you as to what you will let your users add to Zope, but in a CMS situation, this will probably be the case anyway. The management interface as is won't mean much to most of them, but custom forms can also call the manage methods. It's probably a good idea to use something like the HTML Widgets product that was recently announced here, or the HiperDom thing. For most of the user management parts you will probably need someone with affinity for web developing, though as long as you keep the tasks constrained, some simple instructions will probably suffice. I have been developing something similar in what should be a course framework (a product that I don't seem to be able able to finish) that is geared toward an educational situation. It's predecessor has been in use at a university for some time and it seems to suffice as least as good as commercial packages. hth Rik From mj@digicool.com Thu Oct 12 13:12:23 2000 From: mj@digicool.com (Martijn Pieters) Date: Thu, 12 Oct 2000 14:12:23 +0200 Subject: [Zope] Re: Upload just file headers? In-Reply-To: <39E4C569.B2E6B51F@yahoo.com>; from slinkp23@yahoo.com on Wed, Oct 11, 2000 at 03:54:17PM -0400 References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> Message-ID: <20001012141223.A9744@zopatista.com> On Wed, Oct 11, 2000 at 03:54:17PM -0400, Paul Winkler wrote: > For example, take a .gif or .jpeg file and throw away all > but the first (let's say) 1 kb of the file. > If you try to open this truncated file with an image editor > (gimp, photoshop, whatever) you'll have problems. But useful > information is still stored in that first part of the file, > as we can see using python and PIL. > Example, on linux: > > head --bytes 1000 foo.gif > foo_truncated.gif > python > ... > >>> import Image > >>> test = Image.open('foo_truncated.gif', 'r') > >>> test.size > (210, 210) > > So in this case, we can find out that foo.gif is 210 x 210 > pixels even if we only have access to the first 1 kb of the > 12 kb file. This doesn't hold true for JPEG's. A JPEG encoded image consists of a set of segments, each encoding some aspect of the image. The image dimensions can be found in the frame header segment, but this segment may be preceded by tables, comments and application specific data. These extra segments could easily take up your 1K chunk. AP press for example, uses an application specific segment to encode image metadata such as subject, caption and photographer. If you have a look at the Image dimension detection code for JPEGs you'll see that it scans for a frame header (marked by C0, C1, C2 or C3 depending on the encoding used). Once found, it extracts the width and height. More information of the JPEG file encoding format can be found at: http://www.w3.org/Graphics/JPEG/itu-t81.pdf For a GIF file, the first 10 bytes should suffice, for a PNG you need the first 24. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From rik.hoekstra@inghist.nl Thu Oct 12 13:37:05 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:37:05 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: <39E5807B.46071A34@nipltd.com> Message-ID: <00fb01c03449$21c528c0$fe5da182@michieltje> > > to reply to Andy? In my own reportlab distribution I changed; > > import Image > > to > > from PIL import Image > > Well, it sounds right and if it works then it probably is ;-) It > probably depends exactly where you install PIL, though, which I haven't > done yet :-S The Photo product and the ExtImage products do more or less the same - this seems to become the standard way. It would be nice to have one place to put PIL, though. the lib/python/shared directory would be a good place I think. Rik From cs@comlounge.net Thu Oct 12 13:59:24 2000 From: cs@comlounge.net (Christian Scholz) Date: Thu, 12 Oct 2000 14:59:24 +0200 Subject: [Zope] Content Management System In-Reply-To: ; from Seb Bacon on Thu, Oct 12, 2000 at 10:46:38AM +0100 References: Message-ID: <20001012145924.B30498@central.comlounge.net> Hi! > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? We have some client who use Zope for (at least partly) doing CMS on their site. But these are quite simple (thus no commitments, etc.) When switching from a database centered approach to a more Zope based (e.g. doing it via Zope Products) I actually splitted the management interface in one for the main manager (we) and one more simple and configurable one for the clients (starting with ..../admin ). I now used it in two subprojects and it seems to work. The only thing I need to think about more specifically is how to factor out the client-side of the management interface more clearly as right now it's very much weaved into the actual classes. Also I am thinking about possibilities to split the actual data from the presentation and to make the presentation pluggable. But this is quite raw at the moment ;-) cheers, Christian From paul.zwarts@oratrix.com Thu Oct 12 15:24:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 16:24:07 +0200 Subject: [Zope] dtml-in loop to capture records Message-ID: <39E5C987.3D0D7D1F@oratrix.com> Hi all, I have a number of simple forms that retrieve all occurences of a table into editable fields in a page. Each input tag is named: ... ...
Note, only the primary key field is actually a hidden type input and the rest are text and so on. In test of the submit button, the dtml-sql method called is structured: update table set field2= where field1= &dtml-sql_delimiter; and the conditions of the method are item:records. The intention is to submit in one go the entire list of occurences and update anything that has changed. You can do this with checkboxes valued on the primary key and other ways. The important thing is to leave something that you use as the key in the WHERE statement. Okay, this works fine, in MOST of my forms, but I have other forms where this doesnt work at all and I get errors saying that the ITEM is a bad request. I dont get it, what am I missing here that this works some places and in other places with almost identical syntax, it falls over. The form is correctly tagged, does the name attrib of the form tag have to do with the ... doesnt seem to be but tried it. Im wondering if because the dtml-document is quite large with seperate subloops and forms that publish in a sequence of events that this doesnt work. Hopefully someone has insight I'm missing here? Cheers and thanks again, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From tony.mcdonald@ncl.ac.uk Thu Oct 12 15:26:18 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 15:26:18 +0100 Subject: [Zope] Using UserDB objects with DreamWeaver Message-ID: Hi all, Has anyone managed to get acl_users folders that use UserDB (and I presume any other kind of cookie-based authentication) to work alongside DreamWeaver. Whenever I try to get into a UserDB locked folder I get FTP authentication errors. Any ideas? tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From rbickers@logicetc.com Thu Oct 12 16:40:14 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Thu, 12 Oct 2000 11:40:14 -0400 Subject: [Zope] RE: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> Message-ID: > -----Original Message----- > From: Chris Withers [mailto:chrisw@nipltd.com] > > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ...and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S Well... aq_base appears to work just fine in a Python method (not external). Is that a bad thing? I ended up creating a sameObject Python method that compares two objects' aq_base and it does what I expect. I'm using it to determine if I need to display the global menu under the local menu, or if the global menu *is* the local menu, so different context behavior isn't an issue. I suppose an upcoming Zope will take care of this problem if it gives the intuitive results with an == comparison. Thanks for all of your help!! _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From 444@hiretechs.com Thu Oct 12 16:53:34 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 08:53:34 -0700 Subject: [Zope] Competing writes and reindexing objects Message-ID: <39E5DE7E.8682AF02@hiretechs.com> Zopists, I am trying to eliminate the competing writes that are plaguing my app at the moment. One way I know of is to make sure that people aren't creating/modifying objects in the same folder at the same time. This is becuase the parent object gets modified too. Does anyone have a "object creation/folder distribution" code that works for them that they would be willing to share? Lastly, even if I distribute my objects, doesn't reindexing any Zope object inthe Catalog at the same time create a conlict? I'd love to know if I'm fighting a losing battle here. All my best, Jason Spisak 444@hiretechs.com From ololo@zeus.polsl.gliwice.pl Thu Oct 12 17:03:25 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Thu, 12 Oct 2000 18:03:25 +0200 (CEST) Subject: [Zope] "from" is a reserved word? In-Reply-To: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: On Thu, 12 Oct 2000, iap_y2fun.com wrote: > Hi,The following dtml couse error, > > > > > > The workaround is to change "from" to other words. "from" is a python reserved word. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From tony.mcdonald@ncl.ac.uk Thu Oct 12 17:18:28 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 17:18:28 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module In-Reply-To: <00fb01c03449$21c528c0$fe5da182@michieltje> References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: At 2:37 pm +0200 12/10/00, Rik Hoekstra wrote: > > > to reply to Andy? In my own reportlab distribution I changed; >> > import Image >> > to >> > from PIL import Image >> >> Well, it sounds right and if it works then it probably is ;-) It >> probably depends exactly where you install PIL, though, which I haven't >> done yet :-S > >The Photo product and the ExtImage products do more or less the same - this >seems to become the standard way. It would be nice to have one place to put >PIL, though. the lib/python/shared directory would be a good place I think. > >Rik Is this because you're thinking of the binary releases of Zope? If you're using the reportlab libraries, then you've probably installed them into /usr/local/lib/python1.5/site-packages (ie you're used to using source distributions). If you can do that, you're probably ok with putting PIL into lib/python/shared. So why not have it in site-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From chrisw@nipltd.com Thu Oct 12 17:17:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 17:17:30 +0100 Subject: [Zope] RE: aq_base References: Message-ID: <39E5E41A.6E32AC97@nipltd.com> Ron Bickers wrote: > > Well... aq_base appears to work just fine in a Python method (not external). > Is that a bad thing? Probably, although someone from DC would need to comment why... Hmm... Evan, should that be the case? cheers, Chris From slinkp23@yahoo.com Thu Oct 12 17:35:27 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 12 Oct 2000 12:35:27 -0400 Subject: [Zope] Re: Upload just file headers? References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> <20001012141223.A9744@zopatista.com> Message-ID: <39E5E84F.203E1111@yahoo.com> Martijn Pieters wrote: > This doesn't hold true for JPEG's. (snip) Aha, thanks. I'll have to think of a way to deal with this... --PW ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From juliodinis@hotmail.com Thu Oct 12 18:34:29 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 12 Oct 2000 17:34:29 WEST Subject: [Zope] Database Pack Message-ID: Hi all, is there a way to do a pack to zodb without using the managment screens pack button? Maybe a python script we could execute from the file system. Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From evan@4-am.com Thu Oct 12 17:39:52 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:39:52 -0400 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <006801c0346b$0bcc3050$3e48a4d8@digicool.com> From: Marcin Kasperski > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > Does there exist some sample of such usage? Can such a change be > performed before authorization? You could do this with an Access Rule in your root folder, containing: Cheers, Evan @ digicool & 4-am From paul.zwarts@oratrix.com Thu Oct 12 17:38:56 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 18:38:56 +0200 Subject: [Zope] [Fwd: Re: [Zope] dtml-in loop to capture records] Message-ID: <39E5E920.50BBD0@oratrix.com> Me again, To further explain my dilemna, I just noticed that using the in ITEM loop doesnt seem to work if the dtml-call statement has an extra parameter. I had publish.. ... ... Then use as in other working forms: publish.. ... ... Mdate is the primary key, again. This gave me the ITEM Bad Request error. Now, if I remove the mdate call, and remove the condition in the ZSQL method, i can at least now get an error: File /var/Zope-201/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: ) File /var/Zope-201/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: item) File /var/Zope-201/lib/python/Shared/DC/ZRDB/sqlvar.py, line 168, in render (Object: vswitch) Missing Input: (see above) So, the item is rendering. The variable named item.vswitch is not... nor is mdate which had to be named as an item.mdate instead of being passed in the dtml-call statement as an argument. In forms where this works, i simply call the method and the item renders everything in properly. Now I can do none it seems. One other note is that I var in the form that the input item.fieldname parts are contained, so the calling method to render item is not the same document as the item components. Oi, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From evan@4-am.com Thu Oct 12 17:56:21 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:56:21 -0400 Subject: [Zope] RE: aq_base References: <39E5E41A.6E32AC97@nipltd.com> Message-ID: <008e01c0346d$58def420$3e48a4d8@digicool.com> From: Chris Withers > Ron Bickers wrote: > > > > Well... aq_base appears to work just fine in a Python method (not external). > > Is that a bad thing? > > Probably, although someone from DC would need to comment why... > > Hmm... Evan, should that be the case? Shh! Not so loud! ;-) Yes, sadly, this is an area where the current release of PythonMethod fails to correctly implement security. Cheers, Evan @ digicool & 4-am From phd@phd.dada.ru Thu Oct 12 17:56:19 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Thu, 12 Oct 2000 16:56:19 +0000 (GMT) Subject: [Zope] Database Pack In-Reply-To: Message-ID: On Thu, 12 Oct 2000, Júlio Dinis Silva wrote: > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Just call the pack over HTTP. I run a cron job to do this. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From webmaster@advl.org Thu Oct 12 17:50:29 2000 From: webmaster@advl.org (Emmanuel DISCORS) Date: Thu, 12 Oct 2000 18:50:29 +0200 Subject: [Zope] Thanks : bobo : where to find it ? Message-ID: <00101218243600.01256@sultan> Thanks to you Paul & Jim Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2) - DocumentTemplate - ZPublisher BUT NO BoboPos directory in the lib/python ; only ZODB. Is there a mistake in the README.txt or forget in the lib/python directory ? Need a DB system to try the Trinkets.py (Having ZODB from Zope 2.2.2 and BoboPOS3-alpha1 & BoboPOS-2.0.2 from old backup...) What is the best way ? Old BoboPos or start now with ZODB ? Thanks Emmanuel -- ================ Emmanuel DISCORS Tel & Fax : 02 54 56 80 61 ================ Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ Jim : ==== We o longer distribute Bobo, although I'm sure you can find it on some archive somewhere. Of course, the pieces that made up Bobo are still available, in updated form, as part of the Zope distribution. The medusa bobo is available in the medusa CVS in the contrib directory. If there is still a medusa distribution, I imagine it contains this directory too. Jim Paul : ===== Hello Emmanuel. Bobo has been folded into Zope: http://www.zope.org/ --Paul From hungjunglu@hotmail.com Thu Oct 12 19:51:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 11:51:25 PDT Subject: [Zope] Medusa Monitor Message-ID: Thanks for the follow-ups on Medusa Monitor. But as I can see (after using Zope for 1.5 years, now), few people actually use it. Unless one is really into the guts of Zope itself, the monitor is pretty useless for debugging. It of course could be made more useful, but one must implement some Python programs first. Even for dynamic reloading of modules, I usually just write External methods to do the job, instead of firing up the monitor. A more useful debuging tool would be some monitor where you can receive print message logs in real time. That would be great, especially if you have multiple thread problems. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From wilson@visi.com Thu Oct 12 19:52:14 2000 From: wilson@visi.com (Timothy Wilson) Date: Thu, 12 Oct 2000 13:52:14 -0500 (CDT) Subject: [Zope] Problem with 2.2.2 and date properties? Message-ID: Hi everyone, I'm having trouble with a ZClass I've created that uses, among others, two date properties. I'm suddenly having problems creating new instances or working with existing instances of my ZClass. I can't be sure, but it seems like the onset of the problems coincided with my upgrade to 2.2.2. Has anyone else seen any problems with date properties and Zope 2.2.2? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From 444@hiretechs.com Thu Oct 12 19:53:56 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 11:53:56 -0700 Subject: [Zope] Catalog and Proximity searches Message-ID: <39E608C4.AA47CBD1@hiretechs.com> Zopsters, Does anyone know if the Catalog is supposed to do proximity searches, ie: "visual basic" would return the phrase. Thanks, Jason Spisak 444@hiretechs.com From gchiu@compkarori.co.nz Thu Oct 12 20:08:34 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 13 Oct 2000 08:08:34 +1300 Subject: [Zope] Tiny tables Message-ID: I would like to run some regular reports based upon sqlmethods. The input to these are a mixture of normal values, and some tokenised values. I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens, it gets changed to just criteria. Any suggestions as to how to store the input as tokens for my reports? -- Graham Chiu From rik.hoekstra@inghist.nl Thu Oct 12 20:14:51 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 21:14:51 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Imagemodule References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: <016401c03480$b3500d00$fe5da182@michieltje> > > > > to reply to Andy? In my own reportlab distribution I changed; > >> > import Image > >> > to > >> > from PIL import Image > >> > >> Well, it sounds right and if it works then it probably is ;-) It > >> probably depends exactly where you install PIL, though, which I haven't > >> done yet :-S > > > >The Photo product and the ExtImage products do more or less the same - this > >seems to become the standard way. It would be nice to have one place to put > >PIL, though. the lib/python/shared directory would be a good place I think. > > > >Rik > > Is this because you're thinking of the binary releases of Zope? yes, that's my reference at least ;-) > > If you're using the reportlab libraries, then you've probably > installed them into /usr/local/lib/python1.5/site-packages (ie you're > used to using source distributions). If you can do that, you're > probably ok with putting PIL into lib/python/shared. So why not have > it in site-packages? ok, that's a good choice if you're working from source distributions. > > Or have I missed something obvious (I probably have - it's been a looong day). no, you missed nothing, I just thought it would be good to make a remark about this. The point is that the Photo product puts the thing in it's own subdirectory (or so it seems, I haven't used it really) _and_ uses the PIL.pth thing. And PIL comes with a PIL.pth itself. If PIL is used by more products, it is a good idea to put it inone place, be it lib/python/shared or /usr/local/lib/python1.5/site-packages or whatever directory in your Python Path. But note that acoording to the site.py documentation these do not exist in windows or mac installations and that .pth file may contain any directory. Rik From karl@digicool.com Thu Oct 12 21:19:09 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:19:09 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Jens Vagelpohl's message of "Wed, 11 Oct 2000 07:43:14 -0400" References: Message-ID: Jens Vagelpohl writes: > terry, > > you forgot the step of actually connecting to the monitor :) there is a very > short howto on using the correct client program to log into the monitor at: > > http://www.zope.org/Members/teyc/howtoMonitorClient > > and similar info at: > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt I don't use the monitor anymore, I just mount the database from a Python prompt: lefty /usr/local/zope/2.2.0/lib/python= python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import ZServer, Zope >>> app = Zope.app() >>> dir(app) ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] >>> I'm not sure what the usefulness of the monitor is these days. I always run ZEO, so I don't have to stop publishing to connect to the database from the prompt. Does the monitor give you something that interactive python doesn't? I do know that python in a shell is more robust than the monitor was - the monitor used to crash when dumping lots of info, like printing a large dictionary. -- Karl Anderson karl@digicool.com From Oliver Bleutgen Thu Oct 12 20:33:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Thu, 12 Oct 2000 21:33:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010121942.MAA00203@zope.codeit.com> Hi, I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4. I encountered a problem with dtml-sqltest and capitals in column names. Well, I simply couldn't get it to work because postgres requires column-names with "special characters" like capitals to be enclosed with quotation marks, ie. "COLUMNNAME" instead of COLUMNNAME - IIRC '_' also won't work. The problem is that dtml-sqltest only renders select * from table where COLUMNNAME='5' which will be interpreted by postgres like select * from table where columnname='5' Unfortunatly throws the obvious error and everything else I tried didn't work too. In the end I patched lib/python/Shared/DC/ZRDB/sqltest.py to do what I want. 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+args['column']+'"' > else: self.column='"'+self.__name__+'"' Any comment whether this would also apply/be necessary for other dbs? And if not, would there a better place (anywhere in ZPopyDA) to change/add some code? Or did I just miss something obvious and there's a sane way to make dtml-sqltest work with postgres and capitals. cheers, oliver From karl@digicool.com Thu Oct 12 21:24:49 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:24:49 -0700 Subject: [Zope] Database Pack In-Reply-To: "=?iso-8859-1?q?J=FAlio?= Dinis Silva"'s message of "Thu, 12 Oct 2000 17:34:29 WEST" References: Message-ID: "Júlio Dinis Silva" writes: > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Mount the database, then call manage_pack (untested python with cwd in lib/python): import ZServer, Zope Zope.app().Control_Panel.Database.manage_pack(days = 1) -- Karl Anderson karl@digicool.com From dieter@handshake.de Thu Oct 12 11:09:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:09:40 +0200 (CEST) Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? In-Reply-To: <39E5856B.43E0755D@softax.com.pl> References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <14821.35947.985554.923938@lindm.dm> Marcin Kasperski writes: > > > As I finally installed mod_proxy_add_forward, I get original address in > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > > > The question is: can I do something easy to automatically perform > > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > > set remote_ip = whatever is in X-Forwarded-For > > > logic? In particular, I would like changed IP to be used by Zope access > > > control and Zope log. > > .... > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > > AccessRule in your top (logical) folder to modify your > > REQUEST object as you like. > > > > Does there exist some sample of such usage? Can such a change be > performed before authorization? The SiteAccess HowTo (documentation?) contains an example how to turn a path component into a REQUEST binding. Your case is much simpler, very straight forward. > I use SiteRoot to translate addressess between external and internal (in > subdirectories, not in main directory). Can those approaches be merged > one with another? They can. If you like, you can replace your SiteRoot (which in fact are simple forms of AccessRules) with full blown AccessRules and put the REMOTE_IP justification into them. However, I would do it in the root folder to have it at a single place. Dieter From dieter@handshake.de Thu Oct 12 11:21:12 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:21:12 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14820.48557.338437.974103@lindm.dm> Message-ID: <14821.36358.972286.290879@lindm.dm> Seb Bacon writes: > .... > > Currently, Zope tries to have very few explicit, object specific > > permissions. The ideal is that permissions are specified high above in > > the hierarchy and acquired by lower objects. > > This is quite possible with the current scheme. > > Implementing an "URL accessible" permission would require > > much more tweaking of single object permissions. > > > > There are other ways to solve your problem by organization > > (putting things that should not be seen somewhere else) > > that do not require an additional permission. > > Now I understand... > I would disagree, however: I think there is a sensible default value. The > default would be that anonymous does not have 'traverable' permission, but > the manager / owner does.... The "traversable" permission would be an additional requirement to view any object. Its main purpose would be to distinguish between "use via Web" and "use in DTML only". "standard_html_*" would be usable in DTML but could not be viewed via the web. They would not give "traversable" permission to Anonymous. Many DTML objects, however, would need to give the "traversable" permission even to Anonymous in order to be useful. Dieter From dieter@handshake.de Thu Oct 12 12:01:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 13:01:08 +0200 (CEST) Subject: [Zope] Re: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> References: <14821.27476.628244.862590@lindm.dm> <39E57D44.DC711E9A@nipltd.com> Message-ID: <14821.35597.65242.939789@lindm.dm> Chris Withers writes: > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ....and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S I do not think, an object without any acquisition (and security) context is a big security risk. The lack of a security context means, that the default security setting built into the Zope security policy is used. In Zope 2.2.2., this means, only "Manager" can do anything, unless the object itself mapped some permissions itself to roles (which then remain valid even for the base object). However, I see another danger. As old (now fixed) bugs in "ZopeFind" have demonstrated, objects stripped of their acquisition context lead to very strange errors, where suddenly even Manager cannot use the object any more. Thus, I agree that "aq_base" should not be exposed, even if for a different reason. Dieter From michel@digicool.com Thu Oct 12 21:27:22 2000 From: michel@digicool.com (Michel Pelletier) Date: Thu, 12 Oct 2000 13:27:22 -0700 Subject: [Zope] Thanks for the comments Message-ID: <39E61EAA.B20B81A7@digicool.com> Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better book and ensuring Zope's future. if you've felt in the past that you may not be technically proficient enough to contribute to the technology of Zope, you can certainly contribute to the documentation by catching our mistakes and making good observations and asking good questions. It is really, really helping. Keep it up, cuz we're not done yet! Thanks, Michel and Amos From fred@ontosys.com Thu Oct 12 21:39:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 12 Oct 2000 15:39:55 -0500 Subject: [Zope] Using ProxyPass and SiteRoot References: Message-ID: <39E6219B.1DAE5026@ontosys.com> It looks to me like you'd need the following in Apache's httpd.conf: NameVirtualHost 206.131.108.102 ServerName www.isd197.k12.mn.us ProxyPass / http://206.131.108.103:8080/ ProxyPassReverse / http://206.131.108.103:8080/ and the following settings in a SiteRoot object at the root of the Zope tree for the site: base: http://www.isd197.k12.mn.us path: / Timothy Wilson wrote: > I've been developing a new Zope site on a separate machine at > http://206.131.108.103:8080/ using just ZServer and I would like to use > ProxyPass to pass a request for www.isd197.k12.mn.us through to this new > site. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From complaw@hal-pc.org Thu Oct 12 22:24:11 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:24:11 GMT Subject: [Zope] and question Message-ID: <200010122123.QAA15858@mail.hal-pc.org> First, thanks for the help these last several days. I'm glad to report that I have a useful Zope site up and running that is the envy of the law firm. Now its time to get a little fancy. Unfortunately, after having read the DTML Reference, and the Zope Quick Reference, I still haven't been able to figure out how to get today's date into a dtml-var. Case in point: I want to put a table of dates and hyperlinks. If the day has already passed, I want to shade the table cell (). In this case, the object has a date property called event_date.
The above code gives me a NameError. Another example would be to simply get the integer value of the year so that it can be included in a copyright statement. E.g., Copyright © , All rights reserved. Unfortunately, this doesn't work either. Can someone point me in the right direction? From complaw@hal-pc.org Thu Oct 12 22:35:16 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:35:16 GMT Subject: [Zope] Thanks for the comments Message-ID: <200010122134.QAA20148@mail.hal-pc.org> Just out of curiosity, how often do you update the book (i.e., the version on the web)? Or, put another way, how long should we consider that catching a typo or split infinitive will have already been brought to your attention but hadn't yet made it to the web site? If you update on a continuous basis, then my question is moot. However, if you update on a periodic basis, could you drop me (or this list group) a note to indicate that the next version is available for our hungry eyes? Just a suggestions... Ron ./. > Just thought we'd mention that we have gotten lots of great comments on > the Zope book so far, especially in the last week or so. You're all > helping make it a better book and ensuring Zope's future. if you've > felt in the past that you may not be technically proficient enough to > contribute to the technology of Zope, you can certainly contribute to > the documentation by catching our mistakes and making good observations > and asking good questions. It is really, really helping. Keep it up, > cuz we're not done yet! From dieter@handshake.de Thu Oct 12 22:45:50 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:45:50 +0200 (CEST) Subject: [Zope] dtml-in loop to capture records In-Reply-To: <92589132@toto.iv> Message-ID: <14822.11869.374666.869834@lindm.dm> Paul Zwarts writes: > ... bad request exception from SQL method ... This error indicates, that an input parameter was not provided. The error value gives the list of all missing input parameters. I would suggest, you replace your "SQL method" (the complete "dtml-in") with "" and analyse what form variables do arrive. Dieter From dieter@handshake.de Thu Oct 12 22:33:42 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:33:42 +0200 (CEST) Subject: [Zope] dtml-let ? In-Reply-To: <59788518@toto.iv> Message-ID: <14822.11765.363407.206130@lindm.dm> Mark Twiddy writes: > Im totaling columns returned from a zsql thingy is there an easy way to do > this in dtml. can do that for you. Look at the documentation, section "variables for statistics". Dieter From dieter@handshake.de Thu Oct 12 22:32:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:32:23 +0200 (CEST) Subject: [Zope] Any limit on number of users? In-Reply-To: <32876900@toto.iv> Message-ID: <14822.11473.24132.596177@lindm.dm> Paul Winkler writes: > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? "UserFolder" uses a dictionary to manage its users. This implies, if one user object is accessed, the complete dictionary is brought into memory (if it is not already there). This might pose problems for a very large user number. Dieter From dieter@handshake.de Thu Oct 12 22:27:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:27:31 +0200 (CEST) Subject: [Zope] help!- version locked up site In-Reply-To: <114600569@toto.iv> Message-ID: <14822.11090.645270.708534@lindm.dm> sean@horse101.com writes: > I cannot view my site...the version has locked it up with the following > message (I cannot even delete the version- which is not currently open): > Error Type: VersionLockError > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > 'h101Latest') Your problem description is not very clear. Are you completely unable to access your site? Apparently not, as you can try to delete the version. Try to go to your version, use the "save/discard" tab and discard (or save) your version. This should remove the look. If you can no longer access your site, it might help to delete "var/Data.fs.tmp". Be carefull! Make a backup before! I do not know, what will happen. Dieter From dieter@handshake.de Thu Oct 12 22:20:37 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:20:37 +0200 (CEST) Subject: [Zope] Computed attribute access (was: [Zope] dtml-with syntax question) In-Reply-To: <103078562@toto.iv> Message-ID: <14822.10841.203981.44604@lindm.dm> Geoffrey L. Wright writes: > I think I am finally getting a decent handle on namespace issues in > Zope, and I can now with the dtml-with tag with reasonable efficacy in > simple situations. But I have run into something of a brick wall on > one issue. > > What I would like to be able to do is something like this: > > > > > > > > > > > Where objectName2 is actually an attribute of objectName1. It seems (though it is not clear) that you want a computed attribute access? Your "objectName2" is an attribute of "objectName1" and contains the "id" of an object in "folder.subfolder"? Then, you use "_.getattr". That's for accessing an attribute you have the name for (and the name is not constant). In your case, you would use it as: Dieter From dieter@handshake.de Thu Oct 12 22:47:35 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: <38671166@toto.iv> Message-ID: <14822.12583.68373.267795@lindm.dm> Hung Jung Lu writes: > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. You know Zope's logging support? It provides a kind of "print message logs", you receive in real time (in your log file). Dieter From knight@righteous.net Thu Oct 12 22:59:09 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 14:59:09 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <200010122134.QAA20148@mail.hal-pc.org> Message-ID: On a side note, how about also including a PDF version (if possible) for us developers who are busy hacking away at source and don't have time to convert it ourselves... ;] Knight knight@phunc.com On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > Just out of curiosity, how often do you update the book (i.e., the version on > the web)? Or, put another way, how long should we consider that catching a typo > or split infinitive will have already been brought to your attention but hadn't > yet made it to the web site? > > If you update on a continuous basis, then my question is moot. However, if you > update on a periodic basis, could you drop me (or this list group) a note to > indicate that the next version is available for our hungry eyes? > > Just a suggestions... > > Ron > ./. > > > Just thought we'd mention that we have gotten lots of great comments on > > the Zope book so far, especially in the last week or so. You're all > > helping make it a better book and ensuring Zope's future. if you've > > felt in the past that you may not be technically proficient enough to > > contribute to the technology of Zope, you can certainly contribute to > > the documentation by catching our mistakes and making good observations > > and asking good questions. It is really, really helping. Keep it up, > > cuz we're not done yet! > > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Thu Oct 12 23:06:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 12 Oct 2000 15:06:34 -0700 Subject: [Zope] Any limit on number of users? References: <14822.11473.24132.596177@lindm.dm> Message-ID: <01de01c03498$af6fffc0$ae03a8c0@fork> Login Manager or Generic User Folder and Shanes excellent BTreeFolder provide a solution for a large number of users. ----- Original Message ----- From: "Dieter Maurer" To: "Paul Winkler" Cc: "Zope mailing list" Sent: Thursday, October 12, 2000 2:32 PM Subject: Re: [Zope] Any limit on number of users? > Paul Winkler writes: > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > "UserFolder" uses a dictionary to manage its users. > This implies, if one user object is accessed, the complete > dictionary is brought into memory (if it is not already there). > This might pose problems for a very large user number. > > > > Dieter > > _______________________________________________ > 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 ) > From gwright@integritysi.com Thu Oct 12 23:34:28 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> Message-ID: <14822.15476.737672.457573@localhost.localdomain> Chris Withers writes: > "Geoffrey L. Wright" wrote: > > > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > > > > > > > > > > > > > The above should now work... > > ...if it doesn't please explain in what way ;-) Hmmm... OK. Here is my relevant code, complete with resulting error message: etc... And Zope sez: Error Type: KeyError Error Value: short_desc attribute1, attribute2 and attribute3 are all attributes of sidebar_item. If I change the to read (where weepee_the_weewee is the actual name of the object I'm trying to refer to), then I see the short_desc attribute of weepee_the_weewee perfectly. Don't I have to do something in my syntax to indicate that I'm looking for the the value of attribute3 rather than an object with the literal id "attribute3"? > cheers, > > Chris Dazed & Confused, //glw From hungjunglu@hotmail.com Thu Oct 12 23:16:52 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 15:16:52 PDT Subject: [Zope] Medusa Monitor Message-ID: I know that, the stupid log file thingy. But you'll have to write an independent thread to display the log file (or peek the file manually each time), or implement some CString stuff to capture the file output (if that is possible). It'll be more fun if all this is already done, and the user can just tap into the monitor console screen (even remotely). A good monitor should actually display hit information, memory usage, etc, and preferably with charts, all in real time. Too much to ask? I don't think so. :) Hung Jung >From: Dieter Maurer >To: "Hung Jung Lu" >CC: zope@zope.org, jens@digicool.com, terry@adroit.net >Subject: Re: [Zope] Medusa Monitor >Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) > >Hung Jung Lu writes: > > A more useful debuging tool would be some monitor where you can receive > > print message logs in real time. That would be great, especially if you >have > > multiple thread problems. >You know Zope's logging support? > >It provides a kind of "print message logs", you receive in real time >(in your log file). > > > >Dieter _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From gwright@integritysi.com Thu Oct 12 23:51:43 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: Message-ID: <14822.16511.306738.502938@localhost.localdomain> knight writes: > Timothy, > > Without going into too much detail, you are going to want to set up a > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > that virtual host you will want to add your ProxyPass lines similar to my > example: [...] And just for reference, here's another working example with ProxyPass: NameVirtualHost 172.17.10.13 ServerName syslog.integritysi.com ServerAdmin geoff@integritysi.com ProxyPass / http://vishnu.integritysi.com:8080/syslog/ ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ ErrorLog logs/syslog.integritysi.com TransferLog logs/syslog.integritysi.com Good luck, and don't forget to enable the ProxyPass module. //glw From terry@adroit.net Thu Oct 12 23:43:02 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:43:02 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63E76.61F456C4@adroit.net> Useless for debugging? I find it very useful and sometimes necessary....but I right all my products in python so maybe it is different for ZClass people. terry Hung Jung Lu wrote: > Thanks for the follow-ups on Medusa Monitor. > > But as I can see (after using Zope for 1.5 years, now), few people actually > use it. Unless one is really into the guts of Zope itself, the monitor is > pretty useless for debugging. It of course could be made more useful, but > one must implement some Python programs first. Even for dynamic reloading of > modules, I usually just write External methods to do the job, instead of > firing up the monitor. > > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. > > regards, > > Hung Jung > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From terry@adroit.net Thu Oct 12 23:45:14 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:45:14 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63EFA.FE2BF947@adroit.net> I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Karl Anderson wrote: > Jens Vagelpohl writes: > > > terry, > > > > you forgot the step of actually connecting to the monitor :) there is a very > > short howto on using the correct client program to log into the monitor at: > > > > http://www.zope.org/Members/teyc/howtoMonitorClient > > > > and similar info at: > > > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt > > I don't use the monitor anymore, I just mount the database from a > Python prompt: > > lefty /usr/local/zope/2.2.0/lib/python= python > Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import ZServer, Zope > >>> app = Zope.app() > >>> dir(app) > ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] > >>> > > I'm not sure what the usefulness of the monitor is these days. I > always run ZEO, so I don't have to stop publishing to connect to the > database from the prompt. > > Does the monitor give you something that interactive python doesn't? > I do know that python in a shell is more robust than the monitor was - > the monitor used to crash when dumping lots of info, like printing a > large dictionary. > > -- > Karl Anderson karl@digicool.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 ) -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From sean@horse101.com Thu Oct 12 23:58:21 2000 From: sean@horse101.com (sean@horse101.com) Date: Thu, 12 Oct 2000 15:58:21 -0700 Subject: [Zope] help!- version locked up site In-Reply-To: <14822.11090.645270.708534@lindm.dm> References: <114600569@toto.iv> Message-ID: <39E5DF9D.22490.10755C9F@localhost> Thanks, I did figure it out and when I go into save/discard version and discard I was able to get back to normal. On 12 Oct 2000, at 23:27, Dieter Maurer wrote: > sean@horse101.com writes: > > I cannot view my site...the version has locked it up with the following > > message (I cannot even delete the version- which is not currently open): > > Error Type: VersionLockError > > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > > 'h101Latest') > Your problem description is not very clear. > > Are you completely unable to access your site? > Apparently not, as you can try to delete the version. > > Try to go to your version, use the "save/discard" tab > and discard (or save) your version. This should remove > the look. > > If you can no longer access your site, it might help > to delete "var/Data.fs.tmp". Be carefull! Make a backup before! > I do not know, what will happen. > > > Dieter > From phil.harris@zope.co.uk Thu Oct 12 00:19:01 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 00:19:01 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> As another side note, I generally make it into an eBook ready for the Microsoft Reader. If anyone's interested let me know. Phil phil.harris@zope.co.uk ----- Original Message ----- From: "knight" To: Cc: "Michel Pelletier" ; ; ; Sent: Thursday, October 12, 2000 10:59 PM Subject: Re: [Zope] Thanks for the comments > On a side note, how about also including a PDF version (if possible) for > us developers who are busy hacking away at source and don't have time to > convert it ourselves... ;] > > Knight > knight@phunc.com > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > Just out of curiosity, how often do you update the book (i.e., the version on > > the web)? Or, put another way, how long should we consider that catching a typo > > or split infinitive will have already been brought to your attention but hadn't > > yet made it to the web site? > > > > If you update on a continuous basis, then my question is moot. However, if you > > update on a periodic basis, could you drop me (or this list group) a note to > > indicate that the next version is available for our hungry eyes? > > > > Just a suggestions... > > > > Ron > > ./. > > > > > Just thought we'd mention that we have gotten lots of great comments on > > > the Zope book so far, especially in the last week or so. You're all > > > helping make it a better book and ensuring Zope's future. if you've > > > felt in the past that you may not be technically proficient enough to > > > contribute to the technology of Zope, you can certainly contribute to > > > the documentation by catching our mistakes and making good observations > > > and asking good questions. It is really, really helping. Keep it up, > > > cuz we're not done yet! > > > > > > > > _______________________________________________ > > 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 ) From joe@iuveno.de Fri Oct 13 01:15:55 2000 From: joe@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 02:15:55 +0200 Subject: [Zope] Content Management System References: <20001012145924.B30498@central.comlounge.net> Message-ID: <005b01c034aa$cbfe4fe0$af81e491@iuvenonet.de> >> I'm beginning to wonder if > > content management and system administration should be split out into > > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > > syndication, etc...). We (iuveno) are currently preparing a major project to write a full-featured CMS on base of Zope. The first client will be a university, but the system will also be usable in commercial environments, and it will be open source from the first day on (except for the client-specific stuff of course). The first draft of the general architecture is as follows: There is a ZClass- or Python-product-based toolkit that provides the standard functionality, like base classes, workflow logic, etc. Plugin ZClasses implement the actual organization logic, so you can choose between building a university, a sports club, or maybe a consulting business by just choosing the corresponding modules. Chromes (logos, stylesheets, ...) and Views (page layouts) are also implemented as plugins. There will be a full-fledged workflow/project management component (at least in the long run). The concept will build upon ideas from the PTK and the ZDP-tools. There is a very simple prototype we will make public after some clean-ups. We are checking at the moment if we should set up a now project homepage or wiki or join an existing effort like the ZDP-tool-based initiative of Maik Röder on or the PTK. BTW: My experience with "dumb users" working with the Zope interface is quite positive. As long as they just have to add, change or delete predefined objects it doesn't seem to be that bad. They just shouldn't have to know about DTML or even acquisition. Joachim. From knight@righteous.net Fri Oct 13 01:23:20 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 17:23:20 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> Message-ID: Send it over ;] On Thu, 12 Oct 2000, Phil Harris wrote: > As another side note, I generally make it into an eBook ready for the > Microsoft Reader. > > If anyone's interested let me know. > > Phil > phil.harris@zope.co.uk > ----- Original Message ----- > From: "knight" > To: > Cc: "Michel Pelletier" ; ; > ; > Sent: Thursday, October 12, 2000 10:59 PM > Subject: Re: [Zope] Thanks for the comments > > > > On a side note, how about also including a PDF version (if possible) for > > us developers who are busy hacking away at source and don't have time to > > convert it ourselves... ;] > > > > Knight > > knight@phunc.com > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > Just out of curiosity, how often do you update the book (i.e., the > version on > > > the web)? Or, put another way, how long should we consider that > catching a typo > > > or split infinitive will have already been brought to your attention but > hadn't > > > yet made it to the web site? > > > > > > If you update on a continuous basis, then my question is moot. However, > if you > > > update on a periodic basis, could you drop me (or this list group) a > note to > > > indicate that the next version is available for our hungry eyes? > > > > > > Just a suggestions... > > > > > > Ron > > > ./. > > > > > > > Just thought we'd mention that we have gotten lots of great comments > on > > > > the Zope book so far, especially in the last week or so. You're all > > > > helping make it a better book and ensuring Zope's future. if you've > > > > felt in the past that you may not be technically proficient enough to > > > > contribute to the technology of Zope, you can certainly contribute to > > > > the documentation by catching our mistakes and making good > observations > > > > and asking good questions. It is really, really helping. Keep it up, > > > > cuz we're not done yet! > > > > > > > > > > > > _______________________________________________ > > > 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 ) > > > _______________________________________________ > 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 ) > > From phil.harris@zope.co.uk Thu Oct 12 01:37:48 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 01:37:48 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> I'll stick onto my Zope members page http://zope.org/Members/philh Phil ----- Original Message ----- From: "knight" To: "Phil Harris" Cc: "knight" ; ; "Michel Pelletier" ; ; ; Sent: Friday, October 13, 2000 1:23 AM Subject: Re: [Zope] Thanks for the comments > Send it over ;] > > On Thu, 12 Oct 2000, Phil Harris wrote: > > > As another side note, I generally make it into an eBook ready for the > > Microsoft Reader. > > > > If anyone's interested let me know. > > > > Phil > > phil.harris@zope.co.uk > > ----- Original Message ----- > > From: "knight" > > To: > > Cc: "Michel Pelletier" ; ; > > ; > > Sent: Thursday, October 12, 2000 10:59 PM > > Subject: Re: [Zope] Thanks for the comments > > > > > > > On a side note, how about also including a PDF version (if possible) for > > > us developers who are busy hacking away at source and don't have time to > > > convert it ourselves... ;] > > > > > > Knight > > > knight@phunc.com > > > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > > > Just out of curiosity, how often do you update the book (i.e., the > > version on > > > > the web)? Or, put another way, how long should we consider that > > catching a typo > > > > or split infinitive will have already been brought to your attention but > > hadn't > > > > yet made it to the web site? > > > > > > > > If you update on a continuous basis, then my question is moot. However, > > if you > > > > update on a periodic basis, could you drop me (or this list group) a > > note to > > > > indicate that the next version is available for our hungry eyes? > > > > > > > > Just a suggestions... > > > > > > > > Ron > > > > ./. > > > > > > > > > Just thought we'd mention that we have gotten lots of great comments > > on > > > > > the Zope book so far, especially in the last week or so. You're all > > > > > helping make it a better book and ensuring Zope's future. if you've > > > > > felt in the past that you may not be technically proficient enough to > > > > > contribute to the technology of Zope, you can certainly contribute to > > > > > the documentation by catching our mistakes and making good > > observations > > > > > and asking good questions. It is really, really helping. Keep it up, > > > > > cuz we're not done yet! > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 ) > > > > > > _______________________________________________ > > 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 ) > > > > From gwright@integritysi.com Fri Oct 13 03:24:11 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" Kindly Zopistas: Am curious how to go about building an "alternate Property Sheet View" for custom ZClasses. The default view is great for me and other developers, but I need to build the something that looks a bit more customer-friendly. I spend about 20 minutes looking around the Zope site, but haven't yet turned about any useful information. Perhaps somebody could point me to a relevant HOWTO or some example code? Many thanks! //glw From twcook@iswt.com Fri Oct 13 03:09:59 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:09:59 -0500 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> Message-ID: <39E66EF7.563F0451@iswt.com> "\"Geoffrey L. Wright\" > Don't I have to do something in my syntax to indicate that I'm looking > for the the value of attribute3 rather than an object with the literal > id "attribute3"? I'm sure someone will correct me if I'm wrong. But I believe you want: -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Fri Oct 13 03:58:40 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:58:40 -0500 Subject: [Zope] non-Zope object attribute admin interface References: <14822.29259.893382.868680@localhost.localdomain> Message-ID: <39E67A60.BCBF6A7@iswt.com> "\"Geoffrey L. Wright\" > > Kindly Zopistas: > > Am curious how to go about building an "alternate Property Sheet View" for > custom ZClasses. The default view is great for me and other > developers, but I need to build the something that looks a bit more > customer-friendly. > > I spend about 20 minutes looking around the Zope site, but haven't yet > turned about any useful information. Perhaps somebody could point me > to a relevant HOWTO or some example code? Take a look at the Job Board HOWTO. HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From ergul@ccs.neu.edu Fri Oct 13 04:26:54 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Thu, 12 Oct 2000 23:26:54 -0400 (EDT) Subject: [Zope] Connection Problem with Oracle Message-ID: > I created a connection to an Oracle database. Frequently, > the connection breaks and I got a database error in the page that > displays the query result. When I logon as a manager I find that the > connection is closed (by itself, nothing changed in Oracle or Zope), > when I try to open it I get an error "Invalid connection string". Even > if I create another connection it can't work.. After a while it > works. Even after restarting the Zope server the problem persists. I'm not sure why the same connection string would work only some of the time. Maybe some other error from sqlnet is misreported. In any case, look for sqlnet.log at the directory where zope was started. You can get more info on the errors you're experiencing. Furthermore try running zope with nohup and monitor the nohup.out file that gets generated. You can see how frequently your zope goes down (if running as deamon under linux). Frequent problems with Oracle setup stem from read permissions on files used by sqlnet (e.g. message files). Make sure such files are readable by whatever user your zope is running as. Ayhan Ergul From bak@nstp.com.my Fri Oct 13 07:29:29 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Fri, 13 Oct 2000 14:29:29 +0800 Subject: [Zope] OT: maybe - max file, proc limits on linux and zope Message-ID: <0010131429290B.00692@tokey.kedai.com.my> hi all, this may be off topic, feel free to ignore. while trying to stop zope i encountered error stating max file limit met. what i did to stop this is running echo "8192" >/proc/sys/fs/file-max can i do this? good bad? any tips on tuning max file open, process open, etc? linux and zope newbie <--that's me. tia -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From mj@digicool.com Fri Oct 13 09:13:17 2000 From: mj@digicool.com (Martijn Pieters) Date: Fri, 13 Oct 2000 10:13:17 +0200 Subject: [Zope] Zope nominated for Webtechniques Web Tools Awards Message-ID: <20001013101317.A17757@zopatista.com> Zope has been nominated for the Webtechniques Webtool Awards, and the pollboxes are open! Go vote by putting you email address (or any email address you like ;)) at the end of the following URL: http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl? So, I voted at the URL ending in ballot_gen.pl?mj@digicool.com. Every email address can vote once. Go give Zope a great showing! -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Fri Oct 13 09:44:12 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 09:44:12 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14821.36358.972286.290879@lindm.dm> Message-ID: Oh dear, I fear that this is going round and round and round in circles a bit, and that no-one else is following it, but here goes anyway :> > The "traversable" permission would be an additional requirement > to view any object. Its main purpose would be to distinguish > between "use via Web" and "use in DTML only". > "standard_html_*" would be usable in DTML but could not be viewed > via the web. They would not give "traversable" permission to > Anonymous. > Many DTML objects, however, would need to give the "traversable" > permission even to Anonymous in order to be useful. OK, I think we're talking about the same thing now...but could you give me an example of any object that would need to be traversable by Anonymous? index_html, for example, doesn't need to be traversable (I still prefer 'listable'). Viewable TTW, yes, but that's all. seb. From paul.zwarts@oratrix.com Fri Oct 13 11:23:53 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Fri, 13 Oct 2000 12:23:53 +0200 Subject: [Zope] and question References: <200010122123.QAA15858@mail.hal-pc.org> Message-ID: <39E6E2B9.7B97CAEF@oratrix.com> Hi there, I've been having problems with DateTimes as well. My colleague and I (using Zope 201) found a problem with the module that causes any dbase timestamp to be rendered to a non-standard UNIX time that has an annoying DST appended if in the Daylight savings time zone, thus leaving the timestamp as useless when performing expressions against it. In our situation we used a scan from pos 0-29 to trap the proper timestamp syntax. Then from there, I use an expression as follows: This is just a small part of the code, and im sure there is a better way, but hey, it works. Dont know if this helps you, but perhaps will give you an idea.... Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From stephan.goeldi@datacomm.ch Fri Oct 13 11:23:37 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 13 Oct 2000 10:23:37 GMT Subject: [Zope] Non-existing Zope-Security!!! Message-ID: OK let me state that I don't think so (subject line). I had to choose this subject, because it seems to me, that nobody was interested in my previous attempts to get information about my problem. So here is my newbie (?) question again: I have the folders: /www/folder1 /www/folder2 Apache redirects domain1 to folder1 and domain2 to folder2. The manager of folder1 is able to browse to /www and see what folders exist there. He shouldn't, because he only exists in the acl_user of /www/folder1. He even can look into the folder /www/folder2 (but not into the objects). Is it possible to disable the access for the folder1-manager above folder1? It doesn't seem to me. If it really isn't possible, there is no security at all for ISP uses of Zope. But I'm sure, there should be a possibility. I even created a local role in /www/folder1 too. Even with the local role I can browse /www and /www/folder2! Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From jkinsley@horus.bticc.net Fri Oct 13 11:42:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Fri, 13 Oct 2000 06:42:54 -0400 (EDT) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... Message-ID: I am building a framed site using Zope and I am trying to get functionality that after hours of reading documentation I am beginning to think is not possible, but since what I have read is so obscure I have decided to post a message before giving up. The code examples below *DO NOT* work, but are being used in an attempt to illustrate what I am attempting to do as I thought it would work. After reading documentation for the last several hours I am now more confused then when I started. Given the following URL's: http://...../Files/?dir=/foo/bar/&file=baz.html http://...../?section=/Files&dir=/foo/bar/&file=baz.html And the Following /index_html - DTML Method .... .... /FrameSet - DTML Method .... XXX - How can I negate this? IE. XXX - I do not think calling REQUEST.set() is the best way to accomplish this. What is a better way? .... /ViewFrame - DTML Method .... .... XXX - I can not get this to work at all. Topframe should be set or true if the visitor arrived in the /Files Folder from the top level frameset and /Files/ViewFrame will be loaded into the view_frame target. If the visitor came directly to /Files and topframe is unset or false, then I want to redirect them back to the toplevel /FrameSet to load the top frames then display the /Files/ViewFrame in the view_frame target and pass along dir and file from the URL query string. /Files/Index - DTML Method .... .... XXX - If this method is called from the top level FrameSet method, how to I access dir and file from the original request? /Files/ViewFrame - DTML Method .... .... Over the last few days I have tried all sorts of things to make this work, but all attempts have failed. I am sure there is a very simple solution that one of you Zope Gurus could quickly explain. If you are going to respond with RTFM, the please cite specific references in the manual. ;-) Thanks in advance. Regards, Jarrod Kinsley From twcook@iswt.com Fri Oct 13 12:28:10 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 13 Oct 2000 06:28:10 -0500 Subject: [Zope] Non-existing Zope-Security!!! References: Message-ID: <39E6F1CA.8AA09C20@iswt.com> Stephan Goeldi wrote: > > OK let me state that I don't think so (subject line). I had to choose this > subject, because it seems to me, that nobody was interested in my previous > attempts to get information about my problem. So here is my newbie (?) > question again: > > I have the folders: > > /www/folder1 > /www/folder2 > > Apache redirects domain1 to folder1 and domain2 to folder2. > The manager of folder1 is able to browse to /www and see what folders exist > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > He even can look into the folder /www/folder2 (but not into the objects). > > Is it possible to disable the access for the folder1-manager above folder1? > It doesn't seem to me. If it really isn't possible, there is no security at > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > I even created a local role in /www/folder1 too. Even with the local role I > can browse /www and /www/folder2! > > Any suggestions? Create the user in the top level folder that they are allowed to see. Not in the /www folder HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From mario@curiango.ipen.br Fri Oct 13 12:47:17 2000 From: mario@curiango.ipen.br (Mario Olimpio de Menezes) Date: Fri, 13 Oct 2000 09:47:17 -0200 (EDT) Subject: [Zope] Converting PHP3 -> Zope Message-ID: Hi, I'm planning to convert (migrate) a entire site from php3 to zope and i'm looking for suggestions, hints, etc on this. It's a GPL management school system done in php3+postgresql, and any user must be authenticated against a database and his privileges are those from the postgresql. The system is in portuguese (www.univates.br/sagu) if someone is interested. Does somebody have experience in such kind of migration (conversion) and can give me some "in advance" advice to avoid this or that or don't do this, etc, etc? Any comments? []s, Mario O.de Menezes "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br From DLANCE@kc.rr.com Fri Oct 13 12:59:37 2000 From: DLANCE@kc.rr.com (Dale Lance) Date: Fri, 13 Oct 2000 06:59:37 -0500 Subject: [Zope] Fw: mysqldb Message-ID: <031a01c0350d$0f89a5e0$0301a8c0@home> Hi, I am trying to build ZMySQLDA 1.20 mysql has been built successfully on RedHat 7.0 and resides in /usr/local/mysql I have followed the instructions for editing /etc/ld/so/conf adding /usr/local/mysql/lib/mysql /usr/local/mysql/lib /usr/local/mysql to it. (just tomake sure) yet I still get the following error anyone know where mysqlclient is supposed to be? Dale > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > _mysqlmodule.so > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make: *** [_mysqlmodule.so] Error 1 > Traceback (innermost last): > File "build.py", line 14, in ? > import MySQLdb > File "MySQLdb.py", line 19, in ? > from _mysql import * > ImportError: No module named _mysql > > From jensebaer@hotmail.com Fri Oct 13 13:44:19 2000 From: jensebaer@hotmail.com (jensebaer) Date: Fri, 13 Oct 2000 14:44:19 +0200 Subject: [Zope] Fw: mysqldb Message-ID: ----- Original Message ----- From: "jensebaer" To: "Dale Lance" Sent: Friday, October 13, 2000 2:43 PM Subject: Re: [Zope] Fw: mysqldb > Hi Dale, > > put this in your setup or/and setup.in file under > ....../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/ > > *shared* > # Only one line should be uncommented. > # Adjust -L and -I as necessary for your local configuration. > # If you have dynamic MySQL libraries, they will need to be on your > # LD_LIBRARY_PATH at runtime. > _mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient > # Uncomment for Windows > #_mysql > _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32 > > > or may _mysql > _mysqlmodule.c -L/usr/local/lib/mysql -I/usr/local/include/mysql -lmysqlclie > nt > > Jens > > ----- Original Message ----- > From: "Dale Lance" > To: > Sent: Friday, October 13, 2000 1:59 PM > Subject: [Zope] Fw: mysqldb > > > > Hi, > > I am trying to build ZMySQLDA 1.20 > > mysql has been built successfully on RedHat 7.0 and resides in > > /usr/local/mysql > > I have followed the instructions for editing /etc/ld/so/conf adding > > /usr/local/mysql/lib/mysql > > /usr/local/mysql/lib > > /usr/local/mysql > > to it. (just tomake sure) > > yet I still get the following error > > anyone know where mysqlclient is supposed to be? > > > > Dale > > > > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > > _mysqlmodule.so > > > /usr/bin/ld: cannot find -lmysqlclient > > > collect2: ld returned 1 exit status > > > make: *** [_mysqlmodule.so] Error 1 > > > Traceback (innermost last): > > > File "build.py", line 14, in ? > > > import MySQLdb > > > File "MySQLdb.py", line 19, in ? > > > from _mysql import * > > > ImportError: No module named _mysql > > > > > > > > > > > > > > _______________________________________________ > > 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 ) > > > > > From phd@phd.dada.ru Fri Oct 13 13:59:25 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Fri, 13 Oct 2000 12:59:25 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so. Check to see it's there. It is usually symlink to libmysqlclient.so.6.23.13 or such. If it is not - find it on your system and put the directory to -L flag, e.g gcc -shared _mysqlmodule.o -L/usr/local/lib/mysql -lmysqlclient -o _mysqlmodule.so Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From joachim.werner@iuveno.de Fri Oct 13 13:59:47 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 14:59:47 +0200 Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> References: <39E6F1CA.8AA09C20@iswt.com> Message-ID: <00101315232701.14779@promotor> > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder That alone wouldn't do it if we are talking about "seeing the objects", e.g. by calling the "objectIds" method in the root folder. You also have to switch off the root folder's "Access contents information" rights for Anonymous and the sub-tree managers. I think Zope security is really a bit weak here because the standard settings are NOT blocking "Access contents information" and blocking it makes programming a bit harder ... BUT: You CAN configure it correctly if you want to. Joachim -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From tseaver@digicool.com Fri Oct 13 14:43:20 2000 From: tseaver@digicool.com (Tres Seaver) Date: Fri, 13 Oct 2000 09:43:20 -0400 Subject: [Zope] How to see if two objects are the same (minor fix) References: <200010111900.MAA11051@zope.codeit.com> Message-ID: <39E71178.68EB60B1@digicool.com> Ron Bickers wrote: > > **** From my previous post, it looked like the parent was changing. I had > the first two lines swapped. Fixed below. > > ---- > > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 > > It returns the following in a folder where there is another myObject: > > > > 0 > > What am I missing in the comparison? You are seeing the result of a (mis)feature of acquisition: the objects you are comparing are actually AcquisitionImplicitWrappers around the real 'myObject'; because the two wrappers are different, and because the underlying object doesn't define a custom '__cmp__()' method, the two wrappers are compared for identity (which is bogus). I recently fixed this in response to a Collector issue: http://classic.zope.org:8080/Collector/1650/view You can get the patch from that page, or just wait for Zope 2.3 (RSN, I'm sure). Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From bill@carbonecho.com Fri Oct 13 15:11:23 2000 From: bill@carbonecho.com (Bill Welch) Date: Fri, 13 Oct 2000 14:11:23 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: In Debian, this library is in a separate packge. On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? From zope_ddi@hotmail.com Fri Oct 13 17:34:28 2000 From: zope_ddi@hotmail.com (Roland C. Reumerman) Date: Fri, 13 Oct 2000 16:34:28 CEST Subject: [Zope] Authentication headers & firewall port redirection Message-ID: As stated in an email some time before I ran into some problems concerning accessing my password protected Zope site. The situation: * Zope 2.2.2 runs on a web server called www.datadistilleries.com on port 8080 * the web site it offers is protected with Zope's own authentication mechanism * the firewall redirects any HTTP requests for www.datadistilleries.com/ddsn (i.e., port 80) to www.datadistilleries.com:8080/ddsn. However, one has to click 3 times on that Login link before the login dialog appears. Then it seems to build up a connection, but doesn't. I click on the login link again, and I'm in and everything works as expected. Now it seems that somehow the combination of Zope-generated authenticated headers and the firewall redirection rule do not match: does the header include URL information? That would imply it tries to access www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly www.datadistilleries.com:80/ddsn (firewall listen port). BTW, it cannot run on port 80 because the default web server is already listening to that port. Question: is it possible to somehow make Zope send HTTP authentication headers that have port 80 included instead of port 8080? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From ecolmar@uswest.net Fri Oct 13 15:40:34 2000 From: ecolmar@uswest.net (ed colmar) Date: Fri, 13 Oct 2000 08:40:34 -0600 Subject: [Zope] LoginManager - with SQL? References: Message-ID: <018101c03523$8c046680$0400000a@caliber> Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would really love to get this working instead of having to revert back to older depreciated products. Thanks for any help! -e- From: "Aleksander Salwa" > > I remember I had some troubles trying to put methods rolesForUser, > domainsForUser, authenticateUser in UserSource class. They can be moved to > user class. I did so. > But your case is harder then mine, cause you don't have objects > representing users in ZODB. Maybe there are problems with retrieveItem > method ? > Maybe you should build wrapper class around your database > data - something like "pluggable brains" ? > I have no more ideas :( From Oliver Bleutgen Fri Oct 13 15:51:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Fri, 13 Oct 2000 16:51:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010131455.HAA17298@zope.codeit.com> Talking to myself .... A slight correction to my patch so that tablename.columname will be rendered as to "tablename"."columnname". 146c146 < from string import find, split, join, atoi, atof --- > from string import find, split, join, atoi, atof, replace 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+replace(args['column'], '.', '"."')+'"' > else: self.column='"'+replace(self.__name__, '.', '"."')+'"' It would be nice if someone could comment whether this makes sense for other dbs too. cheers, oliver From sburch@ordway.org Fri Oct 13 16:11:27 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 10:11:27 -0500 Subject: [Zope] Variable name use in with statement Message-ID: I'm working on a simple auction site as a newbe challenge. I am taking bids on three static items, none will be added or removed. I have a folder named bid_records in which there is a folder for each item. These item folders have current bid information in properties and bid history in ZClass items stored in them. When I'm working with a specific auction item I have the name of the folder in a REQUEST variable. I am finding myself doing the following and am sure there is a simpler way to do this. Any help would be greatly appreciated! Thanks. -- Scott B. Burchill, MIS Manager Ordway Center for the Performing Arts 345 Washington Street St. Paul, MN 55102-1495 voice +1 (651) 282-3082 cell +1 (651) 248-2713 pager +1 (612) 818-7600 fax +1 (651) 224-1820 efax +1 (508) 519-6133 http://www.ordway.org \:)> /:(> From grund@zblmath.FIZ-Karlsruhe.DE Fri Oct 13 16:17:03 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Fri, 13 Oct 2000 17:17:03 +0200 Subject: [Zope] ZCatalog question. boolean and wildcards. Message-ID: <00101317244505.31282@donald> Im running Zope 2.2.2 on Linux 2.2.13. When mixing boolean operators and wildcards '*' in queries within a Textindex the 'AND' operator is replaced by 'OR'. Also, the possibility of constructing nested terms using brackets seems to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). The setting is straightforward, several indexes (text-index, keyword-indexes) are used indexing a about 5000 Zclasses. Are there any patches to apply or what else can i do ? Thanks in advance. Hannes. From sebbacon@email.com Fri Oct 13 16:51:08 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 16:51:08 +0100 Subject: [Zope] product.dat Message-ID: In the Zope PTK there are a couple of products that have been packaged as product.dats. What format are these? How do I do it? Cheers seb From neeloy_saha@infy.com Fri Oct 13 12:56:03 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Fri, 13 Oct 2000 17:26:03 +0530 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog Message-ID: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Hi all, I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to load the data.fs Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? Thx and regards. -neeloy From complaw@hal-pc.org Fri Oct 13 18:29:47 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Fri, 13 Oct 2000 17:29:47 GMT Subject: [Zope] Any examples of use of manage_addFile()? Message-ID: <200010131729.MAA05467@mail.hal-pc.org> I want to create a user-interface so that users can upload files to my Zope site. I have done this with DTMLDocuments, however I don't quite understand how to get the file itself into the Zope site via ... self.manage_addProduct['OFSP'].manage_addFile() ..that is in Python. I looked through the HOWTO's but didn't find anything. Does someone have an example of a Form/DTMLMethod/Python script that does this sort of thing? Thanks in advance, Ron ./. From mvmendes@emdata.com.br Fri Oct 13 16:33:41 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Fri, 13 Oct 2000 15:33:41 +0000 Subject: [Zope] Database Pack References: Message-ID: <39E72B55.7912A5EA@emdata.com.br> "Júlio Dinis Silva" wrote: > > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. > > Regards, > Júlio Dinis Silva > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.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 ) Hello, I'm using OracleStorage and I'd like know if can I pack my Database as I do with data.fs. Are there any differences? Thanks. Marcus Mendes From gwright@integritysi.com Fri Oct 13 19:00:04 2000 From: gwright@integritysi.com (Geoffrey L. Wright) Date: Fri, 13 Oct 2000 10:00:04 -0800 (AKDT) Subject: [Zope] dtml-with syntax question In-Reply-To: <39E66EF7.563F0451@iswt.com> References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> <39E66EF7.563F0451@iswt.com> Message-ID: <14823.19876.493839.469796@localhost.localdomain> Tim Cook writes: > I'm sure someone will correct me if I'm wrong. But I believe you > want: > > Haven't tried it in my code yet, but thanks to your post I found the section about _.getitem(). That'll come in handy all over the place, so many thanks for the pointer! //glw From lehmann@catworkx.de Fri Oct 13 18:24:05 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Fri, 13 Oct 2000 19:24:05 +0200 Subject: [Zope] LoginManager - with SQL? In-Reply-To: <018101c03523$8c046680$0400000a@caliber> References: <018101c03523$8c046680$0400000a@caliber> Message-ID: <00101319240501.00448@cat-pc-holle> Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: > Has anyone been able to use LoginManager with a SQL db? with or without > encryption? > > I'm still baffled by this how-to: > http://www.zope.org/Members/jok/SQL_based_LoginManager > > In this example, there are dtml-methods that do the work of the UserSource, > but there is no retrieveItem? > > I would really love to get this working instead of having to revert back to > older depreciated products. > > Thanks for any help! > > -e- > > From: "Aleksander Salwa" > > > I remember I had some troubles trying to put methods rolesForUser, > > domainsForUser, authenticateUser in UserSource class. They can be moved > > to user class. I did so. > > But your case is harder then mine, cause you don't have objects > > representing users in ZODB. Maybe there are problems with retrieveItem > > method ? > > Maybe you should build wrapper class around your database > > data - something like "pluggable brains" ? > > I have no more ideas :( > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From jfarr@real.com Fri Oct 13 18:57:12 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 13 Oct 2000 10:57:12 -0700 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog References: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Message-ID: <0bfb01c0353f$03a80a50$416917ac@poly> There are some patches floating around to add cataloging to LocalFS objects. I haven't gotten around to including them in the standard distro. --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Friday, October 13, 2000 4:56 AM Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog > Hi all, > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to load the data.fs > > Now. I am running into search problems. How do i do a search the filesystem > file? and also ensure that the search results come from both the filesystem > files and the portal zcatalog.?? > > Thx and regards. > > -neeloy > > _______________________________________________ > 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 ) > From Robert_J_Roberts@rl.gov Fri Oct 13 20:34:08 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Fri, 13 Oct 2000 12:34:08 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D0A@APEXCH11.rl.gov> What are my options for debugging External Methods in Zope running on Windows NT? Is there ANY way to get the external method to run in a DOS window that I can watch? What little tricks/techniques have others use to make debugging external methods easier/possible? Thanks, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From dittmar@snafu.de Fri Oct 13 20:40:24 2000 From: dittmar@snafu.de (Daniel Dittmar) Date: Fri, 13 Oct 2000 21:40:24 +0200 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <39E76528.7D05A2AB@dittmar.net> Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage? Is it simply the convenience to have the data in one place (for backup etc)? Does it scale better? In connection with ZEO? I'm asking because I'm contemplating writing such a storage for a specific RDBMS and I would like to know whether it's worth the trouble. Daniel Dittmar From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 20:58:17 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 14:58:17 -0500 Subject: [Zope] Variable name use in with statement Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B6@innt-73.ata.com> Scott Butchill wonders if: "there is a simpler way to do this." Not much simpler, but how about: From dieter@handshake.de Fri Oct 13 20:41:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 21:41:22 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14821.36358.972286.290879@lindm.dm> Message-ID: <14823.24484.984596.626290@lindm.dm> Seb Bacon writes: > OK, I think we're talking about the same thing now...but could you give me > an example of any object that would need to be traversable by Anonymous? > index_html, for example, doesn't need to be traversable (I still prefer > 'listable'). Viewable TTW, yes, but that's all. I do not agree with you: I should be able to list what I am able to view (in order to learn what I can view). I think, more than 30 per cent of my objects are like "index_html". They are designed to be viewed by Anonymous. The others are not destined to be viewed but to be used as components in viewed objects (like "standard_html_*"). The current Zope security requires that Anonymous has view permissions for them, too. But this allows Anonymous to view them in isolation which almost surely will give strange results (exceptions, empty pages, etc.). My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. If we succeed, then Anonymous can do nothing at all with them and it is no longer necessary to list them (for him). Thus, a solution for this problem may also be a solution for the other problem. However, a "listable" permission would not solve the distinction between directly viewable via the web and only indirectly viewable. Dieter From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 21:15:36 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 15:15:36 -0500 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B7@innt-73.ata.com> Daniel asked: "Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage?" The folks I know that have asked for that feature have stated their concerns as being: Keeping everything in a single large file is risky, since if that file becomes corrupted, the entire Web Site will be down until recovery is complete. The other side of that one goes something like, "As if we've never seen systems down for RDBMS recovery". Keeping data in a form that's more accessible by external systems is an advantage. And the comeback for that is, "This stuff is not tabular, it's Web Content, and Code". It's not like you can run queries against it, and print reports. Using an RDBMS that has online backup, and quick recovery features is cheap insurance. Cheap is relative. if you happen to have an expensive RDBMS, maybe you can call using it for one more applicaiotn "cheap". Making a copy of data.fs is pretty easy, and recovery is completed by copying over a damaged file. Not exactly rocket science. Also, Tranalyzer makes it pretty painless to recover up to the last good update, which is usually more than you can get from a backup! As you can see, I don't "get" the arguments, but that's what people say, and if they happen to be the people who can veto Zope, you try to find a way to meet their requirements. Later, Jerry S. From asc@vineyard.net Fri Oct 13 21:23:05 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 13 Oct 2000 16:23:05 -0400 (EDT) Subject: [Zope] proxied proxies with Zope & Apache Message-ID: Hi, I have Zope set up running with Apache/SSL using mod_proxy and the SiteRoot product. Everything works fine. The thing is, if I understand stuff correctly, all the requests to https://hostname.com get handed off to Zope. I would like to be able use the same hostname for plain old Apache-isms (cgi php etc) because the users of the site shouldn't have to rememeber YA-hostname. I would like to be able to do the following : https://hostname/foo-->https://zope.hostname/foo -->http://hostname:8080/foo https://hostname/bar-->/htdocs/bar a) hostname:443 ProxyPass /foo https://zope.hostname/foo b) zope.hostname:443 ProxyPass / http:hostname:8080/ (where the SiteRoot in the Zope tree points to https://zope.hostname) When I try to do this, regardless of whether I use mod_proxy or mod_rewrite, Apache returns a 403 error : "You don't have permission to access /documents on this server." Should the Zope SiteRoot point to https://hostname instead of https://zope.hostname? I know that I could set up multiple ProxyPass statements (and corresponding SiteRoot objects) in the Apache conf file, but I would really prefer to set up a standalone Zope https setup (mostly for administrative purposes) and then proxy those aspects of Zope that are pubic automagically to the default Apache setup. I am dreaming? The rewrite/proxy stuff is still like voodoo for me most days so any advice or suggestions would be welcome. Thanks, From sburch@ordway.org Fri Oct 13 21:50:00 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 15:50:00 -0500 Subject: [Zope] RE: Variable name use in with statement Message-ID: Ok, this worked : Thanks for the direction, Jerry! sbb > -----Original Message----- > From: Spicklemire, Jerry [mailto:Jerry.Spicklemire@IFLYATA.COM] > Sent: Friday, October 13, 2000 2:58 PM > To: 'sburch@ordway.org' > Cc: 'zope@zope.org' > Subject: Variable name use in with statement > > > Scott Butchill wonders if: > > "there is a simpler way to do this." > > Not much simpler, but how about: > > > > > > > > > > > > > > > > From peter@grenna.net Fri Oct 13 22:29:45 2000 From: peter@grenna.net (Peter Bengtsson) Date: Fri, 13 Oct 2000 22:29:45 +0100 Subject: [Zope] Any examples of use of manage_addFile()? References: <200010131729.MAA05467@mail.hal-pc.org> Message-ID: <001f01c0355c$b61e3430$01d4a8c0@peppe> Here you go. This uploads a file in the current working directory. thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you have to put '' double-apostrofies for the ID then. You try. ----- Original Message ----- From: To: Sent: Friday, October 13, 2000 6:29 PM Subject: [Zope] Any examples of use of manage_addFile()? > I want to create a user-interface so that users can upload files to my Zope > site. I have done this with DTMLDocuments, however I don't quite understand how > to get the file itself into the Zope site via ... > > self.manage_addProduct['OFSP'].manage_addFile() > > ..that is in Python. > > I looked through the HOWTO's but didn't find anything. Does someone have an > example of a Form/DTMLMethod/Python script that does this sort of thing? > > Thanks in advance, > > Ron > ./. > > > > _______________________________________________ > 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 ) > From phil.harris@zope.co.uk Thu Oct 12 22:55:38 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 22:55:38 +0100 Subject: [Zope] Thanks for the comments References: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> <39E6B903.7DA9B83D@inghist.nl> Message-ID: <00d001c03497$29fdaa50$84f331d4@harrisf4scs8le> Rik, I've upped both the Zope_book.lit and the Zope quick Reference. The ZQR is not as readable as the zBook due to the formatting. I'll get the XML and reformat it to look a bit better. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Rik Hoekstra" To: "Phil Harris" Sent: Friday, October 13, 2000 8:25 AM Subject: Re: [Zope] Thanks for the comments > > > Phil Harris wrote: > > > > I'll stick onto my Zope members page > > > > http://zope.org/Members/philh > > > except that the http://www.zope.org/Members/philh/zope_book.lit is dead > ;-) > > Rik From michaelangelo@intelligenesis.net Fri Oct 13 22:38:51 2000 From: michaelangelo@intelligenesis.net (michael angelo ruberto) Date: Fri, 13 Oct 2000 17:38:51 -0400 Subject: [Zope] date comparison In-Reply-To: <39E4B716.726347FF@earthlink.net> Message-ID: hi, i had tried something similar already without success. here is the error your script caused: DOH! Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: unsubscriptable object for some reason Zope just doesn't want to compare ZopeTime with bobobase_modification_time. i started reading the readme i found for the python DateTime method but it hasn't shed any light on the situation yet. i will try doing it with javascript. i can write the modification dates of the objects into arrays and do the comparisons using a scripting language that works. thanks -- -----Original Message----- From: ender@earthlink.net [mailto:ender@earthlink.net]On Behalf Of Kapil Thangavelu Sent: Wednesday, October 11, 2000 2:53 PM To: michael angelo ruberto Cc: zope@zope.org Subject: Re: [Zope] date comparison michael angelo ruberto wrote: > > i want to create an index page that displays whether or not a page has been > updated in the past 7 days or the past 20 days. however, i can't figure out > how to get the bobobase_modification_date to compare with ZopeTime. can > someone give me a clue before i rush blindly down Zope's undocumented dark > alleys. > > mike untested
  • New
  • Somewhat New
  • Old
kapil _______________________________________________ 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 ) From dieter@handshake.de Fri Oct 13 21:58:34 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:58:34 +0200 (CEST) Subject: [Zope] and question In-Reply-To: <17863365@toto.iv> Message-ID: <14823.30276.535159.677990@lindm.dm> complaw@hal-pc.org writes: > ... get today's date into a dtml-var ... Look at the "DateTime" documentation, if this does not give you the needed date format. Dieter From dieter@handshake.de Fri Oct 13 21:52:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:52:54 +0200 (CEST) Subject: [Zope] Tiny tables In-Reply-To: <13855503@toto.iv> Message-ID: <14823.30085.867024.89836@lindm.dm> Graham Chiu writes: > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. Probably, This is a ZPublisher feature. It interpretes ":" suffixes of form variable and parameter names to call for a type conversion of the value. As far as I know, there is not escape possibility. Can you change the ':' into a different character? Dieter From dieter@handshake.de Fri Oct 13 21:20:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:20:54 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: References: Message-ID: <14823.28044.869154.167828@lindm.dm> Hung Jung Lu writes: > I know that, the stupid log file thingy. But you'll have to write an > independent thread to display the log file (or peek the file manually each > time), or implement some CString stuff to capture the file output (if that > is possible). As I understand it, the logging module can be customized to stuck its log into a variable in Zope itself, viewable through the web. You may search the list archive to find the corresponding post. Maybe, you find it, too, via zope.org. > It'll be more fun if all this is already done, and the user can just tap > into the monitor console screen (even remotely). > > A good monitor should actually display hit information, memory usage, etc, > and preferably with charts, all in real time. Too much to ask? I don't think > so. :) Of cause, you can ask for it. However, someone must implement it. Dieter From dieter@handshake.de Fri Oct 13 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] Variable name use in with statement In-Reply-To: <75381091@toto.iv> Message-ID: <14823.31346.354571.370582@lindm.dm> Burchill, Scott B. writes: > .... > I am finding myself doing the following and am sure > there is a simpler way to do this. > > Any help would be greatly appreciated! Thanks. > > > > > > > > > > > > > > > > If you are sure, that only these values can occur in "selection" (as I expect, as otherwise, it would not be a selection), then you can use: Dieter From dieter@handshake.de Fri Oct 13 22:10:55 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:10:55 +0200 (CEST) Subject: [Zope] Authentication headers & firewall port redirection In-Reply-To: <113940424@toto.iv> Message-ID: <14823.31019.45266.485541@lindm.dm> Roland C. Reumerman writes: > Now it seems that somehow the combination of Zope-generated authenticated > headers and the firewall redirection rule do not match: does the header > include URL information? That would imply it tries to access > www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly > www.datadistilleries.com:80/ddsn (firewall listen port). I know, that basic authentication is sent by the browser on a domain basis. I do not know, where the domain information originates, but it may well be Zope. You may want to use Shanes excellent "tcpwatch" utility to analyse what really happens between the server and your browser. Alternatively, you may have a look at SiteAccess. This Zope product helps you handle these forms of redirection. Even, if your authentication problem could be solved without it, you will soon hit other problems that require SiteAccess. Thus, go directly for it. Dieter From dieter@handshake.de Fri Oct 13 22:05:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:05:15 +0200 (CEST) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... In-Reply-To: <89660556@toto.iv> Message-ID: <14823.30599.585158.779477@lindm.dm> J Kinsley writes: > /FrameSet - DTML Method > ..... > XXX - How can I negate this? IE. > > > > > > XXX - I do not think calling REQUEST.set() is the best way to > accomplish this. What is a better way? It is ineffective, as you do not use "topframe" later (in *this* request). > > > > > > > > ..... > XXX - I can not get this to work at all. Topframe should be set or > true if the visitor arrived in the /Files Folder from the top level > frameset and /Files/ViewFrame will be loaded into the view_frame > target. The frameset and its frames parts are fetched in *different* requests. The "REQUEST.set" only affects the REQUEST object for the frameset. The REQUEST objects for the frame components are not affected. You have two options: * a session product (there are some around on zope.org) it allows you to save information across web requests * passing the additional information through a query string key=value pair (do not forget to "url_quote_plus") > XXX - If this method is called from the top level FrameSet method, > how to I access dir and file from the original request? see above. Dieter From knight@righteous.net Fri Oct 13 23:26:35 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:26:35 -0700 (PDT) Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> Message-ID: Also, consider adding an accessrule. This won't stop them from using __no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it 'appear' there is nothing more than the current level. knight knight@phunc.com On Fri, 13 Oct 2000, Tim Cook wrote: > Stephan Goeldi wrote: > > > > OK let me state that I don't think so (subject line). I had to choose this > > subject, because it seems to me, that nobody was interested in my previous > > attempts to get information about my problem. So here is my newbie (?) > > question again: > > > > I have the folders: > > > > /www/folder1 > > /www/folder2 > > > > Apache redirects domain1 to folder1 and domain2 to folder2. > > The manager of folder1 is able to browse to /www and see what folders exist > > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > > He even can look into the folder /www/folder2 (but not into the objects). > > > > Is it possible to disable the access for the folder1-manager above folder1? > > It doesn't seem to me. If it really isn't possible, there is no security at > > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > > > I even created a local role in /www/folder1 too. Even with the local role I > > can browse /www and /www/folder2! > > > > Any suggestions? > > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder > > HTH, > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management > Project Coordinator http://www.freepm.org > OSHCA Founding Supporter http://www.oshca.org > > _______________________________________________ > 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 ) > > From knight@righteous.net Fri Oct 13 23:28:53 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:28:53 -0700 (PDT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: Have you run ldconfig after editting the /etc/ld/so/conf file? Run ldconfig -v | grep mysqlclient and see if the library appears. If so, everything is all set. Also try an ls -l /usr/local/mysql/lib/libmysql*. Knight knight@phunc.com On Fri, 13 Oct 2000, Dale Lance wrote: > Hi, > I am trying to build ZMySQLDA 1.20 > mysql has been built successfully on RedHat 7.0 and resides in > /usr/local/mysql > I have followed the instructions for editing /etc/ld/so/conf adding > /usr/local/mysql/lib/mysql > /usr/local/mysql/lib > /usr/local/mysql > to it. (just tomake sure) > yet I still get the following error > anyone know where mysqlclient is supposed to be? > > Dale > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient > > collect2: ld returned 1 exit status > > make: *** [_mysqlmodule.so] Error 1 > > Traceback (innermost last): > > File "build.py", line 14, in ? > > import MySQLdb > > File "MySQLdb.py", line 19, in ? > > from _mysql import * > > ImportError: No module named _mysql > > > > > > > > _______________________________________________ > 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 ) > > From 444@hiretechs.com Sat Oct 14 00:16:24 2000 From: 444@hiretechs.com (Jason Spisak) Date: Fri, 13 Oct 2000 16:16:24 -0700 Subject: [Zope] Creating Recursive Folders Message-ID: <39E797C8.D61D4173@hiretechs.com> Zopists, I am trying to use DTML to create folders within folders for me 3 levels deep. Two levels works, but 3 won't. For example: This works: But this: Throws an unathorized no matter who I am. How can I get 3 levels of recursion. I tried using 'let' to stand for the object, with no luck. BTW, I accidently sent the last post to dev, forgive me. All my best, Jason Spisak 444@hiretechs.com From andres@corrada.com Sat Oct 14 00:40:08 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:40:08 -0400 Subject: [Zope] Tiny tables In-Reply-To: ; from Graham Chiu on Fri, Oct 13, 2000 at 08:08:34AM +1300 References: Message-ID: <20001013194008.A15613@corrada.com> The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such. One quick way to get around this is to quote your field value - "criteria:tokens" You may have to deal with the quotes later on, although I think they get stripped after the value survives the tokenize.py module. On Fri, Oct 13, 2000 at 08:08:34AM +1300, Graham Chiu wrote: > > I would like to run some regular reports based upon > sqlmethods. The input to these are a mixture of normal > values, and some tokenised values. > > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. > > Any suggestions as to how to store the input as tokens for > my reports? > > -- > Graham Chiu > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From andres@corrada.com Sat Oct 14 00:43:35 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:43:35 -0400 Subject: [Zope] Converting PHP3 -> Zope In-Reply-To: ; from Mario Olimpio de Menezes on Fri, Oct 13, 2000 at 09:47:17AM -0200 References: Message-ID: <20001013194335.B15613@corrada.com> Take a look at my HOWTO: www.zope.org/Members/Mamey/PHP On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote: > > Hi, > > I'm planning to convert (migrate) a entire site from php3 to > zope and i'm looking for suggestions, hints, etc on this. > It's a GPL management school system done in php3+postgresql, and > any user must be authenticated against a database and his privileges > are those from the postgresql. The system is in portuguese > (www.univates.br/sagu) if someone is interested. > Does somebody have experience in such kind of migration > (conversion) and can give me some "in advance" advice to avoid this or > that or don't do this, etc, etc? > Any comments? > > []s, > Mario O.de Menezes "Many are the plans in a man's heart, but > IPEN-CNEN/SP is the Lord's purpose that prevails" > http://curiango.ipen.br/~mario Prov. 19.21 > http://www.revistalinux.com.br > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From peter@grenna.net Sat Oct 14 02:55:10 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 14 Oct 2000 02:55:10 +0100 Subject: [Zope] Python regular expression help Message-ID: <000d01c03581$c98c43c0$01d4a8c0@peppe> [ this might be more of a Python question, but it's got a lot to do with the web and is to be used in Zope ] I want to replace all occurences of email address's and URLs in a textstring, to %s and %s. Must admit that I am not an regex expert, and I wasn't able to find a "precompiled" regex for neither email nor URL. Or is there anything available from the zope/python stack? From matt@virtualspectator.com Sat Oct 14 04:59:07 2000 From: matt@virtualspectator.com (matt) Date: Sat, 14 Oct 2000 16:59:07 +1300 Subject: [Zope] backing up In-Reply-To: <000d01c03581$c98c43c0$01d4a8c0@peppe> References: <000d01c03581$c98c43c0$01d4a8c0@peppe> Message-ID: <00101417011207.01314@localhost.localdomain> Is there a nice way to backup dtml documents and methods from a certain point in the object tree onwards without having to save all the other objects too? regards Matt From matt.bion@eudoramail.com Sat Oct 14 08:00:43 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 14 Oct 2000 20:00:43 +1300 Subject: [Zope] object properties Message-ID: <39E8049B.512E5DCF@eudoramail.com> Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion From dieter@handshake.de Sat Oct 14 11:18:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 12:18:05 +0200 (CEST) Subject: [Zope] ZCatalog question. boolean and wildcards. In-Reply-To: <2337571@toto.iv> Message-ID: <14824.11950.36146.96100@lindm.dm> Hannes Grund writes: > When mixing boolean operators and wildcards '*' in queries within a Textindex > the 'AND' operator is replaced by 'OR'. > Also, the possibility of constructing nested terms using brackets seems > to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). > The setting is straightforward, several indexes (text-index, keyword-indexes) > are used indexing a about 5000 Zclasses. > Are there any patches to apply or what else can i do ? Sorry, the patch I posted yesterday was not complete. There have been too more problems: * if the wildcard expansion could not find matching words, my patch created an empty subquery. Such queries, unfortunately, can not be handled by "UnTextIndex.evaluate". The new patch, instead creates a new search term, 'no_expansion_for_'. Hopefully, this term is not indexed and thus gives the same results as the empty subquery. Of cause, this is a hack. The ZCatalog maintainer should find a better solution. * The ZCatalog, more precisely, "UnTextIndex.__getitem__" still raises an "IndexError" exception, when one searches for a term that is not indexed. The result is "no data matches your query", even for an "or" query. I had already put a patch for this error in the collector for Zope 2.2.1, but apparently, DC decided not to look at it. Please discard my patch from yesterday. You may give the new patch (appended) a try. Dieter --- lib/python/SearchIndex/:GlobbingLexicon.py Mon Aug 28 19:30:06 2000 +++ lib/python/SearchIndex/GlobbingLexicon.py Sat Oct 14 11:54:24 2000 @@ -230,10 +230,22 @@ if ( (self.multi_wc in w) or (self.single_wc in w) ): wids = self.get(w) - for wid in wids: - if words: - words.append(Or) - words.append(self._inverseLex[wid]) + #for wid in wids: + # if words: + # words.append(Or) + # words.append(self._inverseLex[wid]) + if wids: + words.append(map(self._inverseLex.get,wids)) + else: + words.append('no_expansion_for_' + w) + # We do this here, as "UnTextIndex.evaluate" + # can not handle empty subqueries + # We use as expansion some expression that + # is likely not in the catalog but + # gives some indication to the problem + # in case "ResultList" does something + # with its "src" argument. + # This is a hack, though! else: words.append(w) --- lib/python/SearchIndex/:UnTextIndex.py Fri Oct 13 23:29:00 2000 +++ lib/python/SearchIndex/UnTextIndex.py Sat Oct 14 11:57:38 2000 @@ -347,8 +347,10 @@ if len(src) == 1: src=src[0] if src[:1]=='"' and src[-1:]=='"': return self[src] - r = self._index.get(self.getLexicon(self._lexicon).get(src)[0], - None) + codes= self.getLexicon(self._lexicon).get(src) + if codes: + r = self._index.get(codes[0], None) + else: r= None # maybe do something, if len(codes) > 1 if r is None: r = {} return ResultList(r, (src,), self) @@ -490,11 +492,11 @@ except IndexError: raise QueryError, "Malformed query" t=type(left) - if t is ListType: left = evaluate(left, self) + if t is ListType: left = self.evaluate(left) elif t is StringType: left=self[left] t=type(right) - if t is ListType: right = evaluate(right, self) + if t is ListType: right = self.evaluate(right) elif t is StringType: right=self[right] return (left, right) From matt.bion@eudoramail.com Sat Oct 14 12:53:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 00:53:40 +1300 Subject: [Zope] dtml-tree does weird things References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E84944.5A667EA5@eudoramail.com> Hi, I have the following in a dtmlDocument. the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand the tree node, I get a repeat of the original list of nodes, as if it is listing itself recursively, but not decending down the object hierachy. An when I roll over a node '+' of one of the documents is : http://localhost:8080/admin_test/some_tree_examples?tree-e=eJyLVneEAteqbFt1HQUEvzLZVj0WAIkQCHY#AAAAAAAAEyc= if I expand the tree and roll over the repeat entry I get the same link. What's happening? I am running 2.2.2 stable. By they way : the simple example in the user man doesn't return anyhthing on a folder that itself contains folders and dtml documents. I.e. any help would be greatly appretiated, Matt Bion From kthangavelu@earthlink.net Sat Oct 14 13:47:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 05:47:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E855E1.7C72FBCE@earthlink.net> Matt wrote: > > Can someone give me an example, either in dtml or external methods of > accessing or listing the properties of the current object I am calling a > method on. > > Or point me to a source > > Matt Bion you can ask an object what properties it has and retrieve them through dtml, like or if you want a reference, instead of a string if you want to examine the propertys of an object you can go iterate through its propertysheets (works for a zclass, the rest i'm not sure). You can reference the Zope Quick Reference for more info. Success Kapil From cvogel@fileheap.com Sat Oct 14 07:31:12 2000 From: cvogel@fileheap.com (Chad Vogel) Date: 14 Oct 00 01:31:12 -0500 Subject: [Zope] We would like to include your software Message-ID: <200010141825.NAA11794@s002> This is a multi-part message in MIME format. --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello I am Chad Vogel the Webmaster at FileHeap! I am contacting you because we would like to include your software in our website. FileHeap! is a software index that is targeted to residential and small business users. I would greatly appreciate your help. To add your software to our index go to http://www.fileheap.com and then "submit a file". Thank you, LyonL Inc. Chad Vogel, Webmaster cvogel@fileheap.com --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: application/octet-stream; name="Chad Vogel.msg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; inline 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAA AQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// ///////////////////////////////////////////9////BAAAAP7///8FAAAA BgAAAAgAAAAHAAAACQAAAAsAAAAKAAAADAAAAA4AAAANAAAADwAAABEAAAAQAAAA EgAAABQAAAATAAAAFQAAABcAAAAWAAAAGAAAABoAAAAZAAAAGwAAAB0AAAAcAAAA HgAAACAAAAAfAAAAIQAAACMAAAAiAAAAJAAAACUAAAD+////JgAAACcAAAD+//// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// /////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////82AAAA Cw0CAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAJB2KIyiNcABAwAAAAAeAAAAAAAA XwBfAG4AYQBtAGUAaQBkAF8AdgBlAHIAcwBpAG8AbgAxAC4AMAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACgAAQH//////////wkAAAAAAAAAAAAAAAAAAAAAAAAA AAAAALCtF4yiNcABkEEcjKI1wAEAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwADAAMAAyADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAwAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADMA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBAgAAAAQAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAADABAAAAAAAA /v///wIAAAADAAAABAAAAAUAAAD+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7///8tAAAA/v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v///1AAAAD+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v///18AAABgAAAA YQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAA bQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAD+//// //////////////////////////////////////////8IIAYAAAAAAMAAAAAAAABG BCAGAAAAAADAAAAAAAAARoEyhMGFBdARspAAqgA89nYAAAAAAAAAAAAAAAAAAAAA A4UAAAYAAAAQhQAABgABAFKFAAAGAAIAVIUAAAYAAwCChQAABgAEAEaAAAAIAAUA SYAAAAgABgBIgAAACAAHAEeAAAAIAAgARYAAAAgACQArgAAACAAKAGGAAAAIAAsA goAAAAgADACDgAAACAANAISAAAAIAA4AhYAAAAgADwCSgAAACAAQAJOAAAAIABEA lIAAAAgAEgApgAAACAATACiAAAAIABQABoAAAAgAFQAFgAAACAAWACKAAAAIABcA G4AAAAgAGAAOhQAABgAZACWAAAAIABoAEYUAAAYAGwAYhQAABgAcACaAAAAIAB0A AYAAAAoAHgAGhQAABgAfAAGFAAAGACAAhoUAAAYAIQAngAAACAAiAA6AAAAIACMA EIAAAAgAJAAHgAAACAAlAAAAAAAAAAAAAAAAAAAAAACSgAAACAAQAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA EIUAAAYAAQBShQAABgACAJOAAAAIABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADQA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AYAAAAFAAAAAwAAAB4ADYAGAAAAFAAAAAMAAAAeAA6ABgAAABQAAAADAAAA AgEPgAYAAABFAAAAAwDRAB4AEIAGAAAAAQAAAAMAAAAeABGABgAAAAEAAAADAAAA HgASgAYAAAABAAAAAwAAAAMAE4AGAAAAAQAAAAAAAAADEBSABgAAAAQAAAADANEA AwAVgAYAAAAXgAAAAAAAAB4AFoAGAAAADAAAAAMAAAADABeABgAAAAIAAAAAAAAA HgAYgAYAAAAtAAAAAwAAAAsAGYAGAAAAAAAAAAAAAAALABqABgAAAAAAAAAAAAAA AwAbgAYAAAAAAAAAAAAAAAMAHIAGAAAAAAAAAAAAAAADEB2ABgAAABQAAAADANEA HgAegAYAAAAnAAAAAwAAAAsAH4AGAAAAAAAAAAAAAAADACCABgAAAAAAAAAAAAAA HgAhgAYAAAABAAAAAwAAAAMQIoAGAAAADAAAAAMA0QAeACOABgAAAAEAAAADAAAA HgAkgAYAAAABAAAAAwAAAAMQJYAGAAAAGAAAAAMA0QAeAD0ABgAAAAIAAAADAAAA HgAdDgIAAAALAAAAAwADRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA== --__966EC2E011D4A19BD000A787A9505DB7__-- From leedm@state.mi.us Sat Oct 14 20:11:44 2000 From: leedm@state.mi.us (Darin Lee) Date: Sat, 14 Oct 2000 15:11:44 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sat Oct 14 21:43:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 09:43:40 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8C57C.6C3277E9@eudoramail.com> Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the which followed the . If I used instead, then I always got back only two strings, "default" and "webdav". So I guess it is picking something else up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to have what I thought would be the simple ability to loop through properties of an object without knowing what they were before. thanks Matt Bion Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From dieter@handshake.de Sat Oct 14 22:01:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:01:52 +0200 (CEST) Subject: [Zope] date comparison In-Reply-To: <120753917@toto.iv> Message-ID: <14824.51495.681497.642199@lindm.dm> michael angelo ruberto writes: > i had tried something similar already without success. here is the error > your script caused: > ... > Error Type: TypeError > Error Value: unsubscriptable object > > for some reason Zope just doesn't want to compare ZopeTime with > bobobase_modification_time. "bobobase_modification_time" is a method (at least for folder), not a value. Use "_['bobobase_modification_time']" instead. Dieter From dieter@handshake.de Sat Oct 14 21:50:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 22:50:33 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <15263697@toto.iv> Message-ID: <14824.50658.712135.693406@lindm.dm> Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From dieter@handshake.de Sat Oct 14 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] dtml-tree does weird things In-Reply-To: <37629070@toto.iv> Message-ID: <14824.52117.989069.735915@lindm.dm> Matt writes: > > > > > the folder folder_of_things contains numerous things, including some > documents and folders. The problem seems to be that each time I expand the > tree node, I get a repeat of the original list of nodes, as if it is > listing itself recursively, but not decending down the object hierachy. You have read the description for "branches_expr" carefully? It is the expression used by Zope to find the branches of the current object. In your case, the expression is independent from the current object. Therefore, it returns always the same branches (as you observe). Try: .... Dieter From matt.bion@eudoramail.com Sat Oct 14 23:56:14 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 11:56:14 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8E48E.17172D7B@eudoramail.com> I tried a few things and found the following useful : Property ids of are Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From erik@pacific-shores.com Sat Oct 14 23:59:29 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 15:59:29 -0700 Subject: [Zope] trouble compiling DCOracle Message-ID: I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am using the latest DCOracle 1.3.2 and python 1.5.2. I used the included Setup-8.1.5 file with the addition of one library to the *ORACLE_Includes* list: -I$(ORACLE_HOME)/rdbms/public The output from *make* had a number of errors, but compiled the shared objects: gcc -fPIC -I/oradisk01/app/oracle/product/8.1.6/rdbms/demo -I/oradisk01/app/oracle/product/8.1.6/rdbms/public -I/oradisk01/app/oracle/product/8.1.6/network/public -I/oradisk01/app/oracle/product/8.1.6/plsql/public -DDCORACLE8 -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./oci_.c In file included from ./oci_.c:566: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static ./oci_.c: In function `_wrap_odescr': ./oci_.c:2599: warning: assignment from incompatible pointer type gcc -shared oci_.o -L/oradisk01/app/oracle/product/8.1.6/lib/ -L/oradisk01/app/oracle/product/8.1.6/rdbms/lib /oradisk01/app/oracle/product/8.1.6/rdbms/lib/defopt.o -o oci_.so gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./Buffer.c In file included from ./Buffer.c:60: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static gcc -shared Buffer.o -o Buffer.so Testing the created shared object files went something like this: [sweetrig@shamalama src]# python DCOracle_test.py Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: libclntsh.so.8.0: cannot open shared object file: No such file or directory I have tried a number of setup files that were on this list for Oracle 8.1.6 and all have produced errors. Any help appreciated. -- Erik Myllymaki erik@pacific-shores.com From cba@mediaone.net Sun Oct 15 01:38:01 2000 From: cba@mediaone.net (Craig Allen) Date: Sat, 14 Oct 2000 20:38:01 -0400 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8E48E.17172D7B@eudoramail.com> Message-ID: <39E8FC69.AFEEDA2D@mediaone.net> Matt wrote: > > I tried a few things and found the following useful : > > Property ids of are > And of you want to actually see property values, you could try which generates id/property tuples. Craig -- Craig Allen - Managing Partner - Mutual Alchemy Web Architecture - http://alchemy.nu From kthangavelu@earthlink.net Sat Oct 14 21:50:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 13:50:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8C57C.6C3277E9@eudoramail.com> Message-ID: <39E8C715.4BCEC766@earthlink.net> Matt wrote: > > Thanks for your response. I tried your methods on a normal folder that > contains some other folders, dtmldocuments, and images, but it failed on the > which followed the "propertysheets.items()">. i made a simple error. this code is tested and works properly (i had set PropList to a string instead of a list) This will show all the properties of an object (zclass, folders, documents, etc). > If I used instead, then I always got back only > two strings, "default" and "webdav". these are the names of the propertysheets of the folder. > So I guess it is picking something else > up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to > have what I thought would be the simple ability to loop through properties of > an object without knowing what they were before. you mentioned above that you tried this in a folder with a couple of other folders and images in it, if what you're trying to do is iterate over them than you're not looking for object properties but subobjects (attrs) which can be iterated through using also check out objectItems, objectValues. or using the ZDOM methods. regardless the http://www.zope.org/Members/ZQR is always your friend. Cheers Kapil From ergul@ccs.neu.edu Sun Oct 15 03:30:16 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Sat, 14 Oct 2000 22:30:16 -0400 (EDT) Subject: [Zope] trouble compiling DCOracle Message-ID: > The output from *make* had a number of errors, but compiled the shared > objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath and move on. > Testing the created shared object files went something like this: > > [sweetrig@shamalama src]# python DCOracle_test.py > Traceback (innermost last): > File "DCOracle_test.py", line 1, in ? > import Buffer, oci_, sys > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > file or directory Make sure your ORACLE_HOME environment var is properly set before running the test script. You'll probably want to put it in your zope start script too. Ayhan Ergul From knight@righteous.net Sun Oct 15 05:14:40 2000 From: knight@righteous.net (knight) Date: Sat, 14 Oct 2000 21:14:40 -0700 (PDT) Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) In-Reply-To: Message-ID: May I ask what the relevance this post was to the list? Regards, Knight knight@phunc.com On Sat, 14 Oct 2000, Darin Lee wrote: > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sun Oct 15 05:57:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 17:57:46 +1300 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th) References: Message-ID: <39E93949.94788D11@eudoramail.com> Just be lucky he only gets the digest ... it looks like an automated reply to me. While I am here, thanks for the replies to my questions, they were very helpful. knight wrote: > May I ask what the relevance this post was to the list? > > Regards, > > Knight > knight@phunc.com > > On Sat, 14 Oct 2000, Darin Lee wrote: > > > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > _______________________________________________ > 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 ) From erik@pacific-shores.com Sun Oct 15 06:29:53 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 22:29:53 -0700 Subject: [Zope] re: trouble compiling DCOracle Message-ID: --- In zope@egroups.com, Ayhan Ergul wrote: > > The output from *make* had a number of errors, but compiled the shared > > objects: > > Warnings from C compilers are always part of the fun! They say something > can potentially be/go wrong, but not necessarily so. Take a deep breath > and move on. > > > Testing the created shared object files went something like this: > > > > [sweetrig@shamalama src]# python DCOracle_test.py > > Traceback (innermost last): > > File "DCOracle_test.py", line 1, in ? > > import Buffer, oci_, sys > > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > > file or directory > > > Make sure your ORACLE_HOME environment var is properly set before running > the test script. You'll probably want to put it in your zope start script > too. > > > Ayhan Ergul So I tried a different Setup script that I got from a post on the zopesite: ######## START SETUP Script ########## *shared* # Setup file for Oracle 8.1.6 (Tested for Linux on Intel). # # Unfortunately, the libraries needed to link Oracle change from revision # to revision. # # Oracle provides a make file for building "demo" programs in # $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. I have been unable to # use this make file to build Python extensions. Adapting it is # not adequate, because it may change for new Oracle revs. # My approach is to use demo_rdbms.mk to build one of the # demo programs, look at the libraries linked, and start from there. :-( # ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public ORACLE_L=-lJNLSLib3 -lgslsg8 -lnsslb8 -lserver8 -lJNLSTool -lgslssb8 -lntcp8 \ -lsgsl_s8 -lagent8 -lgslssf8 -lntcps8 -lskgxp8 -lgx8 -lntns8 \ -lskgxpd -lnus8 -lslax8 -lclient8 -lldapclnt8 -lnzjs8 \ -lslpm -lclntsh -lmm -locijdbc8 -lsql8 -lcommon8 -ln8 -locijdbc8_g \ -lsqlplus -lcore8 -lnbeq8 -lordim8 -lsvrmgrl -lnent8 -lordim8 \ -ltrace8 -lctx8 -lnhost8 -lordsdo8 -ltracefe8 -lctxc8 -lnjni8 -lordts8 \ -ltracept8 -lctxs8 -lordvirt8 -ldbicx8 -lnl8 -lowm2 \ -lvppdc -lgeneric8 -lnldap8 -lplc8 -lvsn8 -lgslavl8 -lnls8 -lplp8 \ -lwtc8 -lgslber_s8 -lnoname8 -lpls8 -lzx8 -lgsldb8 -lnro8 -lpsa8 -lgslr8 \ -lnsgr8 -lqsmashr ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L) $(ORACLE_L) oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8 Buffer Buffer.c ######## END of SETUP Script ########## This time the error is a little different: Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: ./oci_.so: undefined symbol: kpumfs I tried the trick in the README - got a list of all symbols in the Oracle libs and it turns out kpumfs is in four, all of which are included in the setup file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 00000140 libclntsh.so: kpumfs T 0018eb10 libclntsh.so.8.0: kpumfs T 0018eb10 libvppdc.so: kpumfs T 000e2a40 I'm at a bit of a loose end here... Thanks again, Erik Myllymaki From Alexander Chelnokov Sun Oct 15 19:20:45 2000 From: Alexander Chelnokov (Alexander Chelnokov) Date: Mon, 16 Oct 2000 00:20:45 +0600 Subject: [Zope] List from another list in DTML? In-Reply-To: <0720.001015@inbox.ru> References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> Message-ID: <13413660806.20001016002045@orto.unets.ru> Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which contains only data fields? Is it possible with DTML only? -- Best regards, Alexander N. Chelnokov Ural Scientific Institute of Traumatology and Orthopaedics 7, Bankovsky str. Ekaterinburg 620014 Russia ICQ: 25640913 From leedm@state.mi.us Sun Oct 15 20:09:51 2000 From: leedm@state.mi.us (Darin Lee) Date: Sun, 15 Oct 2000 15:09:51 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1017 - 17 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Noah@noah.org Sun Oct 15 20:23:06 2000 From: Noah@noah.org (Noah) Date: Sun, 15 Oct 2000 12:23:06 -0700 Subject: [Zope] ZClass derrived from Image does not call "view" from within Message-ID: <009401c036dd$58de4d50$e21ac73f@wingw> Hi, I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work similar to an Image, but the user can insert it directly in DTML using and it will get expanded into HTML (with formatting, tag, caption, etc.) This may be long and complicated, but I thought that #4 below was interesting because it demonstrates how to get at base class methods even if you have overridden them. OK, here's the situation: 1. I created a ZClass derived from Image. 2. I overloaded the index_html to add spit out some HTML instead of the image. 3. If I call an instance of the ZClass directly I get the expected results. The index_html is called and I get back some HTML. Here: http://63.199.26.229:8080/c/gato 4. To get to the image I created an External Method that calls the index_html method of the my base class (Image): # I create an External Method called IMG that calls this Python method: def super_index_html (self): for classy in self.__class__.__bases__: if classy.__name__ == 'Image': return classy.index_html (self, self.REQUEST,\ self.REQUEST.RESPONSE) Example: http://63.199.26.229:8080/c/gato/IMG So far, so good! Now all I want to do is insert my ZClass in some DTML. Here's what happens: 1. I try to insert in instance of my ZClass into a DTML Method using: 2. The Publisher does not call the view method (index_html) of the object! Instead it calls str() which is __str__ in Image and that calls Image.tag(). I can't overload __str__ because Zope does not allow a method to start with _ underscore. I ran this in the debugger, Publish.publish() (line 173) has this code: if result is not response: response.setBody(result) This is where the trouble begins. setBody() calls str() function on the object. How do I insert my ZClass into DTML now? Yours, Noah From matt.bion@eudoramail.com Mon Oct 16 01:18:47 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 13:18:47 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime Message-ID: <39EA4967.222C1D43@eudoramail.com> I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt "paris" is the ID of an image I uploaded into a node inherited when I action this dtml document, so there are no key errors or similar. The result in the email I get is : Feedback from : Matt Comments: Hello there, this is a sample email message for testing. Content-Type: multipart/mixed; boundary="127.0.0.1.500.953.971655250.628.16056" --127.0.0.1.500.953.971655250.628.16056 Content-Type: image/jpeg Content-Transfer-Encoding: 7bit paris --127.0.0.1.500.953.971655250.628.16056-- I understand that the dtml-mime tag is modifying the action of dtml-var that follows it, but what I want is the actual text coded binary to be dumped and not a source tag ... i.e. it's an email, not a webpage. I thought of embedding that in an external method that returns the text coded binary w.r.t the encoding type placed in the attributes, but was wondering if there was a method like this already available, and maybe not just image centric. Matt Bion From p@state-of-mind.de Mon Oct 16 01:59:43 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Mon, 16 Oct 2000 02:59:43 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: Hi, I've been through the Guides, How-Tos and also some of the list-archives. Though I am not a programmer I finally decided to ask that question to all of you... I want to give Users the possibility to add documents in a folder ;-). so far so good ... Then I want to control the IDs simply by assigning an ID to their Form. I found a few articles generating either randomIDs or calculating IDs from ZopeTime(). What is it that I want to do? I want to evaluate the highest ID (all are 'int') within the folder and assign the next highest. I'm sure this is easy to you... If there's a RTFM-document I'd be glad to read that. thanks, p@rick From jensebaer@hotmail.com Mon Oct 16 03:00:13 2000 From: jensebaer@hotmail.com (jensebaer) Date: Mon, 16 Oct 2000 04:00:13 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: Hi, it is not tested but may it works = newid"> Your new id is: may you have to use _.string.atoi(id) instead _.int(id) Viel Glück Jens ----- Original Message ----- From: "Patrick Koetter" To: Sent: Monday, October 16, 2000 2:59 AM Subject: [Zope] NEWBIE: assign next free ID automatically > Hi, > > I've been through the Guides, How-Tos and also some of the list-archives. > Though I am not a programmer I finally decided to ask that question to all > of you... > > I want to give Users the possibility to add documents in a folder > ;-). > so far so good ... Then I want to control the IDs simply by assigning an ID > to their Form. > I found a few articles generating either randomIDs or calculating IDs from > ZopeTime(). > > What is it that I want to do? > I want to evaluate the highest ID (all are 'int') within the folder and > assign the next highest. > I'm sure this is easy to you... > > If there's a RTFM-document I'd be glad to read that. > > thanks, > > p@rick > > > _______________________________________________ > 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 ) > > From kthangavelu@earthlink.net Mon Oct 16 02:35:05 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:35:05 -0700 Subject: [Zope] List from another list in DTML? References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> <13413660806.20001016002045@orto.unets.ru> Message-ID: <39EA5B49.11EBEEB6@earthlink.net> Alexander Chelnokov wrote: > > Hello All, > > A form contains data items ['firstname','secondname','dofb' etc] > and some "service" fields ['submit','sid','form','nform']. > With REQUEST.form.items() all these fields are included in a single > list. How can another list be created from the list which contains > only data fields? Is it possible with DTML only? form is an instance of the python cgi FieldStorage the docs included with your python distro will give you more info. try (untested) REQUEST.form.values() > -- > Best regards, > Alexander N. Chelnokov > Ural Scientific Institute of Traumatology and Orthopaedics > 7, Bankovsky str. Ekaterinburg 620014 Russia > ICQ: 25640913 > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Mon Oct 16 02:46:03 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:46:03 -0700 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: <39EA5DDB.7231C9A2@earthlink.net> ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a dtml-let doc_id=sequence-item to evaluate in pythonish "" dtml although the code below makes it obvious it should also be stated that ids are strings. one caveat, i wouldn't count on the id naming sequence to nesc reflect the order of the items, as an item maybe deleted etc and have new ones created which replace them. if you've not going to be deleting items, another possibility is another caveat, in a heavily hit site you're going to be generating id errors(both methods) because one thread will commit a new doc while the other tries a moment later to commit with the same id. hence the reason why i would just use a random int like kapil jensebaer wrote: > > Hi, > > it is not tested but may it works > > > = newid"> > > > > > Your new id is: > > may you have to use _.string.atoi(id) instead _.int(id) > > Viel Glück > > Jens > > ----- Original Message ----- > From: "Patrick Koetter" > To: > Sent: Monday, October 16, 2000 2:59 AM > Subject: [Zope] NEWBIE: assign next free ID automatically > > > Hi, > > > > I've been through the Guides, How-Tos and also some of the list-archives. > > Though I am not a programmer I finally decided to ask that question to all > > of you... > > > > I want to give Users the possibility to add documents in a folder > > ;-). > > so far so good ... Then I want to control the IDs simply by assigning an > ID > > to their Form. > > I found a few articles generating either randomIDs or calculating IDs from > > ZopeTime(). > > > > What is it that I want to do? > > I want to evaluate the highest ID (all are 'int') within the folder and > > assign the next highest. > > I'm sure this is easy to you... > > > > If there's a RTFM-document I'd be glad to read that. > > > > thanks, > > > > p@rick > > > > > > _______________________________________________ > > 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 ) From anthony@interlink.com.au Mon Oct 16 18:11:21 2000 From: anthony@interlink.com.au (Anthony Baxter) Date: Mon, 16 Oct 2000 17:11:21 +0000 Subject: [Zope] bunch patches for zopeshell uploaded to sourceforge... Message-ID: <200010161711.EAA02996@mbuna.arbhome.com.au> FWIW, I just posted a series of patches for ZopeShell, and a few other bits, that add: editing of PythonMethods and Z SQL Methods (also enables ZSQL through FTP) Add host:port to the prompt Add a 'login' command to switch to a different Zope Server Don't upload the file if the temp file's mtime hasn't changed. Prompt for username and password if not given. see the patch tracker at http://sourceforge.net/projects/zopeshell/ They're patches 101923 - 101927 in the patch tracker. I'll copy the relevant Zope patches into the Collector... Anthony From kthangavelu@earthlink.net Mon Oct 16 03:08:08 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:08:08 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA6308.46157D09@earthlink.net> Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. i don't have much experience with the mime-tags but, if you're problem seems to be that you want the binary data of the image. when the dtml tag renders its just dropping a string link to the Image. what you want here is (i think) the binary data that represents the image. hmmm... looking through the source of Image.py i don't see a web accessible manner to get this info:( another option is to set the mime on the email to text/html and send the image as a link. Kapil From kthangavelu@earthlink.net Mon Oct 16 03:09:31 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:09:31 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA635B.9807E529@earthlink.net> spoke to soon.. replace with Kapil Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. > > Matt Bion > > _______________________________________________ > 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 ) From matt.bion@eudoramail.com Mon Oct 16 09:05:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 21:05:46 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> <39EA635B.9807E529@earthlink.net> Message-ID: <39EAB6DA.C11E0E56@eudoramail.com> Thanks Kapil, that works brilliantly, I didn't see a 'data' member in the quick reference and certainly didn't see a data() method which I was expecting. I guess I should be looking at the source. The following is what I ended up with To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Giving the mime tag a name and setting encoding to base64 made it a nicer experience at the other end. thanks Matt Bion Kapil Thangavelu wrote: > spoke to soon.. > > replace > with > > Kapil > > Matt wrote: > > > > I have benn having a problem with attaching images to a dtml-sendmail. > > The following is my dtml code : > > > > > > To: Feedback Recipient > > From: Zope Feedback Form > > Subject: Feedback from the web > > > > Feedback from : Matt > > > > > > > > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > > action this dtml document, so there are no key errors or similar. > > > > The result in the email I get is : > > > > Feedback from : Matt Comments: > > Hello there, this is a sample email message for testing. > > > > Content-Type: multipart/mixed; > > boundary="127.0.0.1.500.953.971655250.628.16056" > > > > --127.0.0.1.500.953.971655250.628.16056 > > Content-Type: image/jpeg > > Content-Transfer-Encoding: 7bit > > > > paris > height="630" width="472" border="0"> > > > > --127.0.0.1.500.953.971655250.628.16056-- > > > > I understand that the dtml-mime tag is modifying the action of dtml-var > > that follows it, but what I want is the actual text coded binary to be > > dumped and not a source tag ... i.e. it's an email, not a webpage. > > > > I thought of embedding that in an external method that returns the text > > coded binary w.r.t the encoding type placed in the attributes, but was > > wondering if there was a method like this already available, and maybe > > not just image centric. > > > > Matt Bion > > > > _______________________________________________ > > 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 ) From brabander@fsw.LeidenUniv.nl Mon Oct 16 09:07:59 2000 From: brabander@fsw.LeidenUniv.nl (Cornelis J. de Brabander) Date: Mon, 16 Oct 2000 10:07:59 +0200 Subject: [Zope] backing up In-Reply-To: <00101417011207.01314@localhost.localdomain> Message-ID: <01JVEGCR0TW2C8V7Z1@FSW.LEIDENUNIV.NL> You can export specific folders and save the resulting file either to the server or to your local machine (in the management interface view the content of a folder, choose the import/export tab and click export) cb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of matt > Sent: zaterdag 14 oktober 2000 5:59 > To: zope@zope.org > Subject: [Zope] backing up > > > Is there a nice way to backup dtml documents and methods from a > certain point > in the object tree onwards without having to save all the other > objects too? > > regards > Matt > > > _______________________________________________ > 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 ) > > From stefan@epy.co.at Mon Oct 16 09:40:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 16 Oct 2000 10:40:17 +0200 (CEST) Subject: [Zope] ZClass derrived from Image does not call "view" from within In-Reply-To: <009401c036dd$58de4d50$e21ac73f@wingw> Message-ID: On Sun, 15 Oct 2000, Noah wrote: > I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work > similar to an Image, but the user can insert it directly in DTML using > and it will get expanded into HTML (with formatting, tag, caption, etc.) FWIW the Image object does exactly that already. > 2. The Publisher does not call the view method (index_html) of the object! > Instead it calls str() which is __str__ in Image and that calls Image.tag(). > I can't overload __str__ because Zope does not allow a method to start > with _ underscore. This is the way it works! For creating ZClasses that render on __str__ see http://www.zope.org/Members/lalo/Renderable-ZClass HTH Stefan From soren@roug.org Mon Oct 16 10:39:39 2000 From: soren@roug.org (Soren Roug) Date: Mon, 16 Oct 2000 11:39:39 +0200 Subject: [Zope] I want to use html_quote as a function Message-ID: <39EACCDB.403786A7@roug.org> Hi, I can render text that potentially has html in it safely with but what if I want to assign the quoted result to another variable. I tried It didn't work. How do I solve this problem? Sincerely yours, Soren Roug From chrisw@nipltd.com Mon Oct 16 10:57:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 16 Oct 2000 10:57:23 +0100 Subject: [Zope] Distribution Tab References: Message-ID: <39EAD103.E12F18DA@nipltd.com> Seb Bacon wrote: > > In the Zope PTK there are a couple of products that have been packaged as > product.dats. > What format are these? How do I do it? If you go into any of your TTW products in the Control Panel, you'll see a 'Distribution' management tab. That'll let you create your own distributions... cheers, Chris From richard@dcs.co.uk Mon Oct 16 10:47:32 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 10:47:32 +0100 Subject: [Zope] MySQL and Zope struggles Message-ID: <4.3.2.7.2.20001016103331.023a3370@195.60.12.162> I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk From administrator@consotec.de Mon Oct 16 12:10:54 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 16 Oct 00 11:10:54 UT Subject: [Zope] MySQL and Zope struggles Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes =3D > where note_id =3D > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id =3D 23; > update note set notes =3D 'asdasda' where note-id =3D note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --------------1DD2510B41FE-- From jonathan@home-all.org.uk Mon Oct 16 14:08:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 14:08:17 +0100 Subject: [Zope] How to use the date fmt's Message-ID: <39EAFDC1.F1160B04@home-all.org.uk> Hi all, in the various docs it shows various fmt= to display different date types etc. It also shows some date formats that seem more like methods themselves, ie IsCurrentMonth returns true if etc. How can I use these in expressions? Jonathan From PHarris@jimbeam.co.uk Mon Oct 16 14:52:58 2000 From: PHarris@jimbeam.co.uk (Harris Peter) Date: Mon, 16 Oct 2000 14:52:58 +0100 Subject: [Zope] Manipulating acl_users with DTML methods Message-ID: <05BFCA312976D111B3B10060B06B14F286C2B3@UKDH-SV-0003> Hi I am new to this, and probably trying to do things the wrong way but: I have a PostgreSQL table of users for my Zope application, and ZSQL methods for inserting, updating and deleting users from the table. The only reason I am doing this is to associate their real name and email address with their user id. Is it possible to do some kind of dtml-call to insert, update or delete Zope users? I don't want the administrator of the application to have to maintain user information in 2 places. Also, is there some way for a user to change their own password, without them having permissions to manage other users? Peter Harris **************************************************************************** This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee. If you have received this communication in error, please delete the message and notify JBB (Greater Europe) Plc immediately on 0141-249-6285. The views expressed in this email are not necessarily the views of JBB (Greater Europe) PLC. As it has been transmitted over a public network, JBB (Greater Europe) PLC makes no representation nor accepts any liability for the email's accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify JBB (Greater Europe) Plc immediately on 0141-249-6285. **************************************************************************** From tony.mcdonald@ncl.ac.uk Mon Oct 16 15:08:43 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Mon, 16 Oct 2000 15:08:43 +0100 Subject: [Zope] How to use the date fmt's In-Reply-To: <39EAFDC1.F1160B04@home-all.org.uk> References: <39EAFDC1.F1160B04@home-all.org.uk> Message-ID: At 2:08 pm +0100 16/10/00, Jonathan Cheyne wrote: >Hi all, in the various docs it shows various fmt= to display different >date types etc. It also shows some date formats that seem more like >methods themselves, ie IsCurrentMonth returns true if etc. > try this http://www.zope.org/Members/AlexR/CustomDateFormats tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From jonathan@home-all.org.uk Mon Oct 16 15:39:07 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 15:39:07 +0100 Subject: [Zope] Need help with date comparisons Message-ID: <39EB130B.E72DC80A@home-all.org.uk> Hi all again. I have a blank in my mind where I hoped the answer might be to this probably straightforward exercise. I have a zclass containing a date property called event_date. I want a page that loops through the months of the year, starting with the current month, and in each loop displays all the instances from the catalog with an event_date within the month in question. I just get stuck, completely stuck, trying to get the month value from the event_date and to compare it with the current month value. Anyone done this or something like this? Is this hard or am I a bit, you know, dense? thanks Jonathan From jatwood@bwanazulia.com Mon Oct 16 16:33:09 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 11:33:09 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com Message-ID: http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope &number=10&DaysPrune=60&LastLogin= I found this awhile ago and it has been pretty inactive (until last week when I started posting.. :) ). It would be great to see some of the list subscribers here and other members of the Zope community get involved. It is something that I think is much needed on Zope.org (A bulletin board system... I am SURE that I could suggest one!) as it helps Newbies and provides a more solid, long lasting and manageable discussion. Maybe something for ZDP if not for Zope.org. Comments? Suggestions? Thanks, J From 444@hiretechs.com Mon Oct 16 07:34:21 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:34:21 GMT Subject: [Zope] Need help with date comparisons In-Reply-To: <39EB130B.E72DC80A@home-all.org.uk> References: <39EB130B.E72DC80A@home-all.org.uk> Message-ID: <20001016063421.13022.qmail@mail.hiretechs.com> Jonathan: You can try: The source for DateTime() is pretty easy to follow. You can look for you format's there. All my best, > Hi all again. > > I have a blank in my mind where I hoped the answer might be to this > probably straightforward exercise. > > I have a zclass containing a date property called event_date. > > I want a page that loops through the months of the year, starting with > the current month, and in each loop displays all the instances from the > catalog with an event_date within the month in question. > > I just get stuck, completely stuck, trying to get the month value from > the event_date and to compare it with the current month value. > > Anyone done this or something like this? Is this hard or am I a bit, you > know, dense? > > thanks > > Jonathan > > > > > _______________________________________________ > 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 ) > 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. From ecolmar@uswest.net Mon Oct 16 16:49:10 2000 From: ecolmar@uswest.net (ed colmar) Date: Mon, 16 Oct 2000 09:49:10 -0600 Subject: [Zope] LoginManager - With SQL Message-ID: <002501c03788$a0d57ec0$0400000a@caliber> Thanks for the tips everyone! I keep going between UserDb and LoginManager to try to get this to work. UserDb gives me weird errors, and isn't really current, so I'm focusing on LM. I feel like I'm getting closer to a solution, but I'm still having difficuties... I followed jPenny's how to regarding accessing SQL method variables from within python, and wrapped the retrieveItem result in a User Class. It seems like it is at least running my code now, but no authentication... Am I close? Can Anyone working with LoginManager offer any insight into this? Thanks! -e- Here's the code I have in UserSources.py class User(BasicUser): """ A wrapper for the basic user class """ icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class PGCryptUserSource(BasicUserSource): """ A sql based encrypted user source """ meta_type="PG Crypt User Source" __plugin_kind__="User Source" def retrieveItem(self, name): try: res=self.getuserbyusername(username=name) except: return None fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] username=res[0][fields2index['username']] password=res[0][fields2index['password']] roles=res[0][fields2index['roles']] domains=res[0][fields2index['domains']] return User(username, password, roles, domains) def rolesForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] roles=res[0][fields2index['roles']] return roles def domainsForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] domains=res[0][fields2index['domains']] return domains def authenticateUser(self, user, password, request): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] passwd=res[0][fields2index['password']] if crypt.crypt(password,'ab')==passwd: return 1 else: return 0 Here's one of the tracebacks that I get: Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 108, in validate (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/LoginMethods.py, line 235, in findLogin (Object: PlugInBase) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 65, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/ZPatterns/Rack.py, line 60, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 522, in retrieveItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 485, in __init__ TypeError: (see above) From 444@hiretechs.com Mon Oct 16 07:50:02 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:50:02 GMT Subject: [Zope] Creating Recursive Folders In-Reply-To: <14824.51816.369709.647151@lindm.dm> References: <14824.51816.369709.647151@lindm.dm> Message-ID: <20001016065002.13406.qmail@mail.hiretechs.com> Dieter: Perhaps you misunderstood me. THis is an example of how convuluted DTML can get, but if you have an example of how to do it clearly, I'd love to see it. > Jason Spisak writes: > > > > > 1).manage_addFolder(_.str(_['sequence-item']), > > _.str(_['sequence-item']))"> > > Throws an unathorized no matter who I am. How can I get 3 levels of > > recursion. I tried using 'let' to stand for the object, with no luck. > That's the just penalty for writing weird code ;-) > Actually, that's the penalty for using DTML. There's a difference. > When you would introduce names for destination folder > and id, you could use the same pattern for *all* levels. I don't understand what you are getting at here. > You and other persons would understand what you do > and you would not accidentally use the attribute "_". > I personally, don't like using the "_" attribute at all. But in situation like this, I don't see another way. Please enlighten me. Jason Spisak 444@hiretechs.com From Marcin.Kasperski@softax.com.pl Mon Oct 16 17:00:21 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Mon, 16 Oct 2000 18:00:21 +0200 Subject: [Zope] Using ProxyPass and SiteRoot References: <14822.16511.306738.502938@localhost.localdomain> Message-ID: <39EB2615.CCADC175@softax.com.pl> "\"Geoffrey L. Wright\" > > knight writes: > > > Timothy, > > > > Without going into too much detail, you are going to want to set up a > > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > > that virtual host you will want to add your ProxyPass lines similar to my > > example: > > [...] > > And just for reference, here's another working example with ProxyPass: > > NameVirtualHost 172.17.10.13 > > > ServerName syslog.integritysi.com > ServerAdmin geoff@integritysi.com > ProxyPass / http://vishnu.integritysi.com:8080/syslog/ > ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ > ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ > ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ > ErrorLog logs/syslog.integritysi.com > TransferLog logs/syslog.integritysi.com > > > Good luck, and don't forget to enable the ProxyPass module. > Some remarks: 1) If you use custom product which contain images, it is useful to add sth like ProxyPass /Control_Panel/Products/Mycustomproduct http://localhost:9673/Control_Panel/Products/Mycustomproduct (otherwise you will not see the images which belong to the product - in my case I couldn't see the product icons on management screens). Reverse pass for this purpose is not needed. 2) ZCatalog does not work with SiteRoot. Smaller problem: the URLs returned are incorrect (you can parse them with dtml). Greater problem: attempt to find new items fails (the only solution I found is to remove SiteRoot, find/update ZCatalog, add SiteRoot again). 3) You loose original IP address (you can use mod_proxy_add_forward custom Apache module to preserve it in the custom X-Forwarded-For header, so far I have not managed to recover original addresses in zope log and for logging verification). -- http://www.mk.w.pl / Marcin.Kasperski | Poradnik dla kupuj±cych mieszkanie: @softax.com.pl | http://www.kupmieszkanie.prv.pl @bigfoot.com \ From rdolense@globalcrossing.com Mon Oct 16 17:01:18 2000 From: rdolense@globalcrossing.com (Ryan M. Dolensek) Date: Mon, 16 Oct 2000 11:01:18 -0500 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> Message-ID: <39EB264E.5F1CFE62@globalcrossing.com> try... ryan Soren Roug wrote: > Hi, > > I can render text that potentially has html in it safely with > > > > but what if I want to assign the quoted result to another variable. > > I tried > > > > It didn't work. How do I solve this problem? > > Sincerely yours, > > Soren Roug > > _______________________________________________ > 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 ) -- Ryan Dolensek Software Engineer Global Crossing (920)405-4812 rdolense@globalcrossing.com From fred@ontosys.com Mon Oct 16 17:06:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 11:06:53 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <20001016110653.A4476@enteract.com> I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions? If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Eric@Walstads.net Mon Oct 16 16:49:51 2000 From: Eric@Walstads.net (Eric Walstad) Date: Mon, 16 Oct 2000 08:49:51 -0700 Subject: [Zope] HELP! Permissions problem, ZClass Message-ID: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new instance of the ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't helping. Any pointers? Thanks, Eric. Here's the traceback: Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access CNewsItem. Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: buildNews) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: buildNews) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: manage_addProduct['NewsItem']) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: CNewsItem_add(_.None, _, NoRedir=1)) (Info: _) File , line 0, in ? File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) (Info: CNewsItem) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: buildNews) File /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate Unauthorized: (see above) From Robert_J_Roberts@rl.gov Mon Oct 16 17:27:48 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 16 Oct 2000 09:27:48 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> I do pretty much the same things myself. I assign sys.stderr = sys.stdout, then I create my own log file object from a module I wrote a few years ago, and then assign something like sys.stderr = self.logObj. That works well for any errors that occur after those assignments have occurred but doesn't do much for anything that happens earlier. I also run the python code outside of Zope to get it all working. It's just a pain when I have to make some minor change in the Zope to External Method logic and it breaks. That's where I start to lose it some in the debugging. Using something like: import sys, traceback, string try: trysomething() except: type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb ...helps, but even with that I seem to get errors that I just can't seem to catch and report properly. I'm not sure what you are referring to with "...the Python debugger "pdb"...". I've never used it. Thanks for your help, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, October 14, 2000 1:51 PM To: Robert_J_Roberts@rl.gov Cc: zope@zope.org Subject: Re: [Zope] Help Debugging External Methods Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From Morton@dennisinter.com Mon Oct 16 17:27:53 2000 From: Morton@dennisinter.com (Damien Morton) Date: Mon, 16 Oct 2000 12:27:53 -0400 Subject: [Zope] Microsoft Zope Message-ID: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/DesignKMS ols.htm Looks like MS has embraced the Zope way of doing things From jatwood@bwanazulia.com Mon Oct 16 18:05:34 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 13:05:34 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com> Message-ID: You could just upload them into Zope and point to them. http://www.gotschool.com (see flash demos). It uploads as a "application/octet-stream" I am sure you are talking about much more interaction. J > From: Fred Yankowski > Date: Mon, 16 Oct 2000 11:06:53 -0500 > To: zope@zope.org > Subject: [Zope] how to include Flash/SWF objects in Zope website? > > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From dale.w.lance@mail.sprint.com Mon Oct 16 17:40:29 2000 From: dale.w.lance@mail.sprint.com (dale.w.lance@mail.sprint.com) Date: Mon, 16 Oct 2000 11:40:29 -0500 Subject: [Zope] MySQL and Zope struggles Message-ID: --openmail-part-2b1fc156-00000001 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline ;Creation-Date="Mon, 16 Oct 2000 11:40:29 -0500" Content-Transfer-Encoding: 7bit Or you could renormalize your data to have: --------- ----------- | Artist | | Note | |---------|-------|-----------| | id | | id | --------- | artist_id | | note_str | ----------- you now have a list of notes by artist_id. You typically won't have a screen that doesn't have an Artist context to be adding a note to. (or to remove all notes from). Of course this means more work to migrate :-( And I don't know all possible scenarios for which you would need the structure you gave, but it is another way around this. It probably doesn't solve real complex scenarios either. JAT Dale -----Original Message----- From: administrator [mailto:administrator@consotec.de] Sent: Monday, October 16, 2000 6:11 AM To: zope Cc: administrator Subject: Re: [Zope] MySQL and Zope struggles I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes = > where note_id = > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id = 23; > update note set notes = 'asdasda' where note-id = note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --openmail-part-2b1fc156-00000001-- From cvasco@netadvisors-ec.com Mon Oct 16 12:48:04 2000 From: cvasco@netadvisors-ec.com (Carlos Vasconez) Date: Mon, 16 Oct 2000 12:48:04 +0100 Subject: [Zope] Question! Message-ID: <001b01c03766$f3aa25a0$0b0a64be@orbiscorp> This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I am read about zope.
Question?
I can use Zope with NT Server, IIS 4 = and SQLServer=20 ?
I have a Database in = SQLServer
 
Thanks
 
Carlos
---------
------=_NextPart_000_0018_01C0376F.5371AC30-- From jwashin@vt.edu Mon Oct 16 19:10:03 2000 From: jwashin@vt.edu (Jim Washington) Date: Mon, 16 Oct 2000 14:10:03 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? References: Message-ID: <39EB447B.4060801@vt.edu> N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects. -- Jim Washington J. Atwood wrote: > You could just upload them into Zope and point to them. > > http://www.gotschool.com (see flash demos). > > It uploads as a "application/octet-stream" > > I am sure you are talking about much more interaction. > > J > From richard@dcs.co.uk Mon Oct 16 19:10:10 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 19:10:10 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: Message-ID: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Nice idea. Trouble is the note table is used to hold notes for many different reasons, so it looks like this - ----------- ------------ -------- | Artist | | Recording | | Label | etc. ----------- ------------ -------- | artist_id | |recording_id| |label_id| | note_id | |note_id | |note_id | ----------- ------------ -------- | | | | | --------------------------------------------------------- | ---------- | Note | ---------- | note_id | | notes | ---------- It looks as if there wasn't anything I was missing - I'm just going to have to break the code up into separate SQL Methods. The example I gave was quite simple compared to some of the updates I have to deal with. Thanks anyway. At 17:40 16/10/00, you wrote: >Or you could renormalize your data to have: > > --------- ----------- >| Artist | | Note | >|---------|-------|-----------| >| id | | id | > --------- | artist_id | > | note_str | > ----------- > >you now have a list of notes by artist_id. >You typically won't have a screen that doesn't have an Artist context >to be adding a note to. (or to remove all notes from). >Of course this means more work to migrate :-( >And I don't know all possible scenarios for which you would >need the structure you gave, but it is another way around this. >It probably doesn't solve real complex scenarios either. > >JAT > >Dale Richard Moon richard@dcs.co.uk From troy.farrell@wilcom.com Mon Oct 16 20:04:30 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Mon, 16 Oct 2000 14:04:30 -0500 Subject: [Zope] Question! Message-ID: Yes you can. You will need ZODBC to connect to the SQLServer. Make sure that SQL server is available as a "System DSN" on it's host. You will also need a username and password to connect. Zope will ask you for this in the DSN string. Best of luck to you. Troy Troy Farrell Video Operations Technician III Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:troy.farrell@wilcom.com http://www.williams.com -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 6:48 AM To: zope@zope.org Subject: [Zope] Question! Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- From mj@digicool.com Mon Oct 16 20:04:48 2000 From: mj@digicool.com (Martijn Pieters) Date: Mon, 16 Oct 2000 21:04:48 +0200 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com>; from fred@ontosys.com on Mon, Oct 16, 2000 at 11:06:53AM -0500 References: <20001016110653.A4476@enteract.com> Message-ID: <20001016210448.B12837@zopatista.com> On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote: > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. I once hacked together a simple 'Flash' object in a Python based Product. It was just a class derived from the File object, which behaved very much like the Image object. If called by DTML, it would return the appropriate HTML to include the Flash animation in the page, whcih could be customized with a special method very much like the '.image()' method on Image objects. Alas, the class was written for a previous employer, and never released as Open Source. But it was dead easy to create. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From fred@ontosys.com Mon Oct 16 20:21:02 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 14:21:02 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <39EB447B.4060801@vt.edu> References: <39EB447B.4060801@vt.edu> Message-ID: <20001016142102.A17053@enteract.com> Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: + create File object with id "foo_swf". + upload my local foo.swf file into foo_swf. + create DTML Method object "foo_flash" to provide all the HTML OBJECT and EMBED elements needed to wrap the flash object, referring to that flash object as '' and 'src="foo_swf"', respectively. + use '' to display the flash object in a DTML Document. On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote: > N.B. You probably should add your Flash/SWF objects as "File" objects. > DTML Method/Document objects can do amusing things with binary data, > which is why there are "File" objects. > > -- Jim Washington > > J. Atwood wrote: > > > You could just upload them into Zope and point to them. > > > > http://www.gotschool.com (see flash demos). > > > > It uploads as a "application/octet-stream" > > > > I am sure you are talking about much more interaction. > > > > J -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From leedm@state.mi.us Mon Oct 16 20:25:55 2000 From: leedm@state.mi.us (Darin Lee) Date: Mon, 16 Oct 2000 15:25:55 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1018 - 39 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Oliver Sturm" Hi, is there any information available about the general usability of ZEO? Mainly stability is interesting to me, feature completeness is not so important. MfG, Oliver Sturm -- Who is General Failure and why is he reading my disk? -- Oliver Sturm / Key ID: 71D86996 Fingerprint: 8085 5C52 60B8 EFBD DAD0 78B8 CE7F 38D7 71D8 6996 From peter@grenna.net Mon Oct 16 20:19:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Mon, 16 Oct 2000 20:19:09 +0100 Subject: [Zope] Zope Discussion Forum @ DevShed.com References: Message-ID: <007301c037a8$89a1a740$01d4a8c0@peppe> here here! I definitly agree! Forum's are much easier to categorize and browse for answers than the mailing list. Categorization should be per subject, not per experience. If Zope.org doesn't want to set one up, then let the best man win. (i.e. make it fast) > http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope > &number=10&DaysPrune=60&LastLogin= > > I found this awhile ago and it has been pretty inactive (until last week > when I started posting.. :) ). It would be great to see some of the list > subscribers here and other members of the Zope community get involved. It is > something that I think is much needed on Zope.org (A bulletin board > system... I am SURE that I could suggest one!) as it helps Newbies and > provides a more solid, long lasting and manageable discussion. > > Maybe something for ZDP if not for Zope.org. > > Comments? Suggestions? > > Thanks, > J > > > > > _______________________________________________ > 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 ) > From karl@digicool.com Mon Oct 16 21:18:50 2000 From: karl@digicool.com (Karl Anderson) Date: 16 Oct 2000 13:18:50 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Terry Kerr's message of "Fri, 13 Oct 2000 09:45:14 +1100" References: <39E63EFA.FE2BF947@adroit.net> Message-ID: Terry Kerr writes: > I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. > > terry Actually, the advantage of the monitor is that it runs in the same process as your server, so you can track resource issues. Mounting the database separately avoids this. -- Karl Anderson karl@digicool.com From bobc@p-wave.com Mon Oct 16 08:50:23 2000 From: bobc@p-wave.com (Bob Corriher) Date: Mon, 16 Oct 2000 03:50:23 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <39EAB33F.50AC6DFB@p-wave.com> Hi Fred, We use Flash in most of the sites we develop with Zope. We just upload the swf file into a File object and call it from the index_html method as follows: splashpage
The File object is named splaspage.swf, but the extension is not necessary. It could have been called splashpage or anything else. Hope this helps. Bob Corriher P-Wave Inc. From jatwood@bwanazulia.com Mon Oct 16 20:50:06 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 15:50:06 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: <007301c037a8$89a1a740$01d4a8c0@peppe> Message-ID: I am more than happy to set up a ZUBB somewhere as well. A sort of Zope starter, question and/answer forum. Is this something that the community is generally interested in or not? J > From: "Peter Bengtsson" > Date: Mon, 16 Oct 2000 20:19:09 +0100 > To: "J. Atwood" > Cc: > Subject: Re: [Zope] Zope Discussion Forum @ DevShed.com > > here here! > > I definitly agree! Forum's are much easier to categorize and browse for > answers than the mailing list. > Categorization should be per subject, not per experience. > > If Zope.org doesn't want to set one up, then let the best man win. (i.e. make > it fast) > > > >> http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope >> &number=10&DaysPrune=60&LastLogin= >> >> I found this awhile ago and it has been pretty inactive (until last week >> when I started posting.. :) ). It would be great to see some of the list >> subscribers here and other members of the Zope community get involved. It is >> something that I think is much needed on Zope.org (A bulletin board >> system... I am SURE that I could suggest one!) as it helps Newbies and >> provides a more solid, long lasting and manageable discussion. >> >> Maybe something for ZDP if not for Zope.org. >> >> Comments? Suggestions? >> >> Thanks, >> J >> >> >> >> >> _______________________________________________ >> 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 ) >> > > From aschneider@cmpweb-dns0.web.cerf.net Mon Oct 16 21:40:28 2000 From: aschneider@cmpweb-dns0.web.cerf.net (aschneider) Date: Mon, 16 Oct 2000 13:40:28 -0700 (PDT) Subject: [Zope] About your ShareWare Message-ID: <200010162040.NAA07202@cmpweb-devel0.web.cerf.net> As a Shareware Author, you should be listing your files on FileMine... it's fast, easy and free! This Week's Most Popular file, Bugtoaster 1.0.00.2710 BETA, has been downloaded 17331 times! There's no reason this can't be your file - use the link below to add it now: http://www.filemine.com/AddYourFiles (This is a one time email and serves as a reminder only. You will not receive any further emails from us or anyone affiliated with us again.) From zope@grewen.de Tue Oct 17 01:28:47 2000 From: zope@grewen.de (Jens Grewen) Date: Tue, 17 Oct 2000 02:28:47 +0200 Subject: [Zope] test Message-ID: <001001c037d1$376607e0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_000D_01C037E1.FA3F5E00-- From bak@nstp.com.my Tue Oct 17 03:02:26 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Tue, 17 Oct 2000 10:02:26 +0800 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: References: Message-ID: <00101710022602.04363@tokey.kedai.com.my> On Tuesday 17 October 2000 09:57, J. Atwood wrote: > I am more than happy to set up a ZUBB somewhere as well. A sort of Zope > starter, question and/answer forum. Is this something that the community is > generally interested in or not? > > J > i would think that having a forum at Zope.org or zdp.org is great. this way we can really show how zope scales, and improve and show zope products. if the board is at zope.org/zdp, then i would think most zopistas will be around to answer. forum is unlike mailing lists. you need that extra click to go to a forum. my .02 -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From kthangavelu@earthlink.net Mon Oct 16 22:34:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Mon, 16 Oct 2000 14:34:58 -0700 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> <39EB264E.5F1CFE62@globalcrossing.com> Message-ID: <39EB7482.451B73CD@earthlink.net> Hello, "Ryan M. Dolensek" wrote: > > try... > > "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))"> huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about it? > ryan > > Soren Roug wrote: > > > Hi, > > > > I can render text that potentially has html in it safely with > > > > > > > > but what if I want to assign the quoted result to another variable. > > > > I tried > > > > > > > > It didn't work. How do I solve this problem? the html_quote of dtml-var is done on rendering so you really can't capture the variable in a transformed state. the solution is to roll your own pythonmethod. here's one to the trick. html_encode ttw python method PARAMETERS: text BODY string = _.string character_entities={"'&'":"&","<":"<", "'>'":">","\213": '<', "\233":'>','"':"""} text=str(text) for re,name in character_entities.items(): if string.find(text, re) >= 0: text=string.join(string.split(text,re),name) return text /END BODY so for your example you would do qualifying description if you need to. cheers kapil From jfarr@speakeasy.org Tue Oct 17 05:32:10 2000 From: jfarr@speakeasy.org (Jonothan Farr) Date: Mon, 16 Oct 2000 21:32:10 -0700 Subject: [Zope] new LocalFS release: 0.9.6 Message-ID: <009201c037f3$381429c0$0200000a@dreaming.jfarr.org> Changes v0.9.6 - Fixed saving large File and Image objects. - Added ZCatalog support. http://www.zope.org/Members/jfarr/Products/LocalFS/ --jfarr From amador@alomega.com Tue Oct 17 05:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:49:47 -0500 Subject: [Zope] Newbie question : ZopeTime & permissions References: Message-ID: <39EBDA6B.A3262C87@alomega.com> --------------A9875BC7D53E5CDA03940B55 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information I guess. Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A9875BC7D53E5CDA03940B55 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information
I guess.

Aaron Straup Cope wrote:

Hi,

My name is Aaron.

I am trying to set up zope with (atleast) three roles : manager, admin,
user.

I'd like to give the last two the bare minimum Security permissions
possible and adding them as needed later on.

My problem is that I can't seem to figure out, specifically, which
permissions to give a user that will allow them to read ZopeTime().

(see below)

For the admin user, I have set the Access content information and View *
options globally. I've tried guessing at some others, but there are alot
of possible combinations to try so I thought maybe I would just ask.

Related, is there a detailed description of the default Security
settings? I've checked the mailing lists and the Zope docs and if it's
there, I guess I missed it.

Thanks,

<dtml-call "REQUEST.set('ts', ZopeTime())">
<dtml-call "REQUEST.set('foo',_.str(_.int(ts)))">

<dtml-var foo>

Traceback (innermost last):
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: test)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: test)
  File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in
__call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line
528, in __call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object: REQUEST.set('ts', ZopeTime()))
    (Info: REQUEST)
  File <string>, line 0, in ?
NameError: (see above)

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

-- 
Manuel Amador (Rudd-O)
  --------------A9875BC7D53E5CDA03940B55-- From amador@alomega.com Tue Oct 17 06:12:16 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:12:16 -0500 Subject: [Zope] DTML Method not working References: <39E0D1F2.B7C30E8D@hal-pc.org> <003801c0309e$93e8afc0$d183bcd4@harrisf4scs8le> Message-ID: <39EBDFB0.C979F996@alomega.com> --------------0D43265D657296791815E7E1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Phil Harris wrote: > Is the code you used in a DTML Method or a DTML Document? > > Is it in a DTML Method being called from a DTML Document? > > If the answer to either of these is 'yes' then it's doing as you ask! > > The thing that gets most new zope users is that a DTML Document is itself a > container. This means that anytime you use code similar to yours or when > using a it will probably return a blank, as the DTML > Dopcument has no children(?!?). > > Solutions: > > 1. Try moving the code into a DTML Method. > 2. Use a dtml-with around it. > > The second one works most places but if in the root then it's slightly more > difficult as the top object is hard to reference (please someone tell me I'm > wrong here). > > You could try something like: > > >
    > >

  • >
    >
>
> > The resolve_url(BASE0+'/') should give you a reference to the top Zope > object (root). > > hth > > Phil > phil.harris@zweb.co.uk > > ----- Original Message ----- > From: "Ronald L. Chichester" > To: > Sent: Sunday, October 08, 2000 8:58 PM > Subject: [Zope] DTML Method not working > > > I took some code that was in the (work-in-progress) O'Riley book on > > Zope. In that example, then had a DTML Method used for identifying > > folders and hyperlinking to them. The code is as follows: > > > >
    > > > >

  • > >
    > >
> > > > The problem is, it doesn't work. I know the method is being invoked > > because there is some other text that is indeed being inserted. > > Moreover, there are sub-folders in the folder that calls the method. > > > > Does anyone know what the problem is? Is it a permission issue. The > > standard_html_header and _footer, show up just fine, along with logos > > and such. The only part that isn't showing up is the stuff that was > > supposed to be generated by the block. > > > > Any hints? > > > > Thanks in advance. > > > > Ron > > ./. > > > > > > _______________________________________________ > > 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 ) -- Manuel Amador (Rudd-O) --------------0D43265D657296791815E7E1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <dtml-with "PARENT[0]">
<dtml-tree>

Phil Harris wrote:

Is the code you used in a DTML Method or a DTML Document?

Is it in a DTML Method being called from a DTML Document?

If the answer to either of these is 'yes' then it's doing as you ask!

The thing that gets most new zope users is that a DTML Document is itself a
container.  This means that anytime you use code similar to yours or when
using a <dtml-tree ...> it will probably return a blank, as the DTML
Dopcument has no children(?!?).

Solutions:

1.    Try moving the code into a DTML Method.
2.    Use a dtml-with around it.

The second one works most places but if in the root then it's slightly more
difficult as the top object is hard to reference (please someone tell me I'm
wrong here).

You could try something like:

<dtml-with expr="resolve_url(BASE0+'/')">
<ul>
<dtml-in expr="objectValues('Folder')">
 <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
</dtml-in>
</ul>
</dtml-with>

The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).

hth

Phil
phil.harris@zweb.co.uk

----- Original Message -----
From: "Ronald L. Chichester" <complaw@hal-pc.org>
To: <zope@zope.org>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working

> I took some code that was in the (work-in-progress) O'Riley book on
> Zope.  In that example, then had a DTML Method used for identifying
> folders and hyperlinking to them.  The code is as follows:
>
> <ul>
> <dtml-in expr="objectValues('Folder')">
>  <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
> </dtml-in>
> </ul>
>
> The problem is, it doesn't work.  I know the method is being invoked
> because there is some other text that is indeed being inserted.
> Moreover, there are sub-folders in the folder that calls the method.
>
> Does anyone know what the problem is?  Is it a permission issue.  The
> standard_html_header and _footer, show up just fine, along with logos
> and such.  The only part that isn't showing up is the stuff that was
> supposed to be generated by the <dtml-in> block.
>
> Any hints?
>
> Thanks in advance.
>
> Ron
>  ./.
>
>
> _______________________________________________
> 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 )

-- 
Manuel Amador (Rudd-O)
  --------------0D43265D657296791815E7E1-- From amador@alomega.com Tue Oct 17 06:17:53 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:17:53 -0500 Subject: [Zope] Socket.error problem References: <39E00FC8.CEF8A9D0@hal-pc.org> Message-ID: <39EBE100.7BBBB410@alomega.com> --------------3F0FD8D006732218DB5BA327 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit user processes cannot bind to ports lower than 1024. Never forget dat. "Ronald L. Chichester" wrote: > I'm getting the exact same socket.error message that appeared on this > list in March, 2000. (See the attached problem.txt file.) > Specifically, this is the error message that I get when I start zope. > The person who kindly identified the problem didn't provide a solution. > I have my netstat -a results attached as netstat.txt. Could someone > tell me how I can resolve this port conflict? > > Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration. > > Thanks in advance, > > Ron > ./. > > This is the reply that was provided to the first person who encountered > this problem (and submitted it to the list): > > > > You have another process that is "bind" to port 98... > > this is the registered port for "tacnews". > > try "netstat -a" under the shell... > > ----- Message d'origine ----- > De : Ulf Byskov > À : > Envoyé : lundi 13 mars 2000 11:28 > Objet : [Zope] socket problem > > > When I try to start Z Server i get the following error messages: > > > > File > > > "/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a > > syncore.py", > > line 205, in bind > > return self.socket.bind (addr) > > socket.error: (98, 'Address already in use') > > > > > > I don't use the number 98 in any address or port (http=80, ftp='' and > > monitor='') > > so what could this error be about ? > > > > > > > > > > ------------------------------------------------------------------------ > [nobody@localhost Zope-2.2.2-linux2-x86]$ ./start > ------ > 2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt 8 00:31:03 2000 > Hostname: localhost.localdomain > Port:8080 > > Traceback (innermost last): > File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ? > logger_object=lg) > File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__ > apply(ftp_server.__init__, (self, None) + args, kw) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in __init__ self.bind ((self.ip, self.port)) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind return self.socket.bind (addr) > socket.error: (98, ?Address already in use?) > > ------------------------------------------------------------------------ > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp 0 0 *:6000 *:* LISTEN > tcp 0 0 *:3053 *:* LISTEN > tcp 0 0 *:8021 *:* LISTEN > tcp 0 0 *:postgres *:* LISTEN > tcp 0 0 *:www *:* LISTEN > tcp 0 0 *:smtp *:* LISTEN > tcp 0 0 *:printer *:* LISTEN > tcp 0 0 *:pop3 *:* LISTEN > tcp 0 0 *:telnet *:* LISTEN > tcp 0 0 *:ftp *:* LISTEN > tcp 0 0 *:auth *:* LISTEN > tcp 0 0 *:sunrpc *:* LISTEN > udp 0 0 *:xdmcp *:* > udp 0 0 *:sunrpc *:* > raw 0 0 *:icmp *:* 7 > raw 0 0 *:tcp *:* 7 > Active UNIX domain sockets (servers and established) > Proto RefCnt Flags Type State I-Node Path > unix 1 [ ] STREAM CONNECTED 26342 @000000d9 > unix 0 [ ACC ] STREAM LISTENING 1402 public/showq > unix 0 [ ACC ] STREAM LISTENING 1398 private/smtp > unix 0 [ ACC ] STREAM LISTENING 1389 private/bounce > unix 0 [ ] STREAM CONNECTED 194 @0000001d > unix 1 [ ] STREAM CONNECTED 26259 @000000cb > unix 0 [ ACC ] STREAM LISTENING 2816 /var/run/pcgi.soc > unix 0 [ ACC ] STREAM LISTENING 1406 private/error > unix 9 [ ] DGRAM 382 /dev/log > unix 0 [ ACC ] STREAM LISTENING 2792 /tmp/.font-unix/fs-1 > unix 0 [ ACC ] STREAM LISTENING 1687 /dev/gpmctl > unix 0 [ ACC ] STREAM LISTENING 1410 private/local > unix 0 [ ACC ] STREAM LISTENING 1414 private/cyrus > unix 1 [ ] STREAM CONNECTED 26267 @000000ce > unix 1 [ ] STREAM CONNECTED 26253 @000000c8 > unix 0 [ ACC ] STREAM LISTENING 2848 /tmp/.X11-unix/X0 > unix 0 [ ACC ] STREAM LISTENING 1418 private/uucp > unix 1 [ ] STREAM CONNECTED 26269 @000000cf > unix 0 [ ACC ] STREAM LISTENING 1422 private/ifmail > unix 1 [ ] STREAM CONNECTED 26263 @000000cc > unix 0 [ ACC ] STREAM LISTENING 1427 private/bsmtp > unix 1 [ ] STREAM CONNECTED 26265 @000000cd > unix 1 [ N ] STREAM CONNECTED 26277 @000000d1 > unix 0 [ ACC ] STREAM LISTENING 473 /dev/printer > unix 1 [ ] STREAM CONNECTED 26292 @000000d2 > unix 0 [ ACC ] STREAM LISTENING 26275 /tmp//kfm_501_1753localhost.localdomain_0 > unix 1 [ ] STREAM CONNECTED 26247 @000000c6 > unix 1 [ ] STREAM CONNECTED 26177 @000000b5 > unix 1 [ N ] STREAM CONNECTED 26271 @000000d0 > unix 1 [ ] STREAM CONNECTED 26180 @000000b6 > unix 0 [ ACC ] STREAM LISTENING 1378 private/cleanup > unix 1 [ ] STREAM CONNECTED 26312 @000000d5 > unix 0 [ ACC ] STREAM LISTENING 1385 private/rewrite > unix 0 [ ACC ] STREAM LISTENING 26273 /tmp//kio_501_1753localhost.localdomain_0 > unix 0 [ ACC ] STREAM LISTENING 2749 /tmp/.s.PGSQL.5432 > unix 0 [ ACC ] STREAM LISTENING 1393 private/defer > unix 0 [ ] DGRAM 26354 > unix 1 [ ] STREAM CONNECTED 26343 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26313 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26293 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26278 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26272 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26270 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26268 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26266 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26264 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26260 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26254 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26248 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26181 /tmp/.font-unix/fs-1 > unix 1 [ ] STREAM CONNECTED 26182 /tmp/.X11-unix/X0 > unix 0 [ ] DGRAM 2813 > unix 0 [ ] DGRAM 2812 > unix 0 [ ] DGRAM 1464 > unix 1 [ ] STREAM CONNECTED 1430 > unix 1 [ ] STREAM CONNECTED 1429 > unix 1 [ ] STREAM CONNECTED 1425 > unix 1 [ ] STREAM CONNECTED 1424 > unix 1 [ ] STREAM CONNECTED 1421 > unix 1 [ ] STREAM CONNECTED 1420 > unix 1 [ ] STREAM CONNECTED 1417 > unix 1 [ ] STREAM CONNECTED 1416 > unix 1 [ ] STREAM CONNECTED 1413 > unix 1 [ ] STREAM CONNECTED 1412 > unix 1 [ ] STREAM CONNECTED 1409 > unix 1 [ ] STREAM CONNECTED 1408 > unix 1 [ ] STREAM CONNECTED 1405 > unix 1 [ ] STREAM CONNECTED 1404 > unix 1 [ ] STREAM CONNECTED 1401 > unix 1 [ ] STREAM CONNECTED 1400 > unix 1 [ ] STREAM CONNECTED 1396 > unix 1 [ ] STREAM CONNECTED 1395 > unix 1 [ ] STREAM CONNECTED 1392 > unix 1 [ ] STREAM CONNECTED 1391 > unix 1 [ ] STREAM CONNECTED 1388 > unix 1 [ ] STREAM CONNECTED 1387 > unix 1 [ ] STREAM CONNECTED 1384 > unix 1 [ ] STREAM CONNECTED 1383 > unix 1 [ ] STREAM CONNECTED 1381 > unix 1 [ ] STREAM CONNECTED 1380 > unix 1 [ ] STREAM CONNECTED 1377 > unix 1 [ ] STREAM CONNECTED 1376 > unix 1 [ ] STREAM CONNECTED 1374 > unix 1 [ ] STREAM CONNECTED 1373 > unix 0 [ ] DGRAM 1355 > unix 0 [ ] DGRAM 486 > unix 0 [ ] DGRAM 469 > unix 0 [ ] DGRAM 403 > unix 0 [ ] DGRAM 392 -- Manuel Amador (Rudd-O) --------------3F0FD8D006732218DB5BA327 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit user processes cannot bind to ports lower than 1024.  Never forget dat.

"Ronald L. Chichester" wrote:

I'm getting the exact same socket.error message that appeared on this
list in March, 2000.  (See the attached problem.txt file.)
Specifically, this is the error message that I get when I start zope.
The person who kindly identified the problem didn't provide a solution.
I have my netstat -a results attached as netstat.txt.  Could someone
tell me how I can resolve this port conflict?

Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.

Thanks in advance,

Ron
 ./.

This is the reply that was provided to the first person who encountered
this problem (and submitted it to the list):

<MESSAGE>

You have another process that is "bind" to port 98...

this is the registered port for "tacnews".

try "netstat -a" under the shell...

----- Message d'origine -----
De : Ulf Byskov <ulf.byskov@comptel.com>
À : <zope@zope.org>
Envoyé : lundi 13 mars 2000 11:28
Objet : [Zope] socket problem

> When I try to start Z Server i get the following error messages:
>
>     File
>
"/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a

syncore.py",
> line 205, in bind
>     return self.socket.bind (addr)
>     socket.error: (98, 'Address already in use')
>
>
> I don't use the number 98 in any address or port (http=80, ftp='' and
> monitor='')
> so what could this error be about ?
>
>
>

</MESSAGE>

  ------------------------------------------------------------------------
[nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
------
2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
------
2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt  8 00:31:03 2000
        Hostname: localhost.localdomain
        Port:8080

Traceback (innermost last):
        File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ?
                logger_object=lg)
        File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__
                apply(ftp_server.__init__, (self, None) + args, kw)
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in              __init__ self.bind ((self.ip, self.port))
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind           return self.socket.bind (addr)
socket.error: (98, ?Address already in use?)

  ------------------------------------------------------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:6000                  *:*                     LISTEN
tcp        0      0 *:3053                  *:*                     LISTEN
tcp        0      0 *:8021                  *:*                     LISTEN
tcp        0      0 *:postgres              *:*                     LISTEN
tcp        0      0 *:www                   *:*                     LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 *:printer               *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
tcp        0      0 *:telnet                *:*                     LISTEN
tcp        0      0 *:ftp                   *:*                     LISTEN
tcp        0      0 *:auth                  *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
udp        0      0 *:xdmcp                 *:*
udp        0      0 *:sunrpc                *:*
raw        0      0 *:icmp                  *:*                     7
raw        0      0 *:tcp                   *:*                     7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         STREAM     CONNECTED     26342  @000000d9
unix  0      [ ACC ]     STREAM     LISTENING     1402   public/showq
unix  0      [ ACC ]     STREAM     LISTENING     1398   private/smtp
unix  0      [ ACC ]     STREAM     LISTENING     1389   private/bounce
unix  0      [ ]         STREAM     CONNECTED     194    @0000001d
unix  1      [ ]         STREAM     CONNECTED     26259  @000000cb
unix  0      [ ACC ]     STREAM     LISTENING     2816   /var/run/pcgi.soc
unix  0      [ ACC ]     STREAM     LISTENING     1406   private/error
unix  9      [ ]         DGRAM                    382    /dev/log
unix  0      [ ACC ]     STREAM     LISTENING     2792   /tmp/.font-unix/fs-1
unix  0      [ ACC ]     STREAM     LISTENING     1687   /dev/gpmctl
unix  0      [ ACC ]     STREAM     LISTENING     1410   private/local
unix  0      [ ACC ]     STREAM     LISTENING     1414   private/cyrus
unix  1      [ ]         STREAM     CONNECTED     26267  @000000ce
unix  1      [ ]         STREAM     CONNECTED     26253  @000000c8
unix  0      [ ACC ]     STREAM     LISTENING     2848   /tmp/.X11-unix/X0
unix  0      [ ACC ]     STREAM     LISTENING     1418   private/uucp
unix  1      [ ]         STREAM     CONNECTED     26269  @000000cf
unix  0      [ ACC ]     STREAM     LISTENING     1422   private/ifmail
unix  1      [ ]         STREAM     CONNECTED     26263  @000000cc
unix  0      [ ACC ]     STREAM     LISTENING     1427   private/bsmtp
unix  1      [ ]         STREAM     CONNECTED     26265  @000000cd
unix  1      [ N ]       STREAM     CONNECTED     26277  @000000d1
unix  0      [ ACC ]     STREAM     LISTENING     473    /dev/printer
unix  1      [ ]         STREAM     CONNECTED     26292  @000000d2
unix  0      [ ACC ]     STREAM     LISTENING     26275  /tmp//kfm_501_1753localhost.localdomain_0
unix  1      [ ]         STREAM     CONNECTED     26247  @000000c6
unix  1      [ ]         STREAM     CONNECTED     26177  @000000b5
unix  1      [ N ]       STREAM     CONNECTED     26271  @000000d0
unix  1      [ ]         STREAM     CONNECTED     26180  @000000b6
unix  0      [ ACC ]     STREAM     LISTENING     1378   private/cleanup
unix  1      [ ]         STREAM     CONNECTED     26312  @000000d5
unix  0      [ ACC ]     STREAM     LISTENING     1385   private/rewrite
unix  0      [ ACC ]     STREAM     LISTENING     26273  /tmp//kio_501_1753localhost.localdomain_0
unix  0      [ ACC ]     STREAM     LISTENING     2749   /tmp/.s.PGSQL.5432
unix  0      [ ACC ]     STREAM     LISTENING     1393   private/defer
unix  0      [ ]         DGRAM                    26354
unix  1      [ ]         STREAM     CONNECTED     26343  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26313  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26293  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26278  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26272  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26270  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26268  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26266  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26264  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26260  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26254  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26248  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26181  /tmp/.font-unix/fs-1
unix  1      [ ]         STREAM     CONNECTED     26182  /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    2813
unix  0      [ ]         DGRAM                    2812
unix  0      [ ]         DGRAM                    1464
unix  1      [ ]         STREAM     CONNECTED     1430
unix  1      [ ]         STREAM     CONNECTED     1429
unix  1      [ ]         STREAM     CONNECTED     1425
unix  1      [ ]         STREAM     CONNECTED     1424
unix  1      [ ]         STREAM     CONNECTED     1421
unix  1      [ ]         STREAM     CONNECTED     1420
unix  1      [ ]         STREAM     CONNECTED     1417
unix  1      [ ]         STREAM     CONNECTED     1416
unix  1      [ ]         STREAM     CONNECTED     1413
unix  1      [ ]         STREAM     CONNECTED     1412
unix  1      [ ]         STREAM     CONNECTED     1409
unix  1      [ ]         STREAM     CONNECTED     1408
unix  1      [ ]         STREAM     CONNECTED     1405
unix  1      [ ]         STREAM     CONNECTED     1404
unix  1      [ ]         STREAM     CONNECTED     1401
unix  1      [ ]         STREAM     CONNECTED     1400
unix  1      [ ]         STREAM     CONNECTED     1396
unix  1      [ ]         STREAM     CONNECTED     1395
unix  1      [ ]         STREAM     CONNECTED     1392
unix  1      [ ]         STREAM     CONNECTED     1391
unix  1      [ ]         STREAM     CONNECTED     1388
unix  1      [ ]         STREAM     CONNECTED     1387
unix  1      [ ]         STREAM     CONNECTED     1384
unix  1      [ ]         STREAM     CONNECTED     1383
unix  1      [ ]         STREAM     CONNECTED     1381
unix  1      [ ]         STREAM     CONNECTED     1380
unix  1      [ ]         STREAM     CONNECTED     1377
unix  1      [ ]         STREAM     CONNECTED     1376
unix  1      [ ]         STREAM     CONNECTED     1374
unix  1      [ ]         STREAM     CONNECTED     1373
unix  0      [ ]         DGRAM                    1355
unix  0      [ ]         DGRAM                    486
unix  0      [ ]         DGRAM                    469
unix  0      [ ]         DGRAM                    403
unix  0      [ ]         DGRAM                    392

-- 
Manuel Amador (Rudd-O)
  --------------3F0FD8D006732218DB5BA327-- From amador@alomega.com Tue Oct 17 05:55:46 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:55:46 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <39EBDBD2.B1E59A2D@alomega.com> --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit which publications? it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying. knight wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > > ;-) > > Especially to all Linux supporters for the badwill of the emails title. > > > > I would really be interested in its correct results. > > > > Cheers everyone > > Especially with all this press I've seen in publications over the last > month or two regarding Windows 2000 is outperforming *nix. (over my dead > _dead_ body) > > Knight > > > > > > > Failed requests: 137 > > > > > > No - look at your results. Every request failed on the win32 > > > box (and they all succeeded on linux). You have some sort of > > > problem in your windows setup, and you'll always get higher > > > throughput for errors than you can for completed requests... > > > > > > > > > Brian Lloyd brian@digicool.com > > > Software Engineer 540.371.6909 > > > Digital Creations http://www.digicool.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 ) > > > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit which publications?

it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying.

knight wrote:

> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly?
> ;-)
> Especially to all Linux supporters for the badwill of the emails title.
>
> I would really be interested in its correct results.
>
> Cheers everyone

Especially with all this press I've seen in publications over the last
month or two regarding Windows 2000 is outperforming *nix. (over my dead
_dead_ body)

Knight

>
> > > Failed requests:        137
> >
> > No - look at your results. Every request failed on the win32
> > box (and they all succeeded on linux). You have some sort of
> > problem in your windows setup, and you'll always get higher
> > throughput for errors than you can for completed requests...
> >
> >
> > Brian Lloyd        brian@digicool.com
> > Software Engineer  540.371.6909
> > Digital Creations  http://www.digicool.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 )
>
>

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

-- 
Manuel Amador (Rudd-O)
  --------------4EB930CA3D0F8F5E5A659AB0-- From amador@alomega.com Tue Oct 17 06:31:32 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:31:32 -0500 Subject: [Zope] security quickie References: Message-ID: <39EBE434.24853F76@alomega.com> --------------4E918131C9B66C86068C1D92 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff. It so happens that I have this setup rootfolder + myfolderobjects + inheritedstuff i have an user X in root folder. Roles are so that anonymous doesn't have permission for anything. Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff. He now can see index_html. I proxy-role index_html to the User role so i can that is into myfolderobjects, being somestuff a DTMLmethod. It works. X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects BUT, if I try to , it won't work. Note that the User role does have permission to run SQL methods. That's in my point of view, a mistake in Zope's security policy. If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy. Please help or tip. Thanks =) Seb Bacon wrote: > Does Zope security provide a way of restricting what objects are listed to > an authenticated user inside the Zope 'manage' interface? I'm getting my > head all twisted up over this security / proxy roles /local roles lark. > > Thanks, seb > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4E918131C9B66C86068C1D92 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff.

It so happens that I have this setup

rootfolder
+   myfolderobjects
      +    inheritedstuff

i have an user X in root folder.  Roles are so that anonymous doesn't have permission for anything.   Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff.  He now can see index_html.  I proxy-role index_html to the User role
so i can <dtml-var somestuff> that is into myfolderobjects, being somestuff a DTMLmethod.

It works.  X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects
 

BUT, if I try to <dtmlvar somesqlmethod>, it won't work.  Note that the User role does have permission to run SQL methods.

That's in my point of view, a mistake in Zope's security policy.  If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy.

Please help or tip.  Thanks =)
 

Seb Bacon wrote:

Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface?  I'm getting my
head all twisted up over this security / proxy roles /local roles lark.

Thanks, seb

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

-- 
Manuel Amador (Rudd-O)
  --------------4E918131C9B66C86068C1D92-- From amador@alomega.com Tue Oct 17 06:34:05 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:34:05 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <39EBE4CD.57CFF596@alomega.com> --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux. a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux. Toby Dickenson wrote: > On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" > wrote: > > >Definitely, yea! > > > >> I would really be interested in its correct results. > > We have been stress testing our Zope application on NT and Linux. Our > conclusion is that OS is not a factor in Zope performance. > > Toby Dickenson > tdickenson@geminidataloggers.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 ) -- Manuel Amador (Rudd-O) --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux.  a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux.
 

Toby Dickenson wrote:

On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
<konermann@inf.tu-dresden.de> wrote:

>Definitely, yea!
>
>> I would really be interested in its correct results.

We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.

Toby Dickenson
tdickenson@geminidataloggers.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 )

-- 
Manuel Amador (Rudd-O)
  --------------5A9018FBEE797DA68B4E7AFC-- From amador@alomega.com Tue Oct 17 06:38:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:38:47 -0500 Subject: [Zope] Animated GIFs References: <39DDE0B0.B461CE18@debis.com> <002f01c02feb$c4940970$01d4a8c0@peppe> <39E1B0D1.3A7C21C8@debis.com> Message-ID: <39EBE5E7.E972E7F5@alomega.com> --------------16F0CA6E3F92DF034E590278 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file. that means zope is mangling the file. try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case. Lars Heber wrote: > Peter Bengtsson schrieb: > > > [Just checking.] > > Have you tried to acctually _use_ the animated gif in context with other HTML? > > I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab. > > > > Excuse the childish suggestion. > > Any help is appreciated!!! > > I tried your suggestion. The animGif works fine with every kind of HTML. > I really think it's a Zope problem. > Also the gif downloaded from Zope works with HTML outside Zope. > The following doesn't work as well: > Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem... > > > the title > > > > I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem! > > Any more ideas, please? > > Thanks. > > Lars > > > ----- Original Message ----- > > From: "Lars Heber" > > To: > > Sent: Friday, October 06, 2000 3:24 PM > > Subject: [Zope] Animated GIFs > > > > > Hi there, > > > > > > I've got a strange problem. > > > > > > I want to upload an animated GIF to my Zope, but when I want to view it, > > > > > > animation stops at the last frame instead of looping indefinitely. > > > > > > When not uploaded to Zope, the animation works fine, > > > also, when I download the GIF by rightclick from a Zope site and view > > > it again outside Zope, it works perfectly! > > > > > > What's going on here??? Any ideas? > > > > > > PS.: The content_type is image/gif. > > > Do animGifs have another one? Just an idea... > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------16F0CA6E3F92DF034E590278 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file.  that means zope is mangling the file.

try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case.
 

Lars Heber wrote:

Peter Bengtsson schrieb:

> [Just checking.]
> Have you tried to acctually _use_ the animated gif in context with other HTML?
> I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab.
>
> Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem...

<html>
<head><title>the title</title></head>
<body><img src="http://localhost:8080/animGif"></body>
</html>

I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem!

Any more ideas, please?

Thanks.

Lars

> ----- Original Message -----
> From: "Lars Heber" <lheber@debis.com>
> To: <zope@zope.org>
> Sent: Friday, October 06, 2000 3:24 PM
> Subject: [Zope] Animated GIFs
>
> > Hi there,
> >
> > I've got a strange problem.
> >
> > I want to upload an animated GIF to my Zope, but when I want to view it,
> >
> > animation stops at the last frame instead of looping indefinitely.
> >
> > When not uploaded to Zope, the animation works fine,
> > also, when I download the GIF by rightclick from a Zope site and view
> > it again outside Zope, it works perfectly!
> >
> > What's going on here??? Any ideas?
> >
> > PS.: The content_type is image/gif.
> >         Do animGifs have another one? Just an idea...
>

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

-- 
Manuel Amador (Rudd-O)
  --------------16F0CA6E3F92DF034E590278-- From amador@alomega.com Tue Oct 17 06:48:44 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:48:44 -0500 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39EBE83C.68B62F16@alomega.com> --------------354AC2F22E5025E283A14E15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods. I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form. Heymann William wrote: > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. > > Thanks > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------354AC2F22E5025E283A14E15 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods.  I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form.

Heymann William wrote:

I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be assigned to the varialbe
if a valid object can not by found. I don't really have a problem if this
involves python coding I just need a place to start.

Thanks

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

-- 
Manuel Amador (Rudd-O)
  --------------354AC2F22E5025E283A14E15-- From amador@alomega.com Tue Oct 17 06:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:49:47 -0500 Subject: [Zope] zope 2.2.2 not compiling References: <007b01c03288$138ad2e0$0102a8c0@rokmil.ee> Message-ID: <39EBE87B.3B4454A7@alomega.com> --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment. Or there is a zip around, called UnxUtils.zip. do a google search and get it. Lace its contents into a folder in your PATH. Roland Tepp wrote: > Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on > WinNT to run without pcgi and it fails (console output following this letter). > > I tried to track down the problem but I don't seem to make any progress. > Could You help me please... > > ------------------------------------------------------------------------------ > Compiling python modules > > ------------------------------------------------------------------------------ > Building extension modules > > ------------------------------------------------ > Compiling extensions in lib/python > cp D:\Python/lib/python/config/Makefile.pre.in . > The name specified is not recognized as an > internal or external command, operable program or batch file. > Traceback (innermost last): > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ? > if __name__=='__main__': main(sys.argv[0]) > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main > import build_extensions > File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ? > make('lib','python') > File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make > do("cp %s ." % wheres_Makefile_pre_in()) > File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do > if i and picky: raise SystemError, i > SystemError: 1 > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment.  Or there is a zip around, called UnxUtils.zip.  do a google search and get it.  Lace its contents into a folder in your PATH.

Roland Tepp wrote:

Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
WinNT to run without pcgi and it fails (console output following this letter).

I tried to track down the problem but I don't seem to make any progress.
Could You help me please...

------------------------------------------------------------------------------
Compiling python modules

------------------------------------------------------------------------------
Building extension modules

------------------------------------------------
Compiling extensions in lib/python
cp D:\Python/lib/python/config/Makefile.pre.in .
The name specified is not recognized as an
internal or external command, operable program or batch file.
Traceback (innermost last):
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main
    import build_extensions
  File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ?
    make('lib','python')
  File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make
    do("cp %s ." % wheres_Makefile_pre_in())
  File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 1

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

-- 
Manuel Amador (Rudd-O)
  --------------A96A99DD5F1A869E4BA9CBAB-- From amador@alomega.com Tue Oct 17 06:53:09 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:53:09 -0500 Subject: [Zope] REQUEST.set size References: <39E2DDF0.5D1924@oratrix.com> Message-ID: <39EBE945.9E472ACF@alomega.com> --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: > Hi all, > > I am new to Zope but worked for 2 years in a dev-env called Uniface so > Im fairly up to speed on Zope quickly. But I am having a problem writing > data through a REQUEST.set that is larger than its apparent limit. > (sorry can remember the exact error i get from Zope) > > What I am trying to do is collect in a field a large list of emails that > are gathered in a dtml-in statement with a REQUEST.set('all', all + > email) nested in the loop. While appending the namespace to store the > data in PGSQL, i always get the size error which i assume is coming from > the publisher saying that a the request can only have a byte size of > 1800 bytes or so. > > Im not so hot with straight SQL because Uniface had its own methods, so > Im not sure if I can append data directly to a stored field or if I need > to continue trying to use the REQUEST.set. After the hundreth occurence > in the IN, the namespace I use to store the appended data, so I cannot > fully make a list of 2000 occurences. Any ideas? > > Sorry, no code to show what Im doing but it should be pretty easy to > understand for all you veterans out there... > > TIA, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary.  Anyone can help with the syntax?  I can't remember... =)
Paul Zwarts wrote:
Hi all,

I am new to Zope but worked for 2 years in a dev-env called Uniface so
Im fairly up to speed on Zope quickly. But I am having a problem writing
data through a REQUEST.set that is larger than its apparent limit.
(sorry can remember the exact error i get from Zope)

What I am trying to do is collect in a field a large list of emails that
are gathered in a dtml-in statement with a REQUEST.set('all', all +
email) nested in the loop. While appending the namespace to store the
data in PGSQL, i always get the size error which i assume is coming from
the publisher saying that a the request can only have a byte size of
1800 bytes or so.

Im not so hot with straight SQL because Uniface had its own methods, so
Im not sure if I can append data directly to a stored field or if I need
to continue trying to use the REQUEST.set. After the hundreth occurence
in the IN, the namespace I use to store the appended data, so I cannot
fully make a list of 2000 occurences. Any ideas?

Sorry, no code to show what Im doing but it should be pretty easy to
understand for all you veterans out there...

TIA,

--
Paz
Oratrix Development BV
http://www.oratrix.com
GRiNS SMIL Editor
-

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

-- 
Manuel Amador (Rudd-O)
  --------------245C6E38D0EACB6D5EC5D549-- From jacintha.menezes@wipro.com Tue Oct 17 07:43:54 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 17 Oct 2000 12:13:54 +0530 Subject: [Zope] urgent Message-ID: <018901c03805$9df75d40$f5dea8c0@wipro.com> hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha From roos@stanford.edu Tue Oct 17 07:48:02 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Mon, 16 Oct 2000 23:48:02 -0700 (PDT) Subject: [Zope] (no subject) Message-ID: I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: manage_addProperty(name='foo', value='bar', type='string') The 's don't get an error, so I must be popping namespaces on properly. But the manage_addProperty always results in: invalid attribute name, "manage_addproperty(name", for tag , on line 10 of makeSched =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about housing for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From ws@gmd.de Tue Oct 17 08:51:09 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 09:51:09 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: Message-ID: <39EC210D.10012.52485E5@localhost> On 16 Oct 2000, 12:27 Damien Morton wrote: > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > ignKMS ols.htm > > Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From paul.zwarts@oratrix.com Tue Oct 17 09:06:51 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 10:06:51 +0200 Subject: [Zope] Upgrade from 201 to 222 Message-ID: <39EC089B.DB715904@oratrix.com> Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both verisons, but before I was able to export an entire folder and then import it. Now from old to new, I get an error Error Type: TypeError Error Value: ('len() of unsized object', , None) What does this mean? I can still import single objects, but it is a major pain to import one by one, as there so many. Using an XML type doesnt work either because you cannot seem to apply that to a folder of objects either. Does anyone know about any issues that deal with this problem or am I missing something? Cheers and TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From leedm@state.mi.us Tue Oct 17 09:34:03 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 04:34:03 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From grizel@mouli.net Tue Oct 17 09:38:18 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Tue, 17 Oct 2000 10:38:18 +0200 Subject: [Zope] [OT ?... HTTP ?...] redirect W/ POST data Message-ID: <39EC0FFA.65A792CF@mouli.net> Hi, [This message may be off-topic.... Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=value&so_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed RESPONSE.headers with such data - although I'm not sure of it - but is there a better way (if there is a way...) to do this ?... Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From odeckmyn.list@teaser.fr Tue Oct 17 09:51:58 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Tue, 17 Oct 2000 10:51:58 +0200 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) References: Message-ID: <018d01c03817$82023580$0d00000a@ODECKMYN2K> Ok...No problem...We will... ----- Original Message ----- From: "Darin Lee" To: Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > > > > > > _______________________________________________ > 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 ) > > From mtaylor@goldridge.net Tue Oct 17 11:37:49 2000 From: mtaylor@goldridge.net (Monty Taylor) Date: Tue, 17 Oct 2000 12:37:49 +0200 Subject: [Zope] MySQL and Zope struggles References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <39EC2BFD.175F7DDA@goldridge.net> You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select note_id, notes from foo; This does assume that the note_id is unique. You may also need to explicitly drop foo, because it goes away when you disconnect, but of course Zope holds connections open. !!! However -- now that I think of it... you can just do: replace into Note select note_id, "New Note" from Artist where artist_id=23; Of couse, this will change all notes for an artist, so it assumes the artist_id is unique as well. (Which I would assume it is from your model.) If you need more complex things, look into temporary tables, but the MySQL extension (like replace) do allow you to do fun things. Hope this helps, Monty Richard Moon wrote: > Nice idea. Trouble is the note table is used to hold notes for many > different reasons, so it looks like this - > > ----------- ------------ -------- > | Artist | | Recording | | Label | etc. > ----------- ------------ -------- > | artist_id | |recording_id| |label_id| > | note_id | |note_id | |note_id | > ----------- ------------ -------- > | | | | | > --------------------------------------------------------- > | > ---------- > | Note | > ---------- > | note_id | > | notes | > ---------- > > It looks as if there wasn't anything I was missing - I'm just going to have > to break the code up into separate SQL Methods. > > The example I gave was quite simple compared to some of the updates I have > to deal with. > > Thanks anyway. > > At 17:40 16/10/00, you wrote: > >Or you could renormalize your data to have: > > > > --------- ----------- > >| Artist | | Note | > >|---------|-------|-----------| > >| id | | id | > > --------- | artist_id | > > | note_str | > > ----------- > > > >you now have a list of notes by artist_id. > >You typically won't have a screen that doesn't have an Artist context > >to be adding a note to. (or to remove all notes from). > >Of course this means more work to migrate :-( > >And I don't know all possible scenarios for which you would > >need the structure you gave, but it is another way around this. > >It probably doesn't solve real complex scenarios either. > > > >JAT > > > >Dale > > Richard Moon > richard@dcs.co.uk > > _______________________________________________ > 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 ) From tony.mcdonald@ncl.ac.uk Tue Oct 17 10:11:56 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 17 Oct 2000 10:11:56 +0100 Subject: [Zope] Medusa Monitor In-Reply-To: References: <39E63EFA.FE2BF947@adroit.net> Message-ID: At 1:18 pm -0700 16/10/00, Karl Anderson wrote: >Terry Kerr writes: > >> I don't think the monitor gives you any advantage? I have never >>used a ptyhon prompt before...I will have to give it a go. >> >> terry > >Actually, the advantage of the monitor is that it runs in the same >process as your server, so you can track resource issues. Mounting >the database separately avoids this. > >-- >Karl Anderson karl@digicool.com Karl, Is there anywhere documented that describes how to track resource issues? I regularly have Zope processes that hit 150 Megs of RAM and would like to know if I'm doing anything dopey. cheers tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hamish_lawson@yahoo.co.uk Tue Oct 17 12:10:52 2000 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Tue, 17 Oct 2000 12:10:52 +0100 (BST) Subject: [Zope] Roles as members of other roles? Message-ID: <20001017111052.73778.qmail@web218.mail.yahoo.com> I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish Lawson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From stefan@epy.co.at Tue Oct 17 12:15:26 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Tue, 17 Oct 2000 13:15:26 +0200 (CEST) Subject: [Zope] Force DTML evaluation? Message-ID: I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could use like like ? My second try was to derive from DTMLDocument but I could for the heck of it not figure out how to call the baseclass' methods. In python I would use baseclassname.method() but this seems impossible in ZClasses... Any insights appreciated, Stefan From chrisw@nipltd.com Tue Oct 17 12:49:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:49:39 +0100 Subject: [Zope] Name lookup emulation with a Product References: <39DC53E3.5D0FAC8E@mouli.net> <39DC55FA.1140FD89@nipltd.com> <39DC5A0D.CFB95BC3@mouli.net> <39DC5F71.D7FAA2F8@nipltd.com> <39DC6173.CAC3FD3A@mouli.net> Message-ID: <39EC3CD3.57D93BD1@nipltd.com> Pierre-Julien Grizel wrote: > > I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) > and, if I must, I can replace m1 and m2 with a __call__ method taking > another parameter specifying what kind of action it has to do. > Well, there's another little gem which got covered in a later bit of that thread. Try defining your method like: m1isDocTemp=1 def m1(self,ignored,md): # Your method here Also, check out the code in: which is really helpful in this area. In fact, a FunctionTemplate may be exactly what you're looking for... HTH, Chris From mdanaii@yahoo.com Tue Oct 17 12:51:43 2000 From: mdanaii@yahoo.com (Marc DANAI) Date: Tue, 17 Oct 2000 04:51:43 -0700 (PDT) Subject: [Zope] Question about Managed Meeting and ZopePTK Message-ID: <20001017115143.5072.qmail@web4005.mail.yahoo.com> Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any suggestion? Thank's __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From complaw@hal-pc.org Tue Oct 17 12:45:00 2000 From: complaw@hal-pc.org (Ronald L. Chichester) Date: Tue, 17 Oct 2000 06:45:00 -0500 Subject: [Zope] DUMB NEWBIE QUESTION References: <"38692F84.AAC1.045E.000*/c=us/admd= /prmd=or.gov/o=MB/ou=gwise/s=Curtis/g=David/"@MHS> Message-ID: <39EC3BBC.905D5ACD@hal-pc.org> I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works for RedHat and Mandrake. Should also work for Turbo Linux and may work for others. That should get you started. Hope that helps. Ron ./. CURTIS David wrote: > Friends of Zope, > > I am trying to get MySQL database connection installed. I was told that I need to use source Zope instead of RPM's ! Fine with me but how do I install Zope source over RPM. I tried unpacking Zope Source and installing but it creates a new directory tar -xvf Zope-2.1 instead of creating a /var/zope. Also zope starts automatically. Are there techniques to work around this??? > > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 17 12:53:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:53:22 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> Message-ID: <39EC3DB2.9474C606@nipltd.com> Michael Bernstein wrote: > On a slightly different note, I think that the permissions > list should be viewable in two more ways: A view where > permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for me :-) cheers, Chris From chrisw@nipltd.com Tue Oct 17 12:58:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:58:19 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: Message-ID: <39EC3EDB.229D6181@nipltd.com> Seb Bacon wrote: > edit a document through webDAV but *not* TTW. In my mind, you're either > authenticated to do a task, or you're not. It doesn't matter *how* you do > it. That's why 'listable' or something like it would be a better name for > the permission than 'URL Traversable', IMHO (although they both sound > *ugly*). Very good points :-) Chris From chrisw@nipltd.com Tue Oct 17 13:01:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:01:06 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14818.55701.154156.292890@lindm.dm> <14819.25118.478651.799581@lindm.dm> Message-ID: <39EC3F82.A23EEF1@nipltd.com> Dieter Maurer wrote: > Management, however, would be more difficult, as there are no > good defaults for the "URL Traversable" permission. > It is not easy, to determine (e.g.) for a DTML method/document > whether it is only used as a component (such as > "standard_html_header") or is a full grown presentation method. The defaults should be as it is now, ie: everything is visible/travesable unless you tell it not to be... cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:03:18 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:03:18 +0100 Subject: [Zope] Re: Quoting References: <14818.56839.467717.988389@lindm.dm> <39E2F3F7.FCC24885@nipltd.com> <14819.24453.263795.850378@lindm.dm> Message-ID: <39EC4006.AF926BCE@nipltd.com> Dieter Maurer wrote: > Where would you use this "id_quote"? > The only useful place might be the action of an object creation > or renaming. Exactly... > However, I am not sure, that I would prefer to get a strangely > encoded id rather than an exception that tells me some characters > are not allowed in Id's. But if you're automatically creating ids from text people have typed in (and they'll never need to know the id's) it seems nicer to me for the id to be automatically mangled to what it needs to be ratehr than throwing a confusign error (which doesn't actually tell you which character(s) are not allowed, IIRC) cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:06:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:06:03 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14821.36358.972286.290879@lindm.dm> <14823.24484.984596.626290@lindm.dm> Message-ID: <39EC40AB.CE6395E3@nipltd.com> Dieter Maurer wrote: > My primary concern (and maybe Chris') is, how can we prevent > these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris From neeloy_saha@infy.com Tue Oct 17 13:12:00 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Tue, 17 Oct 2000 17:42:00 +0530 Subject: [Zope] Searching a LocalFS through Zope Message-ID: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -----Original Message----- From: Guido van Rossum [mailto:guido@python.org] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; 'webmaster@pythonlabs.com' Subject: Re: Migrating website to zope..... Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) > Subject: Migrating website to zope..... > From: neeloy_saha > To: "'pythoneers@beopen.com'" > Cc: "'info@beopen.com'" , > "'webmaster@pythonlabs.com'" > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > Hi all, > > Sorry if u receive this mail multiple times.....I need help desperately. > > I am working in a migration project where I am trying to reenginer my > website from the html/cgi based thing to zope.[something like urs > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy > static html documents which I want to use "as it is". So I have taken help > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used > it to serve the html documents. > > Now I am facing a tricky issue of how to do a search on those files ( html > )as i do not find any patch which makes them a part of the Zcatalog. I am > using the Zcatalog to do the search on other contents of my site. > > I guess u might have faced the same issue and implemented the search. I > desperately need help on this issue. any pointers/code/patches/contact > person /how u went abt it!! would be welcome. > > Thx in advance. > > -neeloy > India From leedm@state.mi.us Tue Oct 17 13:40:49 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 08:40:49 -0400 Subject: [Zope] Away Message (Apologies) Message-ID: Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department of Environmental Quality Office of Automation Coordination Phone: (517) 241-5214 Fax: (517) 241-8379 From praveen_katiyar@infy.com Tue Oct 17 14:45:53 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 17 Oct 2000 19:15:53 +0530 Subject: [Zope] Searching through the contents of Pdf/Word/latex Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77CF@TWRMSG01> Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of pdf/doc/latex files. I have looked into HowTo's and the documentation. But being a zope newbie I am finding it difficult to find a way out. I guess that somewhere while making the catalog one has to use converters(pdftotext....and its like) and probably then use that to index those documents. Has anyone done this before. Regards, Praveen Katiyar From nichols@tradingconnections.com Tue Oct 17 15:08:51 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 17 Oct 2000 09:08:51 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016142102.A17053@enteract.com> References: <39EB447B.4060801@vt.edu> <39EB447B.4060801@vt.edu> Message-ID: <4.3.2.7.2.20001017090501.00dbad60@tradingconnections.com> At 10/16/00 02:21 PM, Fred Yankowski wrote: >Thank you both for the help. File objects are just the ticket (but it >turns out that Image objects work nearly as well). For the record, >here's what I did: In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols nichols@tradingconnections.com From dsergent@imexpert.com Tue Oct 17 15:52:41 2000 From: dsergent@imexpert.com (dsergent@imexpert.com) Date: Tue, 17 Oct 2000 16:52:41 +0200 Subject: [Zope] dtml-in Message-ID: Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot for your answer. david From mail@okstudio.com.au Tue Oct 17 17:00:16 2000 From: mail@okstudio.com.au (George Osvald) Date: Wed, 18 Oct 2000 02:00:16 +1000 Subject: [Zope] ZSQL question Message-ID: <000001c03853$57c8eac0$95f438cb@gosvald> I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George From chrisw@nipltd.com Tue Oct 17 16:00:56 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 16:00:56 +0100 Subject: [Zope] dtml-in References: Message-ID: <39EC69A8.85755C71@nipltd.com> dsergent@imexpert.com wrote: > But I was only able to print the name of the dtml document, how can I > execute the script write in the dtml document ? The following should do it: cheers, Chris From drusch@globalcrossing.com Tue Oct 17 16:12:10 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 17 Oct 2000 10:12:10 -0500 Subject: [Zope] urgent References: <018901c03805$9df75d40$f5dea8c0@wipro.com> Message-ID: <39EC6C4A.9137897F@globalcrossing.com> To: From: Subject: PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote: > > hi, > i am using zope(2.2.1) for sending mails, but it is not possible to send > attachment. > kindly let me know the reason have made use of mime to send attachment. > thanks, > jacintha > > _______________________________________________ > 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 ) From alexander@limi.net Tue Oct 17 16:20:27 2000 From: alexander@limi.net (Alexander Limi) Date: Tue, 17 Oct 2000 17:20:27 +0200 (CEST) Subject: [Zope] Message exchange between distributed python code Message-ID: Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore the post to this list :), but in essence this is not directly Zope related as much as a Python decision. One of my prerequisites is that the messaging should be as portable as possible. The message format will likely end up being XML-based, but what I want to know is what kind of message exchange methods are there that are portable and easy to move to another programming language if need be? You see, I am prototyping this thing in python, but some parts may be rewritten in C later on. All POSIX features will be available, so maybe I can use some of that? The suggestions I've gotten so far is: -SMTP (use SMTP to transfer a mail to the other machine containing the message, handle the mail with procmail and write it to a file that the other program can read) -XML-RPC (is this lightweight enough? and is it easy to handle, and does it take care of the transport of the message too? What about C clients/servers?) I think what I want is maybe something like Java's RMI, but it should work with both Python and C. Being able to send messages between programs without too much hassle or overhead while still remaining portable is my goal. Any advice appreciated. And please CC me, as I'm not on the list at the moment. -- Alexander Limi alexander@limi.net From Eric@Walstads.net Tue Oct 17 16:25:39 2000 From: Eric@Walstads.net (Eric Walstad) Date: Tue, 17 Oct 2000 08:25:39 -0700 Subject: [Zope] (no subject) In-Reply-To: Message-ID: Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: Hope it helps. Eric. // I want to create a large number of properties for a Zclass. // My Zclass has a propertysheet named Schedule. // // I've tried stuff like this: // // // // // manage_addProperty(name='foo', value='bar', type='string') // // // // // // The 's don't get an error, so I must be popping namespaces on // properly. But the manage_addProperty always results in: // // invalid attribute name, "manage_addproperty(name", for tag , on // line 10 of makeSched // // // =Rob====== // ====J===== // =====Roos= From paul.zwarts@oratrix.com Tue Oct 17 16:39:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 17:39:07 +0200 Subject: [Zope] ZSQL question References: <000001c03853$57c8eac0$95f438cb@gosvald> Message-ID: <39EC729B.A087D4FD@oratrix.com> > I have a table with lots of data in my Gadfly database. I would like to add > a couple of new columns to that table. Is it at all possible to add columns > to existing table or do I have to create a new table all together? > Nope, ALTER TABLE ADD i think should do it... Let me check ALTER TABLE memberlist ADD name VARCHAR Yep... that does it. Although I had tested this in PGSQL, Im sure it works for GadFly also. Since you are also inserting a new column you may want to initialize all current reocrds with a value, but I cant remember what it was... If you really need it, let me know, I'll dig in for you. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From apancani@topgroup.com.ar Tue Oct 17 17:28:08 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 13:28:08 -0300 Subject: [Zope] Stored Procedures Message-ID: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> This is a multi-part message in MIME format. ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 I=B4m using Zope with an Informix Database conected with ZODBC Product = and I need some information about how to call a STORED PROCEDURE I=B4m trying to call a STORED PROCEDURE that executes a simple query. I = do it using a ZSQL method, but when i try to test it, i receive the = error message "empty column name". Does anybody have any information = about that problem? ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
I=B4m using Zope with an Informix = Database conected=20 with ZODBC Product and I need some information about how to call a = STORED=20 PROCEDURE
I=B4m trying to call a STORED PROCEDURE = that executes=20 a simple query. I do it using a ZSQL method, but when i try to test = it, i=20 receive the error message "empty column name". Does anybody have = any=20 information about that problem?
------=_NextPart_000_00EB_01C0383E.16C7E220-- From chrisw@nipltd.com Tue Oct 17 17:51:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 17:51:39 +0100 Subject: [Zope] Re: =?iso-8859-1?Q?R=E9f?= . : Re: [ Zope ] dtml-in References: Message-ID: <39EC839B.A9E22C@nipltd.com> (keep copying to the list so other people can jump in and help) dsergent@imexpert.com wrote: > > thks a lot for your answer. It works, but I've a lot of dtml documents in > my folder, and it's tooooooooooooooooooo slow with the sequence-item tag > (less than one seconde with , and more than 10 secondes, with > . Do you know any explaination about that ??? Of course ;-) is rendering a single string. goes through and renders each whole document, which takes a lot longer... cheers, Chris From ws@gmd.de Tue Oct 17 18:16:51 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:16:51 +0200 Subject: [Zope] Stored Procedures In-Reply-To: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> Message-ID: <39ECA5A3.18247.72A6D78@localhost> Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/plain; > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From evan@4-am.com Tue Oct 17 18:36:07 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 17 Oct 2000 13:36:07 -0400 Subject: [Zope] Message exchange between distributed python code References: Message-ID: <009d01c03860$bb67c5d0$3e48a4d8@digicool.com> From: Alexander Limi > -XML-RPC > (is this lightweight enough? and is it easy to handle, and does it take > care of the transport of the message too? What about C clients/servers?) > > I think what I want is maybe something like Java's RMI, but it should work > with both Python and C. Being able to send messages between programs > without too much hassle or overhead while still remaining portable is my > goal. XML-RPC is fairly lightweight, but lightweight enough? No idea. It's a fairly simple XML-ish marshalling scheme that uses HTTP for transport, and URLs for method addressing. If all you want to send is lists and dicts containing simple types (lists, dicts, strings, numbers) it works great. There are Java libraries, and probably C/C++ as well. Cheers, Evan @ digicool & 4-am From scott@launchpoint.net Tue Oct 17 18:36:12 2000 From: scott@launchpoint.net (Scott Burton) Date: Tue, 17 Oct 2000 10:36:12 -0700 Subject: [Zope] __len__ Errors Message-ID: > 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. --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I seem to be getting __len__ errors: Error type: exceptions.AttributeError Error value: __len__ When accessing any method with an loop. I am running 2.1.6, with the current hot fixes. It seems to have started after installing the hot fixes. I can replicate it with a simple loop in a method. I read somewhere about the hotfix changing objects ownerships. Could this be causing this? If so, how do I remove a hotfix? It has rendered my discussion groups useless. TIA Scott --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable __len__ Errors I seem to be getting __len__ errors: Error type: exceptions.AttributeError
Error value: __len__
When accessing any method with an <dtml-in > loop.
I am running 2.1.6, with the current hot fixes. It seems to have started af= ter installing the hot fixes.
I can replicate it with a simple <dtml-in> loop in a method. I read s= omewhere about the hotfix changing objects ownerships. Could this be causing= this? If so, how do I remove a hotfix? It has rendered my discussion groups= useless.

TIA

Scott
--MS_Mac_OE_3054623773_59425_MIME_Part-- From ws@gmd.de Tue Oct 17 18:45:48 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:45:48 +0200 Subject: [Zope] bobobase_modification_time and .zexp Message-ID: <39ECAC6C.4299.744F0A7@localhost> import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? From asc@vineyard.net Tue Oct 17 19:04:12 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 17 Oct 2000 14:04:12 -0400 (EDT) Subject: [Zope] Determining permissions in a Product Message-ID: Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with the minimum set of permissions. If I understand the docs correctly, I have enabled the right flags but still I get prompted for a username/password when I try to add an item. Obviously, I would like to solve this problem I would be very interested to hear about more general approaches to problem solving products. Thanks, From apancani@topgroup.com.ar Tue Oct 17 19:08:47 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 15:08:47 -0300 Subject: [Zope] STORED PROCEDURES Message-ID: <013c01c03865$4bf873c0$8901a8c0@topgroup.com.ar> Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty column name". Does anybody have any information about that problem? From Marcin.Kasperski@softax.com.pl Tue Oct 17 19:18:52 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Tue, 17 Oct 2000 20:18:52 +0200 Subject: [Zope] bobobase_modification_time and .zexp References: <39ECAC6C.4299.744F0A7@localhost> Message-ID: <39EC980C.3C49C228@softax.com.pl> Wolfgang Strobl wrote: > > import/export obviously doesn't preserve time stamps (i.e. > bobobase_modification_time). This is unfortunate for any content > which depends on those timestamps. How do you people out there > solve this problem when it comes to moving content from different > Zope installations into a single one? > I just developed custom document ZClass which basically: - inherits from CatalogAware and DTML Document - contains custom property sheet which contains creationTime attribute (and some others, like meta_keywords or meta_summary) - constains constructor method which sets creationTime to current time. Wherever I need information when the page has been created, I use my creationTime attribute. I do not know how to implement 'modificationTime' attribute (or better: how to change it whenever someone edits or uploads the document). -- http://www.mk.w.pl / Marcin.Kasperski | O kredytach mieszkaniowych: @softax.com.pl | http://www.kupmieszkanie.w.pl/mieszkanie_kredyt @bigfoot.com \ From jburton@scw.org Tue Oct 17 19:21:59 2000 From: jburton@scw.org (Joel Burton) Date: Tue, 17 Oct 2000 14:21:59 -0400 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? Message-ID: <39EC6087.17333.FA79B38@localhost> I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: ... ... However, this requires lots of code. I'm trying to do it like this: Sorted by &dtml-sortby; () I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org) From jfarr@real.com Tue Oct 17 20:25:21 2000 From: jfarr@real.com (Jonothan Farr) Date: Tue, 17 Oct 2000 12:25:21 -0700 Subject: [Zope] Searching a LocalFS through Zope References: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Message-ID: <113401c03870$196e5e50$416917ac@poly> Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope > Hi all, > > Well I had sent this earlier but i want to resend this again!! I have not > yet received a reply back. > > Can anyone suggest me a way out ??? > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to **load the data.fs**. Now. I am running into > search problems. How do i do a search the filesystem file? and also ensure > that the search results come from both the filesystem files and the portal > zcatalog.?? > > I guess there are two ways ?? > ** attach a search engine to index on the filesystem files and let zcatalog > take care of the rest. > ** or make all those html files zcatalog aware.But then u cant look inside > pdf/latex/word docs or do u??. > > I guess I would prefer the first one !! gut feel probably that would require > less effort and I can support different file formats . Has anyone used a > FREE external search engine ith zope before.If so which one is it ??? > > -neeloy > > -----Original Message----- > From: Guido van Rossum [mailto:guido@python.org] > Sent: Monday, October 16, 2000 7:53 PM > To: neeloy_saha > Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; > 'webmaster@pythonlabs.com' > Subject: Re: Migrating website to zope..... > > > Strange though it seems, we are *not* Zope experts (yet). We used an > external volunteer to set up our site. I recommend that you post your > question to one of the Zope mailing lists -- see www.zope.org for > pointers. > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > Subject: Migrating website to zope..... > > From: neeloy_saha > > To: "'pythoneers@beopen.com'" > > Cc: "'info@beopen.com'" , > > "'webmaster@pythonlabs.com'" > > > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > > > Hi all, > > > > Sorry if u receive this mail multiple times.....I need help desperately. > > > > I am working in a migration project where I am trying to reenginer my > > website from the html/cgi based thing to zope.[something like urs > > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of > legacy > > static html documents which I want to use "as it is". So I have taken help > > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and > used > > it to serve the html documents. > > > > Now I am facing a tricky issue of how to do a search on those files ( > html > > )as i do not find any patch which makes them a part of the Zcatalog. I am > > using the Zcatalog to do the search on other contents of my site. > > > > I guess u might have faced the same issue and implemented the search. I > > desperately need help on this issue. any pointers/code/patches/contact > > person /how u went abt it!! would be welcome. > > > > Thx in advance. > > > > -neeloy > > India > > _______________________________________________ > 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 ) > From ws@gmd.de Tue Oct 17 20:25:18 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 21:25:18 +0200 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39EC980C.3C49C228@softax.com.pl> Message-ID: <39ECC3BE.15125.7A005BC@localhost> On 17 Oct 2000, 20:18 Marcin Kasperski wrote: > Wolfgang Strobl wrote: > > > > import/export obviously doesn't preserve time stamps (i.e. > > bobobase_modification_time). This is unfortunate for any content > > which depends on those timestamps. How do you people out there solve > > this problem when it comes to moving content from different Zope > > installations into a single one? > > > > I just developed custom document ZClass which basically: > - inherits from CatalogAware and DTML Document > - contains custom property sheet which contains creationTime attribute > (and some others, like meta_keywords or meta_summary) - constains > constructor method which sets creationTime to current time. > > Wherever I need information when the page has been created, I use my > creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? > > I do not know how to implement 'modificationTime' attribute (or > better: how to change it whenever someone edits or uploads the > document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From mj@digicool.com Tue Oct 17 20:51:12 2000 From: mj@digicool.com (Martijn Pieters) Date: Tue, 17 Oct 2000 21:51:12 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: <39EC210D.10012.52485E5@localhost>; from ws@gmd.de on Tue, Oct 17, 2000 at 09:51:09AM +0200 References: <39EC210D.10012.52485E5@localhost> Message-ID: <20001017215112.A25689@zopatista.com> On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: > On 16 Oct 2000, 12:27 Damien Morton wrote: > > > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > > ignKMS ols.htm > > > > Looks like MS has embraced the Zope way of doing things > > "You must have scripting enabled in order to view this site. Please modify > your browser's settings accordingly. " > Eeek. Try http://msdn.microsoft.com/library/techart/DesignKMSols.htm -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Tue Oct 17 20:51:21 2000 From: sebbacon@email.com (Seb Bacon) Date: Tue, 17 Oct 2000 20:51:21 +0100 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? In-Reply-To: <39EC6087.17333.FA79B38@localhost> Message-ID: I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was I'll dig out the patches as send them to you. seb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > Burton > Sent: 17 October 2000 19:22 > To: zope@zope.org > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > I'd like to create a DTML method that lists objects, sorting either by > name or modified-date. I know I can do this by: > > > > ... > > > ... > > > > However, this requires lots of code. I'm trying to do it like this: > > > Sorted by &dtml-sortby; > > > () > > > > I have a property, sortby, of the enclosing folder set to > "bobobase_modification_time"; when this method is called, it > dutifully reports that sortby=b_m_t; however, it doesn't sort things > this way (I can't tell exactly how it is sorting them, and when I > refresh, the order occasionally changes.) > > Any ideas? > > -- > Joel Burton, Director of Information Systems -*- jburton@scw.org > Support Center of Washington (www.scw.org) > > _______________________________________________ > 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 ) > From shervan@urbanlink.net Tue Oct 17 21:39:10 2000 From: shervan@urbanlink.net (Shervan Agard) Date: Tue, 17 Oct 2000 16:39:10 -0400 Subject: [Zope] Web Mail & Account creation. Message-ID: <39ECB8ED.7482F5D1@urbanlink.net> Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... From CwJohnso@bindview.com Tue Oct 17 21:29:28 2000 From: CwJohnso@bindview.com (Johnson, Chris) Date: Tue, 17 Oct 2000 15:29:28 -0500 Subject: [Zope] non oreilly zope book Message-ID: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj From andym@ActiveState.com Tue Oct 17 21:33:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:33:20 -0700 Subject: [Zope] IIS and PCGI Message-ID: <002001c03879$7cc09cd0$ae03a8c0@fork> Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for example http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope 2.2.1. Anyone encountered this and know the solution? Thanks. -- Andy McKay, Developer. ActiveState. From andym@ActiveState.com Tue Oct 17 21:39:49 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:39:49 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> Message-ID: <037301c0387a$64dd6390$ae03a8c0@fork> Is the same one that got cancelled? > Josh Zeidner wrote: > > > > WROX contacted me a while back saying they wanted to do a Zope book as > > well. Does anyone know anything about this? > > > > -josh > > Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming ----- Original Message ----- From: "Johnson, Chris" To: Sent: Tuesday, October 17, 2000 1:29 PM Subject: [Zope] non oreilly zope book > http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref > =aps_sr_b_1_3/104-9172912-5316749 > > > Take a look at wrox press december publish date for a Zope book. > > > > cj > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 17 21:41:46 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:41:46 -0700 Subject: [Zope] Web Mail & Account creation. References: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: <037901c0387a$aabd1d60$ae03a8c0@fork> There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... ----- Original Message ----- From: "Shervan Agard" To: Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail & Account creation. > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From rik.hoekstra@inghist.nl Tue Oct 17 21:51:35 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 17 Oct 2000 22:51:35 +0200 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> Message-ID: <011901c0387c$0ac8b600$fe5da182@michieltje> > Is the same one that got cancelled? > the very same Rik From zope@engelhaupt.com Tue Oct 17 22:00:09 2000 From: zope@engelhaupt.com (zope@engelhaupt.com) Date: Tue, 17 Oct 2000 21:00:09 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010172100.QAA30719@dawn.digitaldawn.com> I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin From andym@ActiveState.com Tue Oct 17 22:55:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 14:55:28 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> <011901c0387c$0ac8b600$fe5da182@michieltje> Message-ID: <0df901c03884$f68e66e0$ae03a8c0@fork> I wont rush out and get a copy then :P ----- Original Message ----- From: "Rik Hoekstra" To: "Andy McKay" ; "Johnson, Chris" ; Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book > > Is the same one that got cancelled? > > > > the very same > > Rik > > > _______________________________________________ > 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 ) > From Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" Tue Oct 17 23:01:48 2000 From: Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" (Rudd-O) Date: Tue, 17 Oct 2000 17:01:48 -0500 Subject: [Zope] Two questions regarding SQL Message-ID: <200010172201.RAA30311@zeus.usm.edu.ec> Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil From zope@grewen.de Tue Oct 17 23:01:36 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 18 Oct 2000 00:01:36 +0200 Subject: [Zope] Web Mail & Account creation. Message-ID: <002c01c03885$d23d1c40$0300a8c0@windows> > Take a look at http://demo.worldpilot.com:8080/site/. > > It´s a Zope product. > > Jens > > > ----- Original Message ----- > From: "Shervan Agard" > To: > Sent: Tuesday, October 17, 2000 10:39 PM > Subject: [Zope] Web Mail & Account creation. > > > > Is it possible to create a hotmail-like web email server using zope? > > Where users create their own account. > > > > I'd like some insight how-to's or any assistant. > > > > > > Thanks... > > Sherv... > > > > > > > > _______________________________________________ > > 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 ) > > > From neves@samba-choro.com.br Wed Oct 18 00:20:54 2000 From: neves@samba-choro.com.br (Paulo Eduardo Neves) Date: Tue, 17 Oct 2000 20:20:54 -0300 Subject: [Zope] GUF and IE friendly error messages Message-ID: <39ECDED6.3FAA7A2E@samba-choro.com.br> Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user friendly error page. If the user is told to change the IE configuration for not showing friendly errors, the login screen appears. It is not easy to setup for unexperienced users. When the http status is 400 (not found) IE shows the friendly error just for pages smaller than 512 bytes. Unfortunately, it doesn't work when the error status is 500 (server error). I've tried to change http status with RESPONSE.setStatus(200) in the standard_html_error, but it doesn't work. Is it possible to change the http status after an exception is raised? Can someone suggest a solution or workaround for this problem? Thanks in advance for any help, -- Paulo Eduardo Neves http://www.samba-choro.com.br From p@state-of-mind.de Tue Oct 17 23:56:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 18 Oct 2000 00:56:18 +0200 Subject: [Zope] AW: [Zope] Web Mail & Account creation. In-Reply-To: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify the /etc/passwd if I wanted to fullfill the points a), b) and c). Since I don't want anyone to touch that beside of root ;-) I am aiming to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice in connection with zope if you are willing to write something that emulates the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might write some python script to get ridd of 'cyradm'. After creating new users you can log them in using WorldPilot. p@rick > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Shervan Agard > Gesendet: Dienstag, 17. Oktober 2000 22:39 > An: zope@zope.org > Betreff: [Zope] Web Mail & Account creation. > > > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From jprettyman@acm.org Wed Oct 18 00:46:37 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 17 Oct 2000 16:46:37 -0700 Subject: [Zope] Want to access ZClass Instance from external program Message-ID: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon From michel@digicool.com Wed Oct 18 01:51:40 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 17 Oct 2000 17:51:40 -0700 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> Message-ID: <39ECF41C.744A05C7@digicool.com> Chris Withers wrote: > > Michael Bernstein wrote: > > On a slightly different note, I think that the permissions > > list should be viewable in two more ways: A view where > > permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit from super class permissions, so permission could be laid out in a heirarchical fasion. Permission Add Add Foos Edit Edit Bars Delete Delete Bobs View etc... we've thought about this before. implementation makes my brain hurt. -Michel From erik@pacific-shores.com Wed Oct 18 02:11:35 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 17 Oct 2000 18:11:35 -0700 Subject: [Zope] strange problem Message-ID: This is a DTML_Method I call from my standard_error_message: To: Webmaster <> From: ZopeServer <> Subject: Problem at Error Type: Error Value: Error Msg: : I call it like this: The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: : ...it works well. Thanks for you help. -- Erik Myllymaki erik@pacific-shores.com From kthangavelu@earthlink.net Tue Oct 17 23:00:44 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 15:00:44 -0700 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 References: <200010172100.QAA30719@dawn.digitaldawn.com> Message-ID: <39ECCC0C.D05B6916@earthlink.net> hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) >which python they probably aren't the same. just edit the start script accordingly. kapil zope@engelhaupt.com wrote: > > I have a working install of Zope 2.2.2. I installed the python module PoPy > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > README said to run a configure script but there was none. So I just moved the > ZPoPyDA directory it created into the lib/python/Products directory in my zope > home. > > Now for the strange part. When I start zope, I get the following: > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > Traceback (innermost last): > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > (Object: string) > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > ImportError: No module named PoPy > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > on my own. I created a file with the following line: > > import PoPy > > I ran 'python test' and no errors. I added the line: > > import bla > > And then ran 'python test' again just to be sure and it did die saying no such > module bla. I even typed 'import PoPy' in the python interactive shell and > nothing. So outside of zope, python seems to be able to import PoPy, but when > zope tries to import ZPoPyDA it claims there is no PoPy module. > > Any ideas? > > Thanks in advance, > Dustin > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:14:54 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:14:54 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: Message-ID: <39ECDD6E.BA8FD958@earthlink.net> Jon Prettyman wrote: > > I have a folder containing a bunch of ZClass instances that I want to > access from an external (non-web) python application. > > I need to be able to read the values of the instance properties. > > Is there a way to do this with the ZClient stuff? If not, what can I > use. If yes, any pointers? > > -jon its easiest to it with (IMO) xml-rpc and find your zclasses with calls to objectids and query the propertysheets directly for property info. check out http://www.zope.org/Members/Amos/xmlrpclib.py you'll need to fix a base class and an import. www.xml-rpc.com www.xml.com search for amos and zope.org for howtos on xmlrpc Cheers Kapil From kthangavelu@earthlink.net Wed Oct 18 00:16:13 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:16:13 -0700 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? References: Message-ID: <39ECDDBD.771622A1@earthlink.net> i believe these patches are in the collector on zope.org Seb Bacon wrote: > > I needed to do this a while back and a kind fellow sent me some patches to > do just this. Unfortunately my old email is unavailable at the moment, so > I've forgotten who it was. > > The syntax was > > I'll dig out the patches as send them to you. > > seb > > > -----Original Message----- > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > > Burton > > Sent: 17 October 2000 19:22 > > To: zope@zope.org > > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > > > > I'd like to create a DTML method that lists objects, sorting either by > > name or modified-date. I know I can do this by: > > > > > > > > ... > > > > > > ... > > > > > > > > However, this requires lots of code. I'm trying to do it like this: > > > > > > Sorted by &dtml-sortby; > > > > > > () > > > > > > > > I have a property, sortby, of the enclosing folder set to > > "bobobase_modification_time"; when this method is called, it > > dutifully reports that sortby=b_m_t; however, it doesn't sort things > > this way (I can't tell exactly how it is sorting them, and when I > > refresh, the order occasionally changes.) > > > > Any ideas? > > > > -- > > Joel Burton, Director of Information Systems -*- jburton@scw.org > > Support Center of Washington (www.scw.org) > > > > _______________________________________________ > > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:26:33 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:26:33 -0700 Subject: [Zope] strange problem References: Message-ID: <39ECE029.DD9A6C9A@earthlink.net> Erik Myllymaki wrote: > > This is a DTML_Method I call from my standard_error_message: > > > To: Webmaster <> > From: ZopeServer <> > Subject: Problem at > > Error Type: > Error Value: > Error Msg: > > > : > > > > I call it like this: > > The mail is sent appropriately including all the REQUEST items, but the page > that is calling this DTML_Method never finishes downloading. > > It seems that the loop through the REQUEST items causes page rendering to > hang? After several minutes, stopping the page download brings up a > *transfer interupted* message and only then do I see the bottom of the page. > > If I leave this out: > > > : > > > ...it works well. > > Thanks for you help. probably because the response is part of the request object, so you loop... do a request.keys() to see whats there literally and a request variables in dtml are in request.other request variables passed in through dtml are in request.form cheers kapil > > -- > Erik Myllymaki > erik@pacific-shores.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 ) From nspurrier@bluelight.com Wed Oct 18 02:52:57 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 17 Oct 2000 18:52:57 -0700 Subject: [Zope] Bypass ZODB and use File System Message-ID: Hi, Is there an easy way that I can get Zope to use the local file system instead of ZODB? I basically want to make it share the local file system with Apache. Will the LocalFS product do what I want? http://yyy.zope.org/Members/jfarr/Products/LocalFS I looked at it, and so far it seems to do the trick. I'm not sure what limitations I might encounter. So far I can't move files between a real Zope directory and a LocalFS directory. I guess I'm just looking for advice to see if I'm on the right track. What we really want to do is to provide a second view to /var/www/htdocs for Apache. I understand that Apache won't serve up our dynamic content, but that's not important. Zope is just viewed as a better solution for managing our static documents. The problem we have in my organization is that there is a lot of resistance to my prototype Zope document management system due to the fact that everything is stored in ZODB. We think this risky -- possibly a data prison. Also people don't want to change from their current habits of editing files via NFS or Samba mounted directories. My original plan was to allow them some sort of syncronization process, but now I think that would be crazy. Yours, Noah From kthangavelu@earthlink.net Wed Oct 18 05:05:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 21:05:29 -0700 Subject: [Zope] Help Debugging External Methods References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <39ED2189.48CEE0BF@earthlink.net> Robert_J_Roberts@rl.gov wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > robert_j_roberts@rl.gov > > -----Original Message----- > From: Dieter Maurer [mailto:dieter@handshake.de] > Sent: Saturday, October 14, 2000 1:51 PM > To: Robert_J_Roberts@rl.gov > Cc: zope@zope.org > Subject: Re: [Zope] Help Debugging External Methods > > Robert_J_Roberts@rl.gov writes: > > What are my options for debugging External Methods in Zope running on > > Windows NT? > I work under Unix. Maybe my technics are not applicable for NT. > > Usually, I use "print" statements for debugging purposes. > Under Unix, I can redirect "stdout" to a file and > view the output (be sure to flush stdout after "print"). > > You can also use "zLog" (may be spelled differently!). > This writes log entries into the log file. > The advantages: will work under Windows, contains a timestamp. > > If the external method does not need too many Zope infrastructure, > I test it outside of Zope and integrate only, when it works > properly. > > When everything else does not work, I use "Test.py" and > the Python debugger "pdb". > > Dieter > > _______________________________________________ > 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 ) From chrisw@nipltd.com Wed Oct 18 10:15:14 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:15:14 +0100 Subject: [Zope] Determining permissions in a Product References: Message-ID: <39ED6A22.F3A73506@nipltd.com> Aaron Straup Cope wrote: > > Obviously, I would like to solve this problem I would be very interested > to hear about more general approaches to problem solving products. When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what needs fixing. Incidnetally, I think this is a bit of a security hole. You shouldn't get told what you're not allowed to see, especially if it's 'cos you got your password wrong. If you see what I mean ;-) cheers, Chris From chrisw@nipltd.com Wed Oct 18 10:48:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:48:58 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> <39ECF41C.744A05C7@digicool.com> Message-ID: <39ED720A.68C4A244@nipltd.com> Michel Pelletier wrote: > > Chris Withers wrote: > > > > Michael Bernstein wrote: > > > On a slightly different note, I think that the permissions > > > list should be viewable in two more ways: A view where > > > permissions are grouped into 'subjects', (for example all > > Perhaps a better idea is that Permissions are classes that inherit from > super class permissions, so permission could be laid out in a > heirarchical fasion. I dunno, I'd prefer to see something like: Role | Manager |\/| (dropdown list ;-) DTML Method [] Add [] View ...etc... Squishdot Site [] Add [] View [] Moderate ...etc... rather than the current list where you can have something like: Use [] [] [] ...where someone has carelessly named a permission and you have no idea what product it relates to. cheers, Chris From tdickenson@geminidataloggers.com Wed Oct 18 11:10:51 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 18 Oct 2000 11:10:51 +0100 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39ECC3BE.15125.7A005BC@localhost> References: <39EC980C.3C49C228@softax.com.pl> <39ECC3BE.15125.7A005BC@localhost> Message-ID: On Tue, 17 Oct 2000 21:25:18 +0200, "Wolfgang Strobl" wrote: >> Wherever I need information when the page has been created, I use my >> creationTime attribute. > >Sure. For your own creations it's somewhat easier, just create your >own timestamps. But what about existing content. Say: what if you >have a Yihawdirectory which has grown for a while, plus a >collection of Zwikis scattered over various Zopes, which I want to >move into a a single new, but already existing on a bigger, greater >and better server? Zopes existing 'find' mechanism lets you apply an operation to all the objects that it matches - use that to patch your existing objects to the new schema. >> I do not know how to implement 'modificationTime' attribute (or >> better: how to change it whenever someone edits or uploads the >> document). > >Well, for a moment I considered hacking ExportImport.py, but it's >not obvious. That's why I'm asking whether somebody perhaps >already has solved the problem. > >There is the option of stripping all the various data.fs and combining >them via mounting, but this is far from elegant, if it works at all. bobobase_modification_time returns the timestamp of the transaction containing the most recent copy of the object. timestamping is fundamental to ZODB. For this alone to work you will need to keep the objects in separate data.fs files forever. Toby Dickenson tdickenson@geminidataloggers.com From sabaini@niil.at Wed Oct 18 12:37:41 2000 From: sabaini@niil.at (Peter Sabaini) Date: Wed, 18 Oct 2000 13:37:41 +0200 (CEST) Subject: [Zope] DCOracle + LOB Message-ID: hi all, i have this shiny brand new oracle 8i server and now read (on the mailinglist) that there's no lob support for oracle 8i in dcoracle 1.3.2, and indeed it does not appear to work. is that true? i need lob support! is there any workaround? through stored procedures maybe? thanks a lot! peter. -- _________________________________________________ peter sabaini, mailto: sabaini@niil.at ------------------------------------------------- From richard@dcs.co.uk Wed Oct 18 12:20:06 2000 From: richard@dcs.co.uk (Richard Moon) Date: Wed, 18 Oct 2000 12:20:06 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: <39EC2BFD.175F7DDA@goldridge.net> References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <4.3.2.7.2.20001018121331.024ceef0@195.60.12.162> Thanks Monty, I did try the temporary table route - problem is that Zope keeps the connection open so the temporary table stays there. Of course you can explicitly drop the temporary table after you've used it. However if the update fails for any reason the temporary table will still exist so next time in the SQL method fails because its trying to create a temporary table that is already there. I know this shouldn't happen etc but I don't like code that has that kind of potential problem in it - it isn't 'fail-safe'. I decided better to use a permanent table. The SQL method locks it, deletes everything in it then writes the data it needs to store. That way its fail safe and I would expect more efficient than creating and dropping tables. However I hadn't appreciate the REPLACE command. That's a real hidden gem. I'm off to see if I can use it - thanks. Richard At 11:37 17/10/00, you wrote: >You can do it with temporary tables. > >Like this- > >create temporary table foo ( > note_id int, > notes varchar >); >insert into foo select Note.note_id, Note.notes from Note, Artist > where Note.note_id=Artist.note_id and Artist.artist_id=23; >update foo set notes="asdlfna"; >replace into Note select note_id, notes from foo; > >This does assume that the note_id is unique. >You may also need to explicitly drop foo, because it goes away when you >disconnect, but of course Zope holds connections open. > >!!! However -- now that I think of it... you can just do: >replace into Note select note_id, "New Note" from Artist where artist_id=23; > >Of couse, this will change all notes for an artist, so it assumes the >artist_id is unique as well. (Which I would assume it is from your model.) > >If you need more complex things, look into temporary tables, but the MySQL >extension (like replace) do allow you to do fun things. > >Hope this helps, >Monty > >Richard Moon wrote: > > > Nice idea. Trouble is the note table is used to hold notes for many > > different reasons, so it looks like this - > > > > ----------- ------------ -------- > > | Artist | | Recording | | Label | etc. > > ----------- ------------ -------- > > | artist_id | |recording_id| |label_id| > > | note_id | |note_id | |note_id | > > ----------- ------------ -------- > > | | | | | > > --------------------------------------------------------- > > | > > ---------- > > | Note | > > ---------- > > | note_id | > > | notes | > > ---------- > > > > It looks as if there wasn't anything I was missing - I'm just going to have > > to break the code up into separate SQL Methods. > > > > The example I gave was quite simple compared to some of the updates I have > > to deal with. > > > > Thanks anyway. > > > > At 17:40 16/10/00, you wrote: > > >Or you could renormalize your data to have: > > > > > > --------- ----------- > > >| Artist | | Note | > > >|---------|-------|-----------| > > >| id | | id | > > > --------- | artist_id | > > > | note_str | > > > ----------- > > > > > >you now have a list of notes by artist_id. > > >You typically won't have a screen that doesn't have an Artist context > > >to be adding a note to. (or to remove all notes from). > > >Of course this means more work to migrate :-( > > >And I don't know all possible scenarios for which you would > > >need the structure you gave, but it is another way around this. > > >It probably doesn't solve real complex scenarios either. > > > > > >JAT > > > > > >Dale > > > > Richard Moon > > richard@dcs.co.uk > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From brocken22@gmx.de Wed Oct 18 13:05:47 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Wed, 18 Oct 2000 14:05:47 +0200 (MEST) Subject: [Zope] Mozilla->back button Message-ID: <5288.971870747@www26.gmx.net> To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? -- Sent through GMX FreeMail - http://www.gmx.net From fjesteban@uco.es Wed Oct 18 13:11:05 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 18 Oct 2000 14:11:05 +0200 Subject: [Zope] DCOracle + LOB References: Message-ID: <39ED9359.264E4CF@uco.es> If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully to insert/select text into/from a clob column. Peter Sabaini escribió: > hi all, > > i have this shiny brand new oracle 8i server and now read (on the > mailinglist) that there's no lob support for oracle 8i in dcoracle > 1.3.2, and indeed it does not appear to work. > > is that true? i need lob support! is there any workaround? through > stored procedures maybe? > > thanks a lot! > > peter. > > -- > > _________________________________________________ > peter sabaini, mailto: sabaini@niil.at > ------------------------------------------------- > > _______________________________________________ > 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 ) From ssmith6@bigpond.net.au Wed Oct 18 13:19:25 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Wed, 18 Oct 2000 22:19:25 +1000 Subject: [Zope] SQL cursor error Message-ID: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Anyone know what this means? Error Type: sql.error Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor state' I get this when I try to submit a form which passes control to a dtml method. that method in turn makes a dtml-call to another, which calls a SQL method. Regards Steve Smith From chrism@digicool.com Wed Oct 18 05:44:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Wed, 18 Oct 2000 00:44:41 -0400 Subject: [Zope] transactions howto released Message-ID: <000301c03908$4698bb30$1f48a4d8@kurtz> Hi. There's a short howto describing the semantics of ZODB transactions at http://www.zope.org/Members/mcdonc/HowTos/transaction. Enjoy! From ecolmar@uswest.net Wed Oct 18 14:40:05 2000 From: ecolmar@uswest.net (ed colmar) Date: Wed, 18 Oct 2000 07:40:05 -0600 Subject: [Zope] UserDb - Please just WORK Message-ID: <004401c03908$ec509700$0400000a@caliber> Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the specified user does not exist". Arrggg this task is so simple but REALLY FRUSTRATING... Thank you, thank you, thank you... (to anyone who can help) Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in validate (Object: RoleManager) File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in validate (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in getUsers (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in __init__ TypeError: (see above) From cobrien@Radix.Net Wed Oct 18 14:36:13 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? Message-ID: <200010181336.JAA26776@saltmine.radix.net> Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out might see all these seemingly useful things and get frustrated when they dont work. Arrrggg. I just want a bulletin board that works! I know what you are going to say, so I'll start digging through the python code before you yell at me... -- cary From kthangavelu@earthlink.net Wed Oct 18 09:35:27 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:35:27 -0700 Subject: [Zope] Mozilla->back button References: <5288.971870747@www26.gmx.net> Message-ID: <39ED60CF.82677F@earthlink.net> brocken22@gmx.de wrote: > > To support Mozilla I'd like to switch to M18, but in the > Zope-Management-Interface the back-button doesn't seems to work. > What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil From kthangavelu@earthlink.net Wed Oct 18 09:57:10 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:57:10 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181336.JAA26776@saltmine.radix.net> Message-ID: <39ED65E6.523E77EF@earthlink.net> Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! perhaps you want to check out ZUBB... kapil From johanc@torped.se Wed Oct 18 15:21:43 2000 From: johanc@torped.se (Johan Carlsson) Date: Wed, 18 Oct 2000 16:21:43 +0200 Subject: [Zope] INSTANCE_HOME breaks cross products import Message-ID: <013c01c0390e$c164ada0$ac0aa8c0@tor.torped.se> Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import anything from the ZPattern module. 2000-10-17T21:59:14 ERROR(200) Zope Couldn't import Products.LoginManager Traceback (innermost last): File /bigshare/zopeservers/Zope-2.2.2-base/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /bigshare/zopeservers/unitedrings/Products/LoginManager/__init__.py, line 1, in ? File /bigshare/zopeservers/unitedrings/Products/LoginManager/LoginManager.py, line 9, in ? ImportError: cannot import name SheetProviderContainer Now this works fine if I start Zope from the base Zope installation. So what goes wrong and why? Does I do anything wrong or should/could this be fixed in the product? If so I guess it would be practical to document som product author guidelines. Regards, Johan Carlsson From phil.harris@zope.co.uk Wed Oct 18 15:29:46 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Wed, 18 Oct 2000 15:29:46 +0100 Subject: [Zope] UserDb - Please just WORK References: <004401c03908$ec509700$0400000a@caliber> Message-ID: <01dd01c0390f$e026dd70$5c773fc1@media1> ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be something like : select username, "PASSWORD",domains,roles from users Note the quotation marks around 'password'. Another solution involves editing UserDB.py, I can't remember the exact place, but you need to tell it to use a different name for the password field, I chose 'password_' at one time, which also fixed the problem. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "ed colmar" To: Sent: Wednesday, October 18, 2000 2:40 PM Subject: [Zope] UserDb - Please just WORK > Since Login Manager isn't doing the trick, I've been trying User DB to > authenticate to my postgresql DB. > > I get some strange errors, like when I try to view a page that is > 'protected' by UserDb, I get the error message below. Also, when I click a > user in the management screen, it says "the specified user does not exist". > > Arrggg this task is so simple but REALLY FRUSTRATING... > > Thank you, thank you, thank you... (to anyone who can help) > > Error Type: TypeError > Error Value: argument 1: expected read-only character buffer, None found > > Traceback (innermost last): > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in > publish > File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in > traverse > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in > getUsers > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in > __init__ > TypeError: (see above) > > > > > _______________________________________________ > 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 ) From knight@righteous.net Wed Oct 18 15:24:03 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:24:03 -0700 (PDT) Subject: [Zope] SQL cursor error In-Reply-To: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Message-ID: The first problem is your are running Microsoft. Just kidding. On Wed, 18 Oct 2000, steve smith wrote: > Anyone know what this means? > > Error Type: sql.error > Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor > state' > I get this when I try to submit a form which passes control to a dtml > method. that method in turn makes a dtml-call to another, which calls a SQL > method. > > > Regards > Steve Smith > > > _______________________________________________ > 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 ) > > From knight@righteous.net Wed Oct 18 15:26:04 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:26:04 -0700 (PDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: Cary, I've written some code that requires ZSQL Methods that I've been heavily considering porting over to a Product sometime in the near future. It has been more of a "is there enough demand for a forum product" than anything really. Take a look at http://www.phunc.com/Forums and tell me if it looks any bit appealing to you. If I see enough demand, I'll productize it, otherwise, tough luck ;] Knight knight@phunc.com On Wed, 18 Oct 2000, Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From fred@ontosys.com Wed Oct 18 15:39:20 2000 From: fred@ontosys.com (Fred Yankowski) Date: Wed, 18 Oct 2000 09:39:20 -0500 Subject: [Zope] Help Debugging External Methods In-Reply-To: <39ED2189.48CEE0BF@earthlink.net> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> <39ED2189.48CEE0BF@earthlink.net> Message-ID: <20001018093920.A2884@enteract.com> On Tue, Oct 17, 2000 at 09:05:29PM -0700, Kapil Thangavelu wrote: > The Debugger is your friend > http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend That's a useful page -- thanks for the link. It's interesting that the example fooMethod() function has a major flaw, contrary to what the HowTo says: "There's actually nothing wrong with this method to debug". I would have replied directly to the author, 'michel', but his email address does not appear on that HowTo page or any of the pages that I scanned under http://www.zope.org/Members/michel. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From jatwood@bwanazulia.com Wed Oct 18 15:50:25 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 10:50:25 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > To: zope@zope.org > Subject: [Zope] How about removing broken things like Confera and > ZDiscussions? > > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From jason_zope@yahoo.com Wed Oct 18 16:57:33 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 18 Oct 2000 08:57:33 -0700 (PDT) Subject: [Zope] GUF, ZODB, and 2.2.2 Message-ID: <20001018155733.22225.qmail@web4601.mail.yahoo.com> Has anyone had luck getting GUF to work using ZODB to store the user info, and Zope version 2.2.2 (no hot fixes)? I had some code working fine in 2.2.1, but in 2.2.2 I am having lots of trouble getting GUF to work. The current implementation I have places a folder in the acl_users (GUF) folder and that is where I've put my own ZClass (representing each user) inside that folder. In a vain attempt to get it working I have made sure that there are no aquired rights in acl_users, and that anonymous has the Can Login, and Access contents rights. I've also changed all of the hooks I have and made them proxy as root. I've had trouble in the past with GUF but I've always gotten it working. Not so here. Has anyone tried this type of setup and gotten it working? __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jprettyman@acm.org Wed Oct 18 17:01:09 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 09:01:09 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Kapil Thangavelu's message of "Tue, 17 Oct 2000 16:14:54 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com" ) print server for k,v in server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): print "%-15s: %s" % (k, v) My ZClass has a propertysheet named ``common'' The error I get is: -2 Unexpected Zope Error Value and a bunch of HTML which boils down to: Resource not found -jon Kapil Thangavelu writes: > its easiest to it with (IMO) > > xml-rpc > > and find your zclasses with calls to objectids and query the > propertysheets directly for property info. > > > check out > > http://www.zope.org/Members/Amos/xmlrpclib.py > you'll need to fix a base class and an import. > > www.xml-rpc.com > > www.xml.com search for amos > > and zope.org for howtos on xmlrpc > > Cheers > > Kapil > > _______________________________________________ > 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 ) From zope@snoman.com Wed Oct 18 17:16:15 2000 From: zope@snoman.com (Dustin) Date: Wed, 18 Oct 2000 16:16:15 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010181616.LAA00374@dawn.digitaldawn.com> Thanks for the help Kapil. That was the problem, but what I did instead was copied the PoPymodule.so from the system python lib folder to /zope_home/lib/python. That did the trick. Dustin Kapil Thangavelu said: > > hi dustin > > your probably not running the same python interpreters. > > check your start shell script and see which python interpreter its using > and compare > it to (i'm kinda of assuming your're on a *nix system) > > >which python > > they probably aren't the same. just edit the start script accordingly. > > kapil > > zope@engelhaupt.com wrote: > > > > I have a working install of Zope 2.2.2. I installed the python module PoPy > > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > > README said to run a configure script but there was none. So I just moved the > > ZPoPyDA directory it created into the lib/python/Products directory in my zope > > home. > > > > Now for the strange part. When I start zope, I get the following: > > > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > > Traceback (innermost last): > > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > > (Object: string) > > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > > ImportError: No module named PoPy > > > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > > on my own. I created a file with the following line: > > > > import PoPy > > > > I ran 'python test' and no errors. I added the line: > > > > import bla > > > > And then ran 'python test' again just to be sure and it did die saying no such > > module bla. I even typed 'import PoPy' in the python interactive shell and > > nothing. So outside of zope, python seems to be able to import PoPy, but when > > zope tries to import ZPoPyDA it claims there is no PoPy module. > > > > Any ideas? > > > > Thanks in advance, > > Dustin > > > > _______________________________________________ > > 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 ) > From chrisw@nipltd.com Wed Oct 18 17:21:41 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:21:41 +0100 Subject: [Zope] __len__ Errors References: Message-ID: <39EDCE15.EBC8C92C@nipltd.com> Nope, the list might benefit from seeing the traceback though... cheers, Chris Scott Burton wrote: > > They are ZDiscussion based. I might have figured out why. I added my custom > properties to the discussion items. I did not know ZD was python-based and > not entirely ZClassed. > > I have been moving my products over to 2.2 on my server with the exception > of ZDiscussion which seems to be giving me a strange error when I try to > import the ZDiscussion.zexp. It is an A pickle error. I could give you the > trace back it has some strange errors in it regarding other product???. > > I will try some more this evening. > > Thanks, > > Scott > > > From: Chris Withers > > Organization: New Information Paradigms > > Date: Wed, 18 Oct 2000 10:16:34 +0100 > > To: Scott Burton > > Subject: Re: [Zope] __len__ Errors > > > > Scott: No HTML mail! ;-) > > > > Are the discussions groups Squishdot-based? > > > > Any reason you can't upgrade to 2.2.2? > > > > cheers, > > > > Chris > > > > Scott Burton wrote: > >> > >> I seem to be getting __len__ errors: Error type: > >> exceptions.AttributeError > >> Error value: __len__ > >> When accessing any method with an loop. > >> I am running 2.1.6, with the current hot fixes. It seems to have > >> started after installing the hot fixes. > >> I can replicate it with a simple loop in a method. I read > >> somewhere about the hotfix changing objects ownerships. Could this be > >> causing this? If so, how do I remove a hotfix? It has rendered my > >> discussion groups useless. > >> > >> TIA > >> > >> Scott > > From aboulang@ldeo.columbia.edu Wed Oct 18 17:26:28 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Wed, 18 Oct 2000 12:26:28 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: Message-ID: <200010181626.MAA20584@ox.ldgo.columbia.edu> There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a more formal declaration of the dependencies on versions of products relied upon at the download pages -- for some products this has become a tricky and madning process to make sure all the versions are correct for a product to run. This is natural in the progress of Zope and Zope products and will become even more and issue as Zope matures even further. This can be formalized. I do like the way SGI does some of this. Just my cents (sense). Regards, Albert Boulanger aboulanger@vpatch.com From chrisw@nipltd.com Wed Oct 18 17:29:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:29:31 +0100 Subject: [Zope] Discussions References: <200010181336.JAA26776@saltmine.radix.net> <39ED65E6.523E77EF@earthlink.net> Message-ID: <39EDCFEB.5BB3F2BB@nipltd.com> Kapil Thangavelu wrote: > > Cary O'Brien wrote: > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > perhaps you want to check out ZUBB... Or Squishdot ;-) Who's maintaining ZUBB nowadays? cheers, Chris From cobrien@Radix.Net Wed Oct 18 17:32:14 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:32:14 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181626.MAA20584@ox.ldgo.columbia.edu> from albert boulanger at "Oct 18, 2000 12:26:28 pm" Message-ID: <200010181632.MAA17485@saltmine.radix.net> > > > There is a ZDiscussions that works. It is called ZUBB. > > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > > Might be better to have a more formal declaration of the dependencies > on versions of products relied upon at the download pages -- for some > products this has become a tricky and madning process to make sure all > the versions are correct for a product to run. This is natural in the > progress of Zope and Zope products and will become even more and issue > as Zope matures even further. This can be formalized. I do like the > way SGI does some of this. > Bangs head. Doh! Why the heck don't products have explicit requirements the "package require n.m" in TCL. Heck, python ought to. Import Fred(1.2) from Bedrock Or something like that. -- cary From mvmendes@emdata.com.br Wed Oct 18 15:39:15 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Wed, 18 Oct 2000 14:39:15 +0000 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39EDB613.E94E2A65@emdata.com.br> Take a look at Security View of its ZClass. Give permissions to anonymous users. Marcus Mendes Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From andym@ActiveState.com Wed Oct 18 17:41:09 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 18 Oct 2000 09:41:09 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181632.MAA17485@saltmine.radix.net> Message-ID: <013b01c03922$38697300$50f47118@cr582427a> How about a tested with version x field on Products? ----- Original Message ----- From: "Cary O'Brien" To: Cc: Sent: Wednesday, October 18, 2000 9:32 AM Subject: Re: [Zope] How about removing broken things like Confera and ZDiscussions? > > > > > > There is a ZDiscussions that works. It is called ZUBB. > > > > http://www.zope.org/Members/BwanaZulia/ZUBB > > > > But, I agree, old product that have been left behind (the old version of > > ZDiscussions/Confera) should be marked and or archived. > > > > J > > > > > > > > Might be better to have a more formal declaration of the dependencies > > on versions of products relied upon at the download pages -- for some > > products this has become a tricky and madning process to make sure all > > the versions are correct for a product to run. This is natural in the > > progress of Zope and Zope products and will become even more and issue > > as Zope matures even further. This can be formalized. I do like the > > way SGI does some of this. > > > > Bangs head. Doh! > > Why the heck don't products have explicit requirements the "package require n.m" > in TCL. Heck, python ought to. > > Import Fred(1.2) from Bedrock > > Or something like that. > > -- cary > > _______________________________________________ > 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 ) > From cobrien@Radix.Net Wed Oct 18 17:41:59 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: from "J. Atwood" at "Oct 18, 2000 10:50:25 am" Message-ID: <200010181641.MAA18455@saltmine.radix.net> > There is a ZDiscussions that works. It is called ZUBB. > But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Arrg. -- cary > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > From: "Cary O'Brien" > > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > > To: zope@zope.org > > Subject: [Zope] How about removing broken things like Confera and > > ZDiscussions? > > > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > > > I know what you are going to say, so I'll start digging > > through the python code before you yell at me... > > > > -- cary > > > > > > _______________________________________________ > > 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 ) > > > > > From jatwood@bwanazulia.com Wed Oct 18 17:51:59 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:51:59 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181641.MAA18455@saltmine.radix.net> Message-ID: So... add attachments. Not really a big deal. No one product is going to do it all out of the box. That is why it is Open Source.. you open it and provide your own source of code. :) J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) > To: jatwood@bwanazulia.com (J. Atwood) > Cc: cobrien@radix.net, zope@zope.org > Subject: Re: [Zope] How about removing broken things like Confera and > ZDiscussions? > >> There is a ZDiscussions that works. It is called ZUBB. >> > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. > > Arrg. > > -- cary > > >> http://www.zope.org/Members/BwanaZulia/ZUBB >> >> But, I agree, old product that have been left behind (the old version of >> ZDiscussions/Confera) should be marked and or archived. >> >> J >> >>> From: "Cary O'Brien" >>> Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) >>> To: zope@zope.org >>> Subject: [Zope] How about removing broken things like Confera and >>> ZDiscussions? >>> >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >>> >>> I know what you are going to say, so I'll start digging >>> through the python code before you yell at me... >>> >>> -- cary >>> >>> >>> _______________________________________________ >>> 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 ) >>> >>> >> > > From jatwood@bwanazulia.com Wed Oct 18 17:54:22 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:54:22 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDCFEB.5BB3F2BB@nipltd.com> Message-ID: Yes, Squishdot is a very good option as well. ZUBB, it would seem, it being maintained by little ole me. Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 17:29:31 +0100 > To: Kapil Thangavelu > Cc: "Cary O'Brien" , zope@zope.org > Subject: Re: [Zope] Discussions > > Kapil Thangavelu wrote: >> >> Cary O'Brien wrote: >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >> >> perhaps you want to check out ZUBB... > > Or Squishdot ;-) > > Who's maintaining ZUBB nowadays? > > 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 ) > > From chrisw@nipltd.com Wed Oct 18 18:04:54 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:04:54 +0100 Subject: [Zope] Squish it References: <200010181641.MAA18455@saltmine.radix.net> Message-ID: <39EDD836.C90CA6A1@nipltd.com> Cary O'Brien wrote: > > > There is a ZDiscussions that works. It is called ZUBB. > > > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. Squishdot does attachments ;-) Chris PS: It was originally based on ZDConfera, btu has grown a bit since then ;-) From chrisw@nipltd.com Wed Oct 18 18:05:55 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:05:55 +0100 Subject: [Zope] Discussions References: Message-ID: <39EDD873.83FA3B7B@nipltd.com> "J. Atwood" wrote: > > Maybe I should write a little "Differences between ZUBB and Squishdot" so > people can figure out where to use one or the other. I'd love to read it :-) Chris From kthangavelu@earthlink.net Wed Oct 18 13:35:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 05:35:12 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: <39ED9900.5219EA03@earthlink.net> Jon Prettyman wrote: > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > server. So far I can retrieve objectIds and retrieve objects via an > objectid, but I can't figure out how to get to the property sheets. > > Here's what I've got: > > server = Server( "http://jonprettyman.com" ) > > print server > > for k,v in > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > print "%-15s: %s" % (k, v) > > My ZClass has a propertysheet named ``common'' > > The error I get is: > -2 Unexpected Zope Error Value > > and a bunch of HTML which boils down to: > > Resource not found > > -jon hmmm... try and take it a step back and query the propertysheet container for names of propertysheets it contains. you'll need to check out the ZQR for the syntax, i think its propertyIds(). you might also want to check that your authenticating with a user that has the proper security roles to query this info. if you're still having problems tell me and i'll play with it once i get back from work. Cheers Kapil From jatwood@bwanazulia.com Wed Oct 18 19:43:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 14:43:57 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDD873.83FA3B7B@nipltd.com> Message-ID: No problem... I have to go look at Squishdot again though. Forgetting some of the features. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 18:05:55 +0100 > To: "J. Atwood" > Cc: Kapil Thangavelu , Cary O'Brien > , zope@zope.org > Subject: Re: [Zope] Discussions > > "J. Atwood" wrote: >> >> Maybe I should write a little "Differences between ZUBB and Squishdot" so >> people can figure out where to use one or the other. > > I'd love to read it :-) > > Chris > From jprettyman@acm.org Wed Oct 18 19:38:22 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 11:38:22 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 05:35:12 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: Adding: try: for k in server.EBQ.id_company_apply_html.propertysheets.propertyIds(): print "%-15s:" % (k) except Error, v: print server print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are properties of server.EBQ. -jon Ender writes: > Jon Prettyman wrote: > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > server. So far I can retrieve objectIds and retrieve objects via an > > objectid, but I can't figure out how to get to the property sheets. > > > > Here's what I've got: > > > > server = Server( "http://jonprettyman.com" ) > > > > print server > > > > for k,v in > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > print "%-15s: %s" % (k, v) > > -jon > > hmmm... > > try and take it a step back and query the propertysheet container for > names of propertysheets it contains. you'll need to check out the ZQR > for the syntax, i think its propertyIds(). > > > you might also want to check that your authenticating with a user > that has the proper security roles to query this info. > > > if you're still having problems tell me and i'll play with it once i get > back from work. > > Cheers > > Kapil > > _______________________________________________ > 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 ) From DBaker@CHW.edu Wed Oct 18 22:44:39 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:44:39 -0700 Subject: [Zope] MySQL and Zope struggles Message-ID: What about one sql method: select @noteid:=note_id from artist where update note set notes = where note_id = @noteid -----Original Message----- From: Richard Moon [mailto:richard@dcs.co.uk] Sent: Monday, October 16, 2000 2:48 AM To: zope@zope.org Subject: [Zope] MySQL and Zope struggles I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk _______________________________________________ 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 ) From DBaker@CHW.edu Wed Oct 18 22:46:22 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:46:22 -0700 Subject: [Zope] Two questions regarding SQL Message-ID: Dunno if someone replied to this, but try GUF. Let's you roll your own authentication. There is a howto out there for using GUF with an SQL server. -----Original Message----- From: //www.alomega.com/ [mailto:amadorm@usm.edu.ec] Sent: Tuesday, October 17, 2000 3:02 PM To: zope@zope.org Subject: [Zope] Two questions regarding SQL Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil _______________________________________________ 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 ) From asc@vineyard.net Wed Oct 18 22:54:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 17:54:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER Message-ID: Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping that I'm not staring right past the problem. Can anyone point out what it is I am doing wrong? Thanks, a) DTML Document : foo b) ZSQL Method : people.lookup_by_username select * from people where username = "" From jprettyman@acm.org Wed Oct 18 23:18:17 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 15:18:17 -0700 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Aaron Straup Cope's message of "Wed, 18 Oct 2000 17:54:57 -0400 (EDT)" References: Message-ID: I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From asc@vineyard.net Thu Oct 19 00:20:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 19:20:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: > I'm pretty sure that all variables have to be passed in explicitly > with SQLMethods. Namespaces are not passed in. > > Try specifying username as an argument in the ZSQLMethods edit form > and pass it in like this: > "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()"> > > (Untested....) > > -jon > > Aaron Straup Cope writes: > > > Hi, > > > > I'm trying to perform a simple MySQL lookup based on the > > AUTHENTICATED_USER. When I test the ZSQL method from the management > > interface, everything works fine. However, when I try to call the method > > from a DTML document, [it] returns nothing. > > > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > > right past the problem. Can anyone point out what it is I am doing > > wrong? Thanks, > > > > a) DTML Document : foo > > > > > > > > > > > > > > > > b) ZSQL Method : people.lookup_by_username > > > > select * from people where username = " > "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > > > > > _______________________________________________ > > 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 ) > > From ssmith6@bigpond.net.au Thu Oct 19 00:19:48 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Thu, 19 Oct 2000 09:19:48 +1000 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: <000501c03959$e9c75040$be348490@vic.bigpond.net.au> I have an approach that works for me, but it may be a bit awkward. I have a SQL method (dbGetUserID) which takes AUTHENTICATED_USER as an argument and finds the value from the "userid" field in the database: select userid from users where shortname = When I need to perform database ops on the user, I just call this method and use the resulting id, eg, insert into sometable (userid, otherfield) values (, ) I have AUTHENTICATED_USER in the parameter list for this SQL method as well, though it may not need to be... Steve -----Original Message----- From: jjp@wacko.pdx.net [mailto:jjp@wacko.pdx.net]On Behalf Of Jon Prettyman Sent: Thursday, 19 October 2000 8:18 To: zope@zope.org Subject: Re: [Zope] ZSQL Method & AUTHENTICATED_USER I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From curtis@cardgate.net Thu Oct 19 01:11:05 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 19 Oct 2000 11:11:05 +1100 Subject: [Zope] A clarity problem... Message-ID: <00101911110507.01234@localhost.localdomain> Green things, After seeing yet another problem caused by the 'shorthand' of zope (using "foo" to mean expr="foo") I was wondering just how difficult it would be to REMOVE this useful, but confusing, feature. Personally, I don't have a problem with it, any more. But it seems a sizable portion of traffic on this list is because of people who do. (True, it seems to have dropped off in recent weeks... is this because there is better doco, or have newbie numbers dropped?) Even if it were a build time option or something... just rambling... Curtis Maloney From andreas@ahit.de Thu Oct 19 01:56:29 2000 From: andreas@ahit.de (Andreas) Date: Thu, 19 Oct 2000 02:56:29 +0200 Subject: [Zope] OT: Zope/ReportLab/PDF generate left aligned tables Message-ID: <39EE46BD.69FECE79@ahit.de> Hi, Is anybody out there using ReportLab PDF library ? I successfully installed ReportLab and PIL to serve out pdf files with Zope. Now I'm in trouble with reportlab.platypus.SimpleDocTemplate ,Table. I can't figure out how to draw a table left aligned on a PageTemplate. I can set several styles of table cells but wehrer can I set the alignment of a table within it's frame? ################## # myZopeTable.py # ################## import string from reportlab.platypus import Image,Table, TableStyle, SimpleDocTemplate from reportlab.lib.units import inch, cm from reportlab.lib import colors from reportlab.pdfgen.canvas import Canvas from reportlab.lib.pagesizes import A4, landscape from reportlab.pdfgen.textobject import PDFTextObject from types import * class buffer: def __init__(self): self._buffer = [] self._size = 0 def write(self,line): self._buffer.append(str(line)) def read(self): data = string.join(self._buffer, '') return data def tell(self): return len(self._buffer) def myPage(canvas,doc): canvas.saveState() canvas.setPageCompression(1) canvas.setFont('Times-Roman',9) canvas.setAuthor('andreas@aHit.de') canvas.drawRightString(doc.leftMargin+doc.width,10,"Page %d" % doc.page) canvas.restoreState() def helloworld(self,req): stream = buffer() res=self.SqlWizardQuery() # ZSQLMethod data=[] for i in range(len(res)): row=res[i] items=[] items.append(req.sq+i) for j in range(len(row)): items.append(row[j]) data.append(items) t=Table(data) t.setStyle(TableStyle([('INNERGRID',(0,0),(-1,-1),0.25,colors.black), ('BOX',(0,0),(-1,-1),2.0,colors.black), ('ALIGN',(0,0),(-1,0),'CENTER'), ('ALIGN',(0,1),(0,-1),'RIGHT'), ('FONTSIZE',(0,0),(-1,0),8), ])) lst = [] lst.append(t) doc = SimpleDocTemplate(stream, pagesize=landscape(A4), leftMargin=2*cm, rightMargin=2*cm, topMargin=2.5*cm, bottomMargin=2*cm ,showBoundary=1) doc.build(lst,myPage,myPage) return stream.read() -- _________________________________________________________ Andreas Heckel andreas@aHIT.de From mvmendes@emdata.com.br Thu Oct 19 03:03:08 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 00:03:08 -0200 Subject: [Zope] ZopeTime Question Message-ID: <39EE565C.10E56169@emdata.com.br> Hello, Why the ZopeTime puts the differents values in the code bellow? The first give me todays date; the second give me the tomorrow date!! How can I obtain the todays date using fmt=%A sintaxe? Thanks in advance. Marcus Mendes From akm@mail.theinternet.com.au Thu Oct 19 02:19:13 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Thu, 19 Oct 2000 11:19:13 +1000 Subject: [Zope] ZopeTime Question In-Reply-To: <39EE565C.10E56169@emdata.com.br>; from Marcus Mendes on Thu, Oct 19, 2000 at 12:03:08AM -0200 References: <39EE565C.10E56169@emdata.com.br> Message-ID: <20001019111913.W11738@zeus.theinternet.com.au> +-------[ Marcus Mendes ]---------------------- | Hello, | | Why the ZopeTime puts the differents values in the code bellow? | | | | | | | The first give me todays date; | the second give me the tomorrow date!! | | How can I obtain the todays date using fmt=%A sintaxe? Explicitly pass your TimeZone into ZopeTime as well. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From homewerk@pacbell.net Thu Oct 19 02:40:47 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Wed, 18 Oct 2000 18:40:47 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 Message-ID: <39EE511F.7B02C0C8@pacbell.net> I currently have Zope and Python installed from the source code from the excellent instructions by JShell. But there is one little problem....CPU Utilization shoots above 97% as soon as I access the management screen. If anybody has any ideas or solutions. Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh 320Mb......G4 Thanks Jeff Jeffy.spamtrap.@.spamtrap2.myrealbox.com From kthangavelu@earthlink.net Wed Oct 18 21:38:29 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 13:38:29 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: <39EE0A45.422DD031@earthlink.net> Sorry Jon, i've lead you down a slippery slope... unlike ttw dtml-methods and the rest of zope which relies on the security context soley, for a filesys python method to be exposed through the web via xml-rpc it must have a doc string as well as have proper credentials. looking through propertysheets there is no 'proper' way to do this... but i lead you down the path, so here is a way back out... there are a couple of options. the easiest is to have dtml_method for this zclass that functions as a helper method, like dtml method -- external_helper and in the client x = root.subfolder.zclass.external_helper() meta_info=eval(x) print meta_info ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) or if external_helper returned propertyItems() [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] if you're working with DateTime values in your propertysheets this will be trickier as you'll need to either retrieve the property you want independently or import Zope's DateTime module. also remember to set the security on the helper method so its not helping somebody hack your site. the rest of the ways are exercises in wasting time... IMO hope that helps out Cheers Kapil Jon Prettyman wrote: > > Adding: > try: > for k in > server.EBQ.id_company_apply_html.propertysheets.propertyIds(): > print "%-15s:" % (k) > except Error, v: > print server > print "ERROR", v > > Gives me output, although I'm pretty shure it's not the right thing. > Output: > title > base > > Both of these are properties of server.EBQ. > > -jon > > Ender writes: > > > Jon Prettyman wrote: > > > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > > server. So far I can retrieve objectIds and retrieve objects via an > > > objectid, but I can't figure out how to get to the property sheets. > > > > > > Here's what I've got: > > > > > > server = Server( "http://jonprettyman.com" ) > > > > > > print server > > > > > > for k,v in > > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > > print "%-15s: %s" % (k, v) > > > -jon > > > > hmmm... > > > > try and take it a step back and query the propertysheet container for > > names of propertysheets it contains. you'll need to check out the ZQR > > for the syntax, i think its propertyIds(). > > > > > > you might also want to check that your authenticating with a user > > that has the proper security roles to query this info. > > > > > > if you're still having problems tell me and i'll play with it once i get > > back from work. > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) From terry@adroit.net Thu Oct 19 05:10:06 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 19 Oct 2000 15:10:06 +1100 Subject: [Zope] OT: documentation systems. Message-ID: <39EE741E.5D1B438E@adroit.net> Hi, What documentation systems to people use for developing offline hardcopy and online user documentation for applications that they develop? I am writing an extensive application using zope, and it needs a lot of user documentation. The system I use won't necessarily have to be web based...I just wants something that is effect. terry -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From Riku.Voipio@tietoenator.com Thu Oct 19 08:07:57 2000 From: Riku.Voipio@tietoenator.com (Riku Voipio) Date: Thu, 19 Oct 2000 10:07:57 +0300 Subject: [Zope] debugging zope? Message-ID: <20001019100757.A1254@samncd.tsd.tieto.com> Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio riku.voipio@tietoenator.com 09-862 60764 From mail@okstudio.com.au Thu Oct 19 11:18:13 2000 From: mail@okstudio.com.au (George Osvald) Date: Thu, 19 Oct 2000 20:18:13 +1000 Subject: [Zope] Z2.log question Message-ID: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George From gchiu@compkarori.co.nz Thu Oct 19 10:50:21 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Thu, 19 Oct 2000 22:50:21 +1300 Subject: [Zope] Tiny tables In-Reply-To: <20001013194008.A15613@corrada.com> Message-ID: On Fri, 13 Oct 2000 19:40:08 -0400 andres@corrada.com wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as such. One > quick way to get around this is to quote your field value > - > > "criteria:tokens" Hi, I tried this, and the tinytables just discarded the column. As a temporary fix, I've just created a ZClass to hold the tokens. What I would like to do now is feed the tokens into a sqlmethod, which then populates a tinytable with new values. My zclass has a string attribute called p_tinytable which holds the name of the tinytable to be changed. However, if I call the function as follows: I get: Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' or I get: Error Type: AttributeError Error Value: manage_editData -- Graham Chiu From jatwood@bwanazulia.com Thu Oct 19 11:18:27 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 19 Oct 2000 06:18:27 -0400 Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> References: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > From bill@carbonecho.com Thu Oct 19 12:40:21 2000 From: bill@carbonecho.com (Bill Welch) Date: Thu, 19 Oct 2000 11:40:21 +0000 (GMT) Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? From Oliver Sturm Thu Oct 19 13:08:40 2000 From: Oliver Sturm (Oliver Sturm) Date: Thu, 19 Oct 2000 14:08:40 +0200 Subject: [Zope] Python/Perl methods? Message-ID: <4615697541.20001019140840@oliver-sturm.de> Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver mailto:sturm@oliver-sturm.de From mvmendes@emdata.com.br Thu Oct 19 23:19:00 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 22:19:00 +0000 Subject: [Zope] ZopeTime Questions Message-ID: <39EF7354.3A1DA3D9@emdata.com.br> Hello, ->>>> I'm using the following code. ->>>> I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always !!!! ->>> I'm starting my Zope with option -L pt_BR. Any comments or help? Thanks in advance. Marcus Mendes From asc@vineyard.net Thu Oct 19 14:01:58 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Thu, 19 Oct 2000 09:01:58 -0400 (EDT) Subject: [Zope] OT: documentation systems. In-Reply-To: <39EE741E.5D1B438E@adroit.net> Message-ID: I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com There's alreast atleast one XML stylesheet for the outline documents : http://www.whump.com/www/xmlone/source/outline/outline.xsl On Thu, 19 Oct 2000, Terry Kerr wrote: > Hi, > > What documentation systems to people use for developing offline hardcopy > and online user documentation for applications that they develop? I am > writing an extensive application using zope, and it needs a lot of user > documentation. The system I use won't necessarily have to be web > based...I just wants something that is effect. > > terry > > > -- > Terry Kerr (terry@adroit.net) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 708 124 > ICQ: 79303381 > > > > > _______________________________________________ > 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 ) > > From cobrien@Radix.Net Thu Oct 19 14:15:20 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Thu, 19 Oct 2000 09:15:20 -0400 (EDT) Subject: [Zope] ZDiscussions for Zope 2.2.2 Message-ID: <200010191315.JAA08209@saltmine.radix.net> Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a few places. 3) Fix a check for "Cancel" 4) fix the size of __ac_permissions__ I uploaded it to www.zope.org (never done that before, it is pretty nice!). I left the RCS files in place in case anyone wants to critique my um-er work. http://www.zope.org/Members/cobrien/ZDiscussions_zope22 You may be happier with ZUBB or Squishdot. -- cary From taco@scargo.nl Thu Oct 19 14:26:25 2000 From: taco@scargo.nl (Taco Scargo) Date: Thu, 19 Oct 2000 15:26:25 +0200 Subject: [Zope] Help needed with news articles Message-ID: <001501c039d0$2df5d400$53001f0a@TACOTOSHIBA> Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From steve@spvi.com Thu Oct 19 15:14:17 2000 From: steve@spvi.com (Steve Spicklemire) Date: Thu, 19 Oct 2000 09:14:17 -0500 (EST) Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 In-Reply-To: <39EE511F.7B02C0C8@pacbell.net> (message from Jeff Forsyth on Wed, 18 Oct 2000 18:40:47 -0700) References: <39EE511F.7B02C0C8@pacbell.net> Message-ID: <200010191414.JAA58313@mercury.spvi.com> Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve >>>>> "Jeff" == Jeff Forsyth writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions by JShell. But there is one little Jeff> problem....CPU Utilization shoots above 97% as soon as I Jeff> access the management screen. If anybody has any ideas or Jeff> solutions. Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Jeff> Rights Reserved. Power Macintosh Jeff> 320Mb......G4 Jeff> Thanks Jeff Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com Jeff> _______________________________________________ Zope Jeff> maillist - Zope@zope.org Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross Jeff> posts or HTML encoding! ** (Related lists - Jeff> http://lists.zope.org/mailman/listinfo/zope-announce Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From fred@ontosys.com Thu Oct 19 15:15:16 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 19 Oct 2000 09:15:16 -0500 Subject: [Zope] OT: documentation systems. In-Reply-To: References: <39EE741E.5D1B438E@adroit.net> Message-ID: <20001019091515.A36316@enteract.com> Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/license.html) prohibits use starting one year after the first commercial release. On Thu, Oct 19, 2000 at 09:01:58AM -0400, Aaron Straup Cope wrote: > I've been using the RadioUserland (nee Frontier) outliner to document the > Zope system I am building. It saves the outline files as XML documents so > I get to have a full-featured outliner to organzie my thoughts and a > (sort of) universal file format to share with people. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From webmaven@lvcm.com Thu Oct 19 15:30:04 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:30:04 -0700 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> Message-ID: <39EF056B.C74E25B7@lvcm.com> Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if it's 'cos you got > your password wrong. If you see what I mean ;-) I see what you mean here, Chris, but wouldn't this come under the heading of a 'security through obscurity' hole? ie. you're saying that the system isn't obscure enough? Michael. From webmaven@lvcm.com Thu Oct 19 15:59:53 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:59:53 -0700 Subject: [Zope] Bypass ZODB and use File System References: Message-ID: <39EF0C69.7EBC82EC@lvcm.com> Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my organization is > that there is a lot of resistance to my prototype Zope > document management system due to the fact that everything is > stored in ZODB. We think this risky -- possibly a data prison. The way my organization does it, is to manage the content within Zope, and to regularly run 'wget' on the server to replicate it all to static files, which are then served by Apache on another server. Doing that, plus regular backups of the Data.fs file (you're already making regular backups of your Apache based system, right?), and you should be guarded against any but the most catastrophicly unlikely disaster scenarios (you do have a disaster recovery plan, right?). wget is really a very easy way to get documents back out of Zope, and if your system is designed to do this as a matter of course (perhaps by using 'cron'), it should silence those particular criticisms. > Also people don't want to change from their current habits of > editing files via NFS or Samba mounted directories. My original > plan was to allow them some sort of syncronization process, > but now I think that would be crazy. Hmm. I guess it depends on what percentage of your users want to keep doing this. You can certainly combine LocalFS with the approach that I outlined above. I would make it a special case. Keep the CMS server separate from the Apache server, and only allow the mounted directories on the CMS server. I've found that people appreciate being able to manage their content from anywhere through a browser, and they tend to gravitate toward that as a matter of course, once it's there, if they're not forced to do it. In short, give people options, and see which ones they actually use. HTH, Michael Bernstein. From homewerk@pacbell.net Thu Oct 19 16:25:19 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Thu, 19 Oct 2000 08:25:19 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 References: <39EE511F.7B02C0C8@pacbell.net> <200010191414.JAA58313@mercury.spvi.com> Message-ID: <39EF125F.CC8103D4@pacbell.net> I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production. Would upgrading Python to 1.6 or 2.0 solve some problems on MacOS X Server (Rhapsody)? Steve Spicklemire wrote: > Hmmm.. I'm running Zope on mosxb and it works fine... > > http://www.zope.org/Members/sspickle/MacOSXBHFS > > -steve > > >>>>> "Jeff" == Jeff Forsyth writes: > > Jeff> I currently have Zope and Python installed from the source > Jeff> code from the > > Jeff> excellent instructions by JShell. But there is one little > Jeff> problem....CPU Utilization shoots above 97% as soon as I > Jeff> access the management screen. If anybody has any ideas or > Jeff> solutions. > > Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST > Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC > Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All > Jeff> Rights Reserved. Power Macintosh > > Jeff> 320Mb......G4 > > Jeff> Thanks Jeff > > Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com > > Jeff> _______________________________________________ Zope > Jeff> maillist - Zope@zope.org > Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jeff> posts or HTML encoding! ** (Related lists - > Jeff> http://lists.zope.org/mailman/listinfo/zope-announce > Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From Jerry.Spicklemire@IFLYATA.COM Thu Oct 19 16:22:43 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 19 Oct 2000 10:22:43 -0500 Subject: [Zope] Python/Perl methods? Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338DF@innt-73.ata.com> Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope Book is being compiled as a draft of a document to be delivered in the future. Some of the stuff refered to isn't really "there yet", in terms of inclusion as a standard part of the Zope download package. Python Methods are available, but as an add-on. Perl methods too, but they are even newer, as in less mature / stable / all those positive adjectives. So if you really want to try Python Methods, look here: http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal download from here: http://www.zope.org/Members/4am/PythonMethod and for Perl Methods look here: http://www.zope.org/Wikis/zope-perl/FrontPage and download from here: ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz Later, Jerry S. From troy.farrell@wilcom.com Thu Oct 19 17:16:11 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Thu, 19 Oct 2000 11:16:11 -0500 Subject: [Zope] Question! Message-ID: Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server name. Let me know what else you need to know. Troy -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the database Can you help me? Thanks Carlos ------- ----- Original Message ----- From: Farrell, Troy To: 'Carlos Vasconez' ; Sent: Monday, October 16, 2000 8:04 PM Subject: RE: [Zope] Question! > Yes you can. You will need ZODBC to connect to the SQLServer. Make sure > that SQL server is available as a "System DSN" on it's host. You will also > need a username and password to connect. Zope will ask you for this in the > DSN string. Best of luck to you. > > Troy > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:troy.farrell@wilcom.com > http://www.williams.com > > > -----Original Message----- > From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] > Sent: Monday, October 16, 2000 6:48 AM > To: zope@zope.org > Subject: [Zope] Question! > > > Hi > > I am read about zope. > Question? > I can use Zope with NT Server, IIS 4 and SQLServer ? > I have a Database in SQLServer > > Thanks > > Carlos > --------- > From zope@grewen.de Thu Oct 19 18:09:06 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 19 Oct 2000 19:09:06 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <000a01c039ef$8d2a4ae0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
------=_NextPart_000_0007_01C03A00.0D95B560-- From jeffrey@Digicool.com Thu Oct 19 18:18:49 2000 From: jeffrey@Digicool.com (Jeffrey P Shell) Date: Thu, 19 Oct 2000 13:18:49 -0400 Subject: [Zope] WriteLocking Project Initialized Message-ID: WriteLocking became a full fledged Fishbowl Project this week, and I've been spending the past couple of days getting the initial Artifacts and structure of the Project site together. The current structure should stand through elaboration. There is no planned schedule yet as the Risks themselves are still being scoped out and the UseCases haven't even been started on yet, but it is currently planned to get the proposed functionality into Zope 2.3. The main pages of interest right now are: VisionStatement (what the project is about, from the original proposal) RecentChanges CurrentStatus (I really will work on keeping this up to date) There are other pages outlining o RiskFactors (this is the one most actively being worked on right now), o TargetClients (LOCKing WebDAV clients we're planning to test against), o ProjectGlossary (Terms and definitions) And the general ProjectDiscussion page at I ask that if you make comments on the proposal to either do them on the ProjectDiscussion page or on the zope-dev@zope.org list. Please read the Scope section of the VisionStatement first, which outlines both what the intended goals Are and Are Not. Remember that the project is still in the early stages of Elaboration, and some of the artifacts are incomplete. In light of this election season, I pledge to you I will try my hardest to go to work 50+ miles south of Washington and fight to keep the information flowing through the Wiki updated and available to ALL Zope people, everywhere. No fuzzy math in these parts! From turhan.arun@superonline.net Thu Oct 19 18:20:09 2000 From: turhan.arun@superonline.net (Turhan Arun) Date: Thu, 19 Oct 2000 20:20:09 +0300 Subject: [Zope] Solaris,iPlanet,Oracle and Zope Message-ID: <802691ADD49ED411AD220008C74C9B2619FB62@postman.superonline.net> Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring these? I am having problems and you are my only source. Thanks in advance... turhan From jprettyman@acm.org Thu Oct 19 18:53:43 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 19 Oct 2000 10:53:43 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 13:38:29 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> <39EE0A45.422DD031@earthlink.net> Message-ID: This works like a charm. Thanks much for the help. -jon Ender writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the web via xml-rpc it must have a doc string as well as have > proper credentials. > > looking through propertysheets there is no 'proper' way to do this... > but i lead you down the path, so here is a way back out... > > there are a couple of options. > > the easiest is to have dtml_method for this zclass that functions as a > helper method, > like > > dtml method -- external_helper > > > > and in the client > > x = root.subfolder.zclass.external_helper() > meta_info=eval(x) > print meta_info > ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', > 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': > 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', > 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, > 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) > > or if external_helper returned propertyItems() > > [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), > ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] > > > if you're working with DateTime values in your propertysheets this will > be trickier as you'll need to either retrieve the property you want > independently or import Zope's DateTime module. also remember to set the > security on the helper method so its not helping somebody hack your > site. > From meden@ccpace.com Thu Oct 19 19:20:39 2000 From: meden@ccpace.com (meden@ccpace.com) Date: Thu, 19 Oct 2000 18:20:39 -0000 Subject: [Zope] pcgi authentication Message-ID: <8sne1n+ie87@eGroups.com> We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "allow anonymous" and "challenge response" through IIS. When we try to access the root level "manage" screen in Zope we are getting the manage_menu page in the left frame, but we are getting the index_html document in the right frame instead of the mnage_workspace page. From aem@byu.edu Thu Oct 19 21:34:09 2000 From: aem@byu.edu (Adrian Madrid) Date: Thu, 19 Oct 2000 13:34:09 -0700 (PDT) Subject: [Zope] Roxen & Zope, not working Message-ID: <20001019203410.18523.qmail@web515.mail.yahoo.com> --0-327254586-971987649=:16564 Content-Type: text/plain; charset=us-ascii I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what I get when I try mysite.com: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Error: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET / HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  * And this is what I get when I try mysite.com/Zope.cgi: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Zope.cgiError: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET /Zope.cgi HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  Any ideas? Anybody running both Zope and Roxen on a Windows machine? Adrian Madrid --------------------------------- Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564 Content-Type: text/html; charset=us-ascii

I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get:

* This is what I get when I try mysite.com:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: / Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET / HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

* And this is what I get when I try mysite.com/Zope.cgi:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: /Zope.cgi Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET /Zope.cgi HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

Any ideas? Anybody running both Zope and Roxen on a Windows machine?

Adrian Madrid



Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564-- From terry@lambton.on.ca Thu Oct 19 21:37:02 2000 From: terry@lambton.on.ca (Terry Babbey) Date: Thu, 19 Oct 2000 16:37:02 -0400 Subject: [Zope] dtml-if problem Message-ID: <39EF5B6E.1E4EECD@lambton.on.ca> The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________ From andym@ActiveState.com Thu Oct 19 21:46:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 19 Oct 2000 13:46:25 -0700 Subject: [Zope] dtml-if problem References: <39EF5B6E.1E4EECD@lambton.on.ca> Message-ID: <034d01c03a0d$a5de2980$ae03a8c0@fork> Could be that you are not evaluting the string of Area try: ----- Original Message ----- From: "Terry Babbey" To: Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. > > > > Area is a variable I am passing to my method and I want to check to > see if the variable is set to BIS, but it never returns true even > though a displays BIS. > > Confused as always, > Terry > > -- > __________________________________________________________________ > Terry Babbey > Technical Support Specialist > Lambton College, Sarnia, Ontario, Canada > __________________________________________________________________ > > > > _______________________________________________ > 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 ) > From ewalstad@energywright.com Thu Oct 19 22:17:45 2000 From: ewalstad@energywright.com (Eric Walstad) Date: Thu, 19 Oct 2000 14:17:45 -0700 (PDT) Subject: [Zope] dtml-if problem Message-ID: <20001019211745.26715.qmail@web1804.mail.yahoo.com> Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is:
Length of the 'strip'ped value of Area is:
If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you have either white space in your Area variable or a linefeed charater, or... If that's the case, here's a working if statement: You could also try: 0"> which will search for an instance of 'BIS' in the value of the Area variable Hope it helps, Eric. // -----Original Message----- // From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Terry // Babbey // Sent: Thursday, October 19, 2000 1:37 PM // To: zope@zope.org // Subject: [Zope] dtml-if problem // // // The following will not evaluate true and I am stumped again. // // // // Area is a variable I am passing to my method and I want to check to // see if the variable is set to BIS, but it never returns true even // though a displays BIS. // // Confused as always, // Terry // // -- // __________________________________________________________________ // Terry Babbey // Technical Support Specialist // Lambton College, Sarnia, Ontario, Canada // __________________________________________________________________ // // // // _______________________________________________ // 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 ) // __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jfarr@real.com Fri Oct 20 00:35:47 2000 From: jfarr@real.com (Jonothan Farr) Date: Thu, 19 Oct 2000 16:35:47 -0700 Subject: [Zope] Bypass ZODB and use File System References: <39EF0C69.7EBC82EC@lvcm.com> Message-ID: <054f01c03a25$4ebfd690$416917ac@poly> As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, not even as much as a 'title' property. If you need that ability then LocalFS is not the way to go. I don't see how Michael's wget solution will help you there either, though. --jfarr ----- Original Message ----- From: "Michael Bernstein" To: Cc: Sent: Thursday, October 19, 2000 7:59 AM Subject: Re: [Zope] Bypass ZODB and use File System > Noah wrote: > > > > What we really want to do is to provide a second view to > > /var/www/htdocs for Apache. I understand that Apache won't > > serve up our dynamic content, but that's not important. > > Zope is just viewed as a better solution for managing our > > static documents. The problem we have in my organization is > > that there is a lot of resistance to my prototype Zope > > document management system due to the fact that everything is > > stored in ZODB. We think this risky -- possibly a data prison. > > The way my organization does it, is to manage the content > within Zope, and to regularly run 'wget' on the server to > replicate it all to static files, which are then served by > Apache on another server. Doing that, plus regular backups > of the Data.fs file (you're already making regular backups > of your Apache based system, right?), and you should be > guarded against any but the most catastrophicly unlikely > disaster scenarios (you do have a disaster recovery plan, > right?). > > wget is really a very easy way to get documents back out of > Zope, and if your system is designed to do this as a matter > of course (perhaps by using 'cron'), it should silence those > particular criticisms. > > > Also people don't want to change from their current habits of > > editing files via NFS or Samba mounted directories. My original > > plan was to allow them some sort of syncronization process, > > but now I think that would be crazy. > > Hmm. I guess it depends on what percentage of your users > want to keep doing this. You can certainly combine LocalFS > with the approach that I outlined above. I would make it a > special case. Keep the CMS server separate from the Apache > server, and only allow the mounted directories on the CMS > server. I've found that people appreciate being able to > manage their content from anywhere through a browser, and > they tend to gravitate toward that as a matter of course, > once it's there, if they're not forced to do it. > > In short, give people options, and see which ones they > actually use. > > HTH, > > Michael Bernstein. > > _______________________________________________ > 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 ) > From gchiu@compkarori.co.nz Fri Oct 20 00:51:40 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 12:51:40 +1300 Subject: [Zope] Why doesn't this method work? Message-ID: I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu From curtis@cardgate.net Fri Oct 20 01:30:46 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 11:30:46 +1100 Subject: [Zope] Why doesn't this method work? In-Reply-To: References: Message-ID: <0010201130460D.01234@localhost.localdomain> On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeError > Error Value: 'string' object has no attribute > 'manage_editData' > This error is the giveaway. table is a "string", not a "tiny table". > -- > Graham Chiu Have a better one, Curtis Maloney. From gchiu@compkarori.co.nz Fri Oct 20 02:06:38 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 14:06:38 +1300 Subject: [Zope] Why doesn't this method work? In-Reply-To: <0010201130460D.01234@localhost.localdomain> Message-ID: On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doesn't use the getitem() function. -- Graham Chiu From jkinsley@horus.bticc.net Fri Oct 20 02:05:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Thu, 19 Oct 2000 21:05:54 -0400 (EDT) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? Message-ID: I am probably missing something simple here, however I can not get this to work properly.... Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? .... .... This returns: Errot Type: ValueError Error Value: unsupported format character 'a' (0x61) If i drop the %a from the fmt string as follows: .... .... I get the following Zope Error: Error Type: Type Error Error Value: illegal argument type for built-in operation Mtime was initially declared as a string in the ZSQL Method arguments list, and changing it to date had no effect. I have searched the documentation and all examples I have found that use strftime formatting indicate that this should work. I have successfully been able to change the format using the to_char(mtime) PostgreSQL function, but then order by mtime does not work properly and besides, I would like to make the format style customizable from within Zope instead of on the SQL server. Thanks in advance for any suggestions.... Regards, Jarrod Kinsley From vtwiddy@senet.com.au Fri Oct 20 04:31:10 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 13:01:10 +0930 (CST) Subject: [Zope] dtml-sqlvar quote Message-ID: Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this ..... group by foo,blah order by thanks mark From curtis@cardgate.net Fri Oct 20 04:55:47 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 14:55:47 +1100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: References: Message-ID: <0010201455470J.01234@localhost.localdomain> On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > ..... > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one, Curtis Maloney From vtwiddy@senet.com.au Fri Oct 20 06:40:37 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 15:10:37 +0930 (CST) Subject: [Zope] submit buttons Message-ID: Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example thanks again Mark From brad@netarchitects.com.au Fri Oct 20 07:58:12 2000 From: brad@netarchitects.com.au (Brad Moulton) Date: Fri, 20 Oct 2000 16:58:12 +1000 Subject: [Zope] submit buttons In-Reply-To: Message-ID: -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: zope@zope.org Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example hope this helps ---------------------------------------------------- ----------------------------------------------------- thanks again Mark _______________________________________________ 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 ) From tony.mcdonald@ncl.ac.uk Fri Oct 20 08:17:29 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Fri, 20 Oct 2000 08:17:29 +0100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: > >Hi all > >How can i pass a string to a sql method that won't be quoted. > >i.e so i can do somthing like this > >..... >group by foo,blah >order by > > >thanks mark > don't quote it? ... order by I use this all the time for things like select * from data where like '%%' tone From stephan.goeldi@datacomm.ch Fri Oct 20 09:20:45 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 20 Oct 2000 08:20:45 GMT Subject: [Zope] Newsletter in Zope Message-ID: I am looking for a way to enable a Newsletter in Zope. I want the visitors to subscribe to the newsletter. Then they receive a mail to verify the subscription. Later I can write and send a Newsletter to all subscripted visitors. Is there already a solution in Zope for that? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From vtwiddy@senet.com.au Fri Oct 20 09:21:32 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 17:51:32 +0930 (CST) Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) > From chrisw@nipltd.com Fri Oct 20 09:25:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:25:19 +0100 Subject: [Zope] IIS and Zope share same problem :-S Message-ID: <39F0016F.B62F6D@nipltd.com> > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > by Dave Murphy, member@itrain.org > > Microsoft is scrambling to repair damage caused by a > security hole in its IIS 4 & 5 webserver that runs on > Windows NT/2000. Microsoft claims over four million > IIS websites, and each one of them is at risk of > releasing sensitive data through the security hole. > Called the "Web Server Folder Traversal" error, the > flaw allows users to execute files on an IIS website by > requesting a specific web address. http://www.zope.org/standard_html_header for example ;-) http://www.zope.org/objectIds as another... > The bug allows access to any file on the webserver via > a specified URL. Like all webservers, IIS is supposed > to prevent access to files that aren't intended to be > part of the website. Maybe Zope should too.... > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > Live well, do good, > > --Dave Murphy cheers, Chris From akm@mail.theinternet.com.au Fri Oct 20 09:30:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Fri, 20 Oct 2000 18:30:44 +1000 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0016F.B62F6D@nipltd.com>; from Chris Withers on Fri, Oct 20, 2000 at 09:25:19AM +0100 References: <39F0016F.B62F6D@nipltd.com> Message-ID: <20001020183043.B88131@zeus.theinternet.com.au> +-------[ Chris Withers ]---------------------- | > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE | > by Dave Murphy, member@itrain.org | > | > Microsoft is scrambling to repair damage caused by a | > security hole in its IIS 4 & 5 webserver that runs on | > Windows NT/2000. Microsoft claims over four million | > IIS websites, and each one of them is at risk of | > releasing sensitive data through the security hole. | > Called the "Web Server Folder Traversal" error, the | > flaw allows users to execute files on an IIS website by | > requesting a specific web address. | | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... | http://www.zope.org/objectIds as another... To be fair this is not the same as the bug described below. | | > The bug allows access to any file on the webserver via | > a specified URL. Like all webservers, IIS is supposed | > to prevent access to files that aren't intended to be | > part of the website. Knowing the file is there is not the same as accessing it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From stefan@epy.co.at Fri Oct 20 09:48:40 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 10:48:40 +0200 (CEST) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? In-Reply-To: Message-ID: On Thu, 19 Oct 2000, J Kinsley wrote: > Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how > do I get the following to work without errors? > > > .... > > .... > > > This returns: > Errot Type: ValueError > Error Value: unsupported format character 'a' (0x61) AFAIK the fmt cannot be used like that What I usually do is create a DateTime object and then use the DateTime's methods and string formatting e.g. Modify the above for your needs. A list of DateTime's methods can be found in the appendix of the DTML Users Guide HTH, Stefan From chrisw@nipltd.com Fri Oct 20 09:49:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:49:33 +0100 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> Message-ID: <39F0071D.10C767F3@nipltd.com> Andrew Kenneth Milton wrote: > > | > | http://www.zope.org/standard_html_header for example ;-) > > Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally do something to solve it. ...and yes, there are discussions about this on Zope-dev right now, which will hopefully produce a solution :-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:36:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:36:00 +0100 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> <39EF056B.C74E25B7@lvcm.com> Message-ID: <39F01200.9E714E33@nipltd.com> Michael Bernstein wrote: > > Chris Withers wrote: > > > > Incidnetally, I think this is a bit of a security hole. You shouldn't > > get told what you're not allowed to see, especially if it's 'cos you got > > your password wrong. If you see what I mean ;-) > > I see what you mean here, Chris, but wouldn't this come > under the heading of a 'security through obscurity' hole? > ie. you're saying that the system isn't obscure enough? Not really... I'm saying it shouldn't tell you stuff you _never_ need to know, like where on your file system the Zope files live. A lot of this comes from standard_error_message not being used for authorizaion errors, and Zope's insistence of tacking the traceback onto error pages it returns, even in production mode :-S Might have to have a look at this some time ;-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:41:24 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:41:24 +0100 Subject: [Zope] ZDiscussions for Zope 2.2.2 References: <200010191315.JAA08209@saltmine.radix.net> Message-ID: <39F01344.FED0450C@nipltd.com> Cary O'Brien wrote: > 2) add __allow_access_to_unprotected_subobjects__ in > a few places. That's not good :-S But hey, I had to do it to get Squishdot to work with Zope 2.2 as well :-( cheers, Chris From grizel@mouli.net Fri Oct 20 11:04:49 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Fri, 20 Oct 2000 12:04:49 +0200 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> Message-ID: <39F018C1.E230AA8F@mouli.net> Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with something quite secure & secret. P.-J. Chris Withers wrote: > > > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > > by Dave Murphy, member@itrain.org > > > > Microsoft is scrambling to repair damage caused by a > > security hole in its IIS 4 & 5 webserver that runs on > > Windows NT/2000. Microsoft claims over four million > > IIS websites, and each one of them is at risk of > > releasing sensitive data through the security hole. > > Called the "Web Server Folder Traversal" error, the > > flaw allows users to execute files on an IIS website by > > requesting a specific web address. > > http://www.zope.org/standard_html_header for example ;-) > http://www.zope.org/objectIds as another... > > > The bug allows access to any file on the webserver via > > a specified URL. Like all webservers, IIS is supposed > > to prevent access to files that aren't intended to be > > part of the website. > > Maybe Zope should too.... > > > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > > > Live well, do good, > > > > --Dave Murphy > > 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 ) -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From rbeer@uni-goettingen.de Fri Oct 20 12:47:23 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 13:47:23 +0200 Subject: [Zope] ZMySQL and MySQLdb Versions Message-ID: Howdy! When I go to the download section on zope.org looking for a way to connect Zope and MySQL I can find the following: - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) Now how should anybody new to Zope know what to use? Especially when ZMySQLDA goes up to at least version 2.0.0 (I tried to look it up but couldn't connect to starship.python.net) and MySQLdb at least to version 0.2.1. I'm still using ZMySQLDA 1.1.3 with MySQLdb 0.1.3 which can't be found in the download section. Confusing, isn't it? What could we possibly do about it? Ragnar From zope@grewen.de Fri Oct 20 13:07:57 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 14:07:57 +0200 Subject: [Zope] Re: [Zope-dev] Problems with offline MS IE 5 References: <4.3.2.7.0.20001019230055.00b5e7d8@pop.mindspring.com> Message-ID: <002c01c03a8e$6a7392a0$0300a8c0@windows> I was fighting with the same problem and I thought it depends on my proxy setting. But now I thing it depends on the Browser version because I installed IE5.5 and the problem was gone. (ocularly same settings). ----- Original Message ----- From: "Ross Boylan" To: Sent: Friday, October 20, 2000 8:09 AM Subject: [Zope-dev] Problems with offline MS IE 5 > I recently tried doing some Zope development on a laptop and ran into a > problem: when I updated a product the updates did not "take." In > particular, when I edited the text in a .dtml file and restarted Zope, I > still saw the old text when I got to the appropriate point (the file was > wrapped in an HTMLFile() and used for creating a new instance of one of the > products in the package). > > I think I checked all of the following: > * the file was getting updated > * all instances of explorer were shut down > * MSIE options set to "Check for newer version of stored page on every > visit to the page" > > A notable peculiarity was that whenever I tried to access my local zope, I > would get a "you are offline, do you wish to go online" message (I even > used localhost as the machine name!). I would say yes, it would say it > couldn't connect and ask if I wanted to try again. I said yes, but then I > ran into the problems described above. > > Zope 2.2.2 on MS W2K with MS IE 5.0. > > Does this ring any bells with anyone? Is it an IE problem? a Zope > problem? an interaction? > > > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > From rbeer@uni-goettingen.de Fri Oct 20 13:14:04 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 14:14:04 +0200 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: As I already suggested ages ;) ago (and still didn't put into practice) it would here again be best to deny everything that isn't explicitly allowed (e.g. allow whatever ends with _html or .html and deny everything else) but then I would have to go over the whole website and make bazillions of changes ... I fixed the problem temporarily by adding some "FilesMatch/LocationMatch + deny from all" in my httpd.conf. But what else do I have to deny apart from objectIds? Ragnar >Andrew Kenneth Milton wrote: >> >> | >> | http://www.zope.org/standard_html_header for example ;-) >> >> Not that old chestnut again... > >Yes, that old chestnut again. If it's considered a serious security flaw >by Microsoft, maybe the Zope community should finally do something to >solve it. > >...and yes, there are discussions about this on Zope-dev right now, >which will hopefully produce a solution :-) > >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 ) From stefan@epy.co.at Fri Oct 20 13:47:01 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 14:47:01 +0200 (CEST) Subject: [Zope] ZMySQL and MySQLdb Versions In-Reply-To: Message-ID: On Fri, 20 Oct 2000, Ragnar Beer wrote: > - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) > - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) > - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) I recently got confused myself about even which of the above I am using on my system and in the process complained to Andy Dustman about a (small) bug in mordred's adapter... ;) MySQLdb is a python wrapper, designed to be used from plain python. But some of it's components are *used* (and required) by mordred's DA. To add to the fuzz the IMHO lates and greates ZMySQLDA (2.0.0a1) is on Andy Dustmans website and AFAIK *not* linked from zope.org http://dustman.net/andy/python/ HTH, Stefan From zope@grewen.de Fri Oct 20 17:03:33 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 18:03:33 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <001801c03aaf$4d10ac40$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
 
------=_NextPart_000_0015_01C03AC0.0FD011C0-- From troy.farrell@wilcom.com Fri Oct 20 18:59:14 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 12:59:14 -0500 Subject: [Zope] dtml-sqlvar quote Message-ID: It is not safe if you have malicious users. You will need to pass your through a filter. This will help. A better example is a user taking advantage of an insert method: insert into data values (, , ) where the user has found the Zsqlmethod by looking at http://yourzopehost/objectIds and calls it like this: http://yourzopehost/sqlADDUSER?value_3=randomvalue);SELECT%20*%20FROM%20secr etpasswordtable/ Fortunately, Zope responds with a "testing the sql method" form if you are authorized. Troy -----Original Message----- From: Mark Twiddy [mailto:vtwiddy@senet.com.au] Sent: Friday, October 20, 2000 3:22 AM To: zope@zope.org Subject: Re: [Zope] dtml-sqlvar quote Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) From roos@stanford.edu Fri Oct 20 19:38:23 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 11:38:23 -0700 (PDT) Subject: [Zope] Recursively creating folders in python Message-ID: This is something I need to have done yesterday... iterates over a list, and adds namespaces, but how do I recursively enter INTO a folder, creating objects within that folder from *it's* point of view? Is this even possible in dtml, or do i need to use raw python? If so, do you have any hints about doing it in python? =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From andym@ActiveState.com Fri Oct 20 19:44:14 2000 From: andym@ActiveState.com (Andy McKay) Date: Fri, 20 Oct 2000 11:44:14 -0700 Subject: [Zope] IIS and PCGI References: <002001c03879$7cc09cd0$ae03a8c0@fork> Message-ID: <004201c03ac5$be40cce0$ae03a8c0@fork> Well I fixed this using a ISAPI filter which I will release soon (once I have some time) that takes a url /a/b/c/x.pcgi/f/g/h, and passes /a/b/c/x.pcgi to IIS so the file will run and /f/g/h to Zope. My next question is has anyone succeeded in getting this to work to another box over a mapped or shared win32 drive? I mapped g:\ to my zope host, and then specified PCGI_PUBLISHER=g:\pcgi\pcgi_publisher.py in my pcgi file. The problem seems to pcgi-wrapper.exe which does not like a mapped drive. (line 485 of parseinfo.c keeps spitting out missing publisher)... Thanks in advance and apologies for the cross post to zope-dev but it is more of a zope-dev question. ----- Original Message ----- From: "Andy McKay" To: Sent: Tuesday, October 17, 2000 1:33 PM Subject: [Zope] IIS and PCGI > Im fiddling with IIS and PCGI, I've looked at > (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server > to work correctly in that http://127.0.0.1/zope.pcgi is the same as > http://127.0.0.1:8080/ > > However it doesnt seem to be carrying through the trailing path info (or / > 's) for example > http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope > 2.2.1. > > Anyone encountered this and know the solution? > > Thanks. > -- > Andy McKay, Developer. > ActiveState. > > > _______________________________________________ > 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 ) > From roos@stanford.edu Fri Oct 20 20:21:39 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 12:21:39 -0700 (PDT) Subject: [Zope] How to type check OR better list selector ways Message-ID: causes a name error, while other python builtins like _.string(some_int) work fine. What gives? Is there some other "zopist" way to type-check? More generally, is there a better way to deal with the annoying fact that multiple selectors return a list UNLESS there are <=1 items selected, in which case they return a single item or None? (rather than a list with only one member, in the case of 1 object selected, or an empty list, in the case of none, which would SEEM to be the consistant way to do things, since wouldn't choke.) =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From kworth@engin.umich.edu Fri Oct 20 20:28:05 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Fri, 20 Oct 2000 15:28:05 -0400 Subject: [Zope] unauthorized error Message-ID: Upon upgrading from 2.1.3 to 2.2.2, I have run into a strange problem. I have a couple of custom products (developed here, but not by me, so I'm not sure of the specifics, but i can find them out. I can edit current instances of the product, but I cannot add new ones because give me an unauthorized error. No matter what username/password I provide, it fails. I import these from my previous installation (the 2.1.3 version) I assume this has to do with the change in the way security is handled in zope 2.2.x, but I haven't figured out how to fix it. A traceback looks like this: Traceback (innermost last): File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in publish File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in publish File H:\MSEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File H:\MSEWEB~1\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob (Object: rev) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_With.py, line 146, in render (Object: sequence-item) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 194, in validate (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\AccessControl\SecurityManager.py, line 139, in validate File H:\MSEWEB~1\lib\python\AccessControl\ZopeSecurityPolicy.py, line 159, in validate Unauthorized: id Any help would be appreciated. -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From haonan@stat.wisc.edu Fri Oct 20 20:49:35 2000 From: haonan@stat.wisc.edu (Haonan Tan) Date: Fri, 20 Oct 2000 14:49:35 -0500 Subject: [Zope] Server Access Control Message-ID: <39F0A1CF.6ED3B55@stat.wisc.edu> How to enforce access control on client IP or host name in the same way that Apache .htaccess does it. Or are there better ways doing it in Zope? Many thanx. Haonan Tan From Dmitry Slusarchuk" I'm new to Zope development but I have already encountered such a problem: from dtml document generates the following: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: __call__ this problem disappears when I do smth like from dtml method. what should I do? In addition I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. Thanks to ev'body for a HELP! From richard@folwell.com Fri Oct 20 20:53:23 2000 From: richard@folwell.com (Richard Folwell) Date: Fri, 20 Oct 2000 20:53:23 +0100 Subject: [Zope] dtml-in loop to capture records In-Reply-To: <39E5C987.3D0D7D1F@oratrix.com> Message-ID: <001401c03acf$67cb6c80$1002a8c0@ente.riverside.uk.net> > Okay, this works fine, in MOST of my forms, but I have other forms where > this doesnt work at all and I get errors saying that the ITEM is a bad > request. I dont get it, what am I missing here that this works some > places and in other places with almost identical syntax, it falls over. I came across this error today. (The problem may not be the same.) In our case it occurred because the SQL, whilst well-formed and valid, violated a database constraint - was trying to put zero length strings into fields of a table where this was not allowed. The problem was tracked down by firstly displaying the request data using: then trying to input the same data manually. HTH, Richard From troy.farrell@wilcom.com Fri Oct 20 21:04:24 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 15:04:24 -0500 Subject: [Zope] Problems with mysql and sql methode Message-ID: You may try: SELECT pyname, pyprice FROM payment WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid I have a feeling mysql is not liking you for not selecting results from table MERCHANTPAYMENT becuase you said you would. Troy -----Original Message----- From: Jens Grewen [mailto:zope@grewen.de] Sent: Friday, October 20, 2000 11:04 AM To: Zope Maillist Subject: [Zope] Problems with mysql and sql methode Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the correct resut but under zope sql methode I get no result. (There was no data matching) Any ideas Jens Grewen From jwashin@vt.edu Fri Oct 20 21:05:56 2000 From: jwashin@vt.edu (Jim Washington) Date: Fri, 20 Oct 2000 16:05:56 -0400 Subject: [Zope] How to type check OR better list selector ways References: Message-ID: <39F0A5A4.17646BAF@vt.edu> Hi, Robert BTW, this is a FAQ, but: use the :list extension in your html. e.g., Works for checkboxes, too! -- Jim Washington Robert Joseph Roos wrote: > > > > causes a name error, while other python builtins > like _.string(some_int) work fine. What gives? > Is there some other "zopist" way to type-check? > > More generally, is there a better way to deal with the annoying > fact that multiple selectors return a list UNLESS there are > <=1 items selected, in which case they return a single item or None? > > (rather than a list with only one member, in the case of 1 object > selected, or an empty list, in the case of none, > which would SEEM to be the consistant way to do things, > since wouldn't choke.) From michel@digicool.com Fri Oct 20 21:09:03 2000 From: michel@digicool.com (Michel Pelletier) Date: Fri, 20 Oct 2000 13:09:03 -0700 Subject: [Zope] O'Reilly Book Tecnical Reviewers Message-ID: <39F0A65F.45EC4326@digicool.com> Greetings, O'Reilly is looking for 4 or 5 technical reviewers for the book. http://www.zope.org/Members/michel/ZB/ Technical reviewers get paid either a small honorarium or get free copies of the book (I am unaware of the exact details). I'm sure this message will elicit a *flood* of candidates, and I'm afraid we can't accept them all (of course, that doesn't mean you can't do it for free ;). Further, this will be a time consuming task, requiring you to scrutinize all details, try examples, etc. You will probably give more effort than you are monitarily compensated with, but you will also get unending glory and mucho zen master points from your zopista peers. So please consider this opertunity to work directly with us to make a great book. If you are interested in the sweat and the glory, please send an email to docs@digicool.com with the subject "I Wanna Be A Technical Reviewer", and maybe a brief bio about you, your Zope experience and (bonus points) if you've every technically reviewed a book before. Thanks! -Michel From zope@grewen.de Fri Oct 20 21:52:16 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 22:52:16 +0200 Subject: [Zope] Problems with mysql and sql methode References: Message-ID: <000001c03ad7$bbb8bd40$0300a8c0@windows> Ok know I get this problem Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in where clause") ---------------------------------------------------------------------------- ---- SQL used: select PYNAME, PYPRICE from PAYMENT where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID other ideas? Thanks Jens Grewen ----- Original Message ----- From: "Farrell, Troy" To: "'Jens Grewen'" ; "Zope Maillist" Sent: Friday, October 20, 2000 10:04 PM Subject: RE: [Zope] Problems with mysql and sql methode > You may try: > > SELECT pyname, pyprice > FROM payment > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > I have a feeling mysql is not liking you for not selecting results from > table MERCHANTPAYMENT becuase you said you would. > > Troy > > -----Original Message----- > From: Jens Grewen [mailto:zope@grewen.de] > Sent: Friday, October 20, 2000 11:04 AM > To: Zope Maillist > Subject: [Zope] Problems with mysql and sql methode > > > Hi, > > I have a problem with an SQL Methode with the this sql statement > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > from MERCHANTPAYMENT, PAYMENT > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > on the following tables: > > > MERCHANTPAYMENT > --------------------------------- > MPID int(30) > MEID int(30) > PYID int(30) > --------------------------------- > > PAYMENT > --------------------------------- > PYID int(30) > PYNAME varchar(50) > PYPRICE varchar(50) > --------------------------------- > > the statement runs under MS ACCESS (link over myODBC) and I get the correct > resut but under zope sql methode I get no result. (There was no data > matching) > > Any ideas > > Jens Grewen > > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:20:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:20:54 -0500 Subject: [Zope] Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Hi Zope Fans, I ran into an odd quirk today, and I'm hoping someone has an insight to share. There is a simple text string stored as a DTML Method, with ID = "set_table_0", e.g.: 'border="0" cellpadding="0" cellspacing="0"' When set_table_0 is in the Zope root folder, it isn't discovered through normal acquisition, but no error occurs. creates a table with defaults, e.g. border is visible. However, when set_table_0 is moved to a subfolder of the Zope root folder, with the name "table_settings", and the reference is made like so:
the DTML Method is found successfully, and the table border isn't displayed. The question is, why is the folder "table_settings" found in the Zope Root Folder, but not the method? Does Acquisition give higher preference to folders (container), objects than a DTML Method? Thanks, Jerry S. From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:41:33 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:41:33 -0500 Subject: [Zope] Acquisitiver and Acquisitiver Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F0@innt-73.ata.com> OK, now I'm really confused. I stumbled on a way to make the DTML Method work, that is, the one that wasn't being found before, via Acquisition. All I have to do is forget to add the terminating ';' in :
so that it looks like so:
Any guesses? Thanks again, Jerry S. From cesar@rotnet.com.br Sat Oct 21 02:45:09 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Fri, 20 Oct 2000 23:45:09 -0200 Subject: [Zope] GUF error: Unauthorized... Message-ID: <39F0F525.C8A49178@rotnet.com.br> Hi! I have created a GUFTest folder. It runs perfectly with the user 'jorge', provided with the GUF. After I have changed the acl to use a SQL connection, I'm getting the error bellow (in the log of the system): GUF[7909]: http://localhost.localdomain:8080/GUFTest/acl_users/userAuthenticate raised an exception (('Unauthorized', 'crypt', )) The source of the HTML page contains (I don't know if it's correct, because I suspect that Netscape reloads the page when you ask it to show the source of the page): What is wrong? I have created a local role called 'Usuario'. This role have the rights to: /GUFTest: Access contents information Can Login an Logout Use database methods View /GUFTest/acl_users: Access contents information Can Login an Logout Use database methods View The Anonymous role have the rights: /GUFTest: _no_roles_ /GUFTest/acl_users: Access contents information Can Login and Logout The userAuthenticate, userDomains, userList, adn userRoles DTML Methods are configurated to proxy the Manager role. I'm using Zope 2.2.1, on a Conectiva Linux 5.0 (Linux i386 2.2.14, python 1.5.2, glibc 2.1.3). TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is generally understood. Indeed, the world is ruled by little else. -- John Maynard Keyes From robert@redcor.ch Sat Oct 21 11:28:53 2000 From: robert@redcor.ch (robert) Date: Sat, 21 Oct 2000 12:28:53 +0200 Subject: [Zope] I wonder how to access a zope siet Message-ID: <001101c03b49$b7fd8330$0a01a8c0@Stravinsky> Hi there, I started to work through the Zope tutorial as layed out in the Content Manager Guide. I came across a coupple of problems I am seeking help for: 1. Stan (the tutorial avatar) is told to create a ZAcme folder in his root folder. Where is Stans root folder? If it is just the folder which is accessed when Stan logs in why is it not displayed in any of the screenshots in the tutorial. I have the impression the rest of the screenshots are very "acurate". 2. How do I access any of the folders from outside the management screen? I tried to use Http://localhost/ZAcme for the tutorial site, but only get an accesserror thrown at me by IE5. 3.Do I have to create the tutorialals pages in Stans root folder or in the ZAcme folder? Thank you for helping a newby of a great product. regards Robert From steve@spvi.com Sat Oct 21 14:09:21 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 08:09:21 -0500 (EST) Subject: [Zope] Acquisitive In-Reply-To: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Message-ID: <200010211309.IAA71276@mercury.spvi.com> Hi Jerry, I'm guessing the the problem is that &dtml-xxx; does an implicit "html_quote" format on whatever expression you provide.. so
should produce:
Which the browser doesn't grok.... try:
> -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> I ran into an odd quirk today, and I'm hoping someone has an JS> insight to share. There is a simple text string stored as a JS> DTML Method, with ID = "set_table_0", e.g.: JS> 'border="0" cellpadding="0" cellspacing="0"' JS> When set_table_0 is in the Zope root folder, it isn't JS> discovered through normal acquisition, but no error occurs. JS>
JS> creates a table with defaults, e.g. border is visible. JS> However, when set_table_0 is moved to a subfolder of the Zope JS> root folder, with the name "table_settings", and the reference JS> is made like so: JS>
JS> the DTML Method is found successfully, and the table border JS> isn't displayed. JS> The question is, why is the folder "table_settings" found in JS> the Zope Root Folder, but not the method? JS> Does Acquisition give higher preference to folders JS> (container), objects than a DTML Method? JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From swallace@trilobyte.net Sat Oct 21 19:38:49 2000 From: swallace@trilobyte.net (swallace@trilobyte.net) Date: Sat, 21 Oct 2000 11:38:49 -0700 Subject: [Zope] Strings, Names and dtml-var Message-ID: <200010211737.LAA19596@trilobyte.net> Ok, Being fairly new at Zope, I am really confused, I think I have looked through all the FAQs, How to's, examples, and what ever, but I still can not get the right combination to get this to work (many combinations tried :-)...). The basic intent is to easily change a property "color_source" in a directory that will cause the "color1" property to be looked up from a different directory. The directory name "default" could be one of many that holds different color themes. Thanks in advance. ***************************Code This does not work: get_color method This works: which renders #FFFFFF ***************************Key get_color = a method, /Business/Base/get_color color_selection = a property in the current directory containing the string "default" without quotes Colors = a folder, /Business/Colors default = a folder, /Business/Colors/default color1 = is a property under default containing the string "#FFFFFF" without quotes Zope = 2.2.2 OS = Win98 ***************************Error Message Error Type: KeyError Error Value: Colors.default.color1 Troubleshooting Suggestions This resource may be trying to reference a nonexistent object or variable Colors.default.color1. The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. From taco@scargo.nl Sat Oct 21 22:08:00 2000 From: taco@scargo.nl (Taco Scargo) Date: Sat, 21 Oct 2000 14:08:00 -0700 Subject: [Zope] Help needed with news articles Message-ID: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Unfortunately nobody responded, so I am reposting this question again. I just need a link to an example or explanation. Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From kthangavelu@earthlink.net Sat Oct 21 17:08:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Sat, 21 Oct 2000 09:08:12 -0700 Subject: [Zope] Strings, Names and dtml-var References: <200010211737.LAA19596@trilobyte.net> Message-ID: <39F1BF6C.C3F8B2B3@earthlink.net> swallace@trilobyte.net wrote: tested > > Ok, Being fairly new at Zope, I am really confused, I think I have > looked through all the FAQs, How to's, examples, and what ever, but > I still can not get the right combination to get this to work (many > combinations tried :-)...). The basic intent is to easily change a > property "color_source" in a directory that will cause the "color1" > property to be looked up from a different directory. The directory > name "default" could be one of many that holds different color > themes. Thanks in advance. > ***************************Code > This does not work: get_color method > > > > This works: > which renders #FFFFFF > ***************************Key > get_color = a method, /Business/Base/get_color > color_selection = a property in the current directory containing > the string "default" without quotes > Colors = a folder, /Business/Colors > default = a folder, /Business/Colors/default > color1 = is a property under default containing the string > "#FFFFFF" without quotes > Zope = 2.2.2 > OS = Win98 > ***************************Error Message > Error Type: KeyError > Error Value: Colors.default.color1 > > Troubleshooting Suggestions > This resource may be trying to reference a nonexistent object > or variable Colors.default.color1. > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering > an error. > > _______________________________________________ > 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 ) From steve@spvi.com Sun Oct 22 01:05:44 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 19:05:44 -0500 (EST) Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: <200010220005.TAA72971@mercury.spvi.com> Hi Taco, How about something like this: >>>>> "Taco" == Taco Scargo writes: Taco> Unfortunately nobody responded, so I am reposting this Taco> question again. I just need a link to an example or Taco> explanation. Taco> Basically I want to create a page listing the last 4 Taco> articles from a Zope folder. The articles need a publish Taco> from/to field, title and (dtml) text. I somehow need to be Taco> able to find and display the article from another dtml Taco> document. I read many FAQs and tried working with zcatalogs, Taco> but somehow I am not getting there. It is probably not so Taco> difficult. If there is somebody how can help me or give me a Taco> link to a clear explanation or example I would be very very Taco> grateful. Thanks ! Taco> Taco Taco> _______________________________________________ Zope Taco> maillist - Zope@zope.org Taco> http://lists.zope.org/mailman/listinfo/zope ** No cross Taco> posts or HTML encoding! ** (Related lists - Taco> http://lists.zope.org/mailman/listinfo/zope-announce Taco> http://lists.zope.org/mailman/listinfo/zope-dev ) From dcinege@psychosis.com Sun Oct 22 04:56:59 2000 From: dcinege@psychosis.com (Dave Cinege) Date: Sat, 21 Oct 2000 23:56:59 -0400 Subject: [Zope] Request for donation of site. Linux Router Project Message-ID: <39F2658B.DF50796B@psychosis.com> I'm lead dev for the Linux Router Project. (LRP is a powerful thin-server OS that taks up less then 2MB of boot space) As you can see http://www.linuxrouter.org/ is not exactly what you would call an amazing site. I've played with zope a little bit and really like it, but I lack both the time to learn zope, and any general artistic ability. : > The project has become quite large and yet we lack a 'professional' web pressence, as well as disorganized documentation. I'd like to see the LRP site 'zopified' with a portal flare. Some thing that would really have is devs (and users) being able to build up a FAQ's and docs online. The more extensive the better, but I'd be happy if someone stepped forward with something 'nice'. (IE basic zopification plus a touch up on graphics) Any person/company willing to take on this endeavor will recieve a plug on the LRP sponsors page if they so desire. Hey it may even look good on resume. Please mail me personally if you're interested. Dave From richard@dcs.co.uk Sun Oct 22 12:19:35 2000 From: richard@dcs.co.uk (Richard Moon) Date: Sun, 22 Oct 2000 12:19:35 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <000001c03ad7$bbb8bd40$0300a8c0@windows> References: Message-ID: <4.3.2.7.2.20001022121642.00e78370@195.60.12.162> MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the same as merchantpayment. Other databases (Postgresql, Informix) are not. Perhaps the Access/ODBC interface hides the case-sensitivity while the direct ZMySQLDA does not ? Richard At 21:52 20/10/00, you wrote: >Ok know I get this problem >Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in >where clause") >---------------------------------------------------------------------------- >---- >SQL used: > >select PYNAME, PYPRICE >from PAYMENT >where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID > >other ideas? > >Thanks > >Jens Grewen > >----- Original Message ----- >From: "Farrell, Troy" >To: "'Jens Grewen'" ; "Zope Maillist" >Sent: Friday, October 20, 2000 10:04 PM >Subject: RE: [Zope] Problems with mysql and sql methode > > > > You may try: > > > > SELECT pyname, pyprice > > FROM payment > > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > > > I have a feeling mysql is not liking you for not selecting results from > > table MERCHANTPAYMENT becuase you said you would. > > > > Troy > > > > -----Original Message----- > > From: Jens Grewen [mailto:zope@grewen.de] > > Sent: Friday, October 20, 2000 11:04 AM > > To: Zope Maillist > > Subject: [Zope] Problems with mysql and sql methode > > > > > > Hi, > > > > I have a problem with an SQL Methode with the this sql statement > > > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > > from MERCHANTPAYMENT, PAYMENT > > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > > > on the following tables: > > > > > > MERCHANTPAYMENT > > --------------------------------- > > MPID int(30) > > MEID int(30) > > PYID int(30) > > --------------------------------- > > > > PAYMENT > > --------------------------------- > > PYID int(30) > > PYNAME varchar(50) > > PYPRICE varchar(50) > > --------------------------------- > > > > the statement runs under MS ACCESS (link over myODBC) and I get the >correct > > resut but under zope sql methode I get no result. (There was no data > > matching) > > > > Any ideas > > > > Jens Grewen > > > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From jonathan@home-all.org.uk Sun Oct 22 15:02:08 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Sun, 22 Oct 2000 15:02:08 +0100 (BST) Subject: [Zope] date off by one day per year cummulative Message-ID: Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding or not. Not good. Quite grim, actually. It only happens when you use the fmt="xyz" to reformat the dates into UK dd/mm/yy (from the default yy/mm/dd). Should I just work around for now, or is this likely to remain like this for a while. If so then zope gets mildly unusable outside the USA. cheers Jonathan From jatwood@bwanazulia.com Sun Oct 22 15:17:00 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:17:00 -0400 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: Hey Steve, Don't have any examples with SQL (although, in theory it is just a call to some data and is treated the same as any other data) but take a look at this. http://www.zope.org/Members/BwanaZulia/tell_a_friend/ Cheers, J At 10:01 PM +1000 1/22/2001, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Sun Oct 22 15:21:33 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:21:33 -0400 Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: Hey Taco, Try this... -

Mix in your own elements where 'news' is a folder with news documents/methods in it. Add new properties for the from to if you want. You also might want to check out the Yihaw Product which does and has code for all of this. http://www.zope.org/Members/Roug/Yihaw Cheers, J At 2:08 PM -0700 10/21/2000, Taco Scargo wrote: >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From kedai@kedai.com.my Sun Oct 22 16:10:04 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 22 Oct 2000 23:10:04 +0800 Subject: [Zope] Help needed with news articles Message-ID: <003601c03c3a$28ef1220$8530bcca@kedai> try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. (and other stuff/properties) the above code should be in a DTML Method -----Original Message----- From: Taco Scargo To: zope@zope.org Date: Sunday, October 22, 2000 5:23 AM Subject: [Zope] Help needed with news articles >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From chrism@digicool.com Sun Oct 22 18:29:20 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 22 Oct 2000 13:29:20 -0400 Subject: [Zope] date off by one day per year cummulative References: Message-ID: <038c01c03c4d$9d656470$63c48ad0@kurtz> Jonathan, Would you be kind enough to put this bug into the collector on Zope.org? ----- Original Message ----- From: "Jonathan Cheyne" To: Sent: Sunday, October 22, 2000 10:02 AM Subject: [Zope] date off by one day per year cummulative > > Hi all, Zope 2.2.0, displaying a date property from a zclass has been out > by one day for a while, trick was just to +1 to the dtml. THought this > was fine til dates into 2001 needed to go on and hey, they become one > day too far now ... so now I need to add code to determine the year before > adding or not. > > Not good. Quite grim, actually. > > It only happens when you use the fmt="xyz" to reformat the dates into > UK dd/mm/yy (from the default yy/mm/dd). > > Should I just work around for now, or is this likely to remain like this > for a while. If so then zope gets mildly unusable outside the USA. > > cheers > > Jonathan > > > > _______________________________________________ > 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 ) > > From salvatore.didio@wanadoo.fr Sun Oct 22 21:31:07 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:31:07 +0200 Subject: [Zope] Help creating Object Message-ID: <39F34E8B.A5F496D7@wanadoo.fr> Hello, In the manage folder I can't create any object. I got a message telling that the object can not be owned by the superuser. (line 217 in file Owned.py). Can someone help me ? Thanks From Noah@noah.org Sun Oct 22 21:29:07 2000 From: Noah@noah.org (Noah) Date: Sun, 22 Oct 2000 13:29:07 -0700 Subject: [Zope] Multiple queries in a ZSQL method? Message-ID: <003901c03c66$c0a937e0$e21ac73f@wingw> Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the record that I just inserted. Something like this: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ); select LAST_INSERT_ID(); If I put this into two different methods then I'm afraid that I will have some threading problems due to the fact that another client might come in and do an insert using the database connection I was using. LAST_INSERT_ID is safe as long as you have an unshared connection. Zope does connection pooling, so I worry that using two separate ZSQL Methods may not always work. And WILL NOT work if Zope gives me a different connection for the second ZSQL call. Is there a better way to do this? Yours, Noah From salvatore.didio@wanadoo.fr Sun Oct 22 21:41:39 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:41:39 +0200 Subject: [Zope] Creating Object Message-ID: <39F35103.CE1D139@wanadoo.fr> Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much From kthangavelu@earthlink.net Sun Oct 22 16:56:43 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:56:43 -0700 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <39F30E3B.556097F2@earthlink.net> Salvatore DIDIO wrote: > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much i feel for you, in zope 2.2 and above the initial account, the superuser, isn't allowed to create/own objects. what you're supposed to do is create a new user in the acl_users of the root directory which will be your first working account. after you create a user in acl_users, logout by shutting down the browser and than try logging into the system with a new browser. you can escape shutting down the browser by editing one of the existing methods to have this section of code. when asked to reauthenticate type in the name of the new user. than click cancel and reload the /manage page, you should be able to login as the new user. Log out Cheers Kapil From kthangavelu@earthlink.net Sun Oct 22 16:57:27 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:57:27 -0700 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <39F30E67.83993A99@earthlink.net> multiple non-select statements (max 1 select) are done through the use of kapil Noah wrote: > > Hi, > > I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. > After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the > record that I just inserted. Something like this: > > insert into author > (id, name, sort_name, email, bio, initials) > values > (null, > , > , > , > , > ); > > select LAST_INSERT_ID(); > > If I put this into two different methods then I'm afraid that I will have some > threading problems due to the fact that another client might come in and > do an insert using the database connection I was using. LAST_INSERT_ID > is safe as long as you have an unshared connection. Zope does > connection pooling, so I worry that using two separate ZSQL Methods > may not always work. And WILL NOT work if Zope gives me a different connection > for the second ZSQL call. > > Is there a better way to do this? > > Yours, > Noah > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:02:02 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:02:02 +0100 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <00b801c03ba2$2c288e50$0202a8c0@typhoon> Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ) select LAST_INSERT_ID() hth Phil Phil.harris@zope.co.uk ----- Original Message ----- From: "Noah" To: Sent: Sunday, October 22, 2000 9:29 PM Subject: [Zope] Multiple queries in a ZSQL method? | Hi, | | I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. | After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the | record that I just inserted. Something like this: | | insert into author | (id, name, sort_name, email, bio, initials) | values | (null, | , | , | , | , | ); | | select LAST_INSERT_ID(); | | If I put this into two different methods then I'm afraid that I will have some | threading problems due to the fact that another client might come in and | do an insert using the database connection I was using. LAST_INSERT_ID | is safe as long as you have an unshared connection. Zope does | connection pooling, so I worry that using two separate ZSQL Methods | may not always work. And WILL NOT work if Zope gives me a different connection | for the second ZSQL call. | | Is there a better way to do this? | | Yours, | Noah | | | | | | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:05:20 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:05:20 +0100 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <00c001c03ba2$a3146f20$0202a8c0@typhoon> Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the possibles. hth Phil ----- Original Message ----- From: "Salvatore DIDIO" To: "Zope" Sent: Sunday, October 22, 2000 9:41 PM Subject: [Zope] Creating Object | Hello, | | I am new to Zope | I've just installed Zope on Linux. I just can't create any object !. | I receive the following message : | the object can not be owned by the superuser | (line 217 in file Owned.py) | Could someone help me ? | | Thank you very much | | | | _______________________________________________ | 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 ) From jatwood@bwanazulia.com Sun Oct 22 22:18:23 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 17:18:23 -0400 Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> References: <39F35103.CE1D139@wanadoo.fr> Message-ID: You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote: >Hello, > >I am new to Zope >I've just installed Zope on Linux. I just can't create any object !. >I receive the following message : > the object can not be owned by the superuser >(line 217 in file Owned.py) >Could someone help me ? > >Thank you very much > > > >_______________________________________________ >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 ) From mark@kaivo.com Sun Oct 22 22:28:48 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 15:28:48 -0600 (MDT) Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> from "Salvatore DIDIO" at Oct 22, 2000 10:41:39 PM Message-ID: <200010222128.PAA27072@CatInTheHat.kaivo.com> You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created. You should be able to create objects. Mark > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much > > > > _______________________________________________ > 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 ) > From bill@noreboots.com Sun Oct 22 22:09:18 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:09:18 -0600 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <39F3577E.8EF9D4BF@noreboots.com> Chris Withers wrote: > > Andrew Kenneth Milton wrote: > > > > | > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > which will hopefully produce a solution :-) > > cheers, As soon as you can tell us how to get Zope to go executing _files_ on the server (read, in the filesystem), as opposed to objects in the site.... I might accept it as the same bug. :^)= Then-again,-I-might-_use_-that-capability-if-I-could-ly y'rs Bill -- E PLURIBUS LINUX From bill@noreboots.com Sun Oct 22 22:11:22 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:11:22 -0600 Subject: [Zope] Roxen & Zope, not working References: <20001019203410.18523.qmail@web515.mail.yahoo.com> Message-ID: <39F357FA.B3E5BEB7@noreboots.com> Adrian Madrid wrote: > > I'm having problems running Zope on top of Roxen on a Win2k machine. > They both run just fine separate but I can't make it work together. I > followed the instructions from > http://www.zope.org/Members/magnus/Roxen but I never got it to see the > first page. Here are the tracebacks I get: > > * This is what I get when I try mysite.com: These are all Roxen tracebacks, try their lists for details (good luck). Bill (I run many sites just fine with Roxen/Zope, but that's on Linux) -- E PLURIBUS LINUX From taco@scargo.nl Sun Oct 22 22:56:21 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 14:56:21 -0700 Subject: [Zope] Problems with sequence-item Message-ID: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> I get errors when sequence-item is being called to list the contents of a folder E.g. correctly outputs 3 2 1 When I do it correctly outputs all ids in the folder. But will fail with an error Error Type: AttributeError Error Value: __call__ What am I doing wrong ? Thanks, Taco Scargo ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From curtis@cardgate.net Sun Oct 22 23:30:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:30:17 +1100 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <0010230930170K.01234@localhost.localdomain> On Fri, 20 Oct 2000, Chris Withers wrote: > Andrew Kenneth Milton wrote: > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > wwhich will hopefully produce a solution :-) > Now, I may be missing the point of the fine grained access control of ZOPE, but knowing an objects ID is not at all the same as being able to access it, or even invoke it correctly. The MS bug "allows access to any file on the webserver". Whilst in ZOPE you may be able to enter the URL and invoke the object to some degree, unless you have the permissions to do whatever it does, what harm can you do? To me, this seems like more of a "patch by sensible admin" problem than a security hole. > cheers, > > Chris > Have a better one, Curtis Maloney. From curtis@cardgate.net Sun Oct 22 23:41:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:41:56 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> References: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> Message-ID: <0010230941560L.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > Your problem appears to be in the using of objectValues(). This returns the actual objects. So, in the second loop () you are referencing the 'id' member of each object. Nothing wrong there. However, in the third loop () you are trying to render the object itself. This will 'call' each object, which some of them (obviously) object to. (No pun intended) If you want to render all the DTML Documents and DTML Methods in the folder , try something like: but this could get very messy with a large folder. (o8 > Thanks, > > Taco Scargo > Have a better one, Curtis Maloney From mark@kaivo.com Sun Oct 22 23:52:59 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 16:52:59 -0600 (MDT) Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> from "Taco Scargo" at Oct 22, 2000 02:56:21 PM Message-ID: <200010222252.QAA27926@CatInTheHat.kaivo.com> > > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > In this example, is actually trying to call the items in the folder. In this case, at least one of the items is not callable ( like another folder). If you did something like this: You would see the results of 'viewing' or calling every DTML Method in folder. Mark > Thanks, > > Taco Scargo > > > > > ________________________________________________________ > 1stUp.com - Free the Web > Get your free Internet access at http://www.1stUp.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 ) > From taco@scargo.nl Mon Oct 23 02:34:52 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:34:52 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> Message-ID: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. Fails with the error: Error Type: AttributeError Error Value: __call__ I am really clueless.... Thanks, Taco ----- Original Message ----- From: "Mark N. Gibson" To: "Taco Scargo" Cc: Sent: Sunday, October 22, 2000 3:52 PM Subject: Re: [Zope] Problems with sequence-item > In this example, is actually trying to call the items > in the folder. In this case, at least one of the items is not callable like > another folder). If you did something like this: > > > > > > You would see the results of 'viewing' or calling every DTML Method in folder. > > Mark From curtis@cardgate.net Mon Oct 23 02:57:50 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 12:57:50 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Message-ID: <0010231257500N.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > Had already tried that, but it doesn't work. > I have 8 DTML Documents in a folder called artikelen. > > > > > > Fails with the error: > Error Type: AttributeError > Error Value: __call__ > > I am really clueless.... > Any chance you could post the WHOLE traceback, so we might be able to see which object it's choking on? > Thanks, > > Taco Curtis. From taco@scargo.nl Mon Oct 23 02:54:42 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:54:42 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> Message-ID: <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Please feel free to look at it at http://www.gezondheidskrant.nl:8080/mainframe Taco ----- Original Message ----- From: "Curtis Maloney" To: "Taco Scargo" ; "Mark N. Gibson" ; Sent: Sunday, October 22, 2000 6:57 PM Subject: Re: [Zope] Problems with sequence-item > Any chance you could post the WHOLE traceback, so we might be able to see > which object it's choking on? From kthangavelu@earthlink.net Sun Oct 22 23:38:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:38:51 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Message-ID: <39F36C7B.906C48FC@earthlink.net> I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen document. zope renders these subtemplates slightly differently than a template called directly by the browser, when you're calling the addressen subobject from the document call it like this or in a if that doesn't solve it for you, than it would be helpful to have the relevant src of the document. i tried without success to duplicate the exact same error, but i'm pretty sure that the problem has something to do with this. Kapil Taco Scargo wrote: > > Please feel free to look at it at > > http://www.gezondheidskrant.nl:8080/mainframe > > Taco > ----- Original Message ----- > From: "Curtis Maloney" > To: "Taco Scargo" ; "Mark N. Gibson" ; > > Sent: Sunday, October 22, 2000 6:57 PM > Subject: Re: [Zope] Problems with sequence-item > > Any chance you could post the WHOLE traceback, so we might be able to see > > which object it's choking on? > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Sun Oct 22 23:43:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:43:02 -0700 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39F36D76.50D2C358@earthlink.net> trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From maxm@normik.dk Mon Oct 23 09:12:31 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 10:12:31 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: <7BD10B680501D411B9DF009027E06F32197A8D@exchange> This is untested, but an idea: It is still subject to failure if 2 or more processes are writing an article in the same time. Furthermore it has to find and sort all the items in the folder. That could take a long time if there are lots of them. Maybe you should somehow insert a dtml-try until you succed in writing the article. Another aproach would be to have the folder with your articles have a property "lastID" and let "nexID" be a method that automatically would increment lastID end return it. Maybe it is possible to lock the lastID property?? >From: Patrick Koetter [mailto:p@state-of-mind.de] >What is it that I want to do? >I want to evaluate the highest ID (all are 'int') within the folder and >assign the next highest. >I'm sure this is easy to you... From Oliver Bleutgen Mon Oct 23 09:41:27 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 10:41:27 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010230845.BAA02278@zope.codeit.com> > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > same as merchantpayment. > Other databases (Postgresql, Informix) are not. > Perhaps the Access/ODBC interface hides the case-sensitivity while the > direct ZMySQLDA does not ? Hmm, I'm not very clear about differences between handling of (table, column) names in sql-databases, but postgres IS case sensitive (in some sense). Few days ago I wrote to messages to this list describing my problems with postgres and capitals in column-names. The handling of these will render useless, because it doesn't quote the name of the vars. I that case postgres will not respect capital letter (will turn them lowercase) but also won't find the column which name is written uppercase. I think it would be usefull to collect the behaviour of different databases and try to find a solution which will work with all of them. The solution we have now clearly doesn't do that. cheers, oliver From brocken22@gmx.de Mon Oct 23 10:06:08 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 23 Oct 2000 11:06:08 +0200 (MEST) Subject: [Zope] Working with versions Message-ID: <4833.972291968@www32.gmx.net> Hallo, I've got a question concerning versions. The working with versions in the management screen is obvious to me, but what about hiding the management-screen and working with them. I want to add ZClasses programmatically but some users should only be able to add them after a Controller has checked that everything is o.k. What are the right methods to use??? -- Sent through GMX FreeMail - http://www.gmx.net From chrism@digicool.com Mon Oct 23 10:30:27 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 05:30:27 -0400 Subject: [Zope] Working with versions References: <4833.972291968@www32.gmx.net> Message-ID: <065101c03cd3$e2576c00$63c48ad0@kurtz> Hi... You need to open a versioned database connection manually. This is probably harder than it should be. For more info, see http://www.zope.org/Documentation/Developer/Models/ZODB and look under Architecture --> DB. ----- Original Message ----- From: To: Sent: Monday, October 23, 2000 5:06 AM Subject: [Zope] Working with versions > Hallo, > I've got a question concerning versions. > The working with versions in the management screen is obvious to me, but > what about hiding the management-screen and working with them. > I want to add ZClasses programmatically but some users should only be able > to add them after a Controller has checked that everything is o.k. > What are the right methods to use??? > > -- > Sent through GMX FreeMail - http://www.gmx.net > > > _______________________________________________ > 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 ) > > From Olivier Ricou Mon Oct 23 10:48:54 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 11:48:54 +0200 Subject: [Zope] newbie questions ? Message-ID: <20001023114854.E3390@hermes> Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. Here are two questions I did not find the answers : - how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory. - how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder. Thanks, Olivier. From sean@digitome.com Mon Oct 23 11:16:09 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 11:16:09 +0100 Subject: [Zope] GET requests in Medusa web server Message-ID: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Hello all, Why does the Medusa server in Zope not handle GET requests which specify a full URI? For example, if I have a web server running on web.mydomain.com, and I want to get a file called "file.html", doing a GET request of the form GET http://web.mydomain.com/file.html HTTP/1.1 gives me a 404. Doing a GET of the form GET /file.html HTTP/1.1 works fine. If I understand RFC 2068 correctly, a HTTP 1.1 compliant server is expected to handle both cases (5.1.12 of RFC 2068), although HTTP 1.1 clients are not supposed to generate these unless talking to a proxy. In our case, the software which generates the request is a WAP gateway (Ophelia, http://www.3ui.com), and it always assumes it is talking to a proxy server, and requires a code change to change it. I've tested Apache and IIS with this, and they handle both forms. Thanks in advance. From chrism@digicool.com Mon Oct 23 11:38:57 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:38:57 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> Message-ID: <002801c03cdd$72ac3020$1f48a4d8@kurtz> > Hi, > > I spent my week-end learning how to use Zope, it was a nice painful > experience. Nice thanks to Zope itself, painful because of the poor > docs. The How-Tos helped me a lot but it is a real mess. We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/. > Here are two questions I did not find the answers : > > - how to ask for authentification to see my web pages (not manage, just > see) ? In Apache one has to put a .htaccess file in the directory. This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > - how to limit the size a folder ? I want to give login to friends > so they can add photos in a folder but I don't want to receive > more than 200MB of data in this folder. There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size. From chrism@digicool.com Mon Oct 23 11:43:06 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:43:06 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> Message-ID: <003e01c03cde$070ea360$1f48a4d8@kurtz> And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) ----- Original Message ----- From: "Chris McDonough" To: "Olivier Ricou" ; Sent: Monday, October 23, 2000 6:38 AM Subject: Re: [Zope] newbie questions ? > > Hi, > > > > I spent my week-end learning how to use Zope, it was a nice painful > > experience. Nice thanks to Zope itself, painful because of the poor > > docs. The How-Tos helped me a lot but it is a real mess. > > We know. :-) Have you checked out the Zope book? > http://www.zope.org/Members/michel/ZB/. > > > Here are two questions I did not find the answers : > > > > - how to ask for authentification to see my web pages (not manage, just > > see) ? In Apache one has to put a .htaccess file in the directory. > > This answer is definitely in the Zope book. If it's not, there's the > (unfinished) chapter of the Zope Product Developer's Guide Security chapter > at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > > > - how to limit the size a folder ? I want to give login to friends > > so they can add photos in a folder but I don't want to receive > > more than 200MB of data in this folder. > > There is no quota support in Zope. You'd need to write code to enforce a > constraint on total upload size. > > > > _______________________________________________ > 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 ) > > From richard@dcs.co.uk Mon Oct 23 11:00:22 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 23 Oct 2000 11:00:22 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <200010230845.BAA02278@zope.codeit.com> Message-ID: <4.3.2.7.2.20001023103517.02359840@195.60.12.162> At 09:41 23/10/00, you wrote: > > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > > same as merchantpayment. > > > Other databases (Postgresql, Informix) are not. > > > Perhaps the Access/ODBC interface hides the case-sensitivity while the > > direct ZMySQLDA does not ? > >Hmm, I'm not very clear about differences between handling of (table, >column) names >in sql-databases, but postgres IS case sensitive (in some sense). Well I'm confused !!! I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both with the same schema. Both have a table 'artist'. The following SQL Method (Zope 2.2.1) works with both select a.artist_id,a.known_name,a.initials from artist a where Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where it still works with PostgreSQL but with MySQL I get "Table 'tunedb.ARTIST' doesn't exist" Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where Then it still works with PostgreSQL, provided you also change the argument to the SQL Method from surname to SURNAME. When you click on the Test tab of an SQL Method it shows the SQL generated and you can see, in the above example, that the uppercase words are passed through unchanged to the database viz. select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = 'Molloy' In what circumstances is PostgreSQL case-sensitive ? Richard >Few days ago I wrote to messages to this list describing my problems >with postgres and capitals in column-names. The handling of these will >render useless, because it doesn't quote the name of the >vars. I that case postgres will not respect capital letter (will turn them >lowercase) but also won't find the column which name is written uppercase. > >I think it would be usefull to collect the behaviour of different databases >and try to find a solution which will work with all of them. >The solution we have now clearly doesn't do that. > >cheers, >oliver > > > > > > > >_______________________________________________ >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 ) Richard Moon richard@dcs.co.uk From olpa@sybcom.de Mon Oct 23 11:48:06 2000 From: olpa@sybcom.de (olpa@sybcom.de) Date: Mon, 23 Oct 2000 12:48:06 +0200 (CEST) Subject: [Zope] ZCatalog question Message-ID: Hi Folks, i have a ZCatalog over a bunch of items with attributes A and B. Now I want to search all elements with attribute A set to value 1 and AT THE SAME TIME with attribute B set to value 2. So a sort of AND combination with two different attributes. How to do ? Regards oliver --- "All language designers are arrogant. Goes with the territory..." (By Larry Wall) --- Oliver Pabst .-------------------------. mailto:olpa@sybcom.de : : phone :+49 681 56600600 : project department : SYBCOM GmbH fax :+49 681 56600660 : : http://www.sybcom.de From hohage@muenster.de Mon Oct 23 13:38:13 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 13:38:13 +0100 Subject: [Zope] Working with versions Message-ID: <39F3CE19@muepubb> Hallo Chris, thank you for your reply, but I don't understand what I have to do. I looked into the documentation but it is obscure to me. Sven >===== Original Message From "Chris McDonough" ===== >Hi... > >You need to open a versioned database connection manually. This is probably >harder than it should be. For more info, see >http://www.zope.org/Documentation/Developer/Models/ZODB and look under >Architecture --> DB. > >----- Original Message ----- >From: >To: >Sent: Monday, October 23, 2000 5:06 AM >Subject: [Zope] Working with versions > > >> Hallo, >> I've got a question concerning versions. >> The working with versions in the management screen is obvious to me, but >> what about hiding the management-screen and working with them. >> I want to add ZClasses programmatically but some users should only be able >> to add them after a Controller has checked that everything is o.k. >> What are the right methods to use??? >> >> -- >> Sent through GMX FreeMail - http://www.gmx.net >> >> >> _______________________________________________ >> 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 ) >> >> From Oliver Bleutgen Mon Oct 23 12:41:59 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 13:41:59 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010231146.EAA08582@zope.codeit.com> > At 09:41 23/10/00, you wrote: >>Hmm, I'm not very clear about differences between handling of (table, >>column) names >>in sql-databases, but postgres IS case sensitive (in some sense). > Well I'm confused !!! > I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both > with > the same schema. Both have a table 'artist'. The following SQL Method > (Zope > 2.2.1) works with both > select a.artist_id,a.known_name,a.initials >>from artist a > where > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > it still works with PostgreSQL but with MySQL I get > "Table 'tunedb.ARTIST' doesn't exist" > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > Then it still works with PostgreSQL, provided you also change the argument > to the SQL Method from surname to SURNAME. > When you click on the Test tab of an SQL Method it shows the SQL generated > and you can see, in the above example, that the uppercase words are passed > through unchanged to the database > viz. > select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = > 'Molloy' > In what circumstances is PostgreSQL case-sensitive ? First, sorry for my (nearly) full-quote, but I think it makes this discussion more readable. To your question, from my testing (I did this with column names only, but I suspect the same behavior for table-names), postgres is case sensitive, but - as I wrote - in another sense. If you don't quote the column-names, they are converted to or interpreted as lowercased names. _But_ if the real name of the table/column is _uppercase_, it will not be matched by this lowercased name - in this sense postgres is case-sensitive. Postgres needs quoted names in sql-queries to respect capitalization (sp?) - and I couldn't get to generate them. This was a major problem for me, because I had to work with a bunch of tables which were exported from foxpro and dbase, and their names were uppercased in the process. cheers, oliver From taco@scargo.nl Mon Oct 23 12:59:35 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 04:59:35 -0700 Subject: [Zope] Almost there, but I am still having a little problem References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> <39F36C7B.906C48FC@earthlink.net> Message-ID: <009b01c03ce8$b7d5b850$7b231440@TACOTOSHIBA> Thank you all for helping me out. The hints got me almost there. I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From baehr@dfki.de Mon Oct 23 13:35:57 2000 From: baehr@dfki.de (Jan-Thies Baehr) Date: Mon, 23 Oct 2000 14:35:57 +0200 Subject: [Zope] again: install Zope under Solaris 8 Message-ID: <39F430AD.8084E944@dfki.uni-kl.de> Hi, I just want to resume a thread from september. Has anyone else encountered problems installing Zope (in our case 2.2.2) under Solaris 8? And more important: Do you know a solution? Python is unable to import the ExtensionClass. I tried it from commandline (python 1.5.2 (#1, Oct 19 2000, 13:55:34) [GCC 2.95.3 19991030 (prerelease)] on sunos5) also and got the same Import Error: --------------- command and traceback following ---------------------------- [~/Zope-2.2.2] ./start Traceback (innermost last): File "/...../Zope-2.2.2/z2.py", line 554, in exec "import "+MODULE in {} File "", line 1, in File "/...../Zope-2.2.2/lib/python/Zope/__init__.py", line 94, in import ZODB, ZODB.ZApplication, imp File "/...../Zope-2.2.2/lib/python/ZODB/__init__.py", line 85, in import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol not found ------------------------------------------------------------------------------ Thanks, Thies Bähr. -- ----------------------------------------------------------------------- Jan-Thies Bähr Intelligent Visualization & Simulation DFKI GmbH Email: baehr@dfki.uni-kl.de D-67608 Kaiserslautern (Germany) Phone: +49 (0) 631 205-4565 ----------------------------------------------------------------------- From arevalo@iam.unibe.ch Mon Oct 23 14:57:03 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 15:57:03 +0200 (MET DST) Subject: [Zope] a problem with 'start' command Message-ID: hi all, I am a starter with Zope and i have a simple question. I need to execute 'start' command to start the server again. when i tried to do it, it gives me the message: command not found I looked at the directory, i can find the start command, and the permissions are -rwx--x--x. Can somebody help me with this ? Thanks Gaby From ws@gmd.de Mon Oct 23 14:59:47 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Mon, 23 Oct 2000 15:59:47 +0200 Subject: [Zope] Zope 2.2.2 breaks YihawDirectory ? Message-ID: <39F46073.11918.12C6AEA@localhost> When installing the actual Version of YihawDirectory (http://www.zope.org/Members/Roug/Yihaw) by importing it into a 2.2.2 Zope, I got the following traceback. This happens both with and without the current hotfixes. Importing it into 2.2.1 equipped with the current hotfixes works without flaws. Any ideas what's going on here? I don't want to go back to 2.2.1 :-/ Zope has encountered an error while publishing this resource. Error Type: Could not load oid  5, pickled data in traceback info may contain clues Error Value: None Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 526, in manage_importObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 278, in _setObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 447, in setstate File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info:  5) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\0225', '(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq \002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012 U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U \007#ffffccq\021U\016contextMessageq\022U\011Event Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000 \000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0 30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03 2U\0013U\014titleFgColorq\033U\007#000000q\034U\011meta_type q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5 0D1IjExz+kMxPcyw==q U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\ 003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\ 000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00 3MWpq,ttq- QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01 5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add EventDocumentsq3)(U\007Managerq4tq5t(U\017Add EvDocAddersq6)h5t(U\016Add EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00 0\000\000\022Oq:(h\015U\003MWpq;ttq(h\015U\003MWpq?ttq@QU\ 014titleBgColorqAU\007#ffffccqBU\004iconqCU9Control_Panel/Prod ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0 22nobody@nowhere.comqFU\010nicknameqGU\011Event LogqHU\023docGridDisplayColorqIU\007#0000ccqJU\017mgmt_bat ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\ 000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\ 0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0 00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU \00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003 MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000 \022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\ 000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0 03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000 \022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0 13bordercolorqwU\007#000033qxU\012_p_changedqyK\001U\007__ doc__qzU\037Folder to contain event objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00 0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000 \000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00 0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l astDayOfMonthq\211(U\010\000\000\000\000\000\000\022cq\212(h\ 015U\003MWpq\213ttq\214QU\016headingBgColorq\215U\007#000 000q\216U\011thismonthq\217(U\010\000\000\000\000\000\000\022 Zq\220(h\015U\003MWpq\221ttq\222QU\024isPrincipiaFolderishq\2 23U\001YU\013bodyBgColorq\224U\007#ffffffq\225U\011pixel_gifq\2 26(U\010\000\000\000\000\000\000\022Xq\227(h\015U\003MWpq\23 0ttq\231QU\016undo_hook_linkq\232(U\010\000\000\000\000\000\0 00\022Iq\233(h\015U\003MWpq\234ttq\235QU\017newAddendumFo rmq\236(U\010\000\000\000\000\000\000\022`q\237(h\015U\003MW pq\240ttq\241QU\013subobjTypesq\242(U\010\000\000\000\000\000 \000\022aq\243(h\015U\003MWpq\244ttq\245QU\010newEventq\24 6(U\010\000\000\000\000\000\000\022bq\247(h\015U\003MWpq\250 ttq\251QU\011_p_serialq\252U\010\0036b\014\023S\230\273q\253U \011dateRangeq\254(U\010\000\000\000\000\000\000\022Yq\255(h\ 015U\003MWpq\256ttq\257QU\006go_gifq\260(U\010\000\000\000\0 00\000\000\022Tq\261(h\015U\003MWpq\262ttq\263QU\020AboutE ventFolderq\264(U\010\000\000\000\000\000\000\022dq\265(h\015U\ 003MWpq\266ttq\267QU\012meta_typesq\270(}q\271(U\012permiss ionq\272U\022Add EventDocumentsq\273U\004nameq\274U\016Event Documentq\275U\007productq\276U\013EventFolderq\277U\006acti onq\300U3manage_addProduct/EventFolder/EventDocument_factor yq\301utq\302U\013borderwidthq\303U\0012U\014subjectNamesq\3 04]q\305(U\007Generalq\306U\004Artsq\307U\007Theatreq\310U\00 6Sportsq\311U\012Governmentq\312U\005Clubsq\313U\006Schoolq \314U\011Religiousq\315eU\006prefixq\316U\000U\012whole_yearq\ 317(U\010\000\000\000\000\000\000\022eq\320(h\015U\003MWpq\3 21ttq\322QU\014showCalendarq\323(U\010\000\000\000\000\000\00 0\022fq\324(h\015U\003MWpq\325ttq\326QU\021filterHtmlInFormsq \327U\002onq\330U\016manage_optionsq\331(}q\332(U\005labelq\3 33U\010Contentsq\334U\004helpq\335(U\013EventFolderq\336U\01 0MainViewq\337tU\006actionq\340U\016neatManageViewq\341u}q\ 342(U\005labelq\343U\022Zope Contents Viewq\344U\004helpq\345(h\336U\020ZopeContentsViewq\346tU\00 6actionq\347U\013manage_mainq\350u}q\351(U\005labelq\352U\00 4Viewq\353U\006actionq\354U\014showCalendarq\355u}q\356(U\00 5labelq\357U\012Propertiesq\360h\345(h\336U\020FolderProperties q\361tU\006actionq\362U propertysheets/properties/manageq\363u}q\364(U\005labelq\365U\0 10Securityq\366U\006actionq\367U\015manage_accessq\370u}q\37 1(U\005labelq\372U\004Undoq\373U\006actionq\374U\016undo_hoo k_linkq\375u}q\376(U\005labelq\377U\006ReadMer\000\001\000\000 U\006actionr\001\001\000\000U\020AboutEventFolderr\002\001\000\ 000utr\003\001\000\000U\007xSearchr\004\001\000\000(U\010\000\ 000\000\000\000\000\022gr\005\001\000\000(h\015U\003MWpr\006\ 001\000\000ttr\007\001\000\000QU\012ziconImager\010\001\000\00 0(U\010\000\000\000\000\000\000\022\\r\011\001\000\000(U\011OF S.Imager\012\001\000\000U\005Imager\013\001\000\000ttr\014\001\ 000\000QU\014eventlog_gifr\015\001\000\000(U\010\000\000\000\00 0\000\000\022hr\016\001\000\000(h\015U\003MWpr\017\001\000\00 0ttr\020\001\000\000QU\013ctlsBgColorr\021\001\000\000U\007#ccf fccr\022\001\000\000U\006renderr\023\001\000\000(U\010\000\000\ 000\000\000\000\022ir\024\001\000\000(h\015U\003MWpr\025\001\ 000\000ttr\026\001\000\000QU\013bodyFgColorr\027\001\000\000U\ 007#000000r\030\001\000\000U\005titler\031\001\000\000U\011Eve nt Logr\032\001\000\000U\021wrapSearchResultsr\033\001\000\000(U\ 010\000\000\000\000\000\000\022kr\034\001\000\000(h\015U\003M Wpr\035\001\000\000tr\036\001\000\000tr\037\001\000\000QU\017li nkRelFontSizer \001\000\000U\002- 1r!\001\000\000U\016headingFgColorr"\001\000\000U\007#ffffffr#\001 \000\000utr$\001\000\000t.N.')) Could not load oid  5, pickled data in traceback info may contain clues: (see above) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From maxm@normik.dk Mon Oct 23 15:06:27 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 16:06:27 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> What am I doing wrong here ... please !! I am trying to make an autoincrementing counter for use in a diskussion forum. It's purpose is to autogenereate id's for new messages. It is important that the id's are in order, so I need to make them this way. I have a zClass (objectmanger) with a property called "lastID", on a propertysheet called "hidden". I have then written a dtml mehtod that should return the id incremented by 1 and then sets the lastID to this new id. the dtml for the "newID()" dtml method looks like this: ---------- ---------- When I try to get the property directly via the browser i get a result of "1" The default value for lastID=0 to begin with so this sounds plausible, but when I refresh the browser nothing happens. So I guess that lastID isn't updated in the above code. How do I do that? Also when I the try to insert "newID()" in my "mxm_comment_add" method in my zClass, to autogenerate numbers, like this: I get the following traceback: (And I would expect it to run at least 1 time with "1" as a new id.) Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\mxmZope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\mxmZope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File C:\mxmZope\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) (Info: newID) File <string>, line 0, in ? File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: REQUEST.set('new_id', lastID+1)) (Info: REQUEST) File <string>, line 0, in ? NameError: (see above) From ghaley@venaca.com Mon Oct 23 15:19:12 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 23 Oct 2000 10:19:12 -0400 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F448E0.C533E384@venaca.com> steve smith wrote: > > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > hi steve. one of the worst things with zope sendmail is that you cannot indent things the way you might with clean coding use. but, you can use some very nice sql calls within you sendmail, including appropriate indentation. below is a sendmail method that i use to read a string of email address from a mysql database, and the text of the email from a second database, which gets parsed via an external python script (to parse the string of text into lines of <= 75 chars, otherwise the text gets sent as single lines). also, it checks for non-existent email addresses or missing names (the database is a list of people and companies, whether connected to the net or not). it may not be the most efficient, but it works; and any suggestions as to making it more efficient will be most appreciated. ciao! greg. venaca.com ********************************** clip ************************************

''"> '' and primary_name <> ''"> To: <> From: Subject: To: <> From: Subject: From phil.harris@zope.co.uk Mon Oct 23 15:25:49 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 15:25:49 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <00f501c03cfd$26dddac0$5c773fc1@media1> Gaby, If you are in the Zope directory, since most uni(x)es don't have the current directory in the path, you need to start zope with './start'. hth Phil ----- Original Message ----- From: "Gabriela Arevalo" To: Sent: Monday, October 23, 2000 2:57 PM Subject: [Zope] a problem with 'start' command > hi all, > I am a starter with Zope and i have a simple question. > I need to execute 'start' command to start the server again. > when i tried to do it, it gives me the message: > command not found > I looked at the directory, i can find the start command, and the > permissions are -rwx--x--x. > > Can somebody help me with this ? > > Thanks > > Gaby > > > _______________________________________________ > 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 ) From Jerry.Spicklemire@IFLYATA.COM Mon Oct 23 15:33:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 23 Oct 2000 09:33:07 -0500 Subject: [Zope] RE: Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F5@innt-73.ata.com> Steve wrote: > I'm guessing the the problem is that > > &dtml-xxx; does an implicit "html_quote" format > on whatever expression you provide.. so > >

> > should produce: > >
> > Which the browser doesn't grok.... > > try: > >
> That works! It turned out that this was also complicated by some flakey behavior displaying nested tables, in MS IE. It seems that sometimes it doesn't matter what you specifiy for a table's properties, the parent tables properties take precedence. Thanks! Jerry S. From hohage@muenster.de Mon Oct 23 16:40:02 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 16:40:02 +0100 Subject: [Zope] Adding many instances at once Message-ID: <39F44BCE@muepubb> Hallo, how can you add many ZClass-instances at once. I mean with the correct content,title and other properties.The example(adding zclass to a zclass)is always adding one class.The next problem is how to deal with the properties in a form if you don't know how many items are added by the user?? User A is adding three news-items at once, the next is adding 5. From brian@digicool.com Mon Oct 23 15:42:02 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 23 Oct 2000 10:42:02 -0400 Subject: [Zope] GET requests in Medusa web server In-Reply-To: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: > Why does the Medusa server in Zope not handle GET requests which specify > a full URI? For example, if I have a web server running on > web.mydomain.com, > and I want to get a file called "file.html", doing a GET request > of the form > > GET http://web.mydomain.com/file.html HTTP/1.1 > > gives me a 404. Doing a GET of the form > > GET /file.html HTTP/1.1 > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > compliant server > is expected to handle both cases (5.1.12 of RFC 2068) > ... Hi Sean - What version of Zope are you seeing this with? I seem to remember fixing something along these lines fairly recently. Is it still the case in Zope 2.2.2? Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From arevalo@iam.unibe.ch Mon Oct 23 16:23:27 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 17:23:27 +0200 (MET DST) Subject: [Zope] a problem with 'start' command In-Reply-To: <00f501c03cfd$26dddac0$5c773fc1@media1> Message-ID: Phil, thanks for your suggestion, i understood it > If you are in the Zope directory, since most uni(x)es don't have the current > directory in the path, you need to start zope with './start'. but now when i execute the command i have the following message: ----------------------------------------------------------------------------- Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in ? zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", line 204, in run pf.close() IOError: [Errno 49] Disc quota exceeded aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname ------ 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct 23 17:18:55 2000 Hostname: aurora Port:8080 ------ 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 17:18:55 2000 Authorizer:None Hostname: aurora Port: 8021 ------ 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. ------ 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 17:18:55 2000 Unix socket: /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc ------ 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on port 8099 Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in ? pf.close() IOError: [Errno 49] Disc quota exceeded ------------------------------------------------------------------------------ what does this message mean ? what can i do ? in fact, my problem is when i tried to execute "localhost":8080/pecos/ where i have the information i need, there seems to have problems, because the connection is not possible. first thing i thought is just to try to start the server again, but i can not. thanks for any help have a nice evening. Gaby From brianw@hilgraeve.com Mon Oct 23 16:24:17 2000 From: brianw@hilgraeve.com (Brian Withun) Date: Mon, 23 Oct 2000 11:24:17 -0400 Subject: [Zope] argument type of list for ZSQL ? Message-ID: <000901c03d05$4f3ef230$ecdb5bcf@mikew> Is it possible to create a ZSQL Method which has a list-type as an argument? ..something that might support a call like this (or similar): where inside the ZSQL Method I might iterate over dept_members INSERT DepartmentMembers ( department_id, employee_id ) VALUES ( , ) If this can be written as shown (or similar) what would be the syntax used to populate the 'dept_members' field on the TEST view of the ZSQL Method? Would it just be: dept_member_ids: ----------------------- | [22,150,89] | ----------------------- or dept_member_ids: ----------------------- | "[22,150,89]" | ----------------------- or ... ? ------------ Brián Withun From bill.anderson@libc.org Mon Oct 23 16:02:18 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 09:02:18 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <39F452FA.969F6F7@libc.org> Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > it makes my skin crawl. :-) Amen. That and "...to adminstrate a server". :^)= Bill -- E PLURIBUS LINUX From andym@ActiveState.com Mon Oct 23 17:00:43 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 09:00:43 -0700 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <00d201c03d0a$660bf1c0$ae03a8c0@fork> [..] > When I try to get the property directly via the browser i get a result of > "1" The default value for lastID=0 to begin with so this sounds plausible, > but when I refresh the browser nothing happens. So I guess that lastID isn't > updated in the above code. I think this is a class - object problem. Each time you create an object based on your ZClass, the lastID becomes 0. Each object has its own lastID, rather than what you are expecting which is one instance of last id. My advice... download and install FSCounter from Zope.org (http://www.zope.org/Members/andym/FSCounter) Add an FSCounter, call it "Unique" and turn Cookie? to OFF (very important). This will generate and keep track of an incrementing value on the file system Then in your constructor add / change: That should work like a charm. From Olivier Ricou Mon Oct 23 17:01:52 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 18:01:52 +0200 Subject: [Zope] newbie questions ? In-Reply-To: <003e01c03cde$070ea360$1f48a4d8@kurtz>; from chrism@digicool.com on Mon, Oct 23, 2000 at 06:43:06AM -0400 References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <20001023180152.T3390@hermes> On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header Il faut un compte pour voir ces pages. and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account. Olivier. ps: the french sentence is useless since it never appears. From Robert_J_Roberts@rl.gov Mon Oct 23 17:22:02 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 23 Oct 2000 09:22:02 -0700 Subject: [Zope] Lost External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> I am running Zope 2.1.4 (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 I have several external methods. Just recently, they started to be good for one run only. The external methods run fine once. The next run, they error out with: "Could not execute external method: ExtMthdName" If I reload that method [Edit button it] it runs fine again for one run. Any suggestions? And... while I'm at it, is there a way in Zope to programmatically reload [Edit button] an external method (in case I can't get the problem to go away and just out of general curiosity)? Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From juliodinis@hotmail.com Mon Oct 23 18:53:16 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Mon, 23 Oct 2000 17:53:16 WEST Subject: [Zope] Request size limit Message-ID: Hi, Is there a place to define the max request size limit zserver can serve. Thanx, Julio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From sean@digitome.com Mon Oct 23 17:17:02 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 17:17:02 +0100 Subject: [Zope] GET requests in Medusa web server In-Reply-To: References: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: <4.3.2.7.0.20001023171545.00b7d760@mail.digitome.com> At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote: > > Why does the Medusa server in Zope not handle GET requests which specify > > a full URI? For example, if I have a web server running on > > web.mydomain.com, > > and I want to get a file called "file.html", doing a GET request > > of the form > > > > GET http://web.mydomain.com/file.html HTTP/1.1 > > > > gives me a 404. Doing a GET of the form > > > > GET /file.html HTTP/1.1 > > > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > > compliant server > > is expected to handle both cases (5.1.12 of RFC 2068) > > ... > >Hi Sean - > >What version of Zope are you seeing this with? I seem to >remember fixing something along these lines fairly recently. >Is it still the case in Zope 2.2.2? I am using Zope 2.1.6. regards, Sean http://www.pyxie.org - an Open Source XML Processing library for Python From andym@ActiveState.com Mon Oct 23 18:41:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 10:41:47 -0700 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <009a01c03d18$843a3310$ae03a8c0@fork> You could also do (and I would recommend it) by using the security system Zope give you. For example if you go to your root zope folder, click on security and deselect View for Anonymous User, this will have the same effect. ----- Original Message ----- From: "Olivier Ricou" To: Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ? > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) > > Here is the solution I found to do the .htaccess feature (I haven't found > where it is written) : I put in my standard_html_header > > > > Il faut un compte pour voir ces pages. > > > > and I add a new type of user with no rights in the acl_user folder. > Hence each person with want to see the site should have an account, > at least a no right account. > > Olivier. > > ps: the french sentence is useless since it never appears. > > _______________________________________________ > 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 ) > From robin@jessikat.fsnet.co.uk Mon Oct 23 19:09:37 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Mon, 23 Oct 2000 19:09:37 +0100 Subject: [Zope] overriding manage methods Message-ID: In my Z-Class I would like to hook various standard methods in a dtmlish way. The frame work would call my dtml method say manage_delObjects and within that method I would like to call the original manage_delObjects. I guess this must be a very standard requirement as I see that there are methods called afterAdd and beforeDelete etc in the object manager. I just don't know the proper namespace magic to override and eventually call these. -- Robin Becker From verzani@postbox.csi.cuny.edu Mon Oct 23 19:45:13 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 23 Oct 2000 13:45:13 -0500 Subject: [Zope] A ZClass for LaTeX documents Message-ID: Hi, I've been using a ZClass for LaTeX documents that I put together in a manner very similar to the one described in making a ZClass for STX documents at http://www.zope.org/Members/tseaver/STX_Document I like to mark things up in LaTeX as I can type it faster than HTML, I can create very nice printouts in PDF or PostScript and there is a nice renderer into HTML called tth. There are a few annoyances that I would like some help on. * I am using tth (http://hutchinson.belmont.ma.us/tth/) which can convert LaTeX into HTML quite well. In order to do so, when uploading the tex file or changing the tex file, I call tth and store the HTML along with the tex source. My DTML for this is Which if there is a new file upload stores it in body_tex, and then takes body tex and run tth on this to create the body_html. When I do this though, the tth is called on the old body_tex data, not the recently stored one. Because of this, I have to change the file twice. Any ideas as to why and how I can fix this? My guess is subtransactions, but I don't know how to fix that. * Ideally, I would like to be able to call the latex file this way (or even better just as ) where tth is a method which takes a latex document and returns HTML. I couldn't figure out how to do this though. How does one go about defining new format methods for ZClasses? I would imagine it isn't hard, I just need to know where to look. * If that isn't too hard, I would also like to know how to make this an option for markup in SquishDot. I have a math class using this as a discussion board, and it would be nice to let them use basic LaTeX for math markup. Thanks for any pointers. John Verzani -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From mindlace@digicool.com Mon Oct 23 16:09:05 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 11:09:05 -0400 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39F45491.580D28A9@digicool.com> Heymann William wrote: > > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. You're looking for the DirArg product: http://www.zope.org/Members/itsafire/releases/DirArg Found in http://www.zope.org/Products/Helpers -- -mindlace- Zopatista Community Liason From maxmcorp@worldonline.dk Mon Oct 23 20:58:21 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 23 Oct 2000 21:58:21 +0200 Subject: [Zope] A ZClass for LaTeX documents In-Reply-To: Message-ID: From: John Verzani >* Ideally, I would like to be able to call the latex file this way > > > (or even better just as ) Why not then just make an external method that can be called like: That isn't to ugly. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From rob@isso.org Mon Oct 23 21:14:34 2000 From: rob@isso.org (Robert Miller) Date: Mon, 23 Oct 2000 13:14:34 -0700 Subject: [Zope] Looking for short term Zope contractor Message-ID: <39F49C2A.8020705@isso.org> Hi, I'm looking for someone to work on a short (2-3 weeks long) Zope project. The details of the project are fairly straightforward; we have a relatively small database of information that is currently being injected into MySQL, and we'll need this database to be viewable/searchable from the web. The job is in San Francisco, and, while physical proximity is not absolutely necessary, preference will be given to those who are local. Interested parties should email a resume (text only, no attachments, please) to me at rob@isso.org. Thanks for your time and attention, and we now return you to your regularly scheduled zope@zope.org mailing list traffic. -rob -- +--------------------------------------------------+ Rob Miller Director of Systems Engineering International Space Sciences Organization rob@isso.org +--------------------------------------------------+ From phil.harris@zope.co.uk Sun Oct 22 21:27:36 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 22 Oct 2000 21:27:36 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <001101c03c66$888d5b70$0202a8c0@typhoon> Gaby, I'd say you need to get your disk quota extended. If your not the sysadmin then you need to speak to the relevant person about it. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Gabriela Arevalo" To: Cc: Sent: Monday, October 23, 2000 4:23 PM Subject: Re: [Zope] a problem with 'start' command | Phil, | | thanks for your suggestion, i understood it | | > If you are in the Zope directory, since most uni(x)es don't have the current | > directory in the path, you need to start zope with './start'. | | but now when i execute the command i have the following message: | | -------------------------------------------------------------------------- --- | | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in | ? | zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) | File | "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", | line 204, in run | pf.close() | IOError: [Errno 49] Disc quota exceeded | aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ | 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct | 23 17:18:55 2000 | Hostname: aurora | Port:8080 | | ------ | 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 | 17:18:55 2000 | Authorizer:None | Hostname: aurora | Port: 8021 | ------ | 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. | ------ | 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 | 17:18:55 2000 | Unix socket: | /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on | port 8099 | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in | ? | pf.close() | IOError: [Errno 49] Disc quota exceeded | | -------------------------------------------------------------------------- ---- | | what does this message mean ? what can i do ? | | in fact, my problem is when i tried to execute | "localhost":8080/pecos/ where i have the information i need, there seems | to have problems, because the connection is not possible. | first thing i thought is just to try to start the server again, but i can | not. | | thanks for any help | | have a nice evening. | | Gaby | | | _______________________________________________ | 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 ) From mindlace@digicool.com Mon Oct 23 17:44:20 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 12:44:20 -0400 Subject: [Zope] (no subject) References: Message-ID: <39F46AE4.D6816F3D@digicool.com> Robert Joseph Roos wrote: > invalid attribute name, "manage_addproperty(name", for tag manage_addProperty(name='foo', value='bar', type='string')>, on > line 10 of makeSched don't know if anybody helped you on this already, but any method call is an expression, and should be (pedantically) spelled: hope that helps, -- -mindlace- Zopatista Community Liason From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:48:35 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:48:35 +0200 (CEST) Subject: [Zope] Lost External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> Message-ID: On Mon, 23 Oct 2000 Robert_J_Roberts@rl.gov wrote: > And... while I'm at it, is there a way in Zope to programmatically reload > [Edit button] an external method (in case I can't get the problem to go away > and just out of general curiosity)? This code must have permission to do it, of course. (proxy roles) ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From dieter@handshake.de Mon Oct 23 21:31:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 23 Oct 2000 22:31:23 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <14836.40496.302287.33843@lindm.dm> .... the Python debugger "pdb".... It's a Python module used to debug Python programs. It can set breakpoints, single step and print expressions. It is activated automatically, when you start "ZPublisher/Test.py" with the "-D" option. Usually, I do not use it this way, however, as it takes too long, before I reach the interesting point. Instead, I use: import pdb; pdb.set_trace() at the point in Python code, where I want to get control. Then I use "Test.py" without "-D". Dieter From k_hester@bellsouth.net Mon Oct 23 23:08:52 2000 From: k_hester@bellsouth.net (Kathy Hester) Date: Mon, 23 Oct 2000 17:08:52 -0500 Subject: [Zope] newbie question Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello and thanks for your patience! I am beginning to learn zope. I am going through the tutorials in "the book". I have run into a problem creating an external method. I know I must be doing something stupid! I have my addEntry.py saved in the Extension folder in the Zope folder as it installed it (i'm in win 2k). I have the dtml method to call addEntry. When I try to add an external method id/function name/file name are all addEntry. (Supposedly to keep me from messing up...). I get this error message- "Zope has encountered an error while publishing this resource. Error Type: SyntaxError Error Value: invalid syntax Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. " There must be a simple solution. I have looked at the o'reilly book/on-line docs/how tos and I am still not seeing my error. Please feel free to e-mail me directly at k_hester@bellsouth.net . I thought I had found a work around by installing python method – but I am not sure what I need to put in the parameter list…. Any help would be greatly appreciated! ===== Kathy Hester to feel powerful often to act powerful sometimes to overpower others seldom to share power whenever possible - unknown ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello and thanks for your =
patience!<=
/pre>
 <=
/pre>
I am beginning to learn zope. I am going through the =
tutorials in "the book". I have run into a problem creating an =
external method.<=
/pre>
 <=
/pre>
I know I must be doing something stupid!<=
/pre>
 <=
/pre>
I have my addEntry.py saved in the Extension folder in the =
Zope folder as it installed it (i'm in win 2k). I have the dtml method =
to call addEntry.<=
/pre>
 <=
/pre>
When I try to add an external method id/function name/file =
name are all addEntry. (Supposedly to keep me from messing up...). =
<=
/pre>
 <=
/pre>
I get this error message- <=
/pre>
 <=
/pre>
"Zope has encountered an error while publishing this =
resource. <=
/pre>
 <=
/pre>
Error Type: SyntaxError<=
/pre>

Error Value: invalid =
syntax<=
/pre>
Troubleshooting Suggestions<=
/pre>
 <=
/pre>
The URL may be incorrect. <=
/pre>
The parameters passed to this resource may be incorrect. =
<=
/pre>
A resource that this resource relies on may be encountering =
an error. <=
/pre>
For more detailed information about the error, please refer =
to the HTML source for this page. <=
/pre>
 <=
/pre>
If the error persists please contact the site maintainer. =
Thank you for your patience. "<=
/pre>
 <=
/pre>
There must be a simple solution. I have looked at the =
o'reilly book/on-line docs/how tos and I am still not seeing my error. =
Please feel free to e-mail me directly at k_hester@=
bellsouth.net.<=
/pre>
 <=
/pre>
I thought I had found a work around by installing python =
method – but I am not sure what I need to put in the parameter =
list…. Any help would be greatly appreciated!<=
/pre>
 <=
/pre>
 <=
/pre>
=3D=3D=3D=3D=3D
Kathy Hester<=
/pre>
 <=
/pre>
to feel powerful often<=
/pre>
to act powerful sometimes<=
/pre>
to overpower others seldom<=
/pre>
to share power whenever possible<=
/pre>
-  =
unknown<=
/pre>

 

------=_NextPart_000_0033_01C03D13.EB30F0E0-- From Menard.Jean-Francois@hydro.qc.ca Mon Oct 23 17:28:51 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Mon, 23 Oct 2000 12:28:51 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D0147BCBD@msxvpti10.vpi.hydro.qc.ca> I developped a toggle button to let the users hide/show the menus. I use a cookie to store the current value. The code I use is: in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. Why??? I know I could use a session product, but I'm worried about session expiration. Could I set one of these products to expirate ***only*** when the browser is closed? And, why a session variable doesn't exist? It's the ONLY thing I miss from ASP... Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 From p@state-of-mind.de Tue Oct 24 00:14:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 01:14:18 +0200 Subject: [Zope] AW: [Zope] a problem with 'start' command In-Reply-To: Message-ID: Hi Gaby, I am not on of the zope-gods on this list, but there is something in the message that you sent that makes me stop and think: IOError: [Errno 49] Disc quota exceeded I believe the problem is not zope itself, but the amout of diskspace that you or the user 'pecos' is allowed to use in the dir /home/pecos/... Why this? Something, I presume it's the "quota daemon" of the "solaris-machin" that you are working on, tells your zope, that the 'Disc quota exceeded'. So what to do about that? 1. get rid of files you don't need anymore --> try to start zope 2. ask your sysadmin to give you more diskspace. this can be a hard one ;-) --> try to start zope I'm sure that after you've solved this problem, you are going to run into 'zope-problems' ;-) Try to go for the Zope Book online . gruezi ;-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Gabriela Arevalo > Gesendet: Montag, 23. Oktober 2000 17:23 > An: zope@zope.org > Cc: phil.harris@zope.ac.uk > Betreff: Re: [Zope] a problem with 'start' command > > > Phil, > > thanks for your suggestion, i understood it > > > If you are in the Zope directory, since most uni(x)es don't > have the current > > directory in the path, you need to start zope with './start'. > > but now when i execute the command i have the following message: > > ------------------------------------------------------------------ > ----------- > > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in > ? > zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) > File > "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", > line 204, in run > pf.close() > IOError: [Errno 49] Disc quota exceeded > aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ > 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct > 23 17:18:55 2000 > Hostname: aurora > Port:8080 > > ------ > 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 > 17:18:55 2000 > Authorizer:None > Hostname: aurora > Port: 8021 > ------ > 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. > ------ > 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 > 17:18:55 2000 > Unix socket: > /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on > port 8099 > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in > ? > pf.close() > IOError: [Errno 49] Disc quota exceeded > > ------------------------------------------------------------------ > ------------ > > what does this message mean ? what can i do ? > > in fact, my problem is when i tried to execute > "localhost":8080/pecos/ where i have the information i need, there seems > to have problems, because the connection is not possible. > first thing i thought is just to try to start the server again, but i can > not. > > thanks for any help > > have a nice evening. > > Gaby > > > _______________________________________________ > 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 ) > From michel@digicool.com Tue Oct 24 00:50:12 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 23 Oct 2000 16:50:12 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll Message-ID: <39F4CEB4.ACB6253B@digicool.com> We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations from the community. Please send me an email containing one or more candidate names. These names will be added to the list. No pre-screening will be done, so please exercise some discretion if your favorite name is more tounge-in-cheek than practical (you never know what the masses will decide though!). Later this week, I will create a web poll where you can vote for your favorite. thanks, -Michel From kthangavelu@earthlink.net Mon Oct 23 20:05:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:05:02 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> Message-ID: <39F48BDE.FDC8496@earthlink.net> Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: k_vertigo@yahoo.com kthangavelu@earthlink.net http://lostworld.imeme.net http://sindev.dhs.org 2445 E. Del Mar Apartment 238 Pasadena, CA 91107 (626) 405-9877 (home) Objective: To obtain a challenging position in which I can use my experience in creating community based web applications. Desired Job: Full-Time Employee Preferred Site Location: Pasadena, CA Education: College of William & Mary BS in Computer Science & History Graduated May 2000 Professional Skills: Areas of Expertise: - very skilled in Python, C, HTML, JavaScript - very skilled in Zope, Open Source Web Application Server and Oracle/ACS4/Aolserver - skilled in Java, Perl, C++, XML, TCL/TK - well-versed in underlying Internet Protocols: HTTP(S), TCP/IP, DNS/BIND, DHCP, SMTP, IMAP, POP Areas of Proficiency: - Strong Knowledge of Linux Kernel, multi-threaded programming, process management - RDBMS Design and SQL (PostGresSQL, ORACLE) - Skilled in Systems Adminstration - Redhat, Mandrake, Suse - Knowledgable of different Web Application Platforms: Enhydra, Servlets, Apache, AOLServer/ACS, Midguard Work Experience: OpenSource Developer - July - August 2000 Developing OpenSource Zope/Python Products. Product releases include a Mailman (www.list.org) search/archive, and a NewsSyndication Product based on RSS/OCS. BootCamp - ArsDigita.com - June - July 2000 Participated in the ArsDigita bootcamp. Acquired skills in Aolserver, Oracle, Tcl scripting and the ACS community system. Web Application Developer - ASTi February 2000 - May 2000 Hired by ASTi, member of the Python Consortium, to implement a prototype of their corporate intranet, designed to manage project workflow and production. Technologies used Zope/XML/Python/SQL. I talked with ASTi employees regarding site requirements and project management. I designed and implemented a working prototype to fufill those requirements and the workflow guidelines I was given. After the prototype was build, I turned over the project to their web master, and educated him regardings its construction and extensibility. Some of the things that I designed and implemented and integrated with the corporate intranet. * RDBMS schema for ASTi's parts and production components as well as installation and setup of RDBMS (PostgreSQL) * A validating xml-parser/dom interface for ASTi's internal project parts. The Product created subvendor orders based on a customer's product spec/purchase order. * A searchable email archive for communications between ASTi's sales engineer and clients. * A flexible user system, to allow for automatic messaging for various phases of workflow and presentation of intranet menus based on user roles. Director of Development - Information Technology @ College of William & Mary Fall 1999 - May 2000 www.sin.wm.edu Selected to be the architect of the next generation Student Information Network at the College, an information portal for students. I investigated various Web Application Platforms, before settling on Zope, Python , and PostgreSQL, to replace an aging code-base of mod_perl scripts. Taught the developers about Zope Architecture and Python and lead them in designing and implementing a new functionality and reimplementation. Designed and Implemented Session Management(cookie-less), IMAP authentication, Team Web Site for Distrvuted Development, Online Rideboard, Message Board, Housing Market, Local Jobs. Choice of tools, technology, and design/implementation focused on easy maintenance, rapid development, and extensibility. Skills Acquired - Management of the Software Life Cycle - Object Oriented esign - Team Managment Field Consultant - Technology Support Center @ College of William & mary Summer 1999 - Spring 2000 Assisted in training of on-call support specialist. Made field visits to various problem sites doing network troubleshooting (DHCP, SMB, TCP/IP), operating systems troubleshooting (Linux, WIN98), and application troubleshooting (Email Clients, MS Office). HTML -PERL/CGI Developer - Information Technology @ College of William & Mary Spring 1998- Spring 1999 Designed and Implemented Entertainment Section for the Student Information Network in Perl/HTML/CGI with a Unix DBM backend. This section of the site served as a repository of local entertainment, movies, and restaurants in the Williamsburg, VA area. Lab Technician: Computer Center @ College of William & Mary Fall 1997- Spring 1998 Worked for the Computer Center at the College of William & Mary maintaining and installing NT Workstation 4 and hardware troubleshooting new and broken components. Contact References and Code Samples for all Work Experiences are available to interested parties Affiliations: Member of the Python Software Activity. http://www.python.org/psa Last Modified: 2000/08/11 04:23:14.377 US/Pacific From kthangavelu@earthlink.net Mon Oct 23 20:28:31 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:28:31 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> <39F48BDE.FDC8496@earthlink.net> Message-ID: <39F4915F.88816024@earthlink.net> Doh!, i've gotten far to use to hitting reply all on my emails:) kapil From eileen@orbell.com Tue Oct 24 02:29:09 2000 From: eileen@orbell.com (Eileen Orbell) Date: Mon, 23 Oct 2000 21:29:09 -0400 Subject: [Zope] New to list & Zope Message-ID: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Hi, I run debian 2.2 and have Zope installed and apache. On bootup my Zope server starts automatic. I am wondering how I configure Zope with an Apache server? I am very very new to Zope so really want a little help in starting off. My network works fine by the way and I use cabke modem with a static IP for my website. Thanks for any help. Right now I only see Zope in my cgi-bin and thought I should have a file zope.cgi? As you can see I am a little lost :-) Eileen Orbell Software & Internet Applications Capitol College mailto:eileen@orbell.com Don't Fear the Penguin. From curtis@cardgate.net Tue Oct 24 02:40:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 24 Oct 2000 12:40:17 +1100 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <0010241240170R.01234@localhost.localdomain> On Tue, 24 Oct 2000, Eileen Orbell wrote: > Hi, Greetings, and welcome, new Zopista! > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. Always handy. (o8 > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost > :-) > The way we run it at work is to use ProxyPass in Apache. Check your Apache docs, or even easier is to search for ProxyPass on the Zope web site ( www.zope.com ) > > > Eileen Orbell > Software & Internet Applications > Capitol College > mailto:eileen@orbell.com > Don't Fear the Penguin. > Have a better one, Curtis Maloney Developer Cardgate.Net From bill.anderson@libc.org Tue Oct 24 02:38:01 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:38:01 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <39F4E7F9.1F08E0F3@libc.org> Olivier Ricou wrote: > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX From bill.anderson@libc.org Tue Oct 24 02:44:39 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:44:39 -0600 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <39F4E987.41C4FFF6@libc.org> Max Møller Rasmussen wrote: > > What am I doing wrong here ... please !! > > I am trying to make an autoincrementing counter for use in a diskussion > forum. It's purpose is to autogenereate id's for new messages. > > It is important that the id's are in order, so I need to make them this way. Is it more important that they be in an order, or that they be in a specific sequential list? For example, an id based upon time stamp would indeed provide IDs that re orderable (thus handling the in order part). While a list od IDs named 1,2,3,4... is more like a 'linked list', where you know what follows and what precedes a given id. However, by using objectIds, you can obtian a list of ids in a given object (folder), and thus provide one for yourself, if needed. FTR, I have implemented both ways of doing it. I am leaning towards the timestamp as being more effective, & simpler. -- E PLURIBUS LINUX From knight@righteous.net Tue Oct 24 03:14:43 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:14:43 -0700 (PDT) Subject: [Zope] New to list & Zope In-Reply-To: <0010241240170R.01234@localhost.localdomain> Message-ID: Greetings! Great to have yet another Zope follower; hopefully you will decide to stick with it... Just be patient, you will find out that after a solid month of using Zope that is has never ending power (thanks to python and the awesome coders at digital creations). You can use ProxyPass (mod_proxy) or Rewrite (mod_rewrite) to communicate with Zope from Apache. This basically creates a "tunnel" between Apache and Zope, and data gets exchanged between the two. Some people find that ProxyPass doesn't work for them, so Rewrite is great as well (I personally use Rewrite because it suits my site). Confer with www.zope.org, or come to #zope on irc.zope.net with an irc client. Regards, Knight On Tue, 24 Oct 2000, Curtis Maloney wrote: > On Tue, 24 Oct 2000, Eileen Orbell wrote: > > Hi, > > Greetings, and welcome, new Zopista! > > > > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > > server starts automatic. > > Always handy. (o8 > > > I am wondering how I configure Zope with an Apache server? I am very very > > new to Zope so really want a little help in starting off. My network works > > fine by the way and I use cabke modem with a static IP for my > > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > > thought I should have a file zope.cgi? As you can see I am a little lost > > :-) > > > > The way we run it at work is to use ProxyPass in Apache. Check your Apache > docs, or even easier is to search for ProxyPass on the Zope web site ( > www.zope.com ) > > > > > > > Eileen Orbell > > Software & Internet Applications > > Capitol College > > mailto:eileen@orbell.com > > Don't Fear the Penguin. > > > > Have a better one, > Curtis Maloney > Developer > Cardgate.Net > > _______________________________________________ > 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 ) > > From knight@righteous.net Tue Oct 24 03:18:07 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:18:07 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <39F4E7F9.1F08E0F3@libc.org> Message-ID: Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote: > Olivier Ricou wrote: > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > And by the way, it's "authentication". Every time I see "authentification", > > > > guess how we say in french :) > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > -- > E PLURIBUS LINUX > > > _______________________________________________ > 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 ) > > From chrism@digicool.com Tue Oct 24 04:02:07 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 23:02:07 -0400 Subject: [Zope] newbie questions ? References: Message-ID: <02db01c03d66$cbdb7690$63c48ad0@kurtz> That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) ----- Original Message ----- From: "knight" To: "Bill Anderson" Cc: Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? > Heh. authentification hah. > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > Check that out... same kind of humor. Grin. > > Knight > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > Olivier Ricou wrote: > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > And by the way, it's "authentication". Every time I see "authentification", > > > > > > guess how we say in french :) > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > -- > > E PLURIBUS LINUX > > > > > > _______________________________________________ > > 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 ) > > From knight@righteous.net Tue Oct 24 03:44:24 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:44:24 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: Uh oh, you got me ;] Probably related to the cold medicine. grin. On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From knight@righteous.net Tue Oct 24 03:46:08 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:46:08 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: http://www.phunc.com/Humor/Signs/ChineseRestaurant There. ;] On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From taco@scargo.nl Tue Oct 24 05:04:48 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 21:04:48 -0700 Subject: [Zope] One last request Message-ID: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : From kthangavelu@earthlink.net Tue Oct 24 00:45:54 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 16:45:54 -0700 Subject: [Zope] One last request References: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> Message-ID: <39F4CDB2.8ADDC0F3@earthlink.net> Taco Scargo wrote: > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > try this instead kapil From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:44:54 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:44:54 +0200 (CEST) Subject: [Zope] Updating auto incrementing counter in a propertysheet In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: On Mon, 23 Oct 2000, Max Møller Rasmussen wrote: > I have a zClass (objectmanger) with a property called "lastID", on a > propertysheet called "hidden". > > I have then written a dtml mehtod that should return the id incremented by 1 > and then sets the lastID to this new id. > > the dtml for the "newID()" dtml method looks like this: > ---------- > > In the above line --- do you want to set up new value for ZClass property, isn't it ? If so, you have to use manage_changeProperties method of property sheet. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From mark@kaivo.com Tue Oct 24 06:58:14 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Mon, 23 Oct 2000 23:58:14 -0600 (MDT) Subject: [Zope] One last request In-Reply-To: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> from "Taco Scargo" at Oct 23, 2000 09:04:48 PM Message-ID: <200010240558.XAA24351@CatInTheHat.kaivo.com> > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > > > instead, try this: THIS actually 'calls' sequence-item Mark > > _______________________________________________ > 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 ) > From jacintha.menezes@wipro.com Tue Oct 24 07:10:09 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 24 Oct 2000 11:40:09 +0530 Subject: [Zope] question In-Reply-To: <39F44071.604752C7@globalcrossing.com> Message-ID: <000f01c03d81$0fdd22c0$f5dea8c0@wipro.com> Hi, Two more questions for you: 1. kindly let me know how to export an output of any method to word ,msexcel etc from zope, where output may be a tree structure or tabular form data etc. 2. Let me also know how to send a report(output) to the printer. Thanks bye, jacintha From nspurrier@bluelight.com Tue Oct 24 08:24:17 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 24 Oct 2000 00:24:17 -0700 Subject: [Zope] Simple Question? Message-ID: This seems like a simple question. How do I include a Method in a different folder? I have two folders and two methods: /editor/ edit /mojo/art/ add_art_html In my file "add_art_html" I want to add this code: But when I try to view it I get a KeyError. I also tried: I tried some complicated things with and , but I couldn't get this to work; although, at least did not give a KeyError. Yours, Noah From maxm@normik.dk Tue Oct 24 08:30:50 2000 From: maxm@normik.dk (Max Moller Rasmussen) Date: Tue, 24 Oct 2000 09:30:50 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A93@exchange> From: Aleksander Salwa [mailto:ololo@zeus.polsl.gliwice.pl] >> >> >In the above line --- do you want to set up new value for ZClass property, >isn't it ? >If so, you have to use manage_changeProperties method of property sheet. Yes I am afraid that this is the problem. That seems like such a messy solution too. I will try and make a Python based product instead, for this particular solution. My current zClass solution allready seem to be a bit verbose for my liking. And the program logic isn't to nice in dtml either. Regards Max M From maxm@normik.dk Tue Oct 24 08:39:48 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 09:39:48 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A94@exchange> From: Bill Anderson [mailto:bill.anderson@libc.org] >Is it more important that they be in an order, or that they be in a >specific sequential list? Actually what is important is that they are integers and in a specific order. So the datestamp method isn't that feasible for me. (I'm trying to make a "fake tree" for a diskussion product.) It is really easy to implement and doesn't use recursion, so traversing the tree is done with a simple for loop. It uses a dictionary with tupples as keys to emulate the recursive structure. Simple example here if anybody cares. ------------------------- class fakeTree: def __init__(self): #create tree and insert root element self.treeKeys = {} self.treeKeys[0] = (0,) self.tree = {} self.tree[(0,)] = '' def insert(self, id, parent, value): # create new key keyList = list(self.treeKeys[parent]) newKeyList = keyList.append(id) newKeyTuple = tuple(newKeyList) self.treeKeys[id] = newKeyTuple # insert in tree with new tuple key self.tree[newKeyTuple] = value def print(self): sortedKeys = treeKeys.keys() sortedKeys.sort() spacesInIndent = 3 for key in sortedKeys: print key print spacesInIndent * len(key) * ' ' + treeKeys[key] tree = fakeTree() tree.insert(1, 0, 'max m') tree.insert(2, 0, 'gitte') tree.insert(3, 1, 'magnus') tree.print() From jornd@falch.net Tue Oct 24 09:39:18 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 10:39:18 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <87itqi7hvt.fsf@ranga.falch.net> Hi all! I am aware of , but I am looking for at way to make Apache serve Zope from the root URL. It is possible to make the apache front end be served by zope backend , but what really want is to make apache frontend be served by Zope, and still be able to serve static content from selected locations. Example: <- Zope w/Apache frontend <- Apache static Am I clear? Is it possible to do that without NameVirtualHost? -- Jørn Helge B. Dahl System Administrator http://falch.net From phil.harris@zope.co.uk Tue Oct 24 10:37:07 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 10:37:07 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net> Message-ID: <017501c03d9d$fadcad60$5c773fc1@media1> Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two ways to do it. 1. use the LocalFileSystem product, http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg z 2. use Apache to intercept calls to a specific dir before passing it onto Zope, e.g. use a RewriteRule. hth Phil ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 9:39 AM Subject: [Zope] Apache in front of ZServer > Hi all! > > I am aware of , > but I am looking for at way to make Apache serve Zope from the root URL. > > It is possible to make the apache front end > be served by zope backend > , but what really want is to make apache > frontend be served by Zope, and still be > able to serve static content from selected locations. Example: > > <- Zope w/Apache frontend > <- Apache static > > Am I clear? Is it possible to do that without NameVirtualHost? > -- > Jørn Helge B. Dahl > System Administrator > http://falch.net > > > _______________________________________________ > 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 ) From jornd@falch.net Tue Oct 24 10:49:47 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 11:49:47 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 10:37:07 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> Message-ID: <87aebu7emc.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | It's perfectly possible, you just need to do a little work ;) That's OK, that way it'll be more fun :-) | Your proxy pass will be something like this: | | ProxyPass / http://myserver.com:8080/ | ProxyPassReverse http://myserver.com:8080/ / I had that one already figured out. but I thought the ProxyPassReverse directive was to be the other way around: To be exactly like the ProxyPass directive? | for the other part of serving static content, it really depends what you | want but here are two ways to do it. | | 1. use the LocalFileSystem product, | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | z That I already do, so that one is okay. | 2. use Apache to intercept calls to a specific dir before passing it onto | Zope, e.g. use a RewriteRule. Yup, this is what I need. I think was being unclear about what I really -wanted: I want to still be able to use php and such thing, even if I serve Zope from root. So the RewriteRule does the trick? Thanks Phil, -- Jørn Helge B. Dahl System Administrator http://falch.net From tony.mcdonald@ncl.ac.uk Tue Oct 24 11:34:55 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 24 Oct 2000 11:34:55 +0100 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a
with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From zope@isp.lu Tue Oct 24 12:12:56 2000 From: zope@isp.lu (zope) Date: Tue, 24 Oct 2000 13:12:56 +0200 Subject: [Zope] ZGDChart product... Message-ID: <4.3.2.7.2.20001024130954.00b3b780@mail.isp.lu> Hi. This is really a great product. Unfortunately, I'm not able to create a chart with multiple columns using a ZSQL Data Method. Multiple columns with a DTML-Method works fine. Do I miss something. Any ideas? Thanks for any help. Regards, Marc Ludwig (zope@isp.lu) From ssmith6@bigpond.net.au Tue Oct 24 11:46:49 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Tue, 24 Oct 2000 20:46:49 +1000 Subject: [Zope] Sendmail examples In-Reply-To: Message-ID: <000001c03da7$b7228720$be348490@vic.bigpond.net.au> Hi Tony, Thanks for taking the time to answer. The "MailHost" object seems to be the key. I tried going around it (using the SMTPHost attribute, from memory), without much luck. Also learnt that one needs at least modest knowledge of SMTP syntax when forming the option lines! Thanks again, Steve -----Original Message----- From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk] Sent: Tuesday, 24 October 2000 8:35 To: ssmith6@bigpond.net.au; zope@zope.org Subject: Re: [Zope] Sendmail examples At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From kschut@avaya.com Tue Oct 24 12:33:55 2000 From: kschut@avaya.com (Schut, Koos (Koos)) Date: Tue, 24 Oct 2000 13:33:55 +0200 Subject: [Zope] Trying to follow tutorial Message-ID: Hi all, I am trying to follow the quick tutorial and immediately run into things I do not understand. I am trying to create a folder as explained in the docs. I get the error: Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is the example in which "Stan" needs to create a folder. Can anyone tell me what goes wrong and how to get it right? Cheers. J.J. Schut Integration Specialist Avaya The Former Enterprise Networks Group of Lucent Technologies tel. +31 (0)30 609 7835 fax. +31 (0)30 609 7650 email kschut@avaya.com From rik.hoekstra@inghist.nl Tue Oct 24 12:40:58 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 13:40:58 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F5754A.BA398125@inghist.nl> > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? This is related to the tutorial not being up to date with the current zope version, but is simply remedied. Go to the management interface and add a zope user in the acl_users folder. Give it Management rights. Shut you browser, reopen it and authenticate as the user you just entered. Get on with the tutorial... hth Rik From u.soni@cs.ucl.ac.uk Tue Oct 24 13:11:14 2000 From: u.soni@cs.ucl.ac.uk (Umesh Soni) Date: Tue, 24 Oct 2000 13:11:14 +0100 Subject: [Zope] serving java applet fails Message-ID: <200010241211.NAA29248@beluga.pacific.ocean> hi all, I'm having problems serving up the EIRC java chat-client from within zope. I have uploaded two java archives EIRC-gfx.jar and EIRC.jar as file objects via the management screen. Zope has recognised these as 'application/java-archive' content types. I am using the following dtml (which is in the same folder as the two java archives) to serve the applet

Eteria IRC Client

Sorry, but you need a Java 1.x enabled browser to use EIRC.

The applet loads (and runs) fine when served from from the filesystem with apache. When served from zope it appears to load ok and is even rendered within the browser -but at the last moment fails to run with the following browser error; Applet EIRC can't start: ERROR Any thoughts? umesh From maxm@normik.dk Tue Oct 24 13:07:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 14:07:34 +0200 Subject: [Zope] How do you guys/gals test Zope products from Python? Message-ID: <7BD10B680501D411B9DF009027E06F32197A98@exchange> I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly simple setup. My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in C:\Program Files\Python. usually when I write Python I just use PythonWin to edit and run my scripts. I then write test in the buttom of my file that shows that everything works. This works nicely, but when writing Zope products I get really frustrated. I cannot easily automate my tests. I put my products into C:\mxmZope\lib\python\Products\name and edit them from there, but trying to edit just a simple syntax error means a restart of Zope. That gets tired real fast. Especially when all you have to do to make mistakes is forgetting a comment under a method etc. I cannot run the program from my PythonWin or IDLE as they are set to the standard Python enviroment. Do other set os.path.append('ZopeDir') or something and the comment that out when running or what? The error messages I get that way are also rather lacking. Reloading the file in the browser, reading the source and getting a traceback like the one below, for a method I know exists. But dissapeared because of some, probably minor, typing mistake. --------- ... SNIP File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 162, in publish File C:\mxmZope\lib\python\ZPublisher\BaseRequest.py, line 380, in traverse File C:\mxmZope\lib\python\ZPublisher\HTTPResponse.py, line 529, in notFoundError NotFound: (see above) ---------- I am shure that there must be a better way, but what is it? How do you guys edit and test your products? Even .asp is far better than the way I am doing it now. At least I dont have to restart the server when I make a simple mistake, I can also easily put in testcode and Response.Writes to se what is happening. I love Python among other things because of the nice traceback and debugging features, but I feel that they are somewhat lost when developing Zope. Shurely it must be me being ignorant here. Regards Max M "There must be more than just this." - V-ger From jornd@falch.net Tue Oct 24 13:40:45 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 14:40:45 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: jornd@falch.net's message of "24 Oct 2000 11:49:47 +0200" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> Message-ID: <87n1fue7jm.fsf@ranga.falch.net> * jornd@falch.net (JXrn Helge B. Dahl) | | for the other part of serving static content, it really depends what you | | want but here are two ways to do it. | | | | 1. use the LocalFileSystem product, | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | | z | | That I already do, so that one is okay. | | | 2. use Apache to intercept calls to a specific dir before passing it onto | | Zope, e.g. use a RewriteRule. | | Yup, this is what I need. I think was being unclear about what I really | -wanted: I want to still be able to use php and such thing, even if I | serve Zope from root. So the RewriteRule does the trick? On a second thought: What I _really_ want (I think, unless someone tells me differently :-) ) is a conditional ProxyPass, to tell apache to redirect everything _unless_ the URI is /static (or something). But this is probably something for apache geeks. Thanks anyway. -- Jørn Helge B. Dahl http://falch.net From marc.breitenreicher@friatec.de Tue Oct 24 13:29:51 2000 From: marc.breitenreicher@friatec.de (Marc Breitenreicher) Date: Tue, 24 Oct 2000 14:29:51 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F580BF.4692A2AF@friatec.de> I suppose you've just installed Zope and you're logged in as "Superuser" And that's the problem. The superuser cannot own folder, files etc. Add a "User Folder" and add a new User in that folder. Then you have to restart Zope and log in as the new user. Now the new user can add as much folder as you want. Hope this helps Marc > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) From p@state-of-mind.de Tue Oct 24 13:41:37 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 14:41:37 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: Message-ID: Hi J.J., this problem is a result of the restrictions applied by zope. Nothing is wrong with that. It is just that it's not explained thouroughly or most people new to zope tend to overread that in the manual ;-) Here's what You do: 1. Login as the Superuser (the primary account provided after installing zope) and create a new user in path_to_zope/acl_users '(e.g. Koos). Provide Password when asked in the form and apply the role 'manager' to that user. 2. logout as superuser (e.g. close all browsers...) 3. login as the user you have just created 4. go on with the tutorial... This should help you to get going with zope. Besides that, working with zope is worth every minute of it :-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Schut, Koos (Koos) > Gesendet: Dienstag, 24. Oktober 2000 13:34 > An: 'zope@zope.org' > Betreff: [Zope] Trying to follow tutorial > > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) > From ytotty@atinucleus.com Tue Oct 24 14:06:18 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Tue, 24 Oct 2000 08:06:18 -0500 Subject: [Zope] Mass Mailing (newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi! I need to send out mass mailings from time to time (newsletters, announcements and the such). Is there an easy way to get this done? I already have the email addy's in the database. TIA, Yvonne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I=20 need to send out mass mailings from time to time
(newsletters, announcements and the=20 such).
 
Is=20 there an easy way to get this done? I already
have the email addy's in the=20 database.
 
TIA,
Yvonne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_000C_01C03D91.49C9FB60-- From phil.harris@zope.co.uk Tue Oct 24 14:08:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 14:08:03 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net><017501c03d9d$fadcad60$5c773fc1@media1><87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <021701c03dbb$729770c0$5c773fc1@media1> Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 1:40 PM Subject: Re: [Zope] Apache in front of ZServer > * jornd@falch.net (JXrn Helge B. Dahl) > > | | for the other part of serving static content, it really depends what you > | | want but here are two ways to do it. > | | > | | 1. use the LocalFileSystem product, > | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg > | | z > | > | That I already do, so that one is okay. > | > | | 2. use Apache to intercept calls to a specific dir before passing it onto > | | Zope, e.g. use a RewriteRule. > | > | Yup, this is what I need. I think was being unclear about what I really > | -wanted: I want to still be able to use php and such thing, even if I > | serve Zope from root. So the RewriteRule does the trick? > > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > > But this is probably something for apache geeks. > > Thanks anyway. > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) From rossini@blindglobe.net Tue Oct 24 14:29:14 2000 From: rossini@blindglobe.net (A.J. Rossini) Date: 24 Oct 2000 06:29:14 -0700 Subject: [Zope] Apache in front of ZServer In-Reply-To: <87n1fue7jm.fsf@ranga.falch.net> (JXrn Helge B. Dahl's message of "24 Oct 2000 14:40:45 +0200") References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <87g0lmcqqd.fsf@jeeves.blindglobe.net> >>>>> "JHBD" == JXrn Helge B Dahl writes: JHBD> On a second thought: What I _really_ want (I think, unless JHBD> someone tells me differently :-) ) is a conditional JHBD> ProxyPass, to tell apache to redirect everything _unless_ JHBD> the URI is /static (or something). The ugly solution, until you find a clean one, is to have a second apache process :-), and the first proxy-forwards to either Zope or the second Apache. (I'm doing something like that for our home server, so I'm intrigued as to whether you can provide a clean solution...). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax From jjunior@cidadei.com.br Tue Oct 24 15:38:53 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Tue, 24 Oct 2000 11:38:53 -0300 Subject: [Zope] redirect Message-ID: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> how to for that function REDIRECT understand a variable. ex. ')"> From rik.hoekstra@inghist.nl Tue Oct 24 14:56:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 15:56:54 +0200 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F59526.BD5C70EB@inghist.nl> > > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> You can't nest dmtl tags try : > Hi, > > I'm looking for someone to work on a short (2-3 weeks long) Zope > project. The details of the project are fairly straightforward; we have > a relatively small database of information that is currently being > injected into MySQL, and we'll need this database to be > viewable/searchable from the web. > > The job is in San Francisco, and, while physical proximity is not > absolutely necessary, preference will be given to those who are local. > Interested parties should email a resume (text only, no attachments, > please) to me at rob@isso.org. > > Thanks for your time and attention, and we now return you to your > regularly scheduled zope@zope.org mailing list traffic. > > -rob > > -- > +--------------------------------------------------+ > Rob Miller > Director of Systems Engineering > International Space Sciences Organization > rob@isso.org > +--------------------------------------------------+ > > _______________________________________________ > 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 ) From drusch@globalcrossing.com Tue Oct 24 15:04:09 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 24 Oct 2000 09:04:09 -0500 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F596D9.9E6E3054@globalcrossing.com> > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Tue Oct 24 15:20:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 15:20:09 +0100 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <025201c03dc5$84d38440$5c773fc1@media1> test>')"> > > _______________________________________________ > 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 ) From erik@pacific-shores.com Tue Oct 24 15:23:30 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 24 Oct 2000 07:23:30 -0700 Subject: [Zope] M2Crypto problem Message-ID: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki erik@pacific-shores.com From Oliver Bleutgen Tue Oct 24 15:18:47 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:18:47 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <200010241422.HAA00586@zope.codeit.com> > * jornd@falch.net (JXrn Helge B. Dahl) > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > But this is probably something for apache geeks. Jørn, I ain't no apache geek, but I took a look at two nice how-tos on zope.org. The first one http://www.zope.org/Members/anser/apache_zserver/ describes how to get apache to work with zope via proxypass etc., and the second one describes how to achieve what you describe above ... and I don't find it anymore on zope.org :( Anyway, this is what you want: RewriteEngine On RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://localhost:10080/my_host/$1 [P] The [L] stops the rewriting-process if and only if the uri is of the form http://yourhostname/local/ If not it goes on and passes the request to localhost port 10080, directory my_host, where zope resides (at least on my server). Combine that with virtual-host directive of apache and you are as flexibel as one can get. Naturally /local need not to be the only folder which isn't proxied to zope. The only problem is that apache doesn't care for zope's authentication machinery, I would love to have a module for apache which could enable that (nice dream...). But it may be solvable by using mysql/postgres as a userdatabase for zope & apache... cheers, oliver From Oliver Bleutgen Tue Oct 24 15:28:22 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:28:22 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial Message-ID: <200010241432.HAA00984@zope.codeit.com> > 2. logout as superuser (e.g. close all browsers...) Ha, I always wanted to bring in a IMNSHO better way to "logout" - it works at least in IE. try http://log:meout@yourzopehost.com So the cached login/password are overwritten by log/meout and zope (or every other server) brings up the login dialog (as long as log/meout are not valid ;)) Should also work handy as a link in html (untested). cheers, oliver From lehmann@catworkx.de Tue Oct 24 15:34:08 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 16:34:08 +0200 Subject: [Zope] MailHost: bcc broken ? Message-ID: <00102416340801.00590@cat-pc-holle> Hi all, I wanted to use bcc in a mail generated though a ... (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any ideas ? - Holger -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From ghaley@venaca.com Tue Oct 24 15:39:41 2000 From: ghaley@venaca.com (Gregory Haley) Date: Tue, 24 Oct 2000 10:39:41 -0400 Subject: [Zope] Mass Mailing (newbie) References: Message-ID: <39F59F2D.7E829047@venaca.com> hi yvonne, you can use the zope send mail method to pull data from a database. the problem is with pulling in the text. sendmail appears to send only literal text, i.e., it does not parse html markup. we are using a mysql database to pull text and a second to pull names and emails, etc. to prevent the text from coming out as a single string, i have an external python method that takes the string of text and writes out the lines as lines of <= 75 chars, it also reinserts double line breaks, as in between paragraphs. we use something like this: you will need the MailHost product, and you will need to add a sendmail method in your directory. ciao! greg. DBA/web programmer venaca.com *********************************************************************** To: <> From: Subject: "clean_content" is the name of the python external method. This may not be ALL of the code, as i am really chopping some things out of the actual dtml file for illustrative purposes. a couple of warnings, in case you haven't used dtml sendmail. you can use nice indented tags within a or but not other wise. the left margin is, in my experience anyway, fairly inviolable. as this is working now, if sendmail gets a bad address, it strangles everything from the point of the error forward. so, you should check to make sure your emails are exactly correct -- i was doing a bulk mailing of about 100 emails, and it died after the 6th one. i don't know how to put in a trap into the method so that the mail server catches the return mail but does not pass them to the zope mailhost. ciao! greg. > Yvonne Totty wrote: > > Hi! > > I need to send out mass mailings from time to time > (newsletters, announcements and the such). > > Is there an easy way to get this done? I already > have the email addy's in the database. > > TIA, > Yvonne > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > From chrisw@nipltd.com Tue Oct 24 15:49:11 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:49:11 +0100 Subject: [Zope] newbie question References: Message-ID: <39F5A167.8208B96C@nipltd.com> Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the problem goes away when you correct any mistakes. cheers, Chris PS: Please post only plain text to this list (Plain Text as opposed to MIME encoded should be an option on your mail program) as the message you posted came out pretty screwed up on Netscape Communicator ;-) From chrisw@nipltd.com Tue Oct 24 15:50:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:50:33 +0100 Subject: [Zope] SuperUser cannot own ;-) References: <39F580BF.4692A2AF@friatec.de> Message-ID: <39F5A1B9.BE164ECE@nipltd.com> Marc Breitenreicher wrote: > > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) *stir* *stir* Chris From kosh@home-dhcp3-127.Colorado.EDU Tue Oct 24 21:56:16 2000 From: kosh@home-dhcp3-127.Colorado.EDU (kosh) Date: Tue, 24 Oct 2000 14:56:16 -0600 (MDT) Subject: [Zope] Message-ID: What would be the correct dtml-if contrstruct for this behavior? I want to check and see if zope can resolve a url to a valid object. Ie does http://foo.com/bar/foo get you to a valid page or is it not found. I need something like that way I can know when to rewrite the url based on zope finding the object or not. Thanks Kosh From chrisw@nipltd.com Tue Oct 24 15:56:28 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:56:28 +0100 Subject: [Zope] Simple Question? References: Message-ID: <39F5A31C.FD33F62@nipltd.com> Noah wrote: > In my file "add_art_html" I want to add this code: > > But when I try to view it I get a KeyError. > I also tried: > If Steve A's patch ever makes it into the core, you could do: &dtml-/mojo/editor/edit; ...and it'd be great if the Traversal Interface could also be used to implement: ...but sadly, for now, you need to do: ...or, slightly more tasty: enjoy ;-) Chris From chrisw@nipltd.com Tue Oct 24 16:00:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 16:00:22 +0100 Subject: [Zope] Refreshing :-) References: <7BD10B680501D411B9DF009027E06F32197A98@exchange> Message-ID: <39F5A406.18EEE41B@nipltd.com> Max Møller Rasmussen wrote: > This works nicely, but when writing Zope products I get really frustrated. I > cannot easily automate my tests. > > I put my products into C:\mxmZope\lib\python\Products\name and edit them > from there, but trying to edit just a simple syntax error means a restart of > Zope. That gets tired real fast. Especially when all you have to do to make > mistakes is forgetting a comment under a method etc. Try Shane Hathaway's Refresh product: http://www.zope.org/Members/hathawsh/Refresh cheers, Chris From cs@comlounge.net Tue Oct 24 16:02:27 2000 From: cs@comlounge.net (Christian Scholz) Date: Tue, 24 Oct 2000 17:02:27 +0200 Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01>; from Joaldo Junior on Tue, Oct 24, 2000 at 11:38:53AM -0300 References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <20001024170227.C4058@central.comlounge.net> Hi! > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> use Message-ID: <39F5AB87.D41FC3A9@oratrix.com> Hi, Im using this: To: <> From: <> Subject: Hi, blah blah Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From maxmcorp@worldonline.dk Tue Oct 24 16:53:07 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 17:53:07 +0200 Subject: [Zope] SuperUser cannot own ;-) In-Reply-To: <39F5A1B9.BE164ECE@nipltd.com> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris Withers > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) Well I for one have accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan horses being executed by super. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From maxmcorp@worldonline.dk Tue Oct 24 17:03:11 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 18:03:11 +0200 Subject: [Zope] dtml-in returning null In-Reply-To: <0010241329040C.29903@belzebu.magicwebdesign.com.br> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time.... >There's a way to do that?? "> will probably suffice Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From lehmann@catworkx.de Tue Oct 24 17:19:50 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 18:19:50 +0200 Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F5AB87.D41FC3A9@oratrix.com> References: <00102416340801.00590@cat-pc-holle> <39F5AB87.D41FC3A9@oratrix.com> Message-ID: <0010241819500B.00590@cat-pc-holle> Hi Paul, Thanks for that response, but ..... I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a ... statement. I am thinking of the bcc: user1, user2, user3 .... user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host .... Holger Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts: > Hi, > > Im using this: > > > To: <> > From: <> > Subject: > > Hi, > > blah blah > > > > > Im supposing that the double brackets is due to the fact that the email > address itself is encapsulated with brackets as well as the variable being > passsed. > > Cheers, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From praveen_katiyar@infy.com Tue Oct 24 14:24:15 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 24 Oct 2000 18:54:15 +0530 Subject: [Zope] ZWiki on Zope.org Site Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77E4@TWRMSG01> Hi, I am a zope NewBie and am learning how to use Zwiki. Can any one Please mail me the Customised version of Zwiki which is in existence On Zope.org. I want to develop some thing same with some extra features. Existing Zwiki requires me to tweak some DTML code with which I am not much familiar. Thanking , Regards, Praveen Katiyar Infosys Towers,27, Bannerghatta Raod Bangalore-560076 Ph: 91-80-6588668 Xtn. 1288 E-mail: praveen_katiyar@infy.com Great minds have purposes, little minds have wishes > >Regards,Rrrrrr From tom.deprez@uz.kuleuven.ac.be Tue Oct 24 17:41:30 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 24 Oct 2000 18:41:30 +0200 Subject: [Zope] normal result with acquisition? Message-ID: <3.0.6.32.20001024184130.008e7ec0@poirot> Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code :
1) When you call this function from Folder1 : show_abc of folder1 is used 2) When you call this function from Folder2 : show_abc of folder1 is used --> what you wouldn't expect? However: 3) Removing the tag (and moving selectallcentres to folder1), Calling method_showdata in Folder2 : show_abc of folder2 is used. --> what you would expect Am I overlooking something of the acquisition here? Why does it uses in the second case (2) not show_abc? Thanks in advance, Tom. From mindlace@digicool.com Tue Oct 24 17:59:11 2000 From: mindlace@digicool.com (mindlace) Date: Tue, 24 Oct 2000 12:59:11 -0400 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> <39E57F98.5610C3B3@nipltd.com> Message-ID: <39F5BFDF.9A973CFD@digicool.com> Chris Withers wrote: > > Paul Winkler wrote: > > > > Hi, > > > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > > IIRC, zope.org's acl_users has about 11,000 people in it without too > many problems... We've found that it needed to become a btree folder. Half because btrees optimize some things and half because the UI for btrees cut the management page from 3mb to 300k. ~ethan From Menard.Jean-Francois@hydro.qc.ca Tue Oct 24 18:34:27 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Tue, 24 Oct 2000 13:34:27 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D01491BE8@msxvpti10.vpi.hydro.qc.ca> > I developped a toggle button to let the users hide/show the menus. > > I use a cookie to store the current value. The code I use is: > > > > > > > > > > in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. > Why??? > > I know I could use a session product, but I'm worried about session > expiration. Could I set one of these products to expirate ***only*** when > the browser is closed? > > And, why a session variable doesn't exist? It's the ONLY thing I miss > from ASP... > > Jean-François Ménard > Intranet DPAS > Pratiques d'affaires et orientations > * (514) 840-3000 poste 3939 > * (514) 840-5585 > * menard.jean-francois@hydro.qc.ca > * 855 Ste-Catherine est, 6e étage > Montréal, Qué. H2L 4P5 > From frazers@israelmail.com Tue Oct 24 18:40:37 2000 From: frazers@israelmail.com (Aharon) Date: Tue, 24 Oct 2000 19:40:37 +0200 Subject: [Zope] newbie inquiry about zope Message-ID: <004b01c03de1$88554740$07a1003e@webyeshiva> This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable I have just started looking at zope for the site I am developing. I was = wondering if anyone could tell me whether it sounds like an appropriate = tool to use. The basic idea of my site is to be a sort of multi-user-dimension for = text. Meaning, we'll have various books available in a database, and = people can log on and read a chapter or a whole book. The innovative = part is that we will track which users are reading which texts, and let = people interact with others reading the same text as them. We will also = provide some other features, including user customization of fonts and = colors, and the ability for users to write new texts to be included in = the content library. People will be able to read, write, and discuss = with each other. To enable serious literary analysis of diverse = documents, we will have a number of text-parsing tools available to = readers. One other important thing to mention is that we will have a lot = of text in non-Latin character sets, including right to left languages. My questions are: 1) Could Zope help me keep track of who is reading what and match people = up for discussion? 2) Could Zope help me personalize the fonts and other display settings = for each user? How about letting users create their own bookmarks within = the texts? 3) Could Zope help me manage user created content and the relations = between content and its creators? 4) Could Zope handle right to left text and non-Latin character sets? 5) What are the advantages/disadvantages to developing this site with = Zope as opposed to MySQL and PHP? 6) Could Zope help me make the same content available to ordinary web = browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream = voice between users and also stream pre-recorded voice. Any support for = that? 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site = if I want to use zope, or do I have to administrate my own server? Any input about any of these questions would be greatly appreciated. I = apologize for my ignorance. Thanks, Aharon ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
I have just started looking at zope for = the site I=20 am developing. I was wondering if anyone could tell me whether it sounds = like an=20 appropriate tool to use.
 
The basic idea of my site is to be a = sort of=20 multi-user-dimension for text. Meaning, we'll have various books = available in a=20 database, and people can log on and read a chapter or a whole book. The=20 innovative part is that we will track which users are reading which = texts, and=20 let people interact with others reading the same text as them. We will = also=20 provide some other features, including user customization of fonts and = colors,=20 and the ability for users to write new texts to be included in the = content=20 library. People will be able to read, write, and discuss with each = other. To=20 enable serious literary analysis of diverse documents, we will have a = number of=20 text-parsing tools available to readers. One other important thing to = mention is=20 that we will have a lot of text in non-Latin character sets, including = right to=20 left languages.
 
My questions are:
1) Could Zope help me keep track of who = is reading what and match people up for discussion?
2) Could Zope help me personalize the = fonts and=20 other display settings for each user? How about letting users create = their own=20 bookmarks within the texts?
3) Could Zope help me manage user = created content=20 and the relations between content and its creators?
4) Could Zope handle right to left text = and=20 non-Latin character sets?
5) What are the = advantages/disadvantages to=20 developing this site with Zope as opposed to MySQL and PHP?
6) Could Zope help me make the same = content=20 available to ordinary web browsers and wireless devices in different=20 formats?
7) Since we are going to be having = discussion, we=20 might want to stream voice between users and also stream pre-recorded = voice. Any=20 support for that?
8) Where can I find speed benchmark = information=20 about Zope?
9) Where can I find virtual server and = collocation=20 hosting for my site if I want to use zope, or do I have to administrate = my own=20 server?
 
Any input about any of these questions = would be=20 greatly appreciated. I apologize for my ignorance.
 
Thanks,
Aharon
------=_NextPart_000_0046_01C03DF2.4876D060-- From Danny@Adair.net Tue Oct 24 18:50:16 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 24 Oct 2000 19:50:16 +0200 Subject: [Zope] Calling objects by name Message-ID: How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From andym@ActiveState.com Tue Oct 24 19:35:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 24 Oct 2000 11:35:47 -0700 Subject: [Zope] newbie inquiry about zope References: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: <00c501c03de9$3a346340$ae03a8c0@fork> [..] My questions are: 1) Could Zope help me keep track of who is reading what and match people up for discussion? [..] 4) Could Zope handle right to left text and non-Latin character sets? Think of it this way: Zope can do anything you can program in python. Anything you cant program, have a look at Zope.org to see if somebody has done it before. 5) What are the advantages/disadvantages to developing this site with Zope as opposed to MySQL and PHP? You can use MySQL as a relational database and it makes sense for large amounts of content in certain formats. 6) Could Zope help me make the same content available to ordinary web browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream voice between users and also stream pre-recorded voice. Any support for that? See my first answer. 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site if I want to use zope, or do I have to administrate my own server? From sean@digitome.com Tue Oct 24 19:39:29 2000 From: sean@digitome.com (Sean McGrath) Date: Tue, 24 Oct 2000 19:39:29 +0100 Subject: [Zope] Modifiable local variables Message-ID: <4.3.0.20001024191012.00afa100@mail.digitome.com> Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is the recommended way to create modifiable variables using DTML, without using Zope? Thanks in advance From rlanham@speakeasy.net Tue Oct 24 20:38:43 2000 From: rlanham@speakeasy.net (Richard Lanham) Date: Tue, 24 Oct 2000 15:38:43 -0400 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install Message-ID: <002101c03df2$06bcf280$2460fed8@mydomain> This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable when I try to start zope on windows machine i get: problem(100) ZServer Computing local hostname then it says: ZServer Medusa (V1.16.4.3) started at... timestamp... hostname: dsl1254-096...isp.net Port:8080 then the FTP server starts: authorizer:none hostname: rlhome port:8021 the PCGI server starts: inet socket port: 8090 Monitor Server starts on port 8099 The dos window seems to hang after this. when I start a browser and goto http://localhost:8099/manage I get an = number, apparently an error: 972402587.52 back in the dos window, I see: ZServer uncaptured python exception, closing channel : Get/ manag = [c:\programfiles/home/zserver/medusa/asyncore.py|75] = [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] = [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] = [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
when I try to start zope on windows = machine i=20 get:
problem(100) ZServer Computing local hostname
 
then it says:
ZServer Medusa = (V1.16.4.3) started=20 at... timestamp...
 hostname:=20 dsl1254-096...isp.net
 Port:8080
 
then the FTP server=20 starts:
authorizer:none
hostname: rlhome
port:8021
 
the PCGI server starts:
inet socket = port:=20 8090
 
Monitor Server starts on port = 8099
 
The dos window seems to hang after=20 this.
 
when I start a browser and goto http://localhost:8099/manage I = get an=20 number, apparently an error:
972402587.52
 
back in the dos window, I = see:
ZServer=20 uncaptured python exception, closing channel <PCGIChannel at = 1307340>=20 <exceptions.ValueError:invalid literal for atio<>: Get/ manag=20 [c:\programfiles/home/zserver/medusa/asyncore.py|75]=20 [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327]=20 [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110]=20 [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]>
------=_NextPart_000_001E_01C03DD0.7DCDB8E0-- From ololo@zeus.polsl.gliwice.pl Tue Oct 24 21:31:20 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Tue, 24 Oct 2000 22:31:20 +0200 (CEST) Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> DTML tags can't be nested. Try: Message-ID: <002501c03d33$e9fa1100$0202a8c0@typhoon> Diego, Do you mean that you want at least one input tag appearing at all times? If so, try this: "> "> hth Phil ----- Original Message ----- From: "Diego Rodrigo Neufert" To: Sent: Tuesday, October 24, 2000 4:24 PM Subject: [Zope] dtml-in returning null | Hi... | | I want to do something like this... | | | "> | | But, if InMethod return nothing it display this tag one time.... | | There's a way to do that?? | | Thanks | -- | --------------------------- | Diego Rodrigo Neufert | -webmaster | --------------------------- | (Magic Web Design) | (email) (diego@magicwebdesign.com.br) | (curitiba) (pr) | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Mon Oct 23 21:59:53 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 21:59:53 +0100 Subject: [Zope] Calling objects by name References: Message-ID: <003701c03d34$3952b810$0202a8c0@typhoon> Danny, Try something like or hth Phil ----- Original Message ----- From: "Danny William Adair" To: Sent: Tuesday, October 24, 2000 6:50 PM Subject: [Zope] Calling objects by name | How can I render an object in DTML if I have its id as a string? | I would like to construct its name as a string and then call the object | variable by its name. | (Meaning I will have to make sure such an object exists) | | tia, | | CU+Prost, | | Danny | | | _______________________________________________ | 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 ) From p@state-of-mind.de Tue Oct 24 22:37:26 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 23:37:26 +0200 Subject: [Zope] AW: [Zope] newbie inquiry about zope In-Reply-To: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: Phew Aharon, many questions... Did you take a closer look at zope.org? I think many questions are answered within the site. But let's get going... >1) Could Zope help me keep track of who is reading what and match people up for discussion? You could track down people with cookies :-( or sessions :-) Both can be achieved with zope. I'd go for sessions - though I am not a programmer. From what I know and what I think your idea is aiming to sessions would help you to set up framework powerfull enough to reach your goals. Besides how to you deal with people who won't allow cookies? Then you could analyse the informatios gathered within the sessions and provide a "People who read this, also read that" ;-) >2) Could Zope help me personalize the fonts and other display settings for each user? How >about letting users create their own bookmarks within the texts? As for the bookmarks I don't know, but the fonts etc. could be done with 'skins'. I've seen a project on zope.org that promoted such functions. See also >3) Could Zope help me manage user created content and the relations between content and its >creators? yupp. >4) Could Zope handle right to left text and non-Latin character sets? Is that a job for zope? To me this seems to be a Browsers job e.g. in the section of the HTML that is sent to the Browser. Or am I missing something? >5) What are the advantages/disadvantages to developing this site with Zope as opposed to >MySQL and PHP? I can't comment on that, since I am not a programmer. For me it's a elaborated framework that provides functions needed for managing content e.g. versions, authentification ;-) etc. Get a closer insight at AFAIK you'd have to develop these basic functions from scratch if you use plain MySQL and PHP. >6) Could Zope help me make the same content available to ordinary web browsers and wireless >devices in different formats? Are you after WAP? There is code that does that... and then there's XML... :-) >7) Since we are going to be having discussion, we might want to stream voice between users >and also stream pre-recorded voice. Any support for that? Hmmm, do you mean something like 'Zope Streaming Server' AFAIK I haven't read about that... But why stream this from zope? There are other servers that are spezialised on that. I'd use a combination; zope as a frontend to provide the paths and the specific information bound to the stream >8) Where can I find speed benchmark information about Zope? What is it that you want to measure? Anyway: There was a benchmark a while ago in the news. I couldn't find it immediately which doesn't mean it's not there... >9) Where can I find virtual server and collocation hosting for my site if I want to use zope, >or do I have to administrate my own server? But let's think of your projects requirements first. What would you need to get the baby of the ground? Developing 1. If you use zope you will need zope :-| 2. You will have to develop a few Zope Products by yourself, either to implement features that aren't there yet or to customize and mingle other Products. That means you will need to have shell access to the machine you build your site on. 3. You will need at least ftp-access to your zope-dir in order to implement the new products. If you use only one machine, which I do not recommend, you are done with 2.) 4. ZODB (the Database zope runs on...) is a good database. Still many developers have their reasons to use a second DB mostly a relational Database e.g. Oracle or MySQL Serving 1. If your site hits the net and is a hit, you'll probably need: bandwidth and response time are needed. Reasonably for serving that starts from 2Mbps upwards. 2. If you go for ISPs they provide both: bandwitdh and short response times. Furthermore the offer features as backup (who does it regularly???) and probably better firewalling that you can do at your own. If you decide to take care of that by yourself, you will have to take care not only of the development but also of the above mentioned features plus a few more. Also if you want to stream media you'd be off good if you have a streaming proxy in order to take load of the machine that runs the server, when the going gets tough. Streaming proxys aren't cheap. ISPs can provide you with a solution that will serve not only your domain but also others. That makes it a lot cheaper and again you won't have to deal with the Streaming Proxy. So lets see, what I would do: I'd get two machines (bid + medium) that run the same OS; preferably Linux since it's cheap and there are enough people out there by now who really now their way around that OS. OTOH you'd should decide where to go first and decide on the ressources after that. I'd get an ISP that houses my big machine. Use the other machine to develop the project on. by, p@rick From kthangavelu@earthlink.net Tue Oct 24 18:47:24 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 10:47:24 -0700 Subject: [Zope] Modifiable local variables References: <4.3.0.20001024191012.00afa100@mail.digitome.com> Message-ID: <39F5CB2C.36C6A0C8@earthlink.net> Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is > the recommended way to create modifiable variables using DTML, without > using Zope? > > Thanks in advance i've used dtml outside of zope, but i tend to pass it most of the variables it needs and let it do the rendering. you should be able to pass an empty dict to the dtml as the mapping arguement and set variables inside of that, although you might have to wrap it with attributing setting methods so that it can be used from dtml. or you can use a dtml-let clause to create the proper variables. long live the pyxies:) kapil > > _______________________________________________ > 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 ) From bill.anderson@libc.org Wed Oct 25 00:28:09 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Tue, 24 Oct 2000 17:28:09 -0600 Subject: [Zope] SuperUser cannot own ;-) References: Message-ID: <39F61B09.AF24B67C@libc.org> Max M wrote: > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris > Withers > > > I suppose you've just installed Zope and you're logged in as "Superuser" > > And that's the problem. > > The superuser cannot own folder, files etc. > > ...and I'd still like to know why ;-) > > Well I for one have accidently removed view privilliges for administrators > in a folder, at that time I was very happy to be able to log in as super and > restore those proviliges, or else I would have had to remove the directory > and start fresh. And you can still do that. You just can't _create_ new items as 'bootstrap user'. > > Perhaps it is also to avoid trojan horses being executed by super. :^)= -- E PLURIBUS LINUX From zope@grewen.de Wed Oct 25 02:14:56 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 25 Oct 2000 03:14:56 +0200 Subject: [Zope] References: Message-ID: <009601c03e21$2a792840$0300a8c0@windows> Hi, I am not quite sure if this is what you want but may this helps do something This is not resolving the URL. If you found a solution let me know. Jens Grewen ----- Original Message ----- From: "kosh" To: Sent: Tuesday, October 24, 2000 10:56 PM Subject: [Zope] > What would be the correct dtml-if contrstruct for this behavior? > > I want to check and see if zope can resolve a url to a valid object. > > Ie does http://foo.com/bar/foo get you to a valid page or is it not > found. > > I need something like that way I can know > when to rewrite the url based on zope finding the object or not. > > Thanks > Kosh > > > _______________________________________________ > 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 ) > From p@state-of-mind.de Wed Oct 25 02:33:34 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 03:33:34 +0200 Subject: [Zope] dtml-var owner? author? editor? Message-ID: Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick From phil.harris@zope.co.uk Tue Oct 24 02:37:43 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 02:37:43 +0100 Subject: [Zope] References: <009601c03e21$2a792840$0300a8c0@windows> Message-ID: <001301c03d5b$02042c00$0202a8c0@typhoon> How about (sort of tested): ignore the error or otherwise report it hth Phil ----- Original Message ----- From: "Jens Grewen" To: "kosh" Cc: "Zope Maillist" Sent: Wednesday, October 25, 2000 2:14 AM Subject: Re: [Zope] | Hi, | | I am not quite sure if this is what you want but may this helps | | | | do something | | | | This is not resolving the URL. | If you found a solution let me know. | | Jens Grewen | | | ----- Original Message ----- | From: "kosh" | To: | Sent: Tuesday, October 24, 2000 10:56 PM | Subject: [Zope] | | | > What would be the correct dtml-if contrstruct for this behavior? | > | > I want to check and see if zope can resolve a url to a valid object. | > | > Ie does http://foo.com/bar/foo get you to a valid page or is it not | > found. | > | > I need something like that way I can know | > when to rewrite the url based on zope finding the object or not. | > | > Thanks | > Kosh | > | > | > _______________________________________________ | > 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 ) From bak@nstp.com.my Wed Oct 25 02:58:41 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 09:58:41 +0800 Subject: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102509584105.00837@tokey.kedai.com.my> On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: > Hi Zopistas, > > I want to include the owner (from acl_users) of a page in my HTML-output. > > Unfortunately I'm not able to produce what I want. > > Any hints? > > Thanks, > > p@rick > i would think that is what you want > _______________________________________________ > 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 ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain From webmaven@lvcm.com Wed Oct 25 03:19:07 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 24 Oct 2000 19:19:07 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll References: <39F4CEB4.ACB6253B@digicool.com> Message-ID: <39F6431B.B10EB8A2@lvcm.com> Michel Pelletier wrote: > > We will be conducting a community poll to decide what to call Python > (Perl, insert your language here) Methods. > [snip] > So, before the poll, we are calling for nominiations from the > community. Please send me an email containing one or more candidate > names. These names will be added to the list. No pre-screening will be > done, so please exercise some discretion if your favorite name is more > tounge-in-cheek than practical (you never know what the masses will > decide though!). > > Later this week, I will create a web poll where you can vote for your > favorite. I would like to suggest that instead of a plurality vote, we use a 'Borda count', also known as an 'preferential' or 'single-transferable' ballot. Those of you who followed the recent ICANN election should be familiar with it. It works like this: All votes consist of ranking the availble choices according to desireability (if there are six choices, you would number them 1-6, each choice must be uniquely ranked, not all choices must be ranked). All voters first choices are tallied. If, at this point, one choice has achieved over 50% of the vote, the vote is over. If no choice has achieved 50%, the choice with the fewest votes is removed, and the voters who voted for that choice have their second choice counted and distributed. If at this point one of the choices acheives 50%...etc. Lather, Rinse, Repeat. This method has the advantage of better representing peoples true choice, since no one is tempted to vote for a choice that they simply disapprove of less, because 'otherwise they're throwing away their vote'. In a five-way race for example, a plurality may consist of 25% of the vote, thereby ensuring that 75% of the voters will be pissed off. With a Borda count though, the winner could be everyone's second-favorite choice, thus better representing what people want. There's a few other wrinkles to this, such as situatuions where not all choices have been ranked. If a voter has only ranked four choices and a fifth runoff phase is neccessary, their ballot is discarded, and the 50% mark is recalculated for that phase to account for the reduced number of ballots. Cheers, Michael Bernstein. From jason_zope@yahoo.com Wed Oct 25 04:30:00 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Tue, 24 Oct 2000 20:30:00 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025033000.537.qmail@web4605.mail.yahoo.com> Does anyone have any LoginManager 0.8.8b1 example code? It almost looks like you can extend the system using plugins, but I don't know how that's done. Anyone else have luck doing this? If so then do you have any examples/suggestions? All I want is a simple ZODB/cookie based system, but I can't get the Generic User Source to work. Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From mwilbert@alum.mit.edu Wed Oct 25 05:23:09 2000 From: mwilbert@alum.mit.edu (Matthew Wilbert) Date: Tue, 24 Oct 2000 21:23:09 -0700 Subject: [Zope] using a dictionary returned from an external method Message-ID: <200010250419.VAA32656@zope.codeit.com> I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like . . . However, I need to do this for several keys, and I don't want to call externalMethod several times. Is there a way to assign the method result to another variable, or is it possible that DTML is smart enough not to do the call multiple times? Or is there some other approach that I am not even thinking of? Any suggestions will be greatly appreciated. Thanks, Matt Wilbert mwilbert@alum.mit.edu ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. From bak@nstp.com.my Wed Oct 25 06:36:11 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 13:36:11 +0800 Subject: [Zope] limiting tree Message-ID: <00102513361107.00837@tokey.kedai.com.my> hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! From dylan@btamail.net.cn Wed Oct 25 06:49:19 2000 From: dylan@btamail.net.cn (Dylan Chi) Date: Wed, 25 Oct 2000 13:49:19 +0800 Subject: [Zope] Help,I have a question.:( Message-ID: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a question about Squishdot. Error: Traceback (innermost last): File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 214, in publish_module File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 179, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line = 202, in zpublisher_exception_hook File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 169, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, = line 237, in commit File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line = 327, in commit (Info: (('Products.Squishdot.Squishdot', 'Article'), = '\000\000\000\000\000\000\242\032', '')) File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, = line 632, in store (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) OverflowError: (see above) ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a question about = Squishdot.
Error:
Traceback (innermost last):
  = File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 214, in=20 publish_module
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 179, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in=20 zpublisher_exception_hook
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 169, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, line 237, = in=20 commit
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line 327, = in=20 commit
    (Info: (('Products.Squishdot.Squishdot',=20 'Article'), '\000\000\000\000\000\000\242\032', ''))
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, line 632, = in=20 store
    (Object:=20 /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs)
OverflowError: (see=20 above)
------=_NextPart_000_00C3_01C03E8A.5F845190-- From morten@esol.no Wed Oct 25 06:59:09 2000 From: morten@esol.no (Morten W. Petersen) Date: 25 Oct 2000 07:59:09 +0200 Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? In-Reply-To: <20001025033000.537.qmail@web4605.mail.yahoo.com> References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: [Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManager instance, you should add four methods of some sort within the UserSource object. The four methods are: userAuthenticate userExists userRoles userDomains Here's the External methods I used just to make the logins work; you'll have to implement them to fit your system: def userAuthenticate(self, REQUEST, username, password): if username == 'morten' and password == 'morten': return 1 else: return 0 def userExists(self, REQUEST, username): return 1 def userRoles(self, REQUEST, username): return 'Manager', 'Owner' def userDomains(self, REQUEST, username): return [] | All I want is a simple ZODB/cookie based system, but I | can't get the Generic User Source to work. HTH then. =) -Morten From kthangavelu@earthlink.net Wed Oct 25 01:54:37 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 17:54:37 -0700 Subject: [Zope] using a dictionary returned from an external method References: <200010250419.VAA32656@zope.codeit.com> Message-ID: <39F62F4D.383C1C2A@earthlink.net> Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call externalMethod several times. Is there a > way to assign the method result to another variable, or > is it possible that DTML is smart enough not to do the > call multiple times? Or is there some other approach > that I am not even thinking of? i know dtml will cache results on the same method call in a single request which generally makes it efficient to do stuff like cheap skate;) and i'm guessing the same should apply to external methods. kapil From rik.hoekstra@inghist.nl Wed Oct 25 08:24:56 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 09:24:56 +0200 Subject: [Zope] Trying to follow tutorial References: <39F5754A.BA398125@inghist.nl> <20001024231024.E848@hermes> Message-ID: <39F68AC8.6777FC00@inghist.nl> Olivier Ricou wrote: > > On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote: > > Go to the management interface and add a zope user in the acl_users > > folder. Give it Management rights. Shut you browser, reopen it and > > authenticate as the user you just entered. Get on with the tutorial... > > BTW there is no easier way than to shut the browser and reopen it ? No easy sure way at least. That is, if you have basic authentication (which is always the case when you have Zope out of the box). It's reported that in some cases http://user:password@yoursite.com:whateverport may log you out/log you in differently, but afaik that won't work in all browsers and all platforms _and_ it may present you with an authorization box Rik From jason_zope@yahoo.com Wed Oct 25 08:34:12 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 25 Oct 2000 00:34:12 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025073412.23919.qmail@web4601.mail.yahoo.com> --- "Morten W. Petersen" wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you > | have any examples/suggestions? > > Yes. After adding your LoginManager instance, you > should add four > methods of some sort within the UserSource object. > > The four methods are: > > userAuthenticate > userExists > userRoles > userDomains > > > Here's the External methods I used just to make the > logins work; you'll > have to implement them to fit your system: > > def userAuthenticate(self, REQUEST, username, > password): > > if username == 'morten' and password == > 'morten': > > return 1 > > else: > > return 0 > > > def userExists(self, REQUEST, username): > > return 1 > > > def userRoles(self, REQUEST, username): > > return 'Manager', 'Owner' > > > def userDomains(self, REQUEST, username): > > return [] > > Hmmm, I tried implementing these functions before, but only as DTML methods: userAuthenticate userDomains userExists userRoles Yet this never seemed to work. Does it not work because they are DTMLMethods and not External Methods, or because I am returning the wrong values, or because of a proxy or security setting? The Methods are in the User Sources 'folder' and I am sure I chose "GUF" authentication from the list when I added the LoginManager. Jason __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From p@state-of-mind.de Wed Oct 25 08:47:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 09:47:18 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? In-Reply-To: <00102509584105.00837@tokey.kedai.com.my> Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From p@state-of-mind.de Wed Oct 25 09:14:08 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 10:14:08 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: <39F68AC8.6777FC00@inghist.nl> Message-ID: > > > > BTW there is no easier way than to shut the browser and reopen it ? > > No easy sure way at least. That is, if you have basic authentication > (which is always the case when you have Zope out of the box). It's > reported that in some cases > http://user:password@yoursite.com:whateverport may log you out/log you > in differently, but afaik that won't work in all browsers and all > platforms _and_ it may present you with an authorization box Another real dull way is: open NS and IE (or... or ...) and use them with different authorization. p@ From dvg@vet.uu.nl Wed Oct 25 09:42:00 2000 From: dvg@vet.uu.nl (Diny van Gool) Date: Wed, 25 Oct 2000 10:42:00 +0200 Subject: [Zope] How many houres do I need to manage a Zope site? Message-ID: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Hi, The management team wants to know how many hours are necessary to keep the faculty Zope site running. I have to make a summary of hours necessary for the technical system management such as software releases, database management, fixes etc. Developing or installing new features is not to be included. Configuration: Zope version: 2.2.2 Windows NT 4.0 Installed products: FSSession, LocalFS, Refresh, Squishdot, TinyTable, UserDB, XMLDocument, XMLWidgets, ZODBCDA, ZSQLMethods 1. How many Zope releases per year can I expect and how much time do I need per release? 2. How much time do I need for product releases and fixes? 3. How much time do I need for Zope database management? Besides a regular backup and packing the Data.fs are there other things necessary? Do I miss important tasks? Has anybody done this before? Thanks, Diny DIVA, Faculty of Veterinary Medicine Utrecht University, The Netherlands http://www.vet.uu.nl From arevalo@iam.unibe.ch Wed Oct 25 09:51:18 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Wed, 25 Oct 2000 10:51:18 +0200 (MET DST) Subject: [Zope] i can not see some graphic icons.. Message-ID: hi all, after starting Zope, everything seems to be ok, but i can not see some graphic icons in the web page. The Traceback after starting zope is the following one: Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in ? logger_object=lg) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/http_server.py", line 541, in __init__ self.bind ((ip, port)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/asyncore.py", line 242, in bind return self.socket.bind (addr) socket.error: (125, 'Address already in use') how can i solve it ? thanks in advance Gaby From jose@sferacarta.com Wed Oct 25 10:10:26 2000 From: jose@sferacarta.com (Jose Soares) Date: Wed, 25 Oct 2000 11:10:26 +0200 Subject: [Zope] getProperty() References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: <39F6A382.8EFC9546@sferacarta.com> Hi all, This is a newbie question. I'm trying to get the 'title' property of a SQLConnectionIDs. I can do this work using python but in zope I can't do it. I want to create an html SELECT object to display a list of all SQL Connections and I want to display the id and the title, like this: id title --------- --------------------------------------------- gadfly Gadfly_database_connection mysql MySQL_database_connection postgres PyGres_database_connection dbmaker DBMaker_database_connection I tryed the following: but sequence-key and sequence-item are equals. Thank for any help Jose' From bak@nstp.com.my Wed Oct 25 09:07:51 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 16:07:51 +0800 Subject: [Zope] Re: AW: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102516075100.14800@tokey.kedai.com.my> On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: > > > I want to include the owner (from acl_users) of a page in my > > > > HTML-output. > > > > > > is what you want > > Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? > What I want is: > 'Anonymous User' surfs to my site. She surfs trough the HTML output > generated by zope, while zope not only tells her the content provided, but > also the Name of the Zope-owner of the document (e.g patrick is owner of > index_html --> that info is also displayed to the anonymous user) > > Thanks for more help, > ok, i see what you want to do. i thought that you have a "author" property somewhere. i'm sorry to say that i can't be of any more help. i guess you can test for ownership of objects in zope since there exist a take ownership button. check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py tell us what you got :) > p@ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! From stefan@epy.co.at Wed Oct 25 10:42:23 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 11:42:23 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <0010241819500B.00590@cat-pc-holle> Message-ID: Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: > I can send single email with one recipient without problems. > I need to use a bcc: for about 4000 users. No way doing that halfway > performant with a ... statement. > > I am thinking of the > bcc: user1, user2, user3 .... user4000 > header. > It ought to get parsed in the MailHost product and sent directly to the > proper smtp-host .... From mike@geekteam.com Wed Oct 25 10:44:29 2000 From: mike@geekteam.com (Mike Bannister) Date: Wed, 25 Oct 2000 05:44:29 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents Message-ID: Hi, I'm working my way through the beta-book on zope.org and having a blast generally but I'm hoping someone can check my thinking here and tell me if I'm on the right track. Thanks in advance for any insight you can offer. In chapter 3, where DTML is first introduced, they have me create a Folder with some files in it and include something like this in a DTML Method:
Just for the heck of it I dropped that same code into a DTML Document in the same Folder and it didn't list the Files as I had expected. I understand pretty much the differences of Methods and Documents and I'm assuming the reason for this is related to the way the Documents exists in it's own namespace and the Method doesn't... so my best guess for this behavior is that the 'scope' of objectValues() is limited to the current namespace. Am I even close? If not can someone explain this to me? Thanks! Mike Bannister geekteam.com From jornd@falch.net Wed Oct 25 10:57:34 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 25 Oct 2000 11:57:34 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 14:08:03 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> <021701c03dbb$729770c0$5c773fc1@media1> Message-ID: <87itqhmeep.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | I'm no Apache GrandMaster but couldn't you use the [p] option of a | RewriteRule to make it proxy if the url matches a pattern: | | RewriteEngine on | RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] | | Or something along those lines. Looks promising. I will come back to the results later, when I have tested it. Thanks again. -- Jørn Helge B. Dahl http://falch.net From jatwood@bwanazulia.com Wed Oct 25 11:19:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 06:19:57 -0400 Subject: [Zope] How many houres do I need to manage a Zope site? In-Reply-To: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> References: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Message-ID: At 10:42 AM +0200 10/25/2000, Diny van Gool wrote: >1. How many Zope releases per year can I expect and how much time do I need >per release? One major, four or five minor and three or four hotfixes. Schedule a day for the major, half a day each for the rest. >2. How much time do I need for product releases and fixes? Each product will need to be tested and implemented so half a day for each major release. If you modify the products of course it will be longer. >3. How much time do I need for Zope database management? Besides a regular >backup and packing the Data.fs are there other things necessary? Very little. Pack it when it gets too big (once a week) or set a cron to do it... oh sorry, NT... set a AT command to do it. >Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days. :) J From matt.bion@eudoramail.com Wed Oct 25 11:57:49 2000 From: matt.bion@eudoramail.com (Matt) Date: Wed, 25 Oct 2000 23:57:49 +1300 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F6BCAD.EEB6A627@eudoramail.com> Here's on I particularly like, sorry it doesn't have a sql query. It sends an attached image file, contents and all, not just an IMG SRC reference. And do youself a favour by adding a Mailhost object somewhere above where you want to use it. To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Matt steve smith wrote: > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > > Ta! > > Steve > > _______________________________________________ > 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 ) From rik.hoekstra@inghist.nl Wed Oct 25 12:04:15 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 13:04:15 +0200 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: <39F6BE2F.58A5084F@inghist.nl> > > when I try to start zope on windows machine i get: > problem(100) ZServer Computing local hostname this is 'normal' and not a problem (though I always wonder what it really means) > The dos window seems to hang after this. nope, this is just the console window for the server. This is also normal. You only get output here if something strange happens (and in ftp sessions) > > when I start a browser and goto http://localhost:8099/manage I get an > number, apparently an error: > 972402587.52 > > back in the dos window, I see: > ZServer uncaptured python exception, closing channel 1307340> : Get/ manag > [c:\programfiles/home/zserver/medusa/asyncore.py|75] > [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] > [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] > [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> try accessing it via the http port. In your case http://localhost:8080 or http://localhost:8080/manage then it should work. hth Rik From tdickenson@geminidataloggers.com Wed Oct 25 12:21:28 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 25 Oct 2000 12:21:28 +0100 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install In-Reply-To: <002101c03df2$06bcf280$2460fed8@mydomain> References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham" wrote: >then it says: >ZServer Medusa (V1.16.4.3) started at... timestamp... > hostname: dsl1254-096...isp.net > Port:8080 your http server is on 8080 >Monitor Server starts on port 8099 and the monitor is on 8099 >http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson tdickenson@geminidataloggers.com From Dominique.Dutoit@cec.eu.int Wed Oct 25 12:56:50 2000 From: Dominique.Dutoit@cec.eu.int (Dominique.Dutoit@cec.eu.int) Date: Wed, 25 Oct 2000 13:56:50 +0200 Subject: [Zope] Zope on Mac OS X Message-ID: <51D6FF030F6ED411993000D0B7823C060108EF@EX2BEBREYMBX04> I'm trying to build Zope with the Apple developer tools but it didn't work. Python 2.0 seems easier to build and works well but Zope C source codes must be modified to get it build. The How-to note about Mac OS X server doesn't apply to the public beta. Does somebody have already tried to use Zope with Mac OS X public beta? From jonathan@home-all.org.uk Wed Oct 25 13:04:58 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 25 Oct 2000 13:04:58 +0100 Subject: [Zope] which python gets used ... ? Message-ID: <39F6CC6A.E972D3A7@home-all.org.uk> Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan From maxm@normik.dk Wed Oct 25 13:10:52 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 25 Oct 2000 14:10:52 +0200 Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with Message-ID: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> This is a question I guess has something to do with popping an object onto the namespace, or about me not understanding how stuff works. When I make a list of objects: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto the namespace.): But it isn't so. What do I need to do to make the objects namespace count in my traversal? (I'd like to keep the dtml as simple as possible.) -------------- If I make a list: theList = [1, 2, 3, 4] I can traverse it with: --------- and if it's a list if dicts: theList = [{'value':1},{'value':2},{'value':3},{'value':4}] I can traverse it like: From phd@phd.dada.ru Wed Oct 25 14:05:20 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Wed, 25 Oct 2000 13:05:20 +0000 (GMT) Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> Message-ID: On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > class simple: > def __init__(self, value): > self.value = value > > theList = [simple(1), simple(2), simple(3), simple(4)] > > I would expect to be able to traverse it like below (The objects namespace > would be popped onto the namespace.): > > > > Looks good... > But it isn't so. Why? What was the error? Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From stefan@epy.co.at Wed Oct 25 15:50:06 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 16:50:06 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F6E558.AA6260B5@venaca.com> Message-ID: On Wed, 25 Oct 2000, Gregory Haley wrote: > i was one of the participants in the recent discussion of zope bulk > mail. i'm wondering about the mechanics of sending the work of the mail > to the actual sendmail server outside of zope. would i do that by > creating an external method which is program/script that accepts the > data from zope and then passes them to the mail server? any suggestions > or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan From jhouchin@texoma.net Wed Oct 25 16:09:49 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 10:09:49 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? Message-ID: <39F6F7BD.713ECAD9@texoma.net> Just a few comments to throw into the naming convention. Any name chosen will require educating the user as to it's definition. Some names are already defined in other spaces. Some of which are heavily overloaded. There is also discussion as to the accuracy of various names in the context of the usage within Zope. It is apparent the choice isn't clear and easy. As Michel has posted that a vote will occur in the near future a determination will be made. Currently one of the terms in usage is External Methods. From my understanding of the future direction of the Python Methods (restricted and unrestricted) the term External will not be accurate as the code will be within the ZODB and the differentiation will be in the capability of the method. Due to this I think the usage of External not be included in the name. Likewise Internal. Regarding Safe and Power. I have no major problems with Safe, however I thing Power brings along a lot of connotations or implications which may or may not be accurate concerning the abilities of Safe. As others have noted why choose Safe when you can use Power. Why, will have to be a part of the educational process. However proper perspective and understanding can start by not using Power in the name. I believe Power is not the right choice. Unsafe has also been proposed. I do not like this either because it is not accurate. Simply because something dangerous, foolish or stupid can be done using this method type does not mean it will be. Are we to label all objects "unsafe" simply because of the capacity of harm? Safety is in the hands of the programer. You cannot stop someone with the capability from doing something harmful if they choose. I would prefer the term Unrestricted or something similar. It simply denotes capabilities without implying it is dangerous. It isn't dangerous, it can be used dangerously, there is a difference. It is like many tools which can be used or abused. Hope this helps. Jimmie Houchin From tom.deprez@uz.kuleuven.ac.be Wed Oct 25 16:20:13 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 25 Oct 2000 17:20:13 +0200 Subject: [Zope] expr Message-ID: <3.0.6.32.20001025172013.008feec0@poirot> I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. From chrisw@nipltd.com Wed Oct 25 16:27:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:27:39 +0100 Subject: [Zope] limiting tree References: <00102513361107.00837@tokey.kedai.com.my> Message-ID: <39F6FBEB.89212D04@nipltd.com> "Bak @ kedai" wrote: > > hi all > quickie: > if dtml-in, i can use size to limit the results rendered, what do i use in > dtml-tree? You don't, you run screaming for the hills ;-) I have a deep seated mistrust of the tag now after many bitter experiences. I'd recommend just writing an external methdo or python product that does exactly what you want... cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:30:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:30:19 +0100 Subject: [Zope] Never seen that before References: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> Message-ID: <39F6FC8B.CC9691FC@nipltd.com> Not so much a question as a traceback, and posted in HTML too... nice ;-) > I have a question about Squishdot. > Error: > Traceback (innermost last): > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 214, in publish_module > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 179, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line > 202, in zpublisher_exception_hook > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 169, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, > line 237, in commit > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, > line 327, in commit > (Info: (('Products.Squishdot.Squishdot', 'Article'), > '\000\000\000\000\000\000\242\032', '')) > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, > line 632, in store > (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) > OverflowError: (see above) I've never seen that one before. What version of Zope are you using? 2.1.6? Any patching? What version of Squishdot are you using? What platform are you running this on? Soem sort of *nix by the sound of it... Has the user running your Zope instance got enough quota on the disk all this is stored on? cheers, Chris From Danny@Adair.net Wed Oct 25 16:33:23 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 17:33:23 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks Message-ID: I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can help me. ************************************************************************** My TinyTablePlus instance: ************************************************************************** ID: Items Title: Items on Navigation Bar Columns: Position ShowItem Caption UseImage Image Service URL Data: "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- ************************************************************************** My code: (I want to create a configuration page for a navigation bar, which will have to change a table's rows depending on the contents of some form elements) ************************************************************************** -------------------------------------------------------------------------- ************************************************************************** My problem: ************************************************************************** Data afterwards: "1", NULL, "test", NULL, NULL, NULL, NULL "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny From chrisw@nipltd.com Wed Oct 25 16:35:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:35:22 +0100 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents References: Message-ID: <39F6FDBA.90BD8F5E@nipltd.com> Mike Bannister wrote: > Just for the heck of it I dropped that same code into a DTML Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? This is quite a thorny FAQ. The root of it is the binding of methods to objects/namespaces in DTML, which has had lots of press on zope-dev@zope.org recently. The short version is: -if that code is in a method, it is executed on the method's container (actualyl acquisition context, but don't worry abotu that too much ;-) -if the code was in a documents, it is executed on that document. Since documents can't really have things attached to them that would be returned by objectValues, you usually get an empty list back :-) HTH, Chris From chrisw@nipltd.com Wed Oct 25 16:37:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:37:17 +0100 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F6FE2D.6BB01D0D@nipltd.com> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? Can use either depending on whether you install the source or binary distribution... actually dunno if there is a binary distribution for *nix. > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:44:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:44:08 +0100 Subject: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with References: Message-ID: <39F6FFC8.D1476175@nipltd.com> Oleg Broytmann wrote: > > On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > > class simple: > > def __init__(self, value): > > self.value = value > > > > theList = [simple(1), simple(2), simple(3), simple(4)] > > > > I would expect to be able to traverse it like below (The objects namespace > > would be popped onto the namespace.): > > > > > > > > If you're getting security errors, try this new version (untested): class simple(Acquisition.Implicit) __ac__permissions__ = ( ('View', ('get_value','get_list'),('Manager','Anonymous')), ) def __init__(self,value): self.value=value def get_value(self): return value Globals.default__class_init__(simple) Now, hopefully, theList is being returned from within a class method, in which case: theList = [simple(1).__of__(self), simple(2)__of__(self), simple(3)__of__(self), simple(4)__of__(self)] return theList then: should work... hmmmm, Chris From kedai@kedai.com.my Wed Oct 25 16:49:00 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 23:49:00 +0800 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: <003601c03e9b$1f45e060$085a6acb@kedai> sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From brian@digicool.com Wed Oct 25 16:58:51 2000 From: brian@digicool.com (Brian Lloyd) Date: Wed, 25 Oct 2000 11:58:51 -0400 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? In-Reply-To: <39F6F7BD.713ECAD9@texoma.net> Message-ID: > > Unsafe has also been proposed. I do not like this either because it is > not accurate. Simply because something dangerous, foolish or stupid can > be done using this method type does not mean it will be. Are we to label > all objects "unsafe" simply because of the capacity of harm? Safety is > in the hands of the programer. I agree with this vehemently :) Would you want to use "unsafe C++" or "unsafe Java"? I think "restricted" and "unrestricted" are clear and concise. This is not about "safety" per se, but about capabilities. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From rbickers@logicetc.com Wed Oct 25 17:10:23 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Wed, 25 Oct 2000 12:10:23 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents In-Reply-To: Message-ID: > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mike > Bannister > Sent: Wednesday, October 25, 2000 5:44 AM > To: zope@zope.org > Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents > Just for the heck of it I dropped that same code into a DTML > Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? That's basically it, yes. I think of a method as being a function that works on the object it is "in", and a document as being an object that gets worked on. So objectValues() in a method will return objects from its container, whereas objectValues() in a document will always return objects from within that document. Acquisition plays a role too, since a method can work in different contexts. For example (given myMethod and myDocument that both use objectValues()) TestFolder1.myMethod will return objects in TestFolder1 TestFolder2.myMethod will return objects in TestFolder2 TestFolder1.myDocument will return objects in myDocument TestFolder2.myDocument will return objects in myDocument I hope this makes sense. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From jhouchin@texoma.net Wed Oct 25 17:13:27 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 11:13:27 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? References: <39F6F7BD.713ECAD9@texoma.net> Message-ID: <39F706A7.AE700DF6@texoma.net> Ooops! Wrong list. Sorry. Will post to Zope-dev. Jimmie Houchin Jimmie Houchin wrote: [snip] From alexander@limi.net Wed Oct 25 17:43:57 2000 From: alexander@limi.net (Alexander Limi) Date: Wed, 25 Oct 2000 18:43:57 +0200 Subject: [Zope] How small a box can zope run on? Message-ID: <005701c03ea2$cb7a5530$1e00010a@plym> Hi, Just a quick question: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users connected to Zope at once, so we don't need much performance in terms of page views per second :) Cheers, Alexander. From p@state-of-mind.de Wed Oct 25 17:38:11 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 18:38:11 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From hannu@tm.ee Wed Oct 25 19:48:24 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 25 Oct 2000 18:48:24 +0000 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> <39F6FE2D.6BB01D0D@nipltd.com> Message-ID: <39F72AF8.F82C9E3A@tm.ee> Chris Withers wrote: > > Jonathan Cheyne wrote: > > > > So the question is: can I run zope using the stock RH6.2 distributions' > > own copy of python? > > If it's Python 1.5.2, then yes... there's probably instructiosn for this > on Zope.org near the bits about insatlling Zope from source on Linux. IIRC there used to be subtle bugs, like batch processing in DTML giving wrong page numbers ----------- Hannu From troy.farrell@wilcom.com Wed Oct 25 18:12:34 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Wed, 25 Oct 2000 12:12:34 -0500 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They sit mostly idle with occasional light loads. They are P100/32MB/1.2GB old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack mount 4U units. Good, solid, slow hardware. They survive NT rather well. One is running 2 instances of Zope (one for dev) and has been for 15 days since last reboot. I will be looking for at least a 6 month uptime. They serve a departmental intranet application that I am writing. It's on NT because I need to use ODBC to get to a local MS Access Database. Bummer. Troy -----Original Message----- From: Bak @ kedai [mailto:kedai@kedai.com.my] Sent: Wednesday, October 25, 2000 10:49 AM To: Diny van Gool; zope@zope.org; J. Atwood Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Wed Oct 25 18:01:11 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 13:01:11 -0400 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually doing ok. Not quick, per se, but ok. J > From: "Alexander Limi" > Date: Wed, 25 Oct 2000 18:43:57 +0200 > To: > Subject: [Zope] How small a box can zope run on? > > Hi, > > Just a quick question: > > We are building some device controller software and to control those we have > a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > such a modest setup? There is only going to be one or two users connected to > Zope at once, so we don't need much performance in terms of page views per > second :) > > Cheers, > > > Alexander. > > > > > _______________________________________________ > 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 ) > > From Georg Rellensmann Wed Oct 25 18:58:56 2000 From: Georg Rellensmann (Georg Rellensmann) Date: Wed, 25 Oct 2000 19:58:56 +0200 Subject: [Zope] newbie: comparing dates? Message-ID: <10837870534.20001025195856@uni-muenster.de> Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. QUESTION 1: How do I compare dates in dtml code? QUESTION 2: How do I exclude empty values from processing? (I installed rapto´s null date-patch, seemed to work fine; for that patch see: http://www.zope.org/Members/rapto/nullDate?pp=1) regards, -georg.rellensmann- From scott@launchpoint.net Wed Oct 25 19:19:53 2000 From: scott@launchpoint.net (Scott Burton) Date: Wed, 25 Oct 2000 11:19:53 -0700 Subject: [Zope] deleting through iteration Message-ID: This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott From andres@corrada.com Wed Oct 25 19:24:13 2000 From: andres@corrada.com (andres@corrada.com) Date: Wed, 25 Oct 2000 14:24:13 -0400 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: ; from Danny William Adair on Wed, Oct 25, 2000 at 05:33:23PM +0200 References: Message-ID: <20001025142413.A5320@corrada.com> You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From Danny@Adair.net Wed Oct 25 19:26:47 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:26:47 +0200 Subject: [Zope] Calling form elements by name Message-ID: How can I render a REQUEST variable in DTML if I have its id as a string? I would like to construct its name as a string and then call the REQUEST variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From Danny@Adair.net Wed Oct 25 19:37:27 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:37:27 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: <20001025142413.A5320@corrada.com> Message-ID: worked like a charm, thank you very much! Danny -----Ursprungliche Nachricht----- Von: andres@corrada.com [mailto:andres@corrada.com] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; zope@zope.org Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From ws@gmd.de Wed Oct 25 20:13:32 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Wed, 25 Oct 2000 21:13:32 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <003601c03e9b$1f45e060$085a6acb@kedai> Message-ID: <39F74CFC.3122.C98619C@localhost> [...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From rik.hoekstra@inghist.nl Wed Oct 25 20:36:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 21:36:08 +0200 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? References: Message-ID: <009901c03eba$d4129280$fe5da182@michieltje> > My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They > sit mostly idle with occasional light loads. They are P100/32MB/1.2GB > old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack > mount 4U units. Good, solid, slow hardware. They survive NT rather well. > One is running 2 instances of Zope (one for dev) and has been for 15 days > since last reboot. I will be looking for at least a 6 month uptime. > They serve a departmental intranet application that I am writing. It's on > NT because I need to use ODBC to get to a local MS Access Database. Bummer. > > Troy > > -----Original Message----- > From: Bak @ kedai [mailto:kedai@kedai.com.my] > Sent: Wednesday, October 25, 2000 10:49 AM > To: Diny van Gool; zope@zope.org; J. Atwood > Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need > to manage a Zope) site? > > > > sorry if this is offtopic, but i see reference of rebooting every so often > with NT( and maybe W2K). is this real? or FUD? > i use linux myself and would like to confirm this from all you guys' > experience I have had a number of Zope sites running on NT with rather modest hardware. It performed reasonably to good and without troubles for months on an end, even with several people developing on it and a number of students accessing it. Mostly ODBC (SQL Server and even Access) will also work without trouble. It will also behind IIS. If something goes wrong it is usually an ODBC problem no Zope internal problem. The only real major problem is when SQL This is no pro NT argument, but just a reassurance that there is no reason not to use Zope on NT, though I would switch to Linux if I could... Rik From nspurrier@bluelight.com Wed Oct 25 20:47:48 2000 From: nspurrier@bluelight.com (Noah) Date: Wed, 25 Oct 2000 12:47:48 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): That does not work because FOO gets set to something like: I tried sticking this inside to get at the sequence-item, but I just ended up getting confused. Yours, Noah From cbeaumon@msri.org Wed Oct 25 20:50:52 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Wed, 25 Oct 2000 12:50:52 -0700 Subject: [Zope] Is there a tool for pretty-formatting/indenting DTML code? Message-ID: I've been working with Zope for a bit now and I love it. However, a few of the tools I'm used to having with other scripting tools are missing in the Zope realm.. One thing I would very much like to have is a script that could go through a long DTML document and pretty-format the code, not unlike the way I use BBEdit's formatting command on my Mac for HTML. Does such an animal exist, on any platform, or should I just try to adapt something I already have? I don't want to have to reinvent the wheel so to speak.. The big reason I need this is for indenting.. It makes the code much more readable and I have found myself spending a lot of time doing this by hand.. it just gets tedious.. Thank you.. Chris cbeaumon@msri.org From jatwood@bwanazulia.com Wed Oct 25 21:00:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 16:00:19 -0400 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: "Months without rebooting"? That is certainly not something to brag about. With three of my installations of Zope on Linux I have the machines at 194, 204 and 55 days of uptime (and the 55 was because of a bad powerstrip, the other others have been up since I brought them up). While NT can and does stay up for long periods of time, it still is a very poor server choice as anything you install leads to a reboot. I have installed countless things on the Linux boxes and never brought it down. That is the difference and makes all the difference when it comes to a website. J > From: "Wolfgang Strobl" > Organization: GMD > Date: Wed, 25 Oct 2000 21:13:32 +0200 > To: zope@zope.org > Subject: Re: [Zope] OT:NT and rebooting > > [...] To: trimmed to zope.org > > On 25 Oct 2000, 23:49 Bak @ kedai wrote: > >> >> sorry if this is offtopic, but i see reference of rebooting every so >> often with NT( and maybe W2K). is this real? or FUD? i use linux >> myself and would like to confirm this from all you guys' experience > > It's FUD. I'M running Zope on two NT servers here, which run many months > between reboots. I just checked - the Zope on the intranet server has an > uptime > of 34 days 8 hours 32 min 3 sec now. > > This tells us that I installed Zope 2.2.2 three days after it was released on > www.zope.org. :-) > >> >>>> Do I miss important tasks? Has anybody done this before? >>> >>> Yeah.. rebooting NT every 4 days. :) > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > > From Danny@Adair.net Wed Oct 25 21:00:25 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 22:00:25 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: Ok, works alright, even my longer (using a TinyTablePlus) ------------------------------------------------

------------------------------------------------ will work(as expected), BUT: ------------------------------------------------


------------------------------------------------ definitely won't, Key Error: File /.../lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: Items) File /.../lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: Prefix="'Service_'" thePos=Position nameAsAString="Prefix+thePos") File /.../lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[nameAsAString]) (Info: nameAsAString) File <string>, line 0, in ? File /.../lib/python/DocumentTemplate/DT_Util.py, line 163, in careful_getitem KeyError: (see above) The string's content seems okay to me, so why can't I look up the object? The namespace should be okay since I can call the request variables _directly_. What's wrong? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 21:08 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Danny > William Adair > Sent: Wednesday, October 25, 2000 1:27 PM > To: zope@zope.org > Subject: [Zope] Calling form elements by name > > > How can I render a REQUEST variable in DTML if I have its id as a string? > I would like to construct its name as a string and then call the REQUEST > variable by its name. > (Meaning I will have to make sure such an object exists) > > tia, > > CU+Prost, > > Danny > > _______________________________________________ > 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 ) > > From knapek@knapek.pvt.net Wed Oct 25 21:02:39 2000 From: knapek@knapek.pvt.net (Petr Knapek) Date: 25 Oct 2000 22:02:39 +0200 Subject: [Zope] Python product - inherittance Message-ID: <87itqgzo2o.fsf@knapek.pvt.net> Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an instance of classB. There is 'Error Type: AttributeError'. Does anybody know where the problem is? I use Zope 2.1.6 Thanks, Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: knapek@nextra.cz From rik.hoekstra@inghist.nl Wed Oct 25 21:06:43 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 22:06:43 +0200 Subject: [Zope] OT:NT and rebooting References: Message-ID: <01bf01c03ebf$1975cc80$fe5da182@michieltje> > "Months without rebooting"? > > That is certainly not something to brag about. With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. > Agreed, but that wasn't the point Rik From maxmcorp@worldonline.dk Wed Oct 25 21:10:04 2000 From: maxmcorp@worldonline.dk (Max M) Date: Wed, 25 Oct 2000 22:10:04 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of >It's FUD. I'M running Zope on two NT servers here, which run many months >between reboots. I just checked - the Zope on the intranet server has an uptime >of 34 days 8 hours 32 min 3 sec now. I must say that I agree. All in all for my current needs, NT is a better choice than Linux. Better user interface and reasonable software uptime. I am slowly migrating to Linux though. As I really do believe the open source philosophy is better. But like Zope it is a b**** of a learning curve. Something like Zope shows it in a smaller scale. I would be willing to start a business on Zope technology because coorporation on the toolset is the smartest thing for service companies to do, and this is not a closed source option. I have tried some of the closed source application servers and they are so poor. Funnily enough I see companies reinventing the weel with these application servers, doing a lousy job every time. Zope is still not great, but lightyears ahead of anything else I have experienced. Being a web house and not doing an open source app server is so futile. Furthermore the new KDE2.0 looks really sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M From matt@virtualspectator.com Wed Oct 25 21:22:51 2000 From: matt@virtualspectator.com (Matt) Date: Thu, 26 Oct 2000 09:22:51 +1300 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: <000b01c03ec1$59dc6480$1af8a7cb@matt> try -----Original Message----- From: Noah To: zope@zope.org Date: Thursday, 26 October 2000 09:01 Subject: [Zope] Not grocking RESQUEST.set syntax >I'm still not grocking the syntax for setting REQUEST fields. >I want to set a REQUEST field "filename" to be the value returned >by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > >That does not work because FOO gets set to something like: > >I tried sticking this inside to get >at the sequence-item, but I just ended up getting confused. > >Yours, >Noah > > >_______________________________________________ >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 ) From andym@ActiveState.com Wed Oct 25 21:31:03 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:31:03 -0700 Subject: [Zope] deleting through iteration References: Message-ID: <004b01c03ec2$7e8c5f00$ae03a8c0@fork> In a catalog, id is not the id of an object, data_record_id_ is. ----- Original Message ----- From: "Scott Burton" To: "Zope List" Sent: Wednesday, October 25, 2000 11:19 AM Subject: [Zope] deleting through iteration > This seems as if it would work to delete all objects of a certain meta-type > but it gives me an error. > > > > > The error is: > Error Type: BadRequest > Error Value: 971722944 does not exist > > Although, I know it does, I can see it in the ODB. > > TIA, > > Scott > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Wed Oct 25 21:33:59 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:33:59 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <005901c03ec2$e7acc150$ae03a8c0@fork> Attribute error means it can find some value. Without some more information it is impossible to say. ----- Original Message ----- From: "Petr Knapek" To: Sent: Wednesday, October 25, 2000 1:02 PM Subject: [Zope] Python product - inherittance > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 > > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) > From drusch@globalcrossing.com Wed Oct 25 21:33:43 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 25 Oct 2000 15:33:43 -0500 Subject: [Zope] [Fwd: [Zope] Not grocking RESQUEST.set syntax] Message-ID: <39F743A7.35961A81@globalcrossing.com> This is a multi-part message in MIME format. --------------A4F08EE34F11FE96757B67E0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------A4F08EE34F11FE96757B67E0 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <39F7436F.E6F1CD5B@globalcrossing.com> Date: Wed, 25 Oct 2000 15:32:47 -0500 From: Daniel Rusch X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Noah Subject: Re: [Zope] Not grocking RESQUEST.set syntax References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try: This assumes that MyFavoiteZSQLMethod returns the variable filename Dan Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > > _______________________________________________ > 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 ) --------------A4F08EE34F11FE96757B67E0-- From Jerry.Spicklemire@IFLYATA.COM Wed Oct 25 22:16:13 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Wed, 25 Oct 2000 16:16:13 -0500 Subject: [Zope] ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733909@innt-73.ata.com> Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog pops-up when a user attempts to edit a form, but the correct name and password are rejected. Has anyone found a little detail that needs tweking to get past this one? Thanks, Jerry S. From kthangavelu@earthlink.net Wed Oct 25 18:23:40 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:23:40 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <39F7171C.A0E657B6@earthlink.net> Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 its probably a security error. you need to either enable subobject access or explicitly register the method as part of the products permissions. something like this allow_access_to_unprotected_subobjects=1 this is not the recommended way to it as you'll open up the entire product to access. buts it useful to identify if its a security issue. kapil > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 25 18:29:55 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:29:55 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax References: Message-ID: <39F71893.9F269F08@earthlink.net> Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. thats because you're working on the results returned by a zsql method which is a result object, you want access to values within it. try this returns the list of dictionaries that represent rows in the table, with column names as keys and column values as values. you can reference lib/python/Shared/DC/ZRDB/Results.py for more info on the results object kapil From ws@mystrobl.de Wed Oct 25 23:50:26 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 00:50:26 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: References: <39F74CFC.3122.C98619C@localhost> Message-ID: <39F77FD2.29598.ACA84FE@localhost> On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. From cesar@rotnet.com.br Wed Oct 25 23:50:36 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Wed, 25 Oct 2000 20:50:36 -0200 Subject: [Zope] Filling Multiple Select Problem Message-ID: <39F763BC.4EC0DE21@rotnet.com.br> Hi! I'm using the example at the "Filling MULTIPLE SELECT OPTION's with database lists", and a little step doesn't works. I heve the following in the DTML Method that fills two SELECT in a Web Form: (...) (...) The code above runs. To verify that, I put a and a , that prints the contents of the lists above. The code that is not running is the one bellow: (...) The code above creates a SELECT list like the one bellow: but the part doesn't function. I have some of the values of "codigo" in the cadExportacao list, but the "SELECTED" corresponding code doesn't appears. Can someone tells me what is wrong? Sorry the bad english... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Any member introducing a dog into the Society's premises shall be liable to a fine of one pound. Any animal leading a blind person shall be deemed to be a cat. -- Rule 46, Oxford Union Society, London From bill.anderson@libc.org Wed Oct 25 23:50:58 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Wed, 25 Oct 2000 16:50:58 -0600 Subject: [Zope] OT:NT and rebooting References: <39F74CFC.3122.C98619C@localhost> <39F77FD2.29598.ACA84FE@localhost> Message-ID: <39F763D2.3C74036B@libc.org> Wolfgang Strobl wrote: > > On 25 Oct 2000, at 16:00, J. Atwood wrote: > > > "Months without rebooting"? > > > > That is certainly not something to brag about. > > Huh? Did anybody? Certainly not me. :-{ > > In case I didn't make myself clear: for running Zope; I don't care > much whether the OS needs a reboot every month, every year, or > every decade, when I have to upgrade and/or restart Zope for > installing Hotfixes and/or new products, every other month, > anyway. OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. If you are used to uptimes measured in years, or 'always on' environments, then NT's uptime rates are abject failures. That's not a slight, it is a statement of fact that even Mr. Gates himself agrees with and understands. If, on the other hand, you don't come from that background or need, and are not used to that type of environment, a few months to six months to nearly a year can mean something to you. So, this is *one* of the reasons we see these arguments about uptime from both sides of the windows vs everything else uptime wars. Some measure days, some months, and otehrs measure in terms of years. > >With three of my > > installations of Zope on Linux I have the machines at 194, 204 and 55 days > > of uptime (and the 55 was because of a bad powerstrip, the other others have > > been up since I brought them up). > > So what. I'm using an old 3.51 server on one of my companies > intranets here, serving as a backup domain controller plus a few > other, less important services, which is running for about half a > year now (power failure in the machine room, too). That machine > has begun life as a OS/2 Lanmanager server (ca '90), and has > been upgraded almost seamlessly again and again, both in > hardware and in software, since. And has been rebooted to perfrom those upgrades (software, the hardware is obvious), has it not? > > While NT can and does stay up for long > > periods of time, it still is a very poor server choice as anything you > > install leads to a reboot. > > Well, W2K certainly has more capabilities here, and Linux, for > example, is somewhat better in some (!) areas, but "anything" is > a gross exaggeration. While I agree that 'anything' is a poor choice of words, unless you are changing kernels and/or glibc, Linux does not require a reboot for install of any software (that I am aware of, and that is a high amount of software mind you). There is work in progress to alleviate that as well. Not quickly, as it is a rather complex undertaking, but it is ongoing. IIRC, kernel 2.4 will/does have support for hot swappable PCI devices on hardware that has it (yes, you can get Intel-compat hardware with that). Last I checked, if you try to hot-swap a keyboard or mouse, all versions minus 2k (haven't tried it there), will die. As far as 'lack of need to reboot' goes when concerning upgrades, Linux wins hands down.. So, the question regarding uptime is more a question of needs. Some of us need 24x7 availablility, and 5 nines. Some do not. For those of us needing 5 nines, we can use Unix/Linux to provide that. If you don't need it (and not everyone does), use other criteria more appropriate to your needs. -- E PLURIBUS LINUX From curtis@cardgate.net Thu Oct 26 00:38:31 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 10:38:31 +1100 Subject: [Zope] Not grocking RESQUEST.set syntax In-Reply-To: References: Message-ID: <00102610383105.00650@localhost.localdomain> On Thu, 26 Oct 2000, Noah wrote: > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > I think your simplest option is to use: All that _.Non, _ stuff is the namespace etc that Zope normally passes to your methods. (I don't fully understand it, I just know it works :) > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > Have a better one, Curtis. From nolan_d@bigfoot.com Thu Oct 26 01:05:13 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Wed, 25 Oct 2000 19:05:13 -0500 Subject: [Zope] Folder-specific metatypes? Message-ID: <20001025190513R.nolan@tiny> I'm working on a product in Python which implements a folder, but restricts the metatypes of the objects which can be added. How, exactly, do I go about doing this? I've tried overriding the filtered_meta_types method, but I'm returning a list, and it seems that I should return a list of dictionaries instead, but I'm not entirely sure how the metatype is converted into a dictionary. I also noticed the _product_meta_types variable, but rgreps of the zope code didn't reveal anything about this variable. Am I on the right track with these? Thanks. From vtwiddy@senet.com.au Thu Oct 26 02:14:14 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Thu, 26 Oct 2000 10:44:14 +0930 (CST) Subject: [Zope] Zope & python 2 Message-ID: Hi all Is anyone using or know the current state of Zope with python 2.0 ? Thanks Joe From etienne.alaurent@free.fr Thu Oct 26 02:22:20 2000 From: etienne.alaurent@free.fr (Etienne ALAURENT) Date: Thu, 26 Oct 2000 03:22:20 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <00102603294900.11535@localhost.localdomain> Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr From curtis@cardgate.net Thu Oct 26 02:47:49 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 12:47:49 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: Message-ID: <0010261247490E.00650@localhost.localdomain> On Thu, 26 Oct 2000, Mark Twiddy wrote: > Hi all > > Is anyone using or know the current state of Zope with python 2.0 ? > I've been somewhat curious about this myself. Will there need to be large changes now that strings are proper objects? (the string functions are now methods of strings). If so, will this mean the phasing out of _.string ? Will the new Unicode support, does this mean Zope is now a big step closer to i18n? And from the looks of things there are a large number of small changes that could be made to improve performance (such as the new 'augmented assignment' operators [ += *= /= and so on] ).... > Thanks > > Joe > watching closely, Curtis From ws@mystrobl.de Thu Oct 26 07:30:33 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 08:30:33 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F763D2.3C74036B@libc.org> Message-ID: <39F7EBA9.19102.C6FC591@localhost> On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl From administrator@consotec.de Thu Oct 26 07:50:20 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 26 Oct 00 06:50:20 UT Subject: [Zope] ZFormulator Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > --------------1DD2510B41FE-- From zope@isp.lu Thu Oct 26 08:08:26 2000 From: zope@isp.lu (zope) Date: Thu, 26 Oct 2000 09:08:26 +0200 Subject: [Zope] LDAP and zope2.2.2 Message-ID: <4.3.2.7.2.20001026081832.00b14100@mail.isp.lu> Hi. I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch. I have configured an LDAP filter method called searchperson qith the filter 'uid=*'. So, how can I access the attributes and its values? gives me the whole array. Unfortunately, I can't access the variable like But this worked well in zope 2.1.6. Any ideas? Marc Ludwig From maxm@normik.dk Thu Oct 26 08:04:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 09:04:34 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <7BD10B680501D411B9DF009027E06F32197AA0@exchange> There is no simple way of doing it. You would have to write a product that accepts an URL as a parameter like: http:www.yoursite.com/foreign?url=http.//www.othersite.com/somepage.htm Then your product should take all href's in the new document and rename them like the above. Image src's only need to be renamed to absolute paths. Forms need some special attention too. Even thinking about cookies, parameter passing and all the other stuff that can go on between the two sites is enough to make my head spin. Getting a single page from another site is somewhat easier though, but you still would need to make all the url's in the remote document absolute, including "img src's" and "forms action" , so that would take some html parsing. Regards Max M -----Original Message----- From: Etienne ALAURENT [mailto:etienne.alaurent@free.fr] Sent: Thursday, October 26, 2000 3:22 AM To: zope@zope.org Subject: [Zope] Access to an external site from zope site Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr _______________________________________________ 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 ) From Danny@Adair.net Thu Oct 26 08:53:34 2000 From: Danny@Adair.net (Danny William Adair) Date: Thu, 26 Oct 2000 09:53:34 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: I should have posted your version, it's more explicit: -------------------------------------------


------------------------------------------- does not work either. Anyone? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 22:24 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > > > thePos=Position > nameAsAString="Prefix+thePos"> >
>
>
>
> >
is Position a string? I'd try


> From matt.bion@eudoramail.com Thu Oct 26 10:06:01 2000 From: matt.bion@eudoramail.com (Matt) Date: Thu, 26 Oct 2000 22:06:01 +1300 Subject: [Zope] Cleaner stylr Message-ID: <39F7F3F8.831CA9AB@eudoramail.com> Hi I have the following in a method The idea here is that a few levels back I have a folder called text_repository. The method that the obove comes from is called by a form that sets the variable new_id. I have already created another folder in text_repository called text_container_new_id .... where new_id is variable, and there are many of them. The method above starts throwing namespaces on the stack and then creates an instance of a text ZClass that I have made. It all works nicely, but seems an rather nasty way to do it. What are preferred ways of doing this ? and is this really something that people feel is better in an external method as opposed to a dtml method. The reason why I am backtracking all over the place is because I tend to put my methods and forms into a sub folder, which may not be the best idea. I.e. the hierachy is somwhat as follows : text_main /text_methods/text_add_form_method text_main /text_methods/text_accept_method(which is where above snippet is from) text_main/text_repository/ text_main/text_repository/text_container_15562/ text_main/text_repository/text_container_15562/text_ZClass_instance1 text_main/text_repository/text_container_15562/text_ZClass_instance2 regards Matt From tdickenson@geminidataloggers.com Thu Oct 26 10:12:44 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:12:44 +0100 Subject: [Zope] Zope & python 2 In-Reply-To: <0010261247490E.00650@localhost.localdomain> References: <0010261247490E.00650@localhost.localdomain> Message-ID: >> Hi all >> >> Is anyone using or know the current state of Zope with python 2.0 ? > >I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a production server yet. (I would certainly recommend you dont if you allow untrusted users to write dtml) >Will there need to be large changes now that strings are proper objects? (the >string functions are now methods of strings). If so, will this mean the >phasing out of _.string ? _.string is unlikely to go away. String methods are currently inaccessible TTW. The security implications of opening this up have not yet been assessed. >Will the new Unicode support, does this mean Zope is now a big step closer to >i18n? My patches to give Zope full (full enough for me) unicode support are at http://www.zope.org/Members/htrd/wstring. >And from the looks of things there are a large number of small changes that >could be made to improve performance (such as the new 'augmented assignment' >operators [ += *= /= and so on] ).... It seems likely that they will not be available in dtml (for the same reasons as regular assignment). The case for PythonMethods has not yet been investigated >watching closely, Not closely enough ;-) Toby Dickenson tdickenson@geminidataloggers.com From tdickenson@geminidataloggers.com Thu Oct 26 10:15:48 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:15:48 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> References: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" wrote: >We are building some device controller software and to control those we have >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >such a modest setup? There is only going to be one or two users connected to >Zope at once, so we don't need much performance in terms of page views per >second :) Yes, Im using Zope in a similar scenario and it works well. I found a benefit in using a smaller number of publisher threads (I use -T 2 ). Each thread gets its own copy of the ODB, which is an unnecessary memory hog for the expected load. Toby Dickenson tdickenson@geminidataloggers.com From jornd@falch.net Thu Oct 26 11:28:32 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:28:32 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Stephan Goeldi"'s message of "Wed, 25 Oct 2000 13:06:53 GMT" References: Message-ID: <87snpj5227.fsf@ranga.falch.net> * "Stephan Goeldi" | >On a second thought: What I _really_ want (I think, unless someone | >tells me differently :-) ) is a conditional ProxyPass, to tell apache | >to redirect everything _unless_ the URI is /static (or something). | | When you ProxyPass so: | | ProxyPass /static/ http://www.website.com:80/static/ | ProxyPass / http://www.website.com:8080/ | | It should work as you want. Keep the order (root is last line). Seems simple enough. Thanks. Will try. -- Jørn Helge B. Dahl http://falch.net From jornd@falch.net Thu Oct 26 11:54:58 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:54:58 +0200 Subject: [Zope] Bug tracking tool Message-ID: <87k8av50u5.fsf@ranga.falch.net> Does anybody know of a bug tracking product for Zope which is free to try out? I found , which seemed to be nice, but I didn't see where to get it. -- Jørn Helge B. Dahl http://falch.net From maxm@normik.dk Thu Oct 26 12:49:02 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 13:49:02 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> I would have thought that the two examples below where equivalent but only the top one works like expected. (It renders the page.) The second one just shows the source of the vanilla dtml page. -- test = HTMLFile('vanilla', globals()) -- def test(self): "A simpe test method" return HTMLFile('vanilla', globals()) -- How do I execute the dtml file in a method. I have searched the documentation, but it is sketchy to say the least. I cannot use the first approach as I need to define the filename on the fly in my method. def test(self): "A simpe test method" return HTMLFile('skins/' + self.skin, globals()) self.skin is only available in my object, so naturally if I try to say: test = HTMLFile('skins/' + self.skin, globals()) I get an error. Regards Max M From ckant@fazenda.gov.br Thu Oct 26 13:52:53 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Thu, 26 Oct 2000 10:52:53 -0200 Subject: [Zope] ZClass and SQL Table Message-ID: <39F82925.50846FCD@fazenda.gov.br> Hi I have an old system based on a SQL database, and wanna to make a Web version of it. Are there any way to represent the SQL tables as ZClasses? I mean, the attributes of the ZClasses be stored in a SQL table? TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A long-forgotten loved one will appear soon. Buy the negatives at any price. From shevett@homeport.org Thu Oct 26 14:27:38 2000 From: shevett@homeport.org (Dave Belfer-Shevett) Date: Thu, 26 Oct 2000 09:27:38 -0400 (EDT) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage Message-ID: Hey there folks. I've just downloaded and installed these Products into my Zope instance. I'd talk to any of the support groups / lists / etc for these Products, but I can't find anythign aside from the author link, and a few small hints on the download page. I -think- I'm setting up an Album properly. Here are the steps, someone please tell me if this is not correct (There's an error that happens that I'll report in a moment...) 1) Install all the packages 2) Import ZPhotoAlbum via the Control panel 3) Go to whatever directory I want to run from 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) go into 'abc' folder (note the only thing in it right now is 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go into 'page1' folder 8) Add a ZPhoto Okay, here's where it gets fuzzy. My initial impression is "okay, tha'ts it. Just keep adding ZPhotos to populate the album". But when going to url.url.com/abc/ I just get the default 'index.html'. Tinkering, I found the 'Restore DTML' button up on the toolbar for the PhotoAlbum. So I click that, and get a lot more content in the folder in the management screen. Now when I go to url.url.com/abc/, I see my index, the AlbumPage, and the ZPhoto that I added. Here's where the problem happens. There are 2 buttons at the bottom of the page called 'fancy view' and 'explore view'. They should allow different views of the indexes. But when I click on one, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: defined_views here's the traceback: Traceback (innermost last): File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: CatalogAware) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/shevett/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: switch_view) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: switch_view) File /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: view not in defined_views or not view_id) (Info: defined_views) File , line 0, in ? NameError: (see above) Any suggestions? -------------------. Web-based problem management: www.stonekeep.com Dave Belfer-Shevett >----------------------------------------------------. shevett@pobox.com / I like you... I'll kill you last... (from 'Handy \ ------------------< work phrases') | \______________________________________________________/ From chrisw@nipltd.com Thu Oct 26 14:22:38 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:22:38 +0100 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <39F8301E.2746E20C@nipltd.com> You can get it out of the CVS repository at cvs.zope.org. If you can find it, I guess drop Ken a mail :-S cheers, Chris "JXrn Helge B. Dahl" wrote: > > Does anybody know of a bug tracking product for Zope which is free to > try out? I found , which > seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > _______________________________________________ > 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 ) From ytotty@atinucleus.com Thu Oct 26 14:22:47 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 08:22:47 -0500 Subject: [Zope] Z SQL Objects (Newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I=20 have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a = SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a call
specific to each team. I am passing in three=20 parameters,
two=20 of which go in the sql statement, the other goes in
the=20 if statement:
<:if "team=3D'S"'>
sql=20 statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It=20 tells me it doesn't like the syntax of the 'if' (I = have
stuff in the python file that lets me use ':' = in place=20 of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If=20 you guys know of another reference, please let me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_002A_01C03F25.EBF02E60-- From chrisw@nipltd.com Thu Oct 26 14:25:52 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:25:52 +0100 Subject: [Zope] How to render a HTMLFile in a method in a product References: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> Message-ID: <39F830E0.3C6C51E3@nipltd.com> Max Møller Rasmussen wrote: > def test(self): > "A simpe test method" > return HTMLFile('skins/' + self.skin, globals()) This is the closest. try the following: testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin, globals())(None,md) cheers, Chris From odeckmyn.list@teaser.fr Thu Oct 26 14:44:41 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 26 Oct 2000 15:44:41 +0200 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <00b301c03f52$e46a8c30$0d00000a@ODECKMYN2K> AFAIK, You have to get it through CVS... ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Thursday, October 26, 2000 12:54 PM Subject: [Zope] Bug tracking tool > Does anybody know of a bug tracking product for Zope which is free to > try out? I found seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) > > From maxm@normik.dk Thu Oct 26 14:42:13 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 15:42:13 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA7@exchange> From: Chris Withers [mailto:chrisw@nipltd.com] Thanks for the reply >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) Is this documented anywhere? I have a little trouble using code I don't understand. Pretty Please. Regards Max M From zope@grewen.de Thu Oct 26 14:51:08 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 26 Oct 2000 15:51:08 +0200 Subject: [Zope] Z SQL Objects (Newbie) References: Message-ID: <002401c03f53$f1f25580$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message -----=20 From: Yvonne Totty=20 To: zope@zope.org=20 Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in=20 the if statement: <:if "team=3D'S"'> sql statement <:elif "team=3D'C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=3D=3D'S'", "team=3DS", "team=3D=3DS", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects=20 (Newbie)

I=20 have the O'Reilly book, but can't seem to find = more
complete information on how to do 'if's' in = a SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a = call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other goes=20 in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if' (I=20 have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_0021_01C03F64.8EB0BA00-- From jjunior@cidadei.com.br Thu Oct 26 16:09:59 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Thu, 26 Oct 2000 12:09:59 -0300 Subject: [Zope] regex Message-ID: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> how to for use function regex in zope? please send examples. From ytotty@atinucleus.com Thu Oct 26 15:44:51 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 09:44:51 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Error message stuff: Expression (Python) Syntax error: invalid syntax , for tag <:if "team=='S'">, on line 23 of Traceback (innermost last): File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_edit) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_edit) File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, line 242, in manage_edit (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 383, in cook (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 228, in parse (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 292, in parse_block (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 126, in parse_error (Object: ) Document Template Parse Error: (see above) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Error message stuff:
Expression (Python) Syntax error: =
invalid syntax
, for tag <:if "team=3D=3D'S'">, on = line 23 of=20 <string>
Traceback (innermost last):
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, =
in publish_module
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
    (Object: manage_edit)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, =
in call_object
    (Object: manage_edit)
  File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, =
line 242, in manage_edit
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 383, in cook
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 228, in parse
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 292, in parse_block
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 126, in parse_error
    (Object: <string>)
Document Template Parse Error: (see above)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects = (Newbie)

I have the O'Reilly book, but can't seem = to find=20 more
complete information on how to do 'if's' = in a SQL=20 thing.
 
Here's the scenario:
I have three different 'teams' and want = to run a=20 call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other=20 goes in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if'=20 (I have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_005C_01C03F31.634E5800-- From tony.mcdonald@ncl.ac.uk Thu Oct 26 15:58:53 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 26 Oct 2000 15:58:53 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: At 10:15 am +0100 26/10/00, Toby Dickenson wrote: >On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > >>We are building some device controller software and to control those we have >>a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >>such a modest setup? There is only going to be one or two users connected to >>Zope at once, so we don't need much performance in terms of page views per >>second :) > >Yes, Im using Zope in a similar scenario and it works well. > >I found a benefit in using a smaller number of publisher threads (I >use -T 2 ). Each thread gets its own copy of the ODB, which is an >unnecessary memory hog for the expected load. ????!!! This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few things on our box here and it seems to pan out), then this explains large memory consumption on our servers (roughly 80 - 180 Mbyte RAM used per server). I shall be doing a sweep of our Zope servers and packing the databases (the ODBs that is). One thing though, is there a 'party line' on what number the -T parameter should be set to? Coming from an Apache background, I'm used to having dozens of httpd processes hanging around waiting for something to happen. I've always assumed that threads did much the same thing. Perhaps I'm wrong.... thoughts? Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From phil.harris@zope.co.uk Thu Oct 26 16:28:31 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 26 Oct 2000 16:28:31 +0100 Subject: [Zope] Z SQL Objects (Newbie) References: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: <022701c03f61$671411c0$5c773fc1@media1> Yvonne, The format of your 'if' is incorrect: You have <:if .....> it should be so the whole statement is as Jens says below. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: Jens Grewen To: ytotty@atinucleus.com Cc: Zope Maillist Sent: Thursday, October 26, 2000 2:51 PM Subject: Re: [Zope] Z SQL Objects (Newbie) Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? From ytotty@atinucleus.com Thu Oct 26 16:29:35 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:29:35 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <20001026112244.V16270@universal-fasteners.com> Message-ID: Jim, Nah, I thought of that, too and it didn't work 8(. I have been using <:sqlvar ...> inside my statements and those seem to be doing just fine. Yvonne 8) > > > Try it with the dtml-if syntax rather than :if. It made a difference for > me. If this works for you, please post a comment. it appears > that the newest > syntax did not filter into ZSQL methods. > > From ytotty@atinucleus.com Thu Oct 26 16:41:07 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:41:07 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <022701c03f61$671411c0$5c773fc1@media1> Message-ID: Well, I will be darned, it did work. I must have left out the quotes before when I tried it. That is weird, how, in the very same object, the <:sqlvar...> works, but <:if... > doesn't. Thanks so much!!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? > Yvonne, > > The format of your 'if' is incorrect: > > You have <:if .....> it should be > > so the whole statement is as Jens says below. > > hth > > Phil > phil.harris@zope.co.uk > > > ----- Original Message ----- > From: Jens Grewen > To: ytotty@atinucleus.com > Cc: Zope Maillist > Sent: Thursday, October 26, 2000 2:51 PM > Subject: Re: [Zope] Z SQL Objects (Newbie) > > > Hi, > > Arguments | team > > Query template > > > select * > from data > > select * > from data > > > this is normal > > but may it helps if you post the traceback of the error message > > Jens Grewen > > ----- Original Message ----- > From: Yvonne Totty > To: zope@zope.org > Sent: Thursday, October 26, 2000 3:22 PM > Subject: [Zope] Z SQL Objects (Newbie) > > > I have the O'Reilly book, but can't seem to find more > complete information on how to do 'if's' in a SQL thing. > > Here's the scenario: > I have three different 'teams' and want to run a call > specific to each team. I am passing in three parameters, > two of which go in the sql statement, the other goes in > the if statement: > <:if "team='S"'> > sql statement > <:elif "team='C'"> > blah, blah > > > It tells me it doesn't like the syntax of the 'if' (I have > stuff in the python file that lets me use ':' in place of > 'dtml-'). I have tried all the flavors: "team=='S'", > "team=S", "team==S", etc. and it doesn't like any of > them. > > If you guys know of another reference, please let me > know! > > TIA, > Yvonne 8) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > > From twcook@iswt.com Thu Oct 26 17:07:27 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 26 Oct 2000 11:07:27 -0500 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F856BF.A8B104CA@iswt.com> Tony McDonald wrote: > This is the first I've ever seen written on this subject. If it's > correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From andym@ActiveState.com Thu Oct 26 17:30:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:30:25 -0700 Subject: [Zope] regex References: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> Message-ID: <007301c03f6a$0bcb9af0$ae03a8c0@fork> Regex is not available in dtml. You have to use python and import it. ----- Original Message ----- From: "Joaldo Junior" To: Sent: Thursday, October 26, 2000 8:09 AM Subject: [Zope] regex > how to for use function regex in zope? > > please send examples. > > _______________________________________________ > 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 ) > From andym@ActiveState.com Thu Oct 26 17:39:33 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:39:33 -0700 Subject: [Zope] Re: Re:[Zope] ZFormulator References: Message-ID: <00ab01c03f6b$53715240$ae03a8c0@fork> There was a problem with the ODBC adapter under 2.2.0 where the permissions werent applied properly. There was a patch that was then incorporated into later releases 2.2.1 onwards. ----- Old Message ---- In case anyone else didnt read my thread there is an apparently known but not seemingly well documented problem with ODBC in Zope 2.2. The solution is here: Index: RDB.py =================================================================== RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v retrieving revision 1.24.32.1 retrieving revision 1.24.32.2 diff -c -r1.24.32.1 -r1.24.32.2 *** RDB.py 2000/07/12 17:38:03 1.24.32.1 --- RDB.py 2000/07/17 15:03:55 1.24.32.2 *************** *** 85,92 **** __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $''' ! __version__='$Revision: 1.24.32.1 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join --- 85,92 ---- __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $''' ! __version__='$Revision: 1.24.32.2 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join *************** *** 123,128 **** --- 123,132 ---- """Class for reading RDB files """ _index=None + + # We need to allow access to not-explicitly-protected + # individual record objects contained in the result. + __allow_access_to_unprotected_subobjects__=1 def __init__(self,file,brains=NoBrains, parent=None, zbrains=None): -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People _______________________________________________ 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 ) ----- Original Message ----- From: To: Sent: Wednesday, October 25, 2000 11:50 PM Subject: Re:[Zope] ZFormulator Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > From complaw@hal-pc.org Thu Oct 26 17:59:45 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 16:59:45 GMT Subject: [Zope] Reverse SendMail Question Message-ID: <200010261659.LAA23072@mail.hal-pc.org> Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc the project and all the e-mail could be viewed centrally. Any ideas? Ron ./. From p@state-of-mind.de Thu Oct 26 17:57:48 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Thu, 26 Oct 2000 18:57:48 +0200 Subject: [Zope] display owner [repost] Message-ID: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org code, took a look at the Owned.py etc. I just can't figure it out. Somebody help me? Thanks, p@ From jatwood@bwanazulia.com Thu Oct 26 18:20:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 13:20:19 -0400 Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: There is a product that does this.. of course, I cannot for the life of me remember its name. J > From: complaw@hal-pc.org > Date: Thu, 26 Oct 2000 16:59:45 GMT > To: zope@zope.org > Subject: [Zope] Reverse SendMail Question > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do > is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > > _______________________________________________ > 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 ) > > From grizel@mouli.net Thu Oct 26 18:22:31 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:22:31 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F86857.4BE7117D@mouli.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > _______________________________________________ > 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 ) What a good idea !! In fact, I think we should instead allow the sendmail program to serve HTTP requests !... ;-) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From grizel@mouli.net Thu Oct 26 18:28:04 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:28:04 +0200 Subject: [Zope] display owner [repost] References: Message-ID: <39F869A4.AB20ADF4@mouli.net> Patrick Koetter wrote: > > Hi all, > > I posted this the last days, but didn't get quite what I needed. > > I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method > or -Document etc.) in order to display this to the surfers when they drop > by. > > I've searched through zope.org code, took a look at the Owned.py etc. I just > can't figure it out. Somebody help me? > > Thanks, > > p@ > > _______________________________________________ > 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 ) Yes, not so obvious, but this might work : Managed by
This is based on a previous post (about a year ago ?...) by someone else I cannot thank - as I cannot remember his name ! :-)) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From Henny van der Linde" Hi, This should be very simple but I can't get it to work. I have a method called do_login. This method can't be viewed by anonymous users. When I call this method just with a standard login screen is presented as expected. Now I want tot trap login errors with a try construction such as this:

Login error, please try again (etc.)

Login ok

In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? Is there an elegant way to trap login errors resulting from an URL? URL link to a secured object, standard login screen presented, wrong input etc. Thanks Henny van der Linde From rik.hoekstra@inghist.nl Thu Oct 26 19:58:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 26 Oct 2000 20:58:54 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <020001c03f7e$caa1bb80$fe5da182@michieltje> > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > There has been quite a bit of discussion/ideas exchange on this in a zope-dev thread about the ZWikiNG (new generation), search the archives (or the Wiki at http://dev.zope.org/Wikis/DevSite/Proposals/WikiNG amd especially the discussion page). There is also a product called ZMailIn available from http://www.zope.org/Members/NIP/ZMailIn/ Rik From jim@holthaus.com Thu Oct 26 19:20:24 2000 From: jim@holthaus.com (Jim Holthaus) Date: Thu, 26 Oct 2000 13:20:24 -0500 Subject: [Zope] DTML and acquisition question Message-ID: <00102614070603.08458@logrus.holthaus.home> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If A contains B which contains C which contains D (tree view) A B C D and I am in A, how do I get to an item in D? What if B and C are dynamic? - -- Jim Holthaus (pronunciation: HOLT house) jim@holthaus.com PGP Public Key at http://www.holthaus.com/jim/pgpkey.html Learn about PGP at http://www.holthaus.com/jim/pgp.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI f7leyiFJonYWWaOqI/SPd8ZQ =JUHP -----END PGP SIGNATURE----- From slinkp23@yahoo.com Thu Oct 26 20:15:51 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 26 Oct 2000 15:15:51 -0400 Subject: [Zope] Hosting? Message-ID: <39F882E7.47E19D2A@yahoo.com> Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. Requirements: I need a system that can handle a potentially very heavy load, though at first it will be quite small - we're a startup and have no customers yet. Location: We're in the northeast USA and most of our users will probably be in the US as well, so I'd prefer a service in North America. Zope: 2.2 at least, and access to install new products and external methods. I'm currently on codeit.com, but they have zope 2.1 and I need zope >= 2.2 so I can use my custom product derived from PTK 0.9. Storage: We're doing things with digital images - *big* ones - so we need to start at about 100 MB and will need to grow; we'll be storing a *lot* of data for our users. Eventually (probably not until later in 2001) we'll need MUCH more - possibly up to 1 GB eventually. (Beyond that point we will probably just rent a server at rackspace.com or somewhere but first we need to be able to develop a big enough customer base to pay for it.) Data transfer: Several times greater than storage. Users will upload large files which we will then download to our local network, so that's at least 2x our storage needs, plus there's the transfer involved in just using the site. Pricing: since our storage requirements will be continually growing, I'd like a payment plan that enables us to pay for the storage we need and add more as needed. -- ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From jatwood@bwanazulia.com Thu Oct 26 20:39:26 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 15:39:26 -0400 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month. They have great support and bandwidth and claim to be the largest installed base of RH Linux. They also scale pretty well. I have about 10 boxes with them for about year now. Cheers, J > From: Paul Winkler > Date: Thu, 26 Oct 2000 15:15:51 -0400 > To: Zope mailing list > Subject: [Zope] Hosting? > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > > From chrism@digicool.com Thu Oct 26 21:45:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Thu, 26 Oct 2000 16:45:41 -0400 Subject: [Zope] asdasd Message-ID: <000a01c03f90$622694b0$aa063bd0@kurtz> asdasd From nspurrier@bluelight.com Thu Oct 26 22:33:09 2000 From: nspurrier@bluelight.com (Noah) Date: Thu, 26 Oct 2000 14:33:09 -0700 Subject: [Zope] can I turn off I thought of putting around them all, but I am certain that my client would object. Yours, Noah Spurrier From juliodinis@hotmail.com Thu Oct 26 23:55:46 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 22:55:46 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem. this dtml code dont work with siteaccess: some code I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call. Is there a solution? Thanks very much, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From complaw@hal-pc.org Thu Oct 26 22:56:13 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 21:56:13 GMT Subject: [Zope] Hosting? Message-ID: <200010262155.QAA13510@mail.hal-pc.org> > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. http://www.codeit.com/ They are the best one I've found. Ron ./. From nichols@tradingconnections.com Thu Oct 26 22:55:18 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Thu, 26 Oct 2000 16:55:18 -0500 Subject: [Zope] Hosting? In-Reply-To: References: <39F882E7.47E19D2A@yahoo.com> Message-ID: <4.3.2.7.2.20001026164808.00c1f8a0@tradingconnections.com> At 10/26/00 03:39 PM, J. Atwood wrote: >Try http://www.rackspace.com. > >You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about >$300 a month. They have great support and bandwidth and claim to be the >largest installed base of RH Linux. They also scale pretty well. I have >about 10 boxes with them for about year now. Although attractive at the low end, the rackspace price seems to jump rapidly. Move to a dual processor, 512MB, weekly backup and you arrive at a price about double what DellHost charges. So we're currently trying DellHost (which is somehow linked up with Interliant). While it is too early to give satisfaction rating, DellHost was not too swift administratively getting the server set up initially and we've had some bandwidth/connectivity issues. -- Dennis Nichols nichols@tradingconnections.com From juliodinis@hotmail.com Fri Oct 27 00:44:13 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 23:44:13 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva >From: "Júlio Dinis Silva" >To: zope@zope.org >Subject: [Zope] siteaccess + resolve_url problem >Date: Thu, 26 Oct 2000 22:55:46 WEST > >Hi all, >I search for a solution in mailing lists but I didnt found a solution, >just people talking about the same problem. > >this dtml code dont work with siteaccess: > > >some code > > >I receive a Resource Not found error. >I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its >a Zope resolve_url call. > >Is there a solution? > >Thanks very much, >Júlio Dinis Silva >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From lingnau@tm.informatik.uni-frankfurt.de Thu Oct 26 23:44:56 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 26 Oct 2000 22:44:56 GMT Subject: [Zope] Zope/PIL collision - what to do? Message-ID: <8tac58$qh6$1@mars.tm.informatik.uni-frankfurt.de> I'm trying to use the Python Imaging Library in an external Python method to modify some images dynamically. However, when I try to load an image: import Image # from PIL - refers to PIL ImageFile module image = Image.open("foo.png") the method crashes because the Image module sees the Zope »ImageFile« module instead of the one from PIL. The Zope module, of course, does something completely different from the other one. This is on Debian GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 from the distribution. How do I get around this? Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de The only reward of virtue is virtue; the only way to have a friend is to be one. -- Ralph Waldo Emerson From zope@grewen.de Thu Oct 26 23:58:10 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 00:58:10 +0200 Subject: [Zope] DTML and acquisition question References: <00102614070603.08458@logrus.holthaus.home> Message-ID: <001001c03fa0$63dcb5e0$0300a8c0@windows> Hi Jim, If you are in D you can access any object in D C B and A and if you are in A and want to access an object in D then you can use the following syntax If a folder object in A or B is dynamic (with changing names for example) you can get the folder by this for example /get all folders from dynamic B /get all folders from dynamic C /if D is a fix object name in dynamiy C then you can use Jens ----- Original Message ----- From: "Jim Holthaus" To: Sent: Thursday, October 26, 2000 8:20 PM Subject: [Zope] DTML and acquisition question > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > If A contains B which contains C which contains D > (tree view) > A > B > C > D > > and I am in A, how do I get to an item in D? What if B and C are dynamic? > - -- > Jim Holthaus (pronunciation: HOLT house) > jim@holthaus.com > PGP Public Key at http://www.holthaus.com/jim/pgpkey.html > Learn about PGP at http://www.holthaus.com/jim/pgp.html > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.1 > > iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI > f7leyiFJonYWWaOqI/SPd8ZQ > =JUHP > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 02:04:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 26 Oct 2000 20:04:54 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Hi Zope Fans, Re. the problems I mentioned in an earlier post, it may be related to an error that turned up when I tried to run the ZF_Demo module. It seems to be unable to locate: "ApplicationDefaultPermissions" Does that ring any bells? A Google Search of Zope.org turns up several references, and it seems to be a part of core Zope, but I have no idea how it could be unavailable. Might the way Zope is started have an impact on which pieces-parts are accessible? The error shows: Traceback (innermost last): File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 179, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 151, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, line 304, in traverse File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above) Thanks, Jerry S. From cbeaumon@msri.org Fri Oct 27 02:08:25 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Thu, 26 Oct 2000 18:08:25 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batch processing dtml-in processing dtml-in Message-ID: <39F8D55F.5AE7E34C@msri.org> Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be basically a timeline, with the current date as the default starting point. The idea is that someone can go back in time as well as forward. (links for past events as well as future) So, basically, I'm looking for a not-too-convoluted (i.e. decent performance) way to have the 'default' screen on entry be the batch that contains the item whose datetime value is the next one occurring after the current time. Dtml-in doesn't seem to have a straightforward way to do this, unless I'm overlooking something obvious. Does a solution to this occur to anyone? Thank you. Chris Beaumont cbeaumon@msri.org From kthangavelu@earthlink.net Thu Oct 26 21:05:26 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:05:26 -0700 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F88E86.E68A243B@earthlink.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. (IMO) its not to hard to write a cronn'd python client to retrieve emails sent to an email addr from a pop/imap server and drop them into zope via xml-rpc. i wrote something like this for my first zope contract, dropping the emails into a CatalogAware ZClass, and offering searches of the projects archives via ZCatalog. i believe ZMailin does something like this. kapil From kthangavelu@earthlink.net Thu Oct 26 21:11:07 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:11:07 -0700 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F88FDB.D13307B8@earthlink.net> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? > > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. only on windows... > I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? check if it has threads try: import threading except: print "this won't work" import sys;sys.exit() print "you can use this python" if not normally a python install is as simple as ./configure --with-threads make su make install you might need to switch your path if you've got both pythons on your system as most will put /usr/bin before /usr/local/bin you can check which one your using with:: which python to fix it in bash :: export PATH=/usr/local/bin:$PATH cheers kapil From kthangavelu@earthlink.net Thu Oct 26 21:18:17 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:18:17 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in References: <39F8D55F.5AE7E34C@msri.org> Message-ID: <39F89189.75095339@earthlink.net> Chris Beaumont wrote: > > Hello, > > I'm using dtml-in to display a long list of events taken from a SQL > table, as part of a calendar, using batch processing, > (basically the example from the DTML reference adapted to use direct > traversal to fetch the table contents) > > I want my calendar to be basically a timeline, with the current date as > the default starting point. The idea is that someone can go back in time > as well as forward. (links for past events as well as future) > > So, basically, I'm looking for a not-too-convoluted (i.e. decent > performance) way to have the 'default' screen on entry be the batch that > contains the item whose datetime value is the next one occurring after > the current time. Dtml-in doesn't seem to have a straightforward way to > do this, unless I'm overlooking something obvious. > > Does a solution to this occur to anyone? do it in sql, this is pretty database dependent, but the ideal way to me would be just where event_date > and just adjust your dtml to call the method with a date arguement. you probably need to use your db's string->date functions to convert the value for comparisions. i think this would offer the best performance, and least code. cheers kapil From jens@digicool.com Fri Oct 27 05:15:58 2000 From: jens@digicool.com (Jens Vagelpohl) Date: Fri, 27 Oct 2000 00:15:58 -0400 Subject: [Zope] Zope/PIL collision - what to do? Message-ID: try something like.... import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees jens ---- Jens Vagelpohl jens@digicool.com Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? ---- on 10/26/00 18:44, Anselm Lingnau at lingnau@tm.informatik.uni-frankfurt.de wrote: > I'm trying to use the Python Imaging Library in an external Python > method to modify some images dynamically. However, when I try to load > an image: > > import Image # from PIL - refers to PIL ImageFile module > image = Image.open("foo.png") > > the method crashes because the Image module sees the Zope »ImageFile« > module instead of the one from PIL. The Zope module, of course, does > something completely different from the other one. This is on Debian > GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution > and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 > from the distribution. > > How do I get around this? > > Anselm From jleach@mail.ocis.net Fri Oct 27 06:54:56 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Thu, 26 Oct 2000 22:54:56 -0700 (PDT) Subject: [Zope] Calander. Message-ID: hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. If not, perhaps I'll have to whip one up. :) Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From morten@esol.no Fri Oct 27 07:32:53 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 08:32:53 +0200 (CEST) Subject: [Zope] Calander. In-Reply-To: Message-ID: On Thu, 26 Oct 2000, Jason C. Leach wrote: > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. Actually, I'm developing one now, and it's getting pretty decent.. =) Take a look at the Calendar product contained in the latest ZopeGUM release, http://www.zope.org/Members/morphex/ZopeGUM. The calendar product is pretty stable, but I wouldn't use it in a production enviroment just yet. > If not, perhaps I'll have to whip one up. :) If you're interested in participating in the development of this Calendar product, you're more than welcome! The project will eventually be located at SourceForge, as soon as they fix the CVS problems they're having.. Regards, Morten From twcook@iswt.com Fri Oct 27 07:40:48 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 01:40:48 -0500 Subject: [Zope] Calander. References: Message-ID: <39F92370.41D9FF13@iswt.com> "Jason C. Leach" wrote: > > hi, > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. > There is a ZCalendar tag. But the EventFolder is much more full featured. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From lingnau@tm.informatik.uni-frankfurt.de Fri Oct 27 08:39:23 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 27 Oct 2000 07:39:23 GMT Subject: [Zope] Zope/PIL collision - what to do? References: Message-ID: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> In article , Jens Vagelpohl wrote: > import PIL > > image = PIL.Image.open('foo.png') > > that way you do not have two names "Image" colliding in the names Zope sees Thanks to everybody who responded. I tried doing this after a number of other attempts but it claimed not to be able to find a module called »PIL« -- then I restarted Zope and it worked. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de You could shoot Microsoft Office off the planet and this country would run better. You would see everyone standing around saying, `I've got so much time now.' -- Scott McNealy From chrisw@nipltd.com Fri Oct 27 09:59:13 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 09:59:13 +0100 Subject: [Zope] ZMailIn References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F943E1.D9BB80D@nipltd.com> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? You could probably build something using ZMailIn: http://www.zope.org/Members/NIP/ZMailIn cheers, Chris From chrisw@nipltd.com Fri Oct 27 10:00:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 10:00:58 +0100 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> Message-ID: <39F9444A.902CF18D@nipltd.com> Henny van der Linde wrote: > In this construction the call to do_login always raises the exception > Unauthorized instead of presenting the standard login screen. > > How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows you to do exactly what you're talking about. cheers, Chris From l.tranchant@adntic.com Fri Oct 27 10:21:56 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Fri, 27 Oct 2000 11:21:56 +0200 Subject: [Zope] php and zope Message-ID: <39F94934.929E94F3@adntic.com> hello everybody, I am new on this list, and I on zope. I have installed zope with apache on linux Suze 6.4, and I want to use it with PostGreSQL. My first question is very simple : can I use php code in DTML documents ??? I don't think so, but if someone can help me... From seb@jamkit.com Fri Oct 27 10:27:05 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 10:27:05 +0100 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired places in the UK. The bandwidth can be upped on a month-by-month basis. This way you get full control over everything. My costs: server ?650 (that's about $500 I think) hosting ?37.50 / month for 1 Gb / 512k burst (about $30) time to set it all up :S Of course, the hosting gets *much* cheaper as you buy more, but this scheme suits the way I intend to grow. I believe hardware and bandwidth is even cheaper in the states, so why not consider something like that? seb. > -----Original Message----- > From: pw@bestweb.net [mailto:pw@bestweb.net]On Behalf Of Paul Winkler > Sent: 26 October 2000 20:16 > To: Zope mailing list > Subject: [Zope] Hosting? > > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > From jonathan@home-all.org.uk Fri Oct 27 10:59:46 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Fri, 27 Oct 2000 10:59:46 +0100 Subject: [Zope] advice re virtual hosting Message-ID: <39F95211.1605CE4A@home-all.org.uk> Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a folder within my zope (so they can acquire some of my content). i.e. www.blue.com --> zopeserver/ www.red.com --> zopeserver/red/ Whats the best way? There seem to be three or four options, apache on 80 with zope on 8080 using virtual hosts on both (either?), squid on 80 and zope on 8080 and finally zope alone on 80. The site will be relatively low traffic for the root branch but higher public traffic for the clients branch. Whats the 'best' way? I got apache to front zope with proxypass and with proxying on and seemed to get better performance. What about flexibility? What about rewriting versus virtual hosts? Ah so many juicy options! I have a colocated box and the isp is holding two domains pointed at the same ip address so I guess name based vhosts are the way by default but is it better to try and get zope to do it alone on 80 (is this possible?) or is it always better to have apache do it. I don't forsee any need for genuinely static content that cannot be served from zope. Your advice gratefully received. Jonathan From jatwood@bwanazulia.com Fri Oct 27 11:18:29 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Fri, 27 Oct 2000 06:18:29 -0400 Subject: [Zope] advice re virtual hosting In-Reply-To: <39F95211.1605CE4A@home-all.org.uk> References: <39F95211.1605CE4A@home-all.org.uk> Message-ID: Hey Jonathan, I don't know about the 'best' way, but you certainly can use SiteAccess. You point the main url to your Zope installation (and that is nothing) and you put a SiteRoot in the red folder and it will take care of www.red.com. http://www.zope.org/Members/4am/SiteAccess2/vhosting J At 10:59 AM +0100 10/27/2000, Jonathan Cheyne wrote: >Hi all, just need to check the received wisdom regarding the various >possible combinations for doing virtual hosting with zope. > >I have two domains, one is 'mine' and I want that to go to the root of >my zope installation. the other domain is for an internal client and I >want that to go to a folder within my zope (so they can acquire some of >my content). > >i.e. >www.blue.com --> zopeserver/ >www.red.com --> zopeserver/red/ > >Whats the best way? > >There seem to be three or four options, apache on 80 with zope on 8080 >using virtual hosts on both (either?), squid on 80 and zope on 8080 and >finally zope alone on 80. > >The site will be relatively low traffic for the root branch but higher >public traffic for the clients branch. > >Whats the 'best' way? I got apache to front zope with proxypass and with >proxying on and seemed to get better performance. What about >flexibility? What about rewriting versus virtual hosts? > >Ah so many juicy options! > >I have a colocated box and the isp is holding two domains pointed at the >same ip address so I guess name based vhosts are the way by default but >is it better to try and get zope to do it alone on 80 (is this >possible?) or is it always better to have apache do it. I don't forsee >any need for genuinely static content that cannot be served from zope. > >Your advice gratefully received. > >Jonathan > > >_______________________________________________ >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 ) From xavier@perceval.net Fri Oct 27 11:27:32 2000 From: xavier@perceval.net (Xavier Defrang) Date: Fri, 27 Oct 2000 12:27:32 +0200 (CEST) Subject: [Zope] Zope and Python 2.0 Message-ID: Hi folks, I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with Python 2.0... I've got a system-wide installation of Python 2.0 and the ./start scripts fails. I made a local installtion of Python 1.5.2 just to run Zope. I changed the path the Python interpreter in the start shell script but it looks like Medusa's asyncore.py can't find tjhe FCNTL module... What the hell is going wrong? I also had to comment out a nasty #include "mymath.h" in 'lib/Components/cPickle/cPickle.c' to get it built properly... - Xavier From seb@jamkit.com Fri Oct 27 11:31:11 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 11:31:11 +0100 Subject: [Zope] wondering about rendering In-Reply-To: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> Message-ID: A simple question that's been bugging me: Regarding a "FooDocument/BarMethod": How do I reference the content of FooDocument inside BarMethod? At the moment, I'm using which seems to call the __str__ method of FooDocument; or in both view_1 and tableise, I get infinite recursion, of course. But I can't think of how else I might do it. Putting in tableise makes all the HTML in view_1 render html-safe (< > etc). I was tableise to display view_1's HTML but not render its DTML. Any idea, anyone? Thanks, seb From steve@spvi.com Fri Oct 27 12:08:11 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:08:11 -0500 (EST) Subject: [Zope] ZClass and SQL Table In-Reply-To: <39F82925.50846FCD@fazenda.gov.br> (ckant@fazenda.gov.br) References: <39F82925.50846FCD@fazenda.gov.br> Message-ID: <200010271108.GAA08003@mercury.spvi.com> Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve >>>>> "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann writes: CG> Hi CG> I have an old system based on a SQL database, and wanna to CG> make a Web version of it. CG> Are there any way to represent the SQL tables as ZClasses? I CG> mean, the attributes of the ZClasses be stored in a SQL table? CG> TIA -- CG> +---------------------------------+---------------------------------+ CG> | César A. K. Grossmann | Capacitação Solidária | | CG> ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | CG> http://members.xoom.com/ckant/ | Clique e doe - é de graça | CG> +---------------------------------+---------------------------------+ CG> http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A CG> long-forgotten loved one will appear soon. CG> Buy the negatives at any price. CG> _______________________________________________ Zope maillist CG> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** CG> No cross posts or HTML encoding! ** (Related lists - CG> http://lists.zope.org/mailman/listinfo/zope-announce CG> http://lists.zope.org/mailman/listinfo/zope-dev ) From steve@spvi.com Fri Oct 27 12:11:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:11:24 -0500 (EST) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage In-Reply-To: (message from Dave Belfer-Shevett on Thu, 26 Oct 2000 09:27:38 -0400 (EDT)) References: Message-ID: <200010271111.GAA08015@mercury.spvi.com> Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve >>>>> "Dave" == Dave Belfer-Shevett writes: Dave> Hey there folks. I've just downloaded and installed these Dave> Products into my Zope instance. I'd talk to any of the Dave> support groups / lists / etc for these Products, but I can't Dave> find anythign aside from the author link, and a few small Dave> hints on the download page. Dave> I -think- I'm setting up an Album properly. Here are the Dave> steps, someone please tell me if this is not correct Dave> (There's an error that happens that I'll report in a Dave> moment...) Dave> 1) Install all the packages 2) Import ZPhotoAlbum via the Dave> Control panel 3) Go to whatever directory I want to run from Dave> 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) Dave> go into 'abc' folder (note the only thing in it right now is Dave> 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go Dave> into 'page1' folder 8) Add a ZPhoto Dave> Okay, here's where it gets fuzzy. My initial impression is Dave> "okay, tha'ts it. Just keep adding ZPhotos to populate the Dave> album". But when going to url.url.com/abc/ I just get the Dave> default 'index.html'. Dave> Tinkering, I found the 'Restore DTML' button up on the Dave> toolbar for the PhotoAlbum. Dave> So I click that, and get a lot more content in the folder in Dave> the management screen. Dave> Now when I go to url.url.com/abc/, I see my index, the Dave> AlbumPage, and the ZPhoto that I added. Dave> Here's where the problem happens. There are 2 buttons at Dave> the bottom of the page called 'fancy view' and 'explore Dave> view'. They should allow different views of the indexes. Dave> But when I click on one, I get: Dave> Zope Error Dave> Zope has encountered an error while publishing this Dave> resource. Dave> Error Type: NameError Error Value: defined_views Dave> here's the traceback: Dave> Traceback (innermost last): File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 222, in publish_module File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 187, in publish File Dave> /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in Dave> zpublisher_exception_hook (Object: CatalogAware) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 171, in publish File Dave> /home/shevett/zope/lib/python/ZPublisher/mapply.py, line Dave> 160, in mapply (Object: switch_view) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 112, in call_object (Object: switch_view) File Dave> /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, Dave> in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, Dave> line 528, in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, Dave> line 337, in eval (Object: view not in defined_views or not Dave> view_id) (Info: defined_views) File , line 0, in ? Dave> NameError: (see above) Dave> Any suggestions? Dave> -------------------. Web-based problem management: Dave> www.stonekeep.com Dave Belfer-Shevett Dave> >----------------------------------------------------. Dave> shevett@pobox.com / I like you... I'll kill you Dave> last... (from 'Handy \ ------------------< work phrases') | Dave> \______________________________________________________/ Dave> _______________________________________________ Zope Dave> maillist - Zope@zope.org Dave> http://lists.zope.org/mailman/listinfo/zope ** No cross Dave> posts or HTML encoding! ** (Related lists - Dave> http://lists.zope.org/mailman/listinfo/zope-announce Dave> http://lists.zope.org/mailman/listinfo/zope-dev ) From steinar@orion.no Fri Oct 27 12:29:48 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Fri, 27 Oct 2000 13:29:48 +0200 Subject: [Zope] Multiple Propertysheets from the same Python class ? Message-ID: <512D0F74D69DD311B23A0000E22298D224BD38@mail.orion.no> I am trying to make a "template" for creating different types of portals. Especially I am looking to develop my own DemoPortal (Portal) ZClass where I can subclass other Memberand PortalProperties from Python and more easily create a ZClass (like the Portal ZClass) that subclasses my Python classes. Question is: Can the contents of the Portal ZClass in DemoPortal by fully exportet to Python code and subclassed inside Zope (like the ZDG describes) ? I understand Python can put classes inside classes which would be necessary. But how do you define different property sheets within one Python class ? The DemoPortal has a MemberClass with 2 propertysheets (CommonProperties and SystemProperties) which I guess must be kept separate. Is this at all possible to do from Python, or am I barking up the wrong tree here. Regards Steinar ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From matt.bion@eudoramail.com Fri Oct 27 12:37:20 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 28 Oct 2000 00:37:20 +1300 Subject: [Zope] dtml-with using string reference and acquisition Message-ID: <39F968F0.ACC8484D@eudoramail.com> Hi, I am having a problem with using a string reference to an object. The scenario is as follows : I have the tree structure - testfolA display_method testfolB testfolC if display_method looks like the following, everything is fine : it returns testfolB as I would expect. now if I change to now read I get a Key_error that the URL does not exist. So I understand that testfolB.testfolC is not explicitly on the namespace stack, where as testfolB is, so that calling would work since it is a sequential object traversal, but unfortunately I have to create the second level object through a string reference that is passed in through a form. In some instances it may be more than 2 levels deep. Is there a way to traverse a string name of an object in one hit, or do I need to use String.split and traverse through each object name doing a "_[.... or "_.callitem(.... ? Any help would be very much appreciated. regards Matt Bion From steve@spvi.com Fri Oct 27 12:46:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:46:24 -0500 (EST) Subject: [Zope] More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Message-ID: <200010271146.GAA08208@mercury.spvi.com> Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? JS> The error shows: JS> Traceback (innermost last): File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 214, in publish_module File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 179, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, JS> line 202, in zpublisher_exception_hook (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 151, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, JS> line 304, in traverse File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, JS> line 249, in __bobo_traverse__ (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, JS> line 511, in notFoundError NotFound: (see above) JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From morten@esol.no Fri Oct 27 13:17:26 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 14:17:26 +0200 (CEST) Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: On Thu, 26 Oct 2000 complaw@hal-pc.org wrote: > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? In the latest version of ZopeGUM there is a poor example located in the gum module.. (in combination with the messagefilter module). http://www.zope.org/Members/morphex/ZopeGUM Regards, Morten From seb@jamkit.com Fri Oct 27 13:25:02 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 13:25:02 +0100 Subject: [Zope] ZMailIn In-Reply-To: <39F943E1.D9BB80D@nipltd.com> Message-ID: It sounds like you're thinking about a project management thing. Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. You could customise it to your specific needs, plus have the all the benefits of a webmail type application. Might be worth a look. seb. > complaw@hal-pc.org wrote: > > > > Has anyone thought of using SendMail (or any other e-mail > program) to send > > e-mail to Zope and have that e-mail be loaded directly into a > specific folder > > (say, based on the e-mail address or subject line)? > > You could probably build something using ZMailIn: > > http://www.zope.org/Members/NIP/ZMailIn > From maxm@normik.dk Fri Oct 27 13:25:05 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 14:25:05 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AAB@exchange> >From: Chris Withers [mailto:chrisw@nipltd.com] I got this answer to my question about how to render a dtml document from a method. >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) And I have been busy trying to read the source code to understand the advise: As far as I understand the story goes a little like this: HTMLFile returns an object (through inheritance) "String" in file "DT_String.py" that has "__call__()" implemented, which means that the class can be called as a function... Hmm ... I had actually not seen this method used in Python before. def __call__(self,client=None,mapping={},**kw): This method accepts an object in which it will look up values to insert in the dtml file, and a mapping object (dictionary) that also will look up values to insert. So i guess that is what (None,md) does. But I dont understand what "ignored" does in my method, as it is unused, unless it is used by md >def test(self,ignored,md): Furthermore I dont understand what md is. Some kind of mapping object naturally, but where does it come from? Also what is testisDocTemp supposed to do? If I grep the source a "isDocTemp" shows up but is isn't easy to see what this does either. Regards Max M From lupo@atisworld.com Fri Oct 27 13:38:31 2000 From: lupo@atisworld.com (Marcello Lupo) Date: Fri, 27 Oct 2000 14:38:31 +0200 Subject: [Zope] PIL/Zope Problem Message-ID: <39F97747.41E06D5B@atisworld.com> Hi to all, i read all the documentation and made all things to let interact PIL and Zope and i cannot find the way to make it work. If i try to import PIL from pyton interpreter it works perfectly with: ******************************* Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import PIL >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") >>> print data.format JPEG >>> print data.info {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} >>> print data.size (450, 309) >>> ****************************** as you can see it works. But when i try to access PIL.Image.open from an external method in Zope i get: ******************************* Error Type: AttributeError Error Value: Image Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: resize_image(foto)) (Info: foto) File , line 0, in ? File /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod.py, line 255, in __call__ (Object: resize_image) (Info: ((,), {}, None)) File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in resize_image (Object: ElementWithAttributes) AttributeError: (see above) ********************************* My external Method say: **************************** import PIL def resize_image(self, foto): if foto: data=PIL.Image.open(foto) data=data.resize((128, 128)) return data.size else: return "Nothing" *************************************** Can anyone help me?? Thanks Bye, MArcello From Danny@Adair.net Fri Oct 27 13:40:50 2000 From: Danny@Adair.net (Danny William Adair) Date: Fri, 27 Oct 2000 14:40:50 +0200 Subject: [Zope] ownership problems Message-ID: I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. ---------------------------------------------------------------------------- ------------ Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 ---------------------------------------------------------------------------- ------------ This is what I get: Adding other object types is no problem. From maxm@normik.dk Fri Oct 27 14:08:49 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 15:08:49 +0200 Subject: [Zope] How do I change dtml template on the fly in Python product? Message-ID: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> I have asked this question somewhat differently in another thread but here I go again from another angle, as it might have been my approach that was wrong to begin with. I have a Python product that allready does what I want it to, but I want to be able to create different views of the products content. (Model View Controller principle). To do this I have created a folder with different views (Or skins if you would prefer the Gnome/KDE way of saying it.) views view1 list.dtml view.dtml edit.dtml view2 list.dtml view.dtml edit.dtml In my class I have made a value that hold the name of the selected view, I call this: self.selView I want to make it possible to use the different sets of dtml files to create a different look and feel to the data. I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return HTMLFile('views/' + self.selView+ 'list') Is that the best way to do it? Regards Max M From zope@grewen.de Fri Oct 27 14:51:56 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 15:51:56 +0200 Subject: [Zope] PIL/Zope Problem References: <39F97747.41E06D5B@atisworld.com> Message-ID: <001601c0401d$12a36020$0300a8c0@windows> Hi , > > I use this external Methode to generate thumbs from an image an write both > in an mysql database. > May this helps you > > ____________________________________________________________________________ > ____________ > from PIL.Image import BICUBIC, BILINEAR, NEAREST > from cStringIO import StringIO > > import _mysql > import MySQLdb > import PIL > > def write(filename, pid): > db=MySQLdb.connect(db="shop",user="zope",passwd="") > c=db.cursor() > imgfile=open(filename,'rb') > sql_reset_img1="update PRODUCT set PIMAGE=NULL where PID="+ pid > sqlstr="update PRODUCT set PIMAGE='" + > _mysql.escape_string(imgfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img1) > # do the "update" load... > c.execute(sqlstr) > imgfile.close() > im = PIL.Image.open(filename) > fmt = im.format > if fmt == 'PNG': > fmt = 'JPEG' > size = (int('75'),int('75')) > x, y = im.size > if x > size[0]: y = y * size[0] / x; x = size[0] > if y > size[1]: x = x * size[1] / y; y = size[1] > size = x, y > im.draft(None, size) > im = im.resize(size) > im.size = size > im.save('/home/zope/tempimage/temp.jpg', fmt) > tempfile=open('/home/zope/tempimage/temp.jpg','rb') > sql_reset_img2="update PRODUCT set PTHUMB=NULL where PID="+ pid > sqlstri="update PRODUCT set PTHUMB='" + > _mysql.escape_string(tempfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img2) > # do the "update" load... > c.execute(sqlstri) > tempfile.close() > return 'image was written to db successfull' > ____________________________________________________________________________ Jens ----- Original Message ----- From: "Marcello Lupo" To: Cc: Sent: Friday, October 27, 2000 2:38 PM Subject: [Zope] PIL/Zope Problem > Hi to all, > i read all the documentation and made all things to let interact PIL and > Zope and i cannot find the way to make it work. > If i try to import PIL from pyton interpreter it works perfectly with: > > ******************************* > Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 > 19990314/Linux (egcs- on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import PIL > >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") > >>> print data.format > JPEG > >>> print data.info > {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} > >>> print data.size > (450, 309) > >>> > ****************************** > > as you can see it works. > But when i try to access PIL.Image.open from an external method in Zope > i get: > > ******************************* > > > Error Type: AttributeError > Error Value: Image > > > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be > incorrect. > A resource that this resource relies on may be > encountering an error. > > For more detailed information about the error, please refer > to the HTML source for this page. > > If the error persists please contact the site maintainer. > Thank you for your patience. > > > Traceback (innermost last): > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 214, in publish_module > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 179, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, > in zpublisher_exception_hook > (Object: ElementWithAttributes) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 165, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 102, in call_object > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line > 150, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, > line 502, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line > 335, in eval > (Object: resize_image(foto)) > (Info: foto) > File , line 0, in ? > File > /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod .py, > line 255, in __call__ > (Object: resize_image) > (Info: ((,), > {}, None)) > File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in > resize_image > (Object: ElementWithAttributes) > AttributeError: (see above) > > ********************************* > > My external Method say: > **************************** > import PIL > > def resize_image(self, foto): > > if foto: > data=PIL.Image.open(foto) > data=data.resize((128, 128)) > return data.size > else: > return "Nothing" > > *************************************** > > > Can anyone help me?? > Thanks > Bye, > MArcello > > _______________________________________________ > 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 ) > From Luc Tonin" reload ? Message-ID: <05a501c04020$8bac9b50$6200a8c0@longwy> This is a multi-part message in MIME format. ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable is it possible to reload only a without reloading an = entire page ??????????? if yes, how?? plz help ;) Luc TONIN=20 ------------------------------ D=E9veloppeur Web ------------------------------ =20 Multith=E9matiques http://www.multithematiques.com Chaines th=E9matiques sur c=E2ble et satellite Canal Jimmy, Cinecinemas, Cineclassics, Planete, Forum, Season, = Wishline,=20 Centre Jean Monet 03 82 24 00 42 Longlaville +333 82 24 00 42 54400 Longwy =20 ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
is it possible to reload only a <dtml-var = value> without=20 reloading an entire page ???????????
if yes, how??
plz help
;)
 
Luc TONIN =
------------------------------
D=E9veloppeur=20 Web
------------------------------
 
Multith=E9matiques
= http://www.multithematiques.com<= /A>
Chaines=20 th=E9matiques sur c=E2ble et satellite
Canal Jimmy, Cinecinemas, = Cineclassics,=20 Planete, Forum, Season, Wishline,
Centre Jean=20 Monet      03 82 24 00=20 42
Longlaville         &n= bsp;   =20 +333 82 24 00  42
54400 Longwy  =
------=_NextPart_000_05A2_01C04031.4EE612D0-- From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 15:22:57 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 09:22:57 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733915@innt-73.ata.com> Steve asked: > What version of ZFormulator are you running (and in what version of > Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to > work OK. Maybe it doesn't work with older zopes? Oops, I should know better by now, than to ask for help without including the details. Zope 2.1.6 on Solaris 2.6 for Sparc, and Zope 2.2.1 on Linux 2.2 for Intel. The installs seemed to go smoothly on both systems, and I am able to create Form objects. However neither will let me add any form elements. The user authentication dialog pops up, and of coures I'm already authenticated at the initial access to the management interface. I'm both owner and manager of everything, but the authentication rejects my input. ZFormulator has been available since late 1999, so I would expect the older versions to be OK. Thanks, Jerry S. JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? From paul.browning@bristol.ac.uk Fri Oct 27 16:07:10 2000 From: paul.browning@bristol.ac.uk (Paul Browning) Date: Fri, 27 Oct 2000 16:07:10 +0100 (GMT Daylight Time) Subject: [Zope] Securing ftp access? Message-ID: Our local CERT-type person mailed me the following and I replied as follows. Could I have given a better answer? > I notice that zope comes with an FTP server which, by default, runs on port > 8021. There's one running on "stingray", as I write, which seems to accept > any and all combinations of usernames/passwords (valid or otherwise), > although *I* don't seem to be able to do/see anything with any of the ones > I've tried. Hmmm. Hadn't noticed that before. Even if you disable the FTP Access permission for the role Manager (as well as Anonymous) it's still the same. But, as you note, you can't do very much. > Anyway, that's an aside. What my question is is "how can this > service be used such that usernames/passwords are transmitted securely?" Don't know. Does SSL (whether Zope is behind Apache or not) only apply to http stuff? My understanding is that Zope incoporates the Medusa server. There is a reference on the Medusa web page (http://www.nightmare.com/medusa/) to "SSL and Medusa with STunnel". An exercise left for the ambitious reader? Meanwhile I observe that if you set a Domains restriction for a particular user (done via the acl_users Folder) it applies to both ftp and http clients (and presumably WebDAV too) - though at first it doesn't seem so via ftp because you can login, but you can't actually do anything (just like Richard reports with any username/password). So, an imperfect answer to your question might be "disallow ftp access from outside our local domain and then keep your fingers crossed". TIA. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bris.ac.uk URL: http://www.bris.ac.uk/ From chrisw@nipltd.com Fri Oct 27 16:17:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:17:08 +0100 Subject: [Zope] WorldPilot References: Message-ID: <39F99C74.7C3C3399@nipltd.com> Seb Bacon wrote: > > Depends what you want to do with it, and what your zope setup is, but if > you've got enough control over the zope box you're using, you could consider > worldpilot + imap. WorldPilot's code is not the most customisable I've ever seen :-( cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:19:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:19:30 +0100 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> Message-ID: <39F99D02.1D0CF060@nipltd.com> > Luc Tonin wrote: > > is it possible to reload only a without reloading an > entire page ??????????? ...nice question marks ;-) ...not nice posting HTML to a plain text only list. The answer is no anyway. A page is completely assembled on the server side before being sent to the client. So, if a value changes in a dtml-var, then you need to resend the enite page to the browser. This is the way HTTP works and so there's nothing Zope-specific about not being able to do this. cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:26:45 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:26:45 +0100 Subject: [Zope] with a __call__ References: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> Message-ID: <39F99EB5.28B855D9@nipltd.com> Max Møller Rasmussen wrote: > I want to write my "index_html" method so that it returns a rendered version > of "list.dtml" corresponding to the selected view, by the name of the folder > holding the selected view. > > something like this (which doesn't work): > > def index_html(): > return HTMLFile('views/' + self.selView+ 'list') You actually want to write a __call__ method (something) like this: def __call__(self, REQUEST=None, **kw): """""" return apply(HTMLFile('views/' + self.selView+ 'list'),(self,REQUEST),kw) index_html=None ...this last bit is needed so index_html isn't acquired from an object above. cheers, Chris From lyno.sullivan@lynosullivan.org Thu Oct 26 20:05:02 2000 From: lyno.sullivan@lynosullivan.org (Lyno Sullivan, Candidate) Date: Thu, 26 Oct 2000 14:05:02 -0500 Subject: [Zope] Free software in online democracy Message-ID: "Feel like you're not heard in St. Paul? A Minnesota Senate candidate from Stillwater thinks he can change that with online democracy." Stillwater Gazette, August 18,2000, By MARK BROUWER Staff Writer. My vision of a State Senator using the Internet as a way to keep in touch with constituents made the front page. Mention was made of the use of free software, Zope, Python, etc. http://www.lynosullivan.org/news/newssquish/969254176 ---- Minnesota Statute 211B.04 requires that I say: Prepared and paid for by the Lyno Sullivan Volunteer Committee P.O. Box 272, Stillwater, MN 55082 651-430-2815 From bill@noreboots.com Fri Oct 27 16:17:05 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:17:05 -0600 Subject: [Zope] Calling form elements by name References: Message-ID: <39F99C71.99E48DA@noreboots.com> Danny William Adair wrote: > > I should have posted your version, it's more explicit: > > ------------------------------------------- > > thePos="_.str(Position)" > nameAsAString="Prefix+thePos"> >
>
I believe I see why this doesn't work: Try changing:
To:
Otherwise, it will try to find a variable named whatever is in the variable nameAsAString. -- E PLURIBUS LINUX From bill@noreboots.com Fri Oct 27 16:39:54 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:39:54 -0600 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F9A1CA.E1BFDC10@noreboots.com> Toby Dickenson wrote: > > On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > > >We are building some device controller software and to control those we have > >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > >such a modest setup? There is only going to be one or two users connected to > >Zope at once, so we don't need much performance in terms of page views per > >second :) > > Yes, Im using Zope in a similar scenario and it works well. > > I found a benefit in using a smaller number of publisher threads (I > use -T 2 ). Each thread gets its own copy of the ODB, which is an > unnecessary memory hog for the expected load. What OS is this on? On Linux each thread does _NOT_ get a copy of the ODB. It just _looks_ like it. See the archives for details. The benefit from smaller thread counts is that: A) Multiple threads is not a big boost on uniprocessor machines B) Python does some different things with threads, see the Global Interpreter Lock for details. Changin the realted value in Zope will acheive differing levels of performance. -- E PLURIBUS LINUX From twcook@iswt.com Fri Oct 27 17:27:03 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 11:27:03 -0500 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> <39F99D02.1D0CF060@nipltd.com> Message-ID: <39F9ACD7.BDB42A47@iswt.com> Chris Withers wrote: > > > Luc Tonin wrote: > > > > is it possible to reload only a without reloading an > > entire page ??????????? > > ...nice question marks ;-) > > ...not nice posting HTML to a plain text only list. > > The answer is no anyway. A page is completely assembled on the server > side before being sent to the client. So, if a value changes in a > dtml-var, then you need to resend the enite page to the browser. With the exception of possibly using JavaScript. If you're wanting to reload something that a DIFFERENT CLIENT has changed, sorry. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From cg@cdegroot.com Fri Oct 27 18:19:15 2000 From: cg@cdegroot.com (Cees de Groot) Date: 27 Oct 2000 19:19:15 +0200 Subject: [Zope] Forbidding overrides? Message-ID: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Something I remember from my early Zope days that could be solved, but I can't seem to find an answer: say I have a simple site where people can do simple things within their folder. However, I want my banners/logo whatever on their pages, so I've setup index_html to put my own stuff in and include their body_text. How can I prevent smartasses from creating index_html documents in their folder? More generally, is it possible to disallow certain folder methods or properties to be overriden from a point in the tree? -- Cees de Groot http://www.cdegroot.com GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/ From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 18:24:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 12:24:07 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Hi Again, It turns out that the problems I was seeing are related to the Proxy Layers that are in place to keep our IntraNet safe. ZFormulator doesn't work at all when I bypass the Proxy entirely, only works partially when the Proxy is invited to play, and only works fully when the directories that the Proxy is aware of are involved. This is OK, as long as the generated forms function correctly when a user sees them with the Proxy completely in control. We'll see . . . Thanks again! Jerry S. From steve@spvi.com Fri Oct 27 19:52:52 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 13:52:52 -0500 (EST) Subject: [Zope] Re: More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Message-ID: <200010271852.NAA11508@mercury.spvi.com> Found it: line 312: Form.py should be: __roles__ = ('Manager',) From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 19:57:39 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 13:57:39 -0500 Subject: [Zope] RE: More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Steve says: > Found it: > > line 312: Form.py should be: > > __roles__ = ('Manager',) Thanks Steve! Steve's motto is, "We don't need no stinkin' Docs!". BTW, we disagree about this . . . From juliodinis@hotmail.com Fri Oct 27 21:03:31 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Fri, 27 Oct 2000 20:03:31 WEST Subject: [Zope] Gadfly auto-increment datatype option? Message-ID: Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From steve@spvi.com Fri Oct 27 20:07:42 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 14:07:42 -0500 (EST) Subject: [Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator) In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Message-ID: <200010271907.OAA11619@mercury.spvi.com> Hmm... >>>>> "JS" == Spicklemire, Jerry writes: [... skip ...] JS> Steve's motto is, "We don't need no stinkin' Docs!". Interesting point..... JS> BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source code than bad/incorrect docs. I'd naturally rather have source code + good docs, but I'd sooner get something *done* today than wait for good docs tomorrow. ;-) Also.. I'd rather have source code and no docs than something closed with (apparantly) great docs.... since you can always have great docs that don't match the real (implimentation)/world, and *that* can steal weeks from your (otherwise) precious time/life.""" ....back to your regularly scheduled questions (and answers!) -steve From andres@corrada.com Fri Oct 27 20:50:14 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 27 Oct 2000 15:50:14 -0400 Subject: [Zope] php and zope In-Reply-To: <39F94934.929E94F3@adntic.com>; from Laurent Tranchant on Fri, Oct 27, 2000 at 11:21:56AM +0200 References: <39F94934.929E94F3@adntic.com> Message-ID: <20001027155013.B23080@corrada.com> Take a look at my HOWTO: http://www.zope.org/Members/Mamey/PHP I'll be updating it soon with improvements that allow authorization and cookies. On Fri, Oct 27, 2000 at 11:21:56AM +0200, Laurent Tranchant wrote: > hello everybody, > I am new on this list, and I on zope. > I have installed zope with apache on linux Suze 6.4, and I want to use > it with PostGreSQL. My first question is very simple : can I use php > code in DTML documents ??? I don't think so, but if someone can help > me... > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From leedm@state.mi.us Fri Oct 27 20:59:14 2000 From: leedm@state.mi.us (Darin Lee) Date: Fri, 27 Oct 2000 15:59:14 -0400 Subject: [Zope] Webdav Questions Message-ID: Zopistas, I am working under Windows NT 4 and connecting to my Zope Server via the webfolders icon in "My Computer." I enter the IP address and port of my server, select finish, and a list of folders on the Zope server appears. However, I find that I am unable to edit, or even copy, any of the Zope objects. I keep getting an error message "An error occured while trying to copy some or all of the selected files". Here are my questions? 1. How is authentication being handled by my Zope server? Am I automatically authenticated to the server as the user I am logged on as on the local NT workstation? It never prompts me to identify myself via username and password. 2. Can the world at large view my Zope site via WebDAV? It seems that I can connect to the server from multiple machines, even logged on as users who are not in the Zope acl_users folder...Is this the default behavior? I have looked through the How-to's and performed searches on "Zope and WebDAV" in Google but haven't turned up much useful information. Can anyone offer any tips, or point me in the right direction on this? Thanks in advance, Darin Lee From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> Message-ID: <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Hi, > Henny van der Linde wrote: > > > In this construction the call to do_login always raises the exception > > Unauthorized instead of presenting the standard login screen. > > > > How do I trap login errors in an elegant way? > > You can't, with the standard Zope acl_users. > > IIUC, LoginManager allows you to do exactly what you're talking about. > > cheers, > > Chris Thanks. I already thought about using Loginmanager but we still use Zope 2.1.6. I'm very commited, to and happy with Zope but I was amazed that you can't trap Unauthorized exception like that. I'ts seems such a basic functionality. cheers, Henny From rossl@med.usyd.edu.au Sat Oct 28 02:48:38 2000 From: rossl@med.usyd.edu.au (Ross Lazarus) Date: Fri, 27 Oct 2000 21:48:38 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! Message-ID: <39FA3076.4010A389@med.usyd.edu.au> Now here's something readers of this list might be interested in ... -------- Original Message -------- Subject: PythonLabs Team Moves to Digital Creations Date: Fri, 27 Oct 2000 20:42:42 -0500 From: Guido van Rossum To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org Newsgroups: comp.lang.python To all Python users and developers: Less than half a year ago, I moved with my team to BeOpen.com, in the hope of finding a new permanent home for Python development. At BeOpen, we've done several good things for Python, such as moving the Python and Jython development process to SourceForge, and the successful release of Python 2.0. Unfortunately, BeOpen.com's original plans for PythonLabs didn't work out as hoped, and we weren't able to reach mutual agreement on workable alternative plans -- despite trying for months. I am proud to have found a new home for my entire team: starting today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself are working for Digital Creations. We will be spending part of our time on core Python development (including Jython and Mailman) and part of our time on Python infrastructure improvements that also benefit Zope. Python will remain Open Source; Digital Creations has no desire to monetize or brand the Python language or specific Python distributions. All future work we do on Python as Digital Creations employees will be owned by a non-profit organization yet to be created. We think of this new organization as the Python Software Foundation. In the meantime (while the PSF is under construction) I will own such copyrights personally. We're excited to be working for Digital Creations: they are one of the oldest companies active in the Python community, one of the companies most committed to Python, and they have a great product! Plus, we know they have deep financial backing. We trust that Digital Creations will provide a stable home for Python for many years. Digital Creations has also offered to take over hosting of the python.org and starship sites. On behalf of the Python community, we're grateful for this support of the two prime community sites for Python, and we expect to be implementing the transitions shortly. These are exciting times for the PythonLabs team -- and also for Python and its community. Mainstream successes for Python are showing up everywhere, and we're proud to be a part of such a smart and friendly community. A great year lies ahead! --Guido van Rossum (home page: http://www.python.org/~guido/) From zen@shangri-la.dropbear.id.au Sat Oct 28 05:42:32 2000 From: zen@shangri-la.dropbear.id.au (Zen) Date: Sat, 28 Oct 2000 14:42:32 +1000 (AUS Eastern Standard Time) Subject: [Zope] GUF error: Unauthorized... In-Reply-To: <39F0F525.C8A49178@rotnet.com.br> Message-ID: On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: > raised an exception (('Unauthorized', 'crypt', The userAuthenticate, userDomains, userList, adn userRoles DTML Methods > are configurated to proxy the Manager role. -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University From scott@launchpoint.net Sat Oct 28 08:51:43 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 00:51:43 -0700 Subject: [Zope] more __len__ errors Message-ID: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: From paul@digicool.com Sat Oct 28 13:08:19 2000 From: paul@digicool.com (Paul Everitt) Date: Sat, 28 Oct 2000 08:08:19 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> Message-ID: <39FAC1B3.A77B863A@digicool.com> Yes, it's been hard keeping that particular secret. :^) We'll have more to say on this -- like an official press release -- over the coming week. --Paul Ross Lazarus wrote: > > Now here's something readers of this list might be interested in ... > > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org > Newsgroups: comp.lang.python > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > _______________________________________________ > 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 ) From chrism@digicool.com Sat Oct 28 13:34:46 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:34:46 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FAC7E6.2919B411@digicool.com> Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: > > I am having a intermittent problem with ZCatalog(I think). I have a couple > of products that are catalog-aware and have been working. Then, out of > nowhere if I call I get a __len__ > error, when a few minutes before it worked. I looked at the undo list to see > if I have done anything to cause it but could not find anything. I delete > the cataloged objects as well as the objects themselves and re-create them. > Same problem. Here is the TB: > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From chrism@digicool.com Sat Oct 28 13:37:28 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:37:28 -0400 Subject: [Zope] Zope and Python 2.0 References: Message-ID: <39FAC888.81F9FE4E@digicool.com> I think we're reaching a point where we'll soon be able to release a Python 2.0-compatible Zope source distribution, but you're right in that none of the current ones work properly with Python 2.0. Xavier Defrang wrote: > > Hi folks, > > I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. > > Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with > Python 2.0... I've got a system-wide installation of Python 2.0 and the > ./start scripts fails. I made a local installtion of Python 1.5.2 just to > run Zope. I changed the path the Python interpreter in the start shell > script but it looks like Medusa's asyncore.py can't find tjhe FCNTL > module... > > What the hell is going wrong? > > I also had to comment out a nasty #include "mymath.h" in > 'lib/Components/cPickle/cPickle.c' to get it built properly... > > - Xavier > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From Hugo Ramos" <39FAC1B3.A77B863A@digicool.com> Message-ID: <000d01c040e9$e0e89370$0800a8c0@toydolls> ----- Original Message ----- From: "Paul Everitt" To: "Ross Lazarus" Cc: Sent: Saturday, October 28, 2000 1:08 PM Subject: Re: [Zope] OT: PythonLabs Team Moves to Digital Creations! > > Yes, it's been hard keeping that particular secret. :^) > > We'll have more to say on this -- like an official press release -- over > the coming week. So this was the reason for the busy November at DC... ===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! From robin@jessikat.fsnet.co.uk Sat Oct 28 15:51:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Sat, 28 Oct 2000 15:51:09 +0100 Subject: [Zope] two things at once? Message-ID: I want my form button X to cause some data to be uploaded to the user. So I make the action call a method that sets up the right response content type etc and the upload goes well. 1) Can I verify that the action happened? 2) how can I force the page containing the original form to be refreshed so that I can change button etc. -- Robin Becker From simon@joyful.com Sat Oct 28 16:25:38 2000 From: simon@joyful.com (Simon Michael) Date: 28 Oct 2000 08:25:38 -0700 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! In-Reply-To: Paul Everitt's message of "Sat, 28 Oct 2000 08:08:19 -0400" References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <873dhhq971.fsf@joyful.com> Fantastic news. Congrats! From twcook@iswt.com Sat Oct 28 17:11:04 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 28 Oct 2000 11:11:04 -0500 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <39FAFA97.713A46C6@iswt.com> > > Now here's something readers of this list might be interested in ... It just doesn't get any better than this. Well, maybe if Jim Fulton was working FreePM. But that's definitely off topic. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From jhouchin@texoma.net Sat Oct 28 17:53:11 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Sat, 28 Oct 2000 11:53:11 -0500 Subject: [Zope] Website develoment with CVS Zope? Message-ID: <39FB0477.C9D75ABE@texoma.net> I am about to begin development and would like to use the CVS version of Zope. I have already setup my /usr/local/Zope/Zope2 directory and gotten Zope via CVS. When I have it install Zope and begin development are what issues or problems will I have when I do an update? I know because I will be developing and changing files in these directories but not via CVS that CVS will probably complain about the changes. Is this a problem? I will also be wanting to use the CVS of other Zope items like the PTK. Does this impact this in any way? How do those of you who develop using the CVS version do it? Any advice or best practices? Thanks for any help. Jimmie Houchin From andym@ActiveState.com Sat Oct 28 18:10:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Sat, 28 Oct 2000 10:10:20 -0700 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations Message-ID: <005301c04101$f3ab33b0$ae03a8c0@fork> This is great news for Zope... (well I think it is anyway) > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing > list),python-announce-list@python.org, python-dev@python.org > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > -- > http://www.python.org/mailman/listinfo/python-list From scott@launchpoint.net Sat Oct 28 19:21:32 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 11:21:32 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FAC7E6.2919B411@digicool.com> Message-ID: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. > From: Chris McDonough > Date: Sat, 28 Oct 2000 08:34:46 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Scott, we're struggling with some catalog issues right now... I didn't > see the traceback attached, but I assume it's a "len of unsized object" > error. We'd be very interested in obtaining a setup where this problem > was repeatable. > > Scott Burton wrote: >> >> I am having a intermittent problem with ZCatalog(I think). I have a couple >> of products that are catalog-aware and have been working. Then, out of >> nowhere if I call I get a __len__ >> error, when a few minutes before it worked. I looked at the undo list to see >> if I have done anything to cause it but could not find anything. I delete >> the cataloged objects as well as the objects themselves and re-create them. >> Same problem. Here is the TB: >> >> _______________________________________________ >> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > > _______________________________________________ > 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 ) > > From chrism@digicool.com Sat Oct 28 19:34:53 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 14:34:53 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB1C4D.14E1CE12@digicool.com> Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: > > Sorry about that, I forgot to send the trace back along with the message. As > my luck would have it, I go to the section that was giving me an error, now > it has disappeared? It s now working again with no errors. I know it isn't > just me, one of my clients is reporting the same error on their side from my > server. > Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > helps. > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 08:34:46 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Scott, we're struggling with some catalog issues right now... I didn't > > see the traceback attached, but I assume it's a "len of unsized object" > > error. We'd be very interested in obtaining a setup where this problem > > was repeatable. > > > > Scott Burton wrote: > >> > >> I am having a intermittent problem with ZCatalog(I think). I have a couple > >> of products that are catalog-aware and have been working. Then, out of > >> nowhere if I call I get a __len__ > >> error, when a few minutes before it worked. I looked at the undo list to see > >> if I have done anything to cause it but could not find anything. I delete > >> the cataloged objects as well as the objects themselves and re-create them. > >> Same problem. Here is the TB: > >> > >> _______________________________________________ > >> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From scott@launchpoint.net Sat Oct 28 20:02:08 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:02:08 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: One of the reasons I haven't moved to 2.2 yet is because of the extensive use of ZDiscussions on my server. I have successfully moved all other products over into a separate install, waiting to be turned on. All but ZDiscussions. I have been trying to create a ZClass-based replica of it similar methods etc. . I also run another Zope server with 2.2 on it and have had over 1,500 Catalog-aware objects in the catalog with no problems. So I figured it was 2.1.6.... Scott > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From scott@launchpoint.net Sat Oct 28 20:06:40 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:06:40 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2. Is there a way to use the same objects created by ZDiscussions in my ZClass version of ZD as long as the meta_types are the same? That way the change-over could be transparent.(hopefully) > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From chrism@digicool.com Sat Oct 28 23:05:05 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 18:05:05 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB4D91.5FBE7653@digicool.com> It's likely that moving to 2.2 may be a less-than-transparent prospect, mostly due to the security changes. But unfortunately, if this catalog thing is a showstopper for you, you'll probably need to bite the bullet and upgrade at some point. In any case, even without an upgrade, if you are willing and able to send us your file storage, your installed Products directory, and any external methods you've got lying around, with a proven way of recreating a catalog-related error symptom, we'd be probably able to make use of it on our quest to fix boundary conditions on the catalog. Scott Burton wrote: > > I will see what I can do about the before and after snapshots. Then again, I > should probably just make the move to 2.2. Is there a way to use the same > objects created by ZDiscussions in my ZClass version of ZD as long as the > meta_types are the same? That way the change-over could be > transparent.(hopefully) > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 14:34:53 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > > matter, but at least some of them have been fixed (not to mention that > > later versions of Zope log errors in cataloging and uncataloging > > objects). The Zope 2.1.X branch is not really being maintained. You > > should probably try to move to the latest release. > > > > That said, it would be most helpful to have a full copy of the Zope > > installation which exhibits the problem. Even better (but probably less > > possible) is to have a full copy of the Zope installation *right before* > > the problem starts occurring and one *right after* the problem starts > > occurring so we can look at the catalog data structures to see what > > might be happening. Platform is not thought to be an issue. This would > > be helpful even if it was a Zope 2.1.6 install. > > > > Scott Burton wrote: > >> > >> Sorry about that, I forgot to send the trace back along with the message. As > >> my luck would have it, I go to the section that was giving me an error, now > >> it has disappeared? It s now working again with no errors. I know it isn't > >> just me, one of my clients is reporting the same error on their side from my > >> server. > >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > >> helps. > >> > >>> From: Chris McDonough > >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 > >>> To: Scott Burton > >>> Cc: Zope List > >>> Subject: Re: [Zope] more __len__ errors > >>> > >>> Scott, we're struggling with some catalog issues right now... I didn't > >>> see the traceback attached, but I assume it's a "len of unsized object" > >>> error. We'd be very interested in obtaining a setup where this problem > >>> was repeatable. > >>> > >>> Scott Burton wrote: > >>>> > >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple > >>>> of products that are catalog-aware and have been working. Then, out of > >>>> nowhere if I call I get a __len__ > >>>> error, when a few minutes before it worked. I looked at the undo list to > >>>> see > >>>> if I have done anything to cause it but could not find anything. I delete > >>>> the cataloged objects as well as the objects themselves and re-create them. > >>>> Same problem. Here is the TB: > >>>> > >>>> _______________________________________________ > >>>> 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 ) > >>> > >>> -- > >>> Chris McDonough > >>> Digital Creations, Publishers of Zope > >>> http://www.zope.org > >>> > >>> _______________________________________________ > >>> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From jleach@mail.ocis.net Sun Oct 29 00:49:44 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:49:44 -0700 (PDT) Subject: [Zope] Securing ftp. Message-ID: hi, I'd like to set up a ftp site so a specific client gets sent to a specific folder when they log in, and they can not back out of that folder. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From jleach@mail.ocis.net Sun Oct 29 00:50:19 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:50:19 -0700 (PDT) Subject: [Zope] Calander. In-Reply-To: <39F92370.41D9FF13@iswt.com> Message-ID: hi, Thanks. I'll look into it. j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Fri, 27 Oct 2000, Tim Cook wrote: > "Jason C. Leach" wrote: > > > > hi, > > > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > > page. Anyone seen a product like this hanging around. > > > > There is a ZCalendar tag. But the EventFolder is much more full > featured. > > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management | http://FreePM.org > Censorship: The reaction of the ignorant to freedom. > > From jleach@mail.ocis.net Sun Oct 29 00:55:25 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:55:25 -0700 (PDT) Subject: [Zope] load_sipe.py URL. Message-ID: hi, What does the load_site.py expect as a URL? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From Henny van der Linde" Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From kedai@kedai.com.my Sun Oct 29 03:50:48 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 29 Oct 2000 11:50:48 +0800 Subject: [Zope] more __len__ errors Message-ID: <003701c0415b$6d0be7a0$e62fbcca@kedai> -----Original Message----- From: Scott Burton To: Zope List Date: Sunday, October 29, 2000 3:28 AM Subject: Re: [Zope] more __len__ errors >I will see what I can do about the before and after snapshots. Then again, I >should probably just make the move to 2.2. Is there a way to use the same >objects created by ZDiscussions in my ZClass version of ZD as long as the >meta_types are the same? That way the change-over could be >transparent.(hopefully) i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2 by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py maybe you could give it a shot. this was mentioned a while back in the list. hth From verzani@postbox.csi.cuny.edu Sun Oct 29 04:46:56 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 28 Oct 2000 23:46:56 -0500 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames Message-ID: Hi, I'd like to use zope to serve static webpages created with MS Frontpage (and others of course). I was hoping that they could be ftpped into the ZODB and served up straight. However, a number of folders have underscores for leaading folder names and I've discovered this is a Zope no no. Is there some way short of renaming the offending folders to do this. (also I'm not keen on LocalFS solutions either.) Thanks for any help. -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From morten@esol.no Sun Oct 29 06:45:14 2000 From: morten@esol.no (Morten W. Petersen) Date: Sun, 29 Oct 2000 07:45:14 +0100 (CET) Subject: [Zope] problem installing login manager In-Reply-To: <000701c04159$c34be680$eca879c3@mshome.net> Message-ID: On Sun, 29 Oct 2000, Henny van der Linde wrote: [...] > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? You probably need to compile the DynPersist.c file into a shared library; it's located within the ZPatterns product, and this command line (or something similar) will probably compile it for you: """ gcc -O2 -o DynPersist.so -c DynPersist.c -I../../ZODB \ -I../../../Components/ExtensionClass -I/usr/include/python1.5 """ HTH. Regards, Morten From jason_zope@yahoo.com Sun Oct 29 06:51:29 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sat, 28 Oct 2000 23:51:29 -0700 (PDT) Subject: [Zope] problem installing login manager Message-ID: <20001029065129.19470.qmail@web4604.mail.yahoo.com> You need to compile the DynPersist.c file for ZPatters to work. put a "Makefile.pre.in" file in the ZPatterns directory. (there is one in the lib/python dir, but any should work) then do a "make -f Makefile.pre.in boot" and then a "make" in the ZPatterns directory. Then it should be OK. - Note: I also had to add an empty "help" directory in the PlugIns directory to keep it from complaining about registering with the help system. hope this helps Jason --- Henny van der Linde wrote: > Hi, > > I just installed Zope 2.2.2 and tried to install the > latest version of Login > Manager. > > It failed: > > LoginManager Import Traceback > Traceback (innermost last): > File "C:\Program > Files\WebSite22\lib\python\OFS\Application.py", line > 397, > in import_products > product=__import__(pname, global_dict, > global_dict, silly) > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\__init__.py", > line 1, in ? > import LoginManager, LoginMethods, UserSources > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", > line 8, > in ? > from Products.ZPatterns.Specialists import > Specialist > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", > line 1, in ? > import Rack, Specialists, Customizers, > AttributeProviders, > SheetProviders > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", > line 9, in ? > from DataSkins import DataSkin > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", > line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? > > Thanks > > > Henny van der Linde > > > _______________________________________________ > 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 ) > __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jason_zope@yahoo.com Sun Oct 29 07:13:49 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sun, 29 Oct 2000 00:13:49 -0700 (PDT) Subject: [Zope] LoginManager and standard_html_header Message-ID: <20001029071349.29678.qmail@web4601.mail.yahoo.com> LoginManager seems to append the standard_html_header to the logoutForm when authorization fails. This would normally be ok but the problem is that it uses the standard_html_header from the directory where the authorization fails and not from where the logoutForm is. Is there a way to fix this? I'm ending up with either the wrong header or multiple headers. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From sander@atp.nl Sun Oct 29 08:36:05 2000 From: sander@atp.nl (Alexander Verhaar) Date: Sun, 29 Oct 2000 09:36:05 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 Message-ID: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title Alexander Verhaar Website : http://www.atp.nl From faassen@vet.uu.nl Sun Oct 29 13:44:16 2000 From: faassen@vet.uu.nl (Martijn Faassen) Date: Sun, 29 Oct 2000 14:44:16 +0100 Subject: [Zope] Re: More ZFormulator In-Reply-To: <200010271852.NAA11508@mercury.spvi.com> References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> <200010271852.NAA11508@mercury.spvi.com> Message-ID: <20001029144416.A19622@vet.uu.nl> Hi folks, I hadn't seen the traffic on ZFormulator on this list before, and this looks like a good bugfix; I knew there was a security related problem in ZFormulator for a long time, and this may actually be the fix. I hadn't been able to look at it for months, though I keep intending to get back to it soon (but I may actually really be able to get to it soon :).a Steve Spicklemire wrote: > > Found it: > > line 312: Form.py should be: > > > __roles__ = ('Manager',) > From seb@jamkit.com Sun Oct 29 15:21:23 2000 From: seb@jamkit.com (Seb Bacon) Date: Sun, 29 Oct 2000 15:21:23 -0000 Subject: [Zope] product permissions problem In-Reply-To: <020001c03f7e$caa1bb80$fe5da182@michieltje> Message-ID: hello all once again, I've got a DTML method in a product, which calls objectValues('Folder') to list some folders that are contained within the product itself. When I try it out inside the product, it works. When I use it as part of the constructor form, called from an other location, I get an unauthorized error. objectValues('Image') doesn't throw the error, so I think this must be to do with the 'Access contents information' permission mapping on the folder inside the product. (?!) I've tried giving the method a Manager proxy role to no avail. Any hints received with gratitude. seb. From gregor@hoffleit.de Sat Oct 28 21:13:50 2000 From: gregor@hoffleit.de (Gregor Hoffleit) Date: Sat, 28 Oct 2000 22:13:50 +0200 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com>; from eileen@orbell.com on Mon, Oct 23, 2000 at 09:29:09PM -0400 References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <20001028221350.A27222@53b.hoffleit.de> On Mon, Oct 23, 2000 at 09:29:09PM -0400, Eileen Orbell wrote: > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost :-) Just have a look at /usr/share/doc/zope/README.Debian. A topic therein is "How to set up Zope for an existing web server (e.g. Apache)". Try if it works for you that way, and come back to me if you fail. Then it's my fault, since I wrote this file ;-) Gregor From diego@magicwebdesign.com.br Sun Oct 29 19:20:09 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Sun, 29 Oct 2000 17:20:09 -0200 Subject: [Zope] dtml-while Message-ID: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml? Thanks in advance... -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From chrism@digicool.com Sun Oct 29 19:44:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 29 Oct 2000 14:44:17 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <000201c041e1$25303fe0$4fc48ad0@kurtz> This is way too cool. :-) Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs folks were unfortunately not in attendance. Since it was a Friday, and since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido Jam": we all got a chance to poke at him with questions and such and vice versa. (Probably the thing I got a kick out of most in that session was Jim just sitting there grinning like a maniac - he's pretty pumped about having the PythonLabs team here now.) We talked about class/type distinctions and the possibility of removing them within Python, why acquisition is useful and some of its shortcomings, stackless Python, and other less esoteric things. Hopefully the newer members of DC (like me) will soon get a chance to meet the rest of the PythonLabs team face-to-face. - C ----- Original Message ----- From: "Andy McKay" To: Cc: Sent: Saturday, October 28, 2000 12:10 PM Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is great news for Zope... > > (well I think it is anyway) > > > -------- Original Message -------- > > Subject: PythonLabs Team Moves to Digital Creations > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > From: Guido van Rossum > > To: python-list@python.org (Python mailing > > list),python-announce-list@python.org, python-dev@python.org > > > > To all Python users and developers: > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > hope of finding a new permanent home for Python development. At > > BeOpen, we've done several good things for Python, such as moving the > > Python and Jython development process to SourceForge, and the > > successful release of Python 2.0. > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > out as hoped, and we weren't able to reach mutual agreement on > > workable alternative plans -- despite trying for months. > > > > I am proud to have found a new home for my entire team: starting > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > are working for Digital Creations. We will be spending part of our > > time on core Python development (including Jython and Mailman) and > > part of our time on Python infrastructure improvements that also > > benefit Zope. > > > > Python will remain Open Source; Digital Creations has no desire to > > monetize or brand the Python language or specific Python > > distributions. All future work we do on Python as Digital Creations > > employees will be owned by a non-profit organization yet to be > > created. We think of this new organization as the Python Software > > Foundation. In the meantime (while the PSF is under construction) I > > will own such copyrights personally. > > > > We're excited to be working for Digital Creations: they are one of the > > oldest companies active in the Python community, one of the companies > > most committed to Python, and they have a great product! Plus, we > > know they have deep financial backing. We trust that Digital > > Creations will provide a stable home for Python for many years. > > > > Digital Creations has also offered to take over hosting of the > > python.org and starship sites. On behalf of the Python community, > > we're grateful for this support of the two prime community sites for > > Python, and we expect to be implementing the transitions shortly. > > > > These are exciting times for the PythonLabs team -- and also for > > Python and its community. Mainstream successes for Python are showing > > up everywhere, and we're proud to be a part of such a smart and > > friendly community. A great year lies ahead! > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > -- > > http://www.python.org/mailman/listinfo/python-list > > > > _______________________________________________ > 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 ) > > From hohage@muenster.de Sun Oct 29 21:15:02 2000 From: hohage@muenster.de (hohage) Date: Sun, 29 Oct 2000 21:15:02 +0000 Subject: [Zope] dtml-while Message-ID: <39FBC567@muepubb> Hallo Diego, this works(tested): Bye Sven >===== Original Message From Diego Rodrigo Neufert ===== >Why there isnt a dtml-while function in Zope? >How to implement it with dtml? >how to do a simple while x != y in dtml? > >Thanks in advance... > >-- >--------------------------- >Diego Rodrigo Neufert >-webmaster >--------------------------- >(Magic Web Design) >(email) (diego@magicwebdesign.com.br) >(curitiba) (pr) > >_______________________________________________ >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 ) From michel@digicool.com Sun Oct 29 20:37:46 2000 From: michel@digicool.com (Michel Pelletier) Date: Sun, 29 Oct 2000 12:37:46 -0800 Subject: [Zope] dtml-while References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <39FC8A9A.D2039244@digicool.com> Diego Rodrigo Neufert wrote: > > Why there isnt a dtml-while function in Zope? DTML is not meant to be used for general purpose, logic programming. It's a presentation and layout language. Additionally, a while construct would allow you to create indeterminate loops: ... and you're not allowed to loop indefinately in DTML. It's against the rules. does all the looping you need over a python sequence, since DTML doesn't let you build infinite sequences, all loops terminate. The solution to your problem is to you Python Methods. http://dev.zope.org/Members/4am/PythonMethod Python does have a while construct and is indented for programming logic. -Michel From steve@spvi.com Sun Oct 29 20:51:02 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 15:51:02 -0500 (EST) Subject: [Zope] dtml-while In-Reply-To: <0010291722010S.29903@belzebu.magicwebdesign.com.br> (message from Diego Rodrigo Neufert on Sun, 29 Oct 2000 17:20:09 -0200) References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <200010292051.PAA23035@mercury.spvi.com> Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like it's looping over a list of objects... one easy trick might be: Do something conditional.... Assuming you can specify an upper limit on the number of iterations required. -steve >>>>> "Diego" == Diego Rodrigo Neufert writes: Diego> Why there isnt a dtml-while function in Zope? How to Diego> implement it with dtml? how to do a simple while x != y in Diego> dtml? Diego> Thanks in advance... Diego> -- --------------------------- Diego Rodrigo Neufert Diego> -webmaster --------------------------- (Magic Web Design) Diego> (email) (diego@magicwebdesign.com.br) (curitiba) (pr) Diego> _______________________________________________ Zope Diego> maillist - Zope@zope.org Diego> http://lists.zope.org/mailman/listinfo/zope ** No cross Diego> posts or HTML encoding! ** (Related lists - Diego> http://lists.zope.org/mailman/listinfo/zope-announce Diego> http://lists.zope.org/mailman/listinfo/zope-dev ) From peter@grenna.net Sun Oct 29 21:56:01 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 29 Oct 2000 21:56:01 -0000 Subject: [Zope] None-debug mode on win2k Message-ID: <000901c041f3$0798d9d0$2a69fea9@peppe> Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. From jleach@mail.ocis.net Sun Oct 29 22:13:35 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 14:13:35 -0800 (PST) Subject: [Zope] Get file contents. Message-ID: hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From curtis@cardgate.net Sun Oct 29 22:50:16 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 30 Oct 2000 09:50:16 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: <0010261247490E.00650@localhost.localdomain> Message-ID: <00103009501610.00650@localhost.localdomain> On Thu, 26 Oct 2000, Toby Dickenson wrote: > >> Hi all > >> > >> Is anyone using or know the current state of Zope with python 2.0 ? > > > >I've been somewhat curious about this myself. > > The current release of Zope works well on python 2.0. If you are a > cautious type, you might not want to use it on a production server > yet. (I would certainly recommend you dont if you allow untrusted > users to write dtml) > Hmm.. well, that's good to know... which products have you tried it with so far? > >Will there need to be large changes now that strings are proper objects? > > (the string functions are now methods of strings). If so, will this mean > > the phasing out of _.string ? > > _.string is unlikely to go away. > > String methods are currently inaccessible TTW. The security > implications of opening this up have not yet been assessed. > > >And from the looks of things there are a large number of small changes > > that could be made to improve performance (such as the new 'augmented > > assignment' operators [ += *= /= and so on] ).... > > It seems likely that they will not be available in dtml (for the same > reasons as regular assignment). The case for PythonMethods has not yet > been investigated > I didn't mean to dtml, I meant to all the Python code underneath. I'm sure you've noticed there is a lot more to Zope than just DTML and Python methods. > > Toby Dickenson > tdickenson@geminidataloggers.com > Have a better one, Curtis Maloney. From steve@spvi.com Sun Oct 29 22:56:41 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 17:56:41 -0500 (EST) Subject: [Zope] Get file contents. In-Reply-To: (jleach@mail.ocis.net) References: Message-ID: <200010292256.RAA23696@mercury.spvi.com> Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this.... -steve ---------------------------------------------------------------------- # # ReadFile is an external method that reads data from a file uploaded from # the users computer and produces a TinyTable based on that data. # import string def ReadFile(self, infile, # input file..... outTableName='defaultTable', # name of output table outTableTitle='', # title of output table outTableColumns='', # columns for output table REQUEST=None, # Pass in REQUEST.... RESPONSE=None): # and response... if not hasattr(self, outTableName): self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) newTT = getattr(self, outTableName) newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) data = infile.read() data = string.replace(data,'\r','\n') data = string.replace(data,'\n\n','\n') lines = string.split(data,'\n') newLines = [] for i in range(len(lines)): line = string.strip(lines[i]) if line: sl = string.split(line,',') sl = map(lambda x:'"%s"' % x, sl) newLines.append(string.join(sl,',')) data = string.join(newLines, '\n') return newTT.manage_editData( data, REQUEST ) def main(): class foo: def manage_addTinyTable(self, *args, **kwargs): pass def manage_edit(self, *args, **kwargs): pass def manage_editData(self, data, REQUEST): print "In manage_editDdata" print data import StringIO f = StringIO.StringIO() f.write('a,b,c,d\n') f.write('d,e,f,g\n') f.seek(0) print f.read() f.seek(0) rf = foo() rf.defaultTable = foo() ReadFile(rf, f) if __name__=='__main__': main() >>>>> "Jason" == Jason C Leach writes: Jason> hi, Jason> I pass a zope file object (just plane text) to an external Jason> method. The file consists of a list of lines of text. I'd Jason> like to extract those lines from the file and put 'em in a Jason> list. Can anyone help with the extraction method? Jason> Thanks, j. Jason> ...................... ..... Jason C. Leach ... University Jason> College of the Cariboo. .. Jason> _______________________________________________ Zope Jason> maillist - Zope@zope.org Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross Jason> posts or HTML encoding! ** (Related lists - Jason> http://lists.zope.org/mailman/listinfo/zope-announce Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) From phil.harris@zope.co.uk Sat Oct 28 23:10:47 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:10:47 +0100 Subject: [Zope] None-debug mode on win2k References: <000901c041f3$0798d9d0$2a69fea9@peppe> Message-ID: <004901c0412c$099c2b50$0202a8c0@typhoon> Peter, When running Zope as a service you can add the parameter by using regedit, goto: hkey_local_machine\system\currentcontrolset\services\zope\parameters. The problem is though that the console window is hidden by default, but you have two options. 1. the easy way. run Zope by double-clicking on the start.bat file in your Zope folder. 2. the hard way. let the service interact with the desktop. You can do this by going to the services manager and double clicking on the the zope service, then on the log-on tab and changing the option 'allow service to interact with desktop'. I'm not sure how the second option works when no-one is logged though. hth Phil ----- Original Message ----- From: "Peter Bengtsson" To: Sent: Sunday, October 29, 2000 10:56 PM Subject: [Zope] None-debug mode on win2k | Zopistas, | | I have searched the mailinglist and look under the carpets and READMEs. | Maybe I'm just blind but how do I run Zope in none-debug mode ?? | In other words; how do I add the -D param? | | I run Zope2.2.2 on a win2k pro as a service. | | | | _______________________________________________ | 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 ) From Henny van der Linde" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I just installed Zope 2.2.2 and tried to install the latest version of = Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line = 397, in import_products product=3D__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, = in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line = 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program = Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in = ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

I just installed Zope 2.2.2 and tried to install the = latest=20 version of Login
Manager.

It failed:

LoginManager = Import=20 Traceback
Traceback (innermost last):
  File "C:\Program=20 Files\WebSite22\lib\python\OFS\Application.py", line 397,
in=20 import_products
    product=3D__import__(pname, = global_dict,=20 global_dict, silly)
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.= py",=20 line 1, in ?
    import LoginManager, LoginMethods,=20 UserSources
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginMana= ger.py",=20 line 8,
in ?
    from = Products.ZPatterns.Specialists import=20 Specialist
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py"= , line=20 1, in ?
    import Rack, Specialists, Customizers,=20 AttributeProviders,
SheetProviders
  File "C:\Program=20 Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in=20 ?
    from DataSkins import DataSkin
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py= ", line=20 1, in ?
    from DynPersist import = DynPersist
ImportError:=20 No module named DynPersist

What 's=20 happening?

Thanks


Henny van der = Linde
------=_NextPart_000_0013_01C04208.1E3C1700-- From phil.harris@zope.co.uk Sat Oct 28 23:58:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:58:03 +0100 Subject: [Zope] problem installing login manager References: <001601c041ff$bdc5d9e0$0aaa79c3@mshome.net> Message-ID: <006e01c04132$882c2aa0$0202a8c0@typhoon> Henny, You also need the ZPatterns product, which you then have to compile to get the dynpersist.pyd file. hth Phil ----- Original Message ----- From: Henny van der Linde To: Zope mailing list Sent: Monday, October 30, 2000 12:27 AM Subject: [Zope] problem installing login manager Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From vtwiddy@senet.com.au Mon Oct 30 00:13:16 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Mon, 30 Oct 2000 10:43:16 +1030 (CST) Subject: [Zope] PoPy Message-ID: Hi all Im trying to compile PoPy on a bsd 3.1 box it compiles fine but when i try to import it i get an error ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Has anybody had this before, know what libs i need to link against to get this to work or even if this is a kernel thing? Thanks Mark From Vincent - D. Ertner" Hi Zope, I wondered, whether it's possible and sensible to have php-Pages in Zope sites ... any thoughts and comments on this matter? Cheers, Vince ''' ô¿ô - From jleach@mail.ocis.net Mon Oct 30 01:56:31 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 17:56:31 -0800 (PST) Subject: [Zope] Get file contents. In-Reply-To: <200010292256.RAA23696@mercury.spvi.com> Message-ID: hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you method I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: manage_addTinyTable It would probably bail on the read also if it got that far. Perhaps I am caling it wrong, or not pasing the correct object. I jest pass in a Zope File opject, which hapens to be a few lines of text. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > Hi Jason, > > Here's an external method that I've used to populate a TinyTable > from a comma separated text file. You might at least get some ideas > about how to extract stuff from the file using this.... > > -steve > > ---------------------------------------------------------------------- > > # > # ReadFile is an external method that reads data from a file uploaded from > # the users computer and produces a TinyTable based on that data. > # > > import string > > def ReadFile(self, > infile, # input file..... > outTableName='defaultTable', # name of output table > outTableTitle='', # title of output table > outTableColumns='', # columns for output table > REQUEST=None, # Pass in REQUEST.... > RESPONSE=None): # and response... > > if not hasattr(self, outTableName): > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > newTT = getattr(self, outTableName) > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > data = infile.read() > data = string.replace(data,'\r','\n') > data = string.replace(data,'\n\n','\n') > lines = string.split(data,'\n') > newLines = [] > for i in range(len(lines)): > line = string.strip(lines[i]) > if line: > sl = string.split(line,',') > sl = map(lambda x:'"%s"' % x, sl) > newLines.append(string.join(sl,',')) > > data = string.join(newLines, '\n') > > return newTT.manage_editData( data, REQUEST ) > > > def main(): > class foo: > > def manage_addTinyTable(self, *args, **kwargs): > pass > > def manage_edit(self, *args, **kwargs): > pass > > def manage_editData(self, data, REQUEST): > print "In manage_editDdata" > print data > > import StringIO > > f = StringIO.StringIO() > f.write('a,b,c,d\n') > f.write('d,e,f,g\n') > f.seek(0) > > print f.read() > f.seek(0) > > rf = foo() > rf.defaultTable = foo() > > ReadFile(rf, f) > > if __name__=='__main__': > > main() > > >>>>> "Jason" == Jason C Leach writes: > > Jason> hi, > > Jason> I pass a zope file object (just plane text) to an external > Jason> method. The file consists of a list of lines of text. I'd > Jason> like to extract those lines from the file and put 'em in a > Jason> list. Can anyone help with the extraction method? > > Jason> Thanks, j. > > Jason> ...................... ..... Jason C. Leach ... University > Jason> College of the Cariboo. .. > > > Jason> _______________________________________________ Zope > Jason> maillist - Zope@zope.org > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jason> posts or HTML encoding! ** (Related lists - > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From Henny van der Linde" <006e01c04132$882c2aa0$0202a8c0@typhoon> Message-ID: <000901c04216$0eb60ee0$0100a8c0@mshome.net> Hi, ----- Original Message ----- From: "Phil Harris" To: "Henny van der Linde" ; "Zope mailing list" Sent: Saturday, October 28, 2000 11:58 PM Subject: Re: [Zope] problem installing login manager > Henny, > > You also need the ZPatterns product, which you then have to compile to get > the dynpersist.pyd file. > > hth > I know. It's included in the latest install of Login Manager (Zpatterns 0-4.3b1). The funny thing is that Zpatterns shows itself in the control panel/product management as installed product and Login Manager as an broken product. However when Zope boots up it also mentiones that it can't import the dynpersist.pyd file (belonging to Zpatterns). Interesting question is why Zpatterns isn't listed as a broken product as well. I tried to install the separate Zpatterns install but with the same results. Still a problem with dynpersist.pyd. Anyone? cheers, Henny van der Linde. From jleach@mail.ocis.net Mon Oct 30 04:35:24 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 20:35:24 -0800 (PST) Subject: [Zope] Displaying Folder Contents. Message-ID: hi, If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From askart@bellatlantic.net Mon Oct 30 04:40:27 2000 From: askart@bellatlantic.net (askart@bellatlantic.net) Date: Sun, 29 Oct 2000 23:40:27 -0500 Subject: [Zope] ssl w/ modrewrite Message-ID: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> I found the answear to this this a year ago, but can no longer find where I found it. I have a Zope site set up with modrewrite and apache so that Zope shows up as the root of the site: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*) /home/httpd/cgi-bin/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] (I know the format is wrong, this email client added carriage returns, but it works as typed in the server withour CRs.) I added modssl, but when I go in on an https I get the original apache root page, and can only access zope at https://address/cgi-bin/Zope . Furthermore, since the SSL connection is not going through modrewrite I cannot log in over SSL, I can just view the pages that anonymous has access to (none). How do I modify the above to make it work with ssl connections (it does not need to work with non-ssl connection since I will disable non-ssl as soon as I get ssl working. Sorry this is a little incoherant, I am suffering from jet-lag. -Harry From phd@mail2.phd.pp.ru Mon Oct 30 09:40:41 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Mon, 30 Oct 2000 09:40:41 +0000 (GMT) Subject: [Zope] load_site.py URL. In-Reply-To: Message-ID: On Sat, 28 Oct 2000, Jason C. Leach wrote: > What does the load_site.py expect as a URL? URL to a Zope folder, where you wnat to upload your files/directories. the folder should exists before you start load_site.py. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From grund@zblmath.FIZ-Karlsruhe.DE Mon Oct 30 09:41:21 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Mon, 30 Oct 2000 10:41:21 +0100 Subject: [Zope] Verify Watermark. Message-ID: <00103010455300.30611@donald> In Zope2.1.6 there was a function called 'verify watermark' in module Accesscontrol.User. This function seems to have gone in the 2.2.2 release. My question: Is there any direct replacement for this method ? Or at least a some kind of equivalent code ? thanks in advance, Hannes From maxmcorp@worldonline.dk Mon Oct 30 10:09:22 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 11:09:22 +0100 Subject: [Zope] Displaying Folder Contents. In-Reply-To: Message-ID: If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Maybe this will work??? Untested. Regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrisw@nipltd.com Mon Oct 30 10:50:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:50:23 +0000 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Message-ID: <39FD526F.DAF94274@nipltd.com> Henny van der Linde wrote: > Thanks. I already thought about using Loginmanager but we still use Zope > 2.1.6. Why? ;-) > I'm very commited, to and happy with Zope but I was amazed that you can't > trap Unauthorized exception like that. I'ts seems such a basic > functionality. Yeah, I totally agree :-S cheers, Chris From chrisw@nipltd.com Mon Oct 30 10:56:37 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:56:37 +0000 Subject: [Zope] Forbidding overrides? References: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Message-ID: <39FD53E5.F3DF872A@nipltd.com> Cees de Groot wrote: > > Something I remember from my early Zope days that could be solved, but I > can't seem to find an answer: say I have a simple site where people can > do simple things within their folder. However, I want my banners/logo > whatever on their pages, so I've setup index_html to put my own stuff > in and include their body_text. I'd to this using a SiteAccess Access Rule that always wraps their stuff in whatever you want. You'll probably need to use the traversal interface's RestrictedTraverse method too... > How can I prevent smartasses from creating index_html documents in their > folder? More generally, is it possible to disallow certain folder methods > or properties to be overriden from a point in the tree? Look at the __replaceable__ properties stuff on dev.zope.org. I guess you could roll your own folder with a list of attributes that could only be defined as singletons (__replaceable__ = UNIQUE). Just stabs in the dark... Chris PS: Banners as advertising don't work ;-) From chrisw@nipltd.com Mon Oct 30 11:40:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:40:04 +0000 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> Message-ID: <39FD5E14.8F72BB9E@nipltd.com> Jimmie Houchin wrote: > I know because I will be developing and changing files in these > directories but not via CVS that CVS will probably complain about the > changes. Is this a problem? Depends, if you're changing Zope source files, then you may get some merge conflicts, but there shouldn't be any real problems. If you edit/add file which aren't stored in cvs.zope.org, CVS will just ignore them, it's good like that ;-) > I will also be wanting to use the CVS of other Zope items like the PTK. > Does this impact this in any way? Just checkout the PTK/whatever to the appropriate bit of the Zope tree. IIRC, the PTK CVS structure isnt' conducive to doing this, though, which could be a pain :-( HTH, Chris From chrisw@nipltd.com Mon Oct 30 11:41:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:41:04 +0000 Subject: [Zope] Securing ftp. References: Message-ID: <39FD5E50.B10523BF@nipltd.com> "Jason C. Leach" wrote: > > I'd like to set up a ftp site so a specific client gets sent to a specific > folder when they log in, and they can not back out of that folder. That's not actually a question ;-) You might be able to do something usful with a SiteAccess Access Rule... cheers, Chris From chrisw@nipltd.com Mon Oct 30 11:48:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:48:06 +0000 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames References: Message-ID: <39FD5FF6.A8B62A7E@nipltd.com> John Verzani wrote: > Is there some way short of renaming the > offending folders to do this. (also I'm not keen on LocalFS solutions > either.) You will probably need to rename them. LocalFS sounds like your best bet, what have you got against it? ;-) That said, even with LocalFS, you'll probably find yourself needing to rename folders... cheers, Chris From steinar@orion.no Mon Oct 30 12:41:07 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Mon, 30 Oct 2000 13:41:07 +0100 Subject: [Zope] Multiple Inheritance and the Portal Base classes. Message-ID: <512D0F74D69DD311B23A0000E22298D224BD48@mail.orion.no> Can anybody see why I get the following error ? I try to subclass DemoPortalBase and PortalObjectBase into a class CMyPortalBase which I again subclass with a Zope ZClass. It all works fine until I add another class in the inheritance list of CMyPortalBase.When I try to call its __init__ method with the "self" argument if does not recognise this as the instance variable ? (I tries to print self, and it says that this is an instance of my ZClass). In other Python programs, calling Parent.__init__(self) works fine, but when running through Zope in this context Error Type: TypeError Error Value: unbound method must be called with class instance 1st argument class CMyPortalBase(TemplatePage.CTemplatePage,Portal.DemoPortalBase, PortalObject.PortalObjectBase): def __init__(self): TemplatePage.CTemplatePage.__init__(self) The CTemplatePage class is as follows : class CTemplatePage: standard_html_header = Globals.HTMLFile("StandardHeader", globals()) standard_html_footer = Globals.HTMLFile("StandardFooter", globals()) def __init__(self): print "In CTemplatePage" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From jonathan@home-all.org.uk Mon Oct 30 12:48:02 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 30 Oct 2000 12:48:02 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check Message-ID: <39FD6E02.7466D204@home-all.org.uk> Hi all, just a bit further down my vhosting journey ... got apache ProxyPassing and siteaccess installed but something is missing. I type in my vhosted domain www.red.com which (correctly) goes straight to /red and shows the index_html contents *except* images which show broken. The source shows that they (correctly) are trying to load from www.red.com/imagename which is right. This image is in /red along with the index_html. Also the one link to a dtml document in the /red directory is also broken. If I suppress siteaccess then everthing works from the initial www.red.com but only because the links and images are loading from the 'master site url'. you can click but then the url obviously gives the game away. so proxypass works. What I dont get is why I can see the body text in index_html, which lays out the page but not the image embedded in the page? my various settings ... NameVirtualHost 111.222.333.444 ServerName www.red.com ProxyPass / http://www.blue.com:8080/red ProxyPassReverse / http://www.blue.com:8080/red then in /red we have a siteroot with the following title: base: http://www.red.com path: / www.blue.com and www.red.com both point to 111.222.333.444 and the box also has the www.blue.com as its host name which zope recognises on start iup. a bit stuck. Jonathan From luca@lineanet.net Mon Oct 30 14:13:41 2000 From: luca@lineanet.net (Luca Mearelli) Date: Mon, 30 Oct 2000 15:13:41 +0100 Subject: [Zope] Login Manager problem Message-ID: <39FD8215.CC46A670@lineanet.net> This is a multi-part message in MIME format. --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I posted this some days ago on zope-ptk and zope-dev mailing list, but got no response, so I thought I've sent it to the wrong mailing list, here is waht happens, and a possible solution :-) I had a strange problem when trying out LoginManager v0.8.8b1 with the latest cvs Checkout (as of Oct.23), here is the traceback trying to add a LoginManager (The form didn't show up): Error Type: NameError Error Value: path ... Traceback (innermost last): File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/tmp/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/tmp/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: addLoginManager) (Info: /usr/local/tmp/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: UserSourcesMetaTypes(this())) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: UserSourcesMetaTypes(this())) (Info: UserSourcesMetaTypes) File /usr/local/tmp/Zope2/lib/python/ZPublisher/HTTPRequest.py, line 772, in __getitem__ NameError: (see above) after looking at the LM code I found that the manage_addLoginManagerForm is defined in LoginManager.py: ... manage_addLoginManagerForm = HTMLFile('addLoginManager', globals(), UserSourcesMetaTypes = PlugInFinder(LoginManager.UserSourcesGroup), LoginMethodsMetaTypes = PlugInFinder(LoginManager.LoginMethodsGroup)) ... At first I thought it could have been a LM problem, removing UserSourcesMetaTypes(this()) let the form appear, but when I focused on the UserSourcesMetaTypes work, and how the user sources PlugIns get installed I found nothing (It was actually my first test with LM & ZPatterns), moreover there was no mention of such problems by anyone else on the Mailing Lists. Then I tried to it on a Zope 2.2.0 (released) and it worked fine adding the LM. So it should have been something with my Zope CVS checkout, when looked at the HTTPRequest.py file at the line shown in the Traceback, i found a possible error with "__getitem__" When it tries to return the value of UserSourcesMetaTypes, it enters the "if key[:1]=='U':" at line 760 since UserSourcesMetaTypes starts with 'U', but match is empty, therefore path is not initialized and at the line 772 we have the NameError. Putting the lines 772-774 inside the "if match is not None:" fixed the problem (I included a diff for this), is it the right way to go, is it enough? I think so but I have a small knowledge of Zope internals so I'm not completely sure i.e. if we want to match only the env.variables starting with "URL" why not even change the "if key[:1]=='U':" into "if key[:3]=='URL':"? Thanks Luca Mearelli --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii; name="HTTPRequest.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="HTTPRequest.patch" *** HTTPRequest.py Mon Oct 23 15:32:09 2000 --- HTTPRequest.py.OLD Mon Oct 23 14:55:51 2000 *************** *** 769,777 **** path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --- 769,777 ---- path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --------------202347DD27BC2204E10B5913-- From stefan@epy.co.at Mon Oct 30 13:18:56 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 30 Oct 2000 14:18:56 +0100 (CET) Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 In-Reply-To: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> Message-ID: On Sun, 29 Oct 2000, Alexander Verhaar wrote: > I'm trying to change the standard realm with SiteAccess and a > External Method. I still get the standard 'Zope' realm, while > SiteAccess is pointing to the External Method. What am i doing > wrong? > > Here below the external method i used: > > import ZPublisher.HTTPResponse > > def NewRealm(self): > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet # or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan From zarir@cygnetsoft.com Mon Oct 30 13:00:21 2000 From: zarir@cygnetsoft.com (zarir@cygnetsoft.com) Date: Mon, 30 Oct 2000 18:30:21 +0530 (IST) Subject: [Zope] Off-shore development Message-ID: <200010301300.SAA12610@giaspn01.vsnl.net.in> Hi Digital Creations, We are a software development company based in Pune - India whose experienced skill sets might be able to assist your on-going development efforts. Needless to say our high productivity and cost effectiveness are value additions that could prove invaluable to your operations. Please do contact us if you feel we might be able to assist in any way. Regards and have a wonderful day Zarir M. Karbhari (Managing Director - CygNET Systems Pvt. Ltd.) http://www.cygnetsoft.com Voice :- +91-20-6134980,+91-20-6125365 From roland.schaetzle@adviion.de Mon Oct 30 14:07:41 2000 From: roland.schaetzle@adviion.de (=?iso-8859-1?Q?Roland_Sch=E4tzle?=) Date: Mon, 30 Oct 2000 15:07:41 +0100 Subject: [Zope] Re: ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT Message-ID: > I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually with the > start.bat my ZSQL methods work fine. > When I start Zope as a service, every ZSQL method returns a SQL error that states that the table I > am looking for does not exist. > Anybody out there know what's going on? > Thanks I had the same problems. They disappeard when I changed the settings of the Zope-service and allowed it to "interact with the desktop" (a check-box in the NT service settings). Roland ------------------------------------------------------------------------ Dr. Roland Schätzle, Institut AIFB, Universität Karlsruhe (TH) Englerstr. 11, Raum -121, Tel. 0721/608-7467 From sander@atp.nl Mon Oct 30 14:22:41 2000 From: sander@atp.nl (Alexander Verhaar) Date: Mon, 30 Oct 2000 15:22:41 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 References: Message-ID: <01c901c0427c$dcf49bd0$0c01a8c0@sanderw2k> --- In zope@egroups.com, "Stefan H. Holek" wrote: > On Sun, 29 Oct 2000, Alexander Verhaar wrote: > > > I'm trying to change the standard realm with SiteAccess and a > > External Method. I still get the standard 'Zope' realm, while > > SiteAccess is pointing to the External Method. What am i doing > > wrong? > > > > Here below the external method i used: > > > > import ZPublisher.HTTPResponse > > > > def NewRealm(self): > > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title > > I was unable to make it work that way either. However this *did* work > for me: > > edit your start script to include > > Z_REALM=Intranet # or whatever it is you need > export Z_REALM > > somewhere before the exec > > HTH, > Stefan > > Hmmm, this is the way i'm using it now. But if you hosts multiple sites, they all get the same realm. Also after debugging our Zope site i discovered that ZPublisher.Publish sets the realm before the ZPublisher.HTTPResponse. From brian@digicool.com Mon Oct 30 14:33:20 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 30 Oct 2000 09:33:20 -0500 Subject: [Zope] Verify Watermark. In-Reply-To: <00103010455300.30611@donald> Message-ID: > In Zope2.1.6 there was a function called 'verify watermark' in module > Accesscontrol.User. > > This function seems to have gone in the 2.2.2 release. > My question: Is there any direct replacement for this method ? > Or at least a some kind of equivalent code ? verify_watermark was an interim step in dealing with some security things that have since been superceded by the new SecurityPolicy architecture (see: http://www.zope.org/Members/michel/Projects/Interfaces/SecurityPolicies You shouldn't need verify_watermark in post-2.1.6 code. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From jhouchin@texoma.net Mon Oct 30 14:37:15 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:15 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD879B.42A9CC50@texoma.net> Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) > > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( > > HTH, > > 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 ) From jhouchin@texoma.net Mon Oct 30 14:37:33 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:33 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD87AD.94410D5E@texoma.net> Thanks for the reply. Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) As far as I know the only files I'll be adding or editing will be my own Python files, Products, and the ZODBs. If it'll just ignore them or maybe complain and then ignore, I'll be fine. For an experiment once, I added a file and then did an update. It complained about a file not be added thru CVS or something as such. I just wanted to make sure when ZODB changes and such it wouldn't be a problem. > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( Are you saying checkout the PTK into the directory in which it should be installed in the Zope installation rather than into the ZopePTK directory that it defaults to? I was thinking from reading some of the PTK list that this isn't painless. Maybe this can be improved when it reaches release status. > HTH, Yes, and thanks. > > Chris Jimmie Houchihn From brocken22@gmx.de Mon Oct 30 14:49:37 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 30 Oct 2000 15:49:37 +0100 (MET) Subject: [Zope] Zope.org Message-ID: <22012.972917377@www28.gmx.net> Hallo, have I missed something or why are there no news on the website.The last item was from the 18th of October.Also the mailing-list is not really busy.Any reason? -- Sent through GMX FreeMail - http://www.gmx.net From ghaley@venaca.com Mon Oct 30 14:52:06 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 30 Oct 2000 09:52:06 -0500 Subject: [Zope] PHP-Pages References: <60469395515.20001030021949@eec.de> Message-ID: <39FD8B16.37B16457@venaca.com> hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From peter@grenna.net Mon Oct 30 15:26:11 2000 From: peter@grenna.net (peter bengtsson) Date: Mon, 30 Oct 2000 15:26:11 -0000 Subject: [Zope] PHP-Pages In-Reply-To: <39FD8B16.37B16457@venaca.com> Message-ID: I have also been able to do almost everything I do in PHP in Zope, just like yourself. One of the major problems with Zope is its lack of developers, this is not true for Perl or PHP. Not to bothered but "larger" companies might be. I haven't tested the available PHP How-Tos; is it possible to use it just like a Python- or Perl Method object?? Would be really useful if true. hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From chrism@digicool.com Mon Oct 30 15:56:12 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 10:56:12 -0500 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: Message-ID: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Hi, Don't know. :-) How won't Zope start? What does it do? Just return and not spit an error? Let's take this to the Zope mail list if you don't mind (I've cc'ed it). ----- Original Message ----- From: Rudd-O DragonFear To: DC Support List Cc: support@digicool.com Sent: Monday, October 30, 2000 10:21 AM Subject: [Support] ZSybaseDA 2.00b2 Hey, I've been having some kind of problems with this DA. Compiling and loading (importing) sy_occ in python works perfectly. But zope won't start and won't say anything in the console or in the logs. what could it be? thanks in advance, Manuel From webmaven@lvcm.com Mon Oct 30 15:50:16 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 07:50:16 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> Message-ID: <39FD98B8.17034247@lvcm.com> Jonathan Cheyne wrote: > > my various settings ... > > NameVirtualHost 111.222.333.444 > > > ServerName www.red.com > ProxyPass / http://www.blue.com:8080/red > ProxyPassReverse / http://www.blue.com:8080/red > > > then in /red we have a siteroot with the following > > title: > base: http://www.red.com > path: / Jonathan, Do you have an Access Rule set up in your root Zope Folder? Michael Bernstein. From bill@carbonecho.com Mon Oct 30 16:10:51 2000 From: bill@carbonecho.com (Bill Welch) Date: Mon, 30 Oct 2000 16:10:51 +0000 (GMT) Subject: [Zope] ssl w/ modrewrite In-Reply-To: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: Please say what Port, Listen, and VirtualHost directives you have in place. I think that's really where the trouble. On Sun, 29 Oct 2000 askart@impop.bellatlantic.net wrote: > but it works as typed in the server withour CRs.) I added modssl, but > when I go in on an https I get the original apache root page, and can > only access zope at https://address/cgi-bin/Zope . Furthermore, since From grizel@mouli.net Mon Oct 30 16:24:44 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Mon, 30 Oct 2000 17:24:44 +0100 Subject: [Zope] Publish.py / publish hack Message-ID: <39FDA0CC.11432C1D@mouli.net> Hi, I'm using Zope 2.2.2 and for some personal reasons I need to patch the publish function from Publish.py. I used the usual __init__.py straegy to patch ZPublisher : from MyModule import Mypublish import ZPublisher.Publish from ImageFile import ImageFile # Patch the original publish function ZPublisher.Publish.publish = Mypublish But the fact is, publish is called several times at several places in the source code, and especially from the publish_module function when an exception is raised... And, although my patch works most of the times, it doesn't work when an exception is raised. I may need to replace another 'publish' reference somewhere, but does anyone know WHERE exactly ?? Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From ajohnston@nc.rr.com Mon Oct 30 16:24:34 2000 From: ajohnston@nc.rr.com (Alan Johnston) Date: Mon, 30 Oct 2000 11:24:34 -0500 Subject: [Zope] How to display PDF files Message-ID: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> I installed Zope for purposes of evaluation last week. I've been through the tutorial so I have minimal knowledge. One (apparently simple) thing I cannot find a way to do is link to a PDF file. I believe that everything ZServer serves up must come from the Zope Object Database (right? wrong?). At any rate, how do you get ZServer to send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in can display it? I tried creating 'File' and 'Image' objects. That's obviously not it. Forgive me, for I fear this is a dumb question ... but I just can't find the answer. Thanks, Alan From ckucera@globalcrossing.com Mon Oct 30 16:33:14 2000 From: ckucera@globalcrossing.com (Christopher J. Kucera) Date: Mon, 30 Oct 2000 10:33:14 -0600 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDA2CA.3A4C1F9D@globalcrossing.com> Alan Johnston wrote: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. Actually, "File" should be okay . . . Just click on "Browse" and select the PDF from your hard drive, and it will upload the PDF into ZODB and spit it back out properly . . . -CJ From Jerry.Spicklemire@IFLYATA.COM Mon Oct 30 16:39:04 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 30 Oct 2000 11:39:04 -0500 Subject: [Zope] reload ? Message-ID: <977A39E65CFCD3119ABF00D0B741D84973392F@innt-73.ata.com> Luc wonders: > is it possible to reload only a without reloading an = > entire page ??????????? > if yes, how?? The short answer is no. That is, unless you are willing to set up some sort of Java RMI process, or other complex solution, and pray that your audience has downloaded and enable, or at least hasn't turned off the required services. On the other hand, there may be a simple way to meet your needs. You could borrow an idea from those annoying Web Sites that pop up "little windows" in addition to the main page that you thought you were linking to. By separating the item you want to be refreshed so that it displays in its own browser window, and setting a metatag in that page specifying a short refresh period, the contents of that window will be reloaded independent of the "main" window. Later, Jerry S. From andym@ActiveState.com Mon Oct 30 17:15:39 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:15:39 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <01e601c04295$06cb9720$ae03a8c0@fork> Now I have to know, whats a "Jam Session"? ----- Original Message ----- From: "Chris McDonough" To: "Andy McKay" Cc: Sent: Sunday, October 29, 2000 11:44 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is way too cool. :-) > > Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs > folks were unfortunately not in attendance. Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. (Probably the thing I got a kick out of most in that session was Jim > just sitting there grinning like a maniac - he's pretty pumped about having > the PythonLabs team here now.) > > We talked about class/type distinctions and the possibility of removing them > within Python, why acquisition is useful and some of its shortcomings, > stackless Python, and other less esoteric things. Hopefully the newer > members of DC (like me) will soon get a chance to meet the rest of the > PythonLabs team face-to-face. > > - C > > ----- Original Message ----- > From: "Andy McKay" > To: > Cc: > Sent: Saturday, October 28, 2000 12:10 PM > Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > This is great news for Zope... > > > > (well I think it is anyway) > > > > > -------- Original Message -------- > > > Subject: PythonLabs Team Moves to Digital Creations > > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > > From: Guido van Rossum > > > To: python-list@python.org (Python mailing > > > list),python-announce-list@python.org, python-dev@python.org > > > > > > To all Python users and developers: > > > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > > hope of finding a new permanent home for Python development. At > > > BeOpen, we've done several good things for Python, such as moving the > > > Python and Jython development process to SourceForge, and the > > > successful release of Python 2.0. > > > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > > out as hoped, and we weren't able to reach mutual agreement on > > > workable alternative plans -- despite trying for months. > > > > > > I am proud to have found a new home for my entire team: starting > > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > > are working for Digital Creations. We will be spending part of our > > > time on core Python development (including Jython and Mailman) and > > > part of our time on Python infrastructure improvements that also > > > benefit Zope. > > > > > > Python will remain Open Source; Digital Creations has no desire to > > > monetize or brand the Python language or specific Python > > > distributions. All future work we do on Python as Digital Creations > > > employees will be owned by a non-profit organization yet to be > > > created. We think of this new organization as the Python Software > > > Foundation. In the meantime (while the PSF is under construction) I > > > will own such copyrights personally. > > > > > > We're excited to be working for Digital Creations: they are one of the > > > oldest companies active in the Python community, one of the companies > > > most committed to Python, and they have a great product! Plus, we > > > know they have deep financial backing. We trust that Digital > > > Creations will provide a stable home for Python for many years. > > > > > > Digital Creations has also offered to take over hosting of the > > > python.org and starship sites. On behalf of the Python community, > > > we're grateful for this support of the two prime community sites for > > > Python, and we expect to be implementing the transitions shortly. > > > > > > These are exciting times for the PythonLabs team -- and also for > > > Python and its community. Mainstream successes for Python are showing > > > up everywhere, and we're proud to be a part of such a smart and > > > friendly community. A great year lies ahead! > > > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > > > -- > > > http://www.python.org/mailman/listinfo/python-list > > > > > > > > _______________________________________________ > > 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 ) > From jasonic@nomadicsltd.com Mon Oct 30 17:49:18 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Mon, 30 Oct 2000 12:49:18 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> Message-ID: <005a01c04299$ba6e6380$c3090740@megapathdsl.net> ----- Original Message ----- From: Andy McKay > Now I have to know, whats a "Jam Session"? I assume 'jam' session = creative improvisation based on experience and talent, as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. - Jason From chrism@digicool.com Mon Oct 30 18:09:21 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 13:09:21 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> Message-ID: <013401c0429c$875bb6c0$1f48a4d8@kurtz> This is right, although here it's also an excuse to drink Guiness. ----- Original Message ----- From: "Jason Cunliffe" To: "Andy McKay" ; "Chris McDonough" Cc: Sent: Monday, October 30, 2000 12:49 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > ----- Original Message ----- > From: Andy McKay > > > > Now I have to know, whats a "Jam Session"? > > I assume 'jam' session = creative improvisation based on experience and > talent, > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > - Jason > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 17:58:53 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:58:53 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> <013401c0429c$875bb6c0$1f48a4d8@kurtz> Message-ID: <002c01c0429b$1184e4e0$ae03a8c0@fork> Now theres an idea... ;-) ----- Original Message ----- From: "Chris McDonough" To: "Jason Cunliffe" ; "Andy McKay" Cc: Sent: Monday, October 30, 2000 10:09 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is right, although here it's also an excuse to drink Guiness. > > ----- Original Message ----- > From: "Jason Cunliffe" > To: "Andy McKay" ; "Chris McDonough" > > Cc: > Sent: Monday, October 30, 2000 12:49 PM > Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > ----- Original Message ----- > > From: Andy McKay > > > > > > > Now I have to know, whats a "Jam Session"? > > > > I assume 'jam' session = creative improvisation based on experience and > > talent, > > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > > > - Jason > > > > > > _______________________________________________ > > 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 ) > > > > > From webmaven@lvcm.com Mon Oct 30 18:06:44 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:06:44 -0800 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDB8B4.A62CF881@lvcm.com> Alan Johnston wrote: > > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. 'File' should work. Are you naming the 'File' object with a .pdf suffix? HTH, Michael Bernstein. From bill@noreboots.com Mon Oct 30 18:30:40 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 11:30:40 -0700 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Message-ID: <39FDBE50.E632EBB2@noreboots.com> > ----- Original Message ----- > From: Rudd-O DragonFear > To: DC Support List > Cc: support@digicool.com > Sent: Monday, October 30, 2000 10:21 AM > Subject: [Support] ZSybaseDA 2.00b2 > > Hey, > I've been having some kind of problems with this DA. Compiling and loading > (importing) sy_occ in python works perfectly. But zope won't start and > won't say anything in the console or in the logs. > > what could it be? > > thanks in advance, Search the archives, from about this time last year. Quick synopsis: Check to ensure the sybase path statements are present in the zope start up script. -- E PLURIBUS LINUX From webmaven@lvcm.com Mon Oct 30 18:48:03 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:48:03 -0800 Subject: [Zope] Paul comments on the PythonLabs Move References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <39FDC263.C3784712@lvcm.com> Check out his comments here: http://weblogs.userland.com/zopeNewbies/discuss/msgReader$831 Cheers, Michael Bernstein. From andres@corrada.com Mon Oct 30 18:59:36 2000 From: andres@corrada.com (andres@corrada.com) Date: Mon, 30 Oct 2000 13:59:36 -0500 Subject: [Zope] PHP-Pages In-Reply-To: <60469395515.20001030021949@eec.de>; from Vincent - D. Ertner on Mon, Oct 30, 2000 at 02:19:49AM +0100 References: <60469395515.20001030021949@eec.de> Message-ID: <20001030135936.A10791@corrada.com> Check out my HOWTO: http://www.zope.org/Members/Mamey/PHP On Mon, Oct 30, 2000 at 02:19:49AM +0100, Vincent - D. Ertner wrote: > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Internet Programming wwww.mamemy.com ------------------------------------------------------ From dieter@handshake.de Mon Oct 30 18:57:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:57:08 +0100 (CET) Subject: [Zope] Message exchange between distributed python code In-Reply-To: <48899087@toto.iv> Message-ID: <14845.50254.478682.933172@lindm.dm> Alexander Limi writes: > I am currently writing some software in python that is spread over several > different computers. These small programs should be able to communicate > with each other and send messages that contain instructions between > themselves. You might be interested in "pyro" (Python remote objects). You will find it via "python.org" or with a search in "comp.lang.python.announce". Dieter From dieter@handshake.de Mon Oct 30 18:55:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:55:43 +0100 (CET) Subject: [Zope] image attachments in dtml-sendmail and dtml-mime In-Reply-To: <38102752@toto.iv> Message-ID: <14845.49576.678889.783219@lindm.dm> Matt writes: > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > Comments: > > > "paris.data"> > > > You are aware, that the generated message is not MIME conformant? You should use immediately in the message header and use to generated the various message parts. Dieter From dieter@handshake.de Mon Oct 30 18:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:59:43 +0100 (CET) Subject: [Zope] ZopeTime Question In-Reply-To: <113312476@toto.iv> Message-ID: <14845.50341.857832.212719@lindm.dm> Marcus Mendes writes: > Why the ZopeTime puts the differents values in the code bellow? > > > TimeMinutes())" capitalize> > > > > The first give me todays date; > the second give me the tomorrow date!! In earlier Zope versions, most methods of "DateTime" instances used local time, but "strftime" used GMT. As I understand it, this has been changed in Zope 2.2. At least, Brian asked in the list, whether it should be changed and got some positive feedback. Dieter From dieter@handshake.de Mon Oct 30 19:31:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:31:45 +0100 (CET) Subject: [Zope] again: install Zope under Solaris 8 In-Reply-To: <40453899@toto.iv> Message-ID: <14845.52017.929680.664852@lindm.dm> Jan-Thies Baehr writes: > .... Has anyone else > encountered problems installing Zope (in our case 2.2.2) under Solaris > 8? > Python is unable to import the ExtensionClass.... > .... > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: > file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: > symbol PyImport_ImportModule: referenced symbol not found I looks as though Python would not export its symbols to dynamically loaded objects. In earlier Solaris versions, this was the default behaviour. Other systems require a special linker option to make the symbols visible. Maybe, Solaris 8 does now require special actions, too. On Linux, the option is called "-export-dynamic". Maybe, you consult you linker manual. Dieter From dieter@handshake.de Mon Oct 30 19:25:17 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:25:17 +0100 (CET) Subject: [Zope] dtml document bug In-Reply-To: <5350899@toto.iv> Message-ID: <14845.51777.197023.480874@lindm.dm> Dmitry Slusarchuk writes: > I'm new to Zope development but I have already encountered such a problem: > from dtml document generates the following: > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: __call__ > > this problem disappears when I do smth like > from dtml method. what should I do? > > In addition > I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. This looks like the "cDocumentTemplate/Acquisition" bug (see the locator (URL:http://classic.zope.org:8080/Locator) for a description). The problem usually occurs in the context of a You can work around it by using instead. Dieter From dieter@handshake.de Mon Oct 30 19:39:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:39:59 +0100 (CET) Subject: [Zope] normal result with acquisition? In-Reply-To: <4638180@toto.iv> Message-ID: <14845.52397.169645.607414@lindm.dm> Tom Deprez writes: > Assume following : > > Folder1 > sql > show_abc > method_showdata > Folder2 > show_abc > > method_showdata has among it the following code : > > > >
> >
>
>
> > 1) When you call this function from Folder1 : show_abc of folder1 is used > > 2) When you call this function from Folder2 : show_abc of folder1 is used > > --> what you wouldn't expect? This *IS* normal acquisition behaviour. I use the following rule of thumb: When Zope looks up a name "n" for object "o" in context "c", then Zope lools for "n" in "o". If this fails, Zope walks up from "o" towards the root in search for "n". Only, if it does not find "n" on this route, it looks in the context "c" for "n". In your case, the object is "sql" and the name is "show_abc". The context is "Folder1" in the first and "Folder2" in the second case. But "show_abc" is found in both cases in the parent of "sql" -- without looking at the context. Dieter From dieter@handshake.de Mon Oct 30 18:35:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:35:22 +0100 (CET) Subject: [Zope] Re: [Zope-dev] dtml-in with objects and an expression In-Reply-To: <23514147@toto.iv> Message-ID: <14845.48273.554500.760172@lindm.dm> Guy Redwood writes: > I have a stack of objects called shcgbRallyDetails (details about > husky races). I want to display the next 3 races that are about to > close their entry submissions. eg display the next three rally > details where the closingdate is greater_or_equal to ZopeTime() > > I've got this working to prove the expression and dtml-in - but I'm > now stuck :-( > > "working.rallydetails.objectValues(['shcgbRallyDetails'])" > sort=closingdate> > >

> Closing:
>
> > All help would be appreciated What does not work? You may get more than 3 races? In this case, you could use: ZopeTime() and _.getitem('sequence-number') <= 3"> .... your presentation code .... This will give you the list sorted with decreasing closingdate. If you want a list sorted with increasing closingdate, you could use: ZopeTime() and (_.getitem('sequence-length') - _.getitem('sequence-index')) <=3"> .... your presentation code .... For more details, look at the variable list defined inside . Dieter From dieter@handshake.de Mon Oct 30 19:21:10 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:21:10 +0100 (CET) Subject: [Zope] Solaris,iPlanet,Oracle and Zope In-Reply-To: <106829166@toto.iv> Message-ID: <14845.50479.78877.339553@lindm.dm> Hi Turhan, Welcome to the Zope community! Turhan Arun writes: > Now my problem is as > follows > I have to use > Zope Application Server on SUN > iPlanet Web Server > Oracle 8.1.6 Database server > Would you help me about configuring these? I am having problems and you are > my only source. You have 2 subproblems: interfacing Zope with iPlanet and interfacing Zope with Oracle 8.1.6. 1. Unfortunately, I do not know iPlanet. You may search "zope.org" for "iPlanet" (maybe, you find a HowTo). There is also a searchable archive of this mailing list at NIP (to be found via "zope.org -> Resources -> Mailing Lists"). If you are unlucky, you must explore a bit yourself. "doc/WEBSERVERS.txt" (a file in the Zope distribution) is a good starting point. Although, it mainly speaks about Apache (and does not mention iPlanet), the "pcgi" connection will work with any webserver that supports CGI. It will work with "iPlanet". There might be some problems with the propagation of authentication information. You may decide to let iPlanet do all authentication and let Zope unprotected or you might need to learn how to configure iPlanet to pass authentication information. You may want to screen the iPlanet documentation, whether it supports proxy mode. In this mode, iPlanet would relay (some) requests to another web server (Zope in your case). This would be more efficient than "pcgi". 2. We use Zope with Oracle 8.1.6. We use DC's DCOracle and ZOracleDA (latest version! it has a beta in its version number!). It works satisfactory with the exception of LOB support. DC is working on improvements but the project is not externally funded, progress seems to be slow. Some days ago, someone in the list has reported a package that can be used to work around the LOB restrictions (if you know the LOB type). Search the list archive to locate the article (search for "DCOracle and BLOB"). Dieter From ajung@sz-sb.de Mon Oct 30 19:50:29 2000 From: ajung@sz-sb.de (Andreas Jung) Date: Mon, 30 Oct 2000 20:50:29 +0100 Subject: [Zope] DCOracle + LOB In-Reply-To: <200010292057.VAA00431@lindm.dm>; from fjesteban@uco.es on Wed, Oct 18, 2000 at 02:11:05PM +0200 References: <200010292057.VAA00431@lindm.dm> Message-ID: <20001030205029.A5323@sz-sb.de> On Wed, Oct 18, 2000 at 02:11:05PM +0200, Francisco José Esteban Risueño wrote: > If you know what type of data are you storing in the lob column, you can > use dmbs_lob package in order to insert and retrive data from the > original format into de lob format. We are use this techique succesfully > to insert/select text into/from a clob column. LOB support for Oracle 8i is broken in DCOracle. As a workaround we use stored procedures written in Java. They can be called from DCOracle. -- Andreas From dieter@handshake.de Mon Oct 30 20:37:19 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 21:37:19 +0100 (CET) Subject: [Zope] dtml-while In-Reply-To: <91095649@toto.iv> Message-ID: <14845.56140.19348.270193@lindm.dm> Diego Rodrigo Neufert writes: > Why there isnt a dtml-while function in Zope? > How to implement it with dtml? > how to do a simple while x != y in dtml? Because the Zope developers feared infinite loops created by dumb users or malicious hackers in "through the web" content. For the same reason, "_.range" has been cripled and the module "re" is not exposed. Dieter From asc@vineyard.net Mon Oct 30 20:46:44 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Mon, 30 Oct 2000 15:46:44 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if it's all in vain. Thanks, From fred@ontosys.com Mon Oct 30 20:47:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 30 Oct 2000 14:47:55 -0600 Subject: [Zope] incorporating generated sub-websites within a Zope site Message-ID: <20001030144755.A2818@enteract.com> I'm looking for suggestions about how to manage a Zope website that hosts some subsites created by tools outside of Zope. Here's the situation. I'm working on a community website (batavians.org) for a small city (Batavia, IL) where I want to allow various non-profit community organizations to manage their own subsites. But the very first test case is proving to be a problem because the manager of the subsite is using web page development tools that seem to make it hard to integrate their subsite with the rest of the site. They can FTP their files up to the Zope server (which I configured to use port 21 for FTP) and their work is accessible just fine given a small "glue" index_html object that bridges to their internal main page. But I got blocked when I tried to add a standard page footer onto their pages. Actually, I was able to add a dtml-var element to pull in a standard footer via acquisition and that works, but the manager of the sub-website has no way to pull that change back to her working version of the subsite. It seems that the lightweight "Web Studio 2.0" tool she's using has no FTP-download function at all. Not only that, it has no way to view/edit HTML at all! It's only possible to edit using a WYSIWYG design view (AFAICT). So she can't merge in the change even if I tell her exactly the HTML code to add. OK, this problem is largely the result of the crappy web-design tool she's using, but I really have no control over that. The subsite manage/author doesn't know HTML and would be completely helpless with Zope's "through the web" editing interface. A better tool such as Dreamweaver would at least allow her to download files and/or edit HTML directly, but that's moot in this case. Even with Dreamweaver I think the DTML tags would be invisible and hard for a non-programmer to deal with. (Not only that, Dreamweaver refuses to open files that don't have an extension, so it won't open index_html for example.) So what alternatives do I have? Is there some way that I can set up a filter such that every page of her subsite goes through the filter before being sent out to the browser, allowing me to tack on a page footer on those pages? I'm sure Zope has such a mechanism, but I don't know where to look. Even with such a filter I'm not keen about having to parse her pages (which are/should-be each a complete HTML document) in order to insert a footer line in the right place. What other schemes should I consider? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From dieter@handshake.de Mon Oct 30 21:16:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:16:40 +0100 (CET) Subject: [Zope] Displaying Folder Contents. In-Reply-To: <113966775@toto.iv> Message-ID: <14845.58608.743084.845912@lindm.dm> Jason C. Leach writes: > If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to > pass the folder to an external method, and have the method get a list of > all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ > fetching a list of the folder contents? Have a look at "ZopeFind" (--> ZQR (Zope quick reference) at URL:http://zdp.zope.org) Dieter From dieter@handshake.de Mon Oct 30 21:09:57 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:09:57 +0100 (CET) Subject: [Zope] How to display PDF files In-Reply-To: <123237122@toto.iv> Message-ID: <14845.58126.398702.990007@lindm.dm> Alan Johnston writes: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). You may use the products "LocalFS" or "ExternalFile" to access files inside the file system from Zope. > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. The "file" should be it. Maybe, you must set the property "content_type" correctly (when Zope guessed wrong based on the filename extension). Dieter From dieter@handshake.de Mon Oct 30 21:14:58 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:14:58 +0100 (CET) Subject: [Zope] ExtensionClass peculiarity (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) In-Reply-To: <59362859@toto.iv> Message-ID: <14845.58313.241376.357670@lindm.dm> Steinar Rune Eriksen writes: > In other Python programs, calling Parent.__init__(self) works fine, but when > running through Zope in this context > > Error Type: TypeError > Error Value: unbound method must be called with class instance 1st argument Have a look at the "ExtensionClass" documentation (-> zope.org). ExtensionClass is not completely compatible with Python: if a class "C" inherits from an extension class "E" and from a normal Python class "P", then Python does not recognize "C" as a subclass from "P". The mentioned documentation tells you, that there is a method "InheritedAttribute" to work around this problem. Dieter From dt@picknowl.com.au Mon Oct 30 21:23:43 2000 From: dt@picknowl.com.au (Daryl Tester) Date: Tue, 31 Oct 2000 07:53:43 +1030 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <39FDE6DF.740C58DD@picknowl.com.au> Chris McDonough wrote: > Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. But did you get to chant "We're not worthy! We're not worthy!"? :-) -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. "MS Linux is released under the provisions of the Gates Private License, which means you can freely use this Software on a single machine without warranty after having paid the purchase price and annual renewal fees." -- mslinux.org From amadorm@usm.edu.ec Mon Oct 30 21:36:14 2000 From: amadorm@usm.edu.ec (MANUEL JOSE AMADOR BRIZ) Date: Mon, 30 Oct 2000 16:36:14 -0500 (ECT) Subject: [Zope] New kinds of problems Message-ID: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Thanks, here are my two cents: Mini quick howto to connect to a sybase ASA/ASE: Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it WILL fail). GET from Sybase the RPMs called sybase-common and sybase-openclient, the latest versions. Install them. do a link from /opt/sybase to /opt/sybase- {currentversion} which should exist now. make sure you have $SYBASE set in your profile, to /opt/sybase. Download zope-2.2.2.src.tgz untar as root, then chown -R root.root /path/to/Zopefolder make sure you have python and python-devel RPMs or DEBs. cd to zope folder run \\\'python w_pcgi.py\\\' run \\\'python zpasswd.py access\\\', enter username, password, CLEARTEXT encoding and no domain get ZSybaseDAv2 b2 and place the targz file into the zope folder do a \\\'tar zxvmf ZSybaseDAv2.tar.gz0 in the zope folder Once more do a chown -R root.root * cd into lib/python/Products/ZSybaseDAv2/src cp Setup.linux or Setup.solaris to Setup make -f Makefile.pre.in boot make cd to the parent folder (cd ..) cp src/sy_occ.so . enter python and try to do \\\'import sy_occ\\\' if it works and doesn\\\'t spit errors, you\\\'re set. exit python and go to the zope folder, then run ./start if zope starts, you\\\'re all set now there is an executable called /opt/sybase/bin/dsedit that you will have to use to create network transports. Fill in the appropriate data. Now for the problems. I managed to connect to an ASA 7.0 database, and retrieved successfully a select * from systable, but can\\\'t execute stored procedures, it spits some kind of another operation on progress error or unknown data type returned error. I assume ASA and dsclient are talking incompatible protocols here. Can someone help me? By the way, the data source created with dsedit for our ASE server works fine. Everything runs OK. Please reply and CC: me because I\\\'m kinda lagged behind with the mailing list and I need a reply soon. Thanks. I hope these instructions help people in connecting to Sybase, given the poor support they have in some countries (I\\\'m thinking mine). Manuel ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil Enviado por: www.usm.edu.ec From jfarr@real.com Mon Oct 30 21:40:48 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 30 Oct 2000 13:40:48 -0800 Subject: [Zope] Get file contents. References: Message-ID: <034301c042ba$110abac0$416917ac@poly> For a File object, you want "str(ob.data)", where 'ob' is your File object. --jfarr ----- Original Message ----- From: "Jason C. Leach" To: "Steve Spicklemire" Cc: Sent: Sunday, October 29, 2000 5:56 PM Subject: Re: [Zope] Get file contents. > hi, > > That's exactly what I'm hoping to do. But for my method, it does not know > what read() is, or read_raw(); I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: read > > If I try you method I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: manage_addTinyTable > > > It would probably bail on the read also if it got that far. > > Perhaps I am caling it wrong, or not pasing the correct object. I jest > pass in a Zope File opject, which hapens to be a few lines of text. > > Thanks, > j. > > > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > > > > Hi Jason, > > > > Here's an external method that I've used to populate a TinyTable > > from a comma separated text file. You might at least get some ideas > > about how to extract stuff from the file using this.... > > > > -steve > > > > ---------------------------------------------------------------------- > > > > # > > # ReadFile is an external method that reads data from a file uploaded from > > # the users computer and produces a TinyTable based on that data. > > # > > > > import string > > > > def ReadFile(self, > > infile, # input file..... > > outTableName='defaultTable', # name of output table > > outTableTitle='', # title of output table > > outTableColumns='', # columns for output table > > REQUEST=None, # Pass in REQUEST.... > > RESPONSE=None): # and response... > > > > if not hasattr(self, outTableName): > > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > > > newTT = getattr(self, outTableName) > > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > > data = infile.read() > > data = string.replace(data,'\r','\n') > > data = string.replace(data,'\n\n','\n') > > lines = string.split(data,'\n') > > newLines = [] > > for i in range(len(lines)): > > line = string.strip(lines[i]) > > if line: > > sl = string.split(line,',') > > sl = map(lambda x:'"%s"' % x, sl) > > newLines.append(string.join(sl,',')) > > > > data = string.join(newLines, '\n') > > > > return newTT.manage_editData( data, REQUEST ) > > > > > > def main(): > > class foo: > > > > def manage_addTinyTable(self, *args, **kwargs): > > pass > > > > def manage_edit(self, *args, **kwargs): > > pass > > > > def manage_editData(self, data, REQUEST): > > print "In manage_editDdata" > > print data > > > > import StringIO > > > > f = StringIO.StringIO() > > f.write('a,b,c,d\n') > > f.write('d,e,f,g\n') > > f.seek(0) > > > > print f.read() > > f.seek(0) > > > > rf = foo() > > rf.defaultTable = foo() > > > > ReadFile(rf, f) > > > > if __name__=='__main__': > > > > main() > > > > >>>>> "Jason" == Jason C Leach writes: > > > > Jason> hi, > > > > Jason> I pass a zope file object (just plane text) to an external > > Jason> method. The file consists of a list of lines of text. I'd > > Jason> like to extract those lines from the file and put 'em in a > > Jason> list. Can anyone help with the extraction method? > > > > Jason> Thanks, j. > > > > Jason> ...................... ..... Jason C. Leach ... University > > Jason> College of the Cariboo. .. > > > > > > Jason> _______________________________________________ Zope > > Jason> maillist - Zope@zope.org > > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > > Jason> posts or HTML encoding! ** (Related lists - > > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > > Jason> 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 ) > From maxmcorp@worldonline.dk Mon Oct 30 22:22:24 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 23:22:24 +0100 Subject: [Zope] My Items will not show themself in manage_main (objectItems) Message-ID: I have made a product that inherits: "OFS.ObjectManager.ObjectManager" and so should be able to contain other object. I have given the product a manage option: {'label':'Contents', 'action':'manage_main'} This is inherited from ObjectManager, To make it possible to add content to my product. But when I add ie. a dtml method to my folderish object, it does it allright, and the document gets added. I know because I can see it directly when going to it's url. And if I try to add another document with the same name I get an error saying that the id is allready used. But the Item doesn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to create for the Items to show up in "objectItems". Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrism@digicool.com Mon Oct 30 22:44:26 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 17:44:26 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <39FDE6DF.740C58DD@picknowl.com.au> Message-ID: <021a01c042c2$f5015dd0$1f48a4d8@kurtz> Yes. Well... I did, anyway. :-) ----- Original Message ----- From: "Daryl Tester" To: "Chris McDonough" Cc: Sent: Monday, October 30, 2000 4:23 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > Chris McDonough wrote: > > > Since it was a Friday, and > > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > > Jam": we all got a chance to poke at him with questions and such and vice > > versa. > > But did you get to chant "We're not worthy! We're not worthy!"? :-) > > > -- > Regards, > Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. > > "MS Linux is released under the provisions of the Gates Private License, which > means you can freely use this Software on a single machine without warranty > after having paid the purchase price and annual renewal fees." -- mslinux.org > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 23:03:45 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 15:03:45 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <009401c042c5$abbffb10$ae03a8c0@fork> > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". Not from what I can remember. I would have to see your constructor for more info. Andy. From kthangavelu@earthlink.net Mon Oct 30 19:56:56 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 30 Oct 2000 11:56:56 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <39FDD288.58381058@earthlink.net> Max M wrote: > > I have made a product that inherits: > "OFS.ObjectManager.ObjectManager" > and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. > I have given the product a manage option: > {'label':'Contents', 'action':'manage_main'} > This is inherited from ObjectManager, To make it possible to > add content to my product. > > But when I add ie. a dtml method to my folderish object, it does it > allright, and the document gets added. I know because I can see it directly > when going to it's url. And if I try to add another document with the same > name I get an error saying that the id is allready used. > > But the Item doesn't show up in Itemlist on the "manage_main" page. So I > cannot edit the items that I have added. > > I only get the: > "There are currently no items in XXX" some more information on what you changed in the container would be useful. > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". this pseudo code should give you the result you want?, it works for me to display objects in the manage_main. def manage_addMyContainer: foo = MyContainer() bar = MyObject() foo._setObject(bar, 'bar') self._setObject(foo, 'foo') caveat, register your permissions properly on the manage_add, and note that adding bar in this way will mean it won't have access to acquisition properties from further up the tree at creation (including manage_afterAdd). also for registering manage options this syntax is a little more inclusive. manage_options=( OFS.ObjectManager.ObjectManager.manage_options+ ( {'label':'YourTabHere', 'action':'YourMethodHere'}, )+ AccessControl.Role.RoleManager.manage_options+ OFS.SimpleItem.SimpleItem.manage_options ) hth kapil From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> <39FD526F.DAF94274@nipltd.com> Message-ID: <00cc01c042d6$e013c340$c2aa79c3@mshome.net> Hi, ----- Original Message ----- From: "Chris Withers" To: "Henny van der Linde" Cc: "Zope mailing list" Sent: Monday, October 30, 2000 11:50 AM Subject: Re: [Zope] trapping login errors/exceptions > Henny van der Linde wrote: > > Thanks. I already thought about using Loginmanager but we still use Zope > > 2.1.6. > > Why? ;-) > Just careful. Not every Zope release is realy that stable at first. Products are not always upward compatible. The sudden change in the security model with Zope 2.2.0 scared us a bit. Maybe these are minor things but we realy can't afford to experiment a lot in the organization where I (and my co Zopistas) work. BTW I can't get Login Manager installed in a very fresh Zope 2.2.2 installation. See my earlier posting. Any ideas? greetz, Henny van der Linde From jarvis.sd082@ex.tel.co.jp Tue Oct 31 01:27:51 2000 From: jarvis.sd082@ex.tel.co.jp (TFE WSD JARVIS JOHN) Date: Tue, 31 Oct 2000 10:27:51 +0900 Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Yes, but you have to do in it a round about way. (Actually, I've seen mention of a patch to Apache that does this, but I don't think it's neccessary) Here's the setup I'm using: RewriteEngine On RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} [QSA,L,P] RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH > -----Original Message----- > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > Sent: Tuesday, October 31, 2000 5:47 AM > To: zope@zope.org > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > Hi, > > Does anyone know if it is even *possible* to pass environment variables > (specifically REMOTE_USER) to Zope when it is set up behind > Apache/ProxyPass. > > I've looked around the list archives, and the Apache docs and tried a > bunch of different configs but nothing works. I'm starting to wonder if > it's all in vain. > > Thanks, > > > > _______________________________________________ > 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 ) From docs@digicool.com Tue Oct 31 01:32:35 2000 From: docs@digicool.com (Michel Pelletier) Date: Mon, 30 Oct 2000 17:32:35 -0800 Subject: [Zope] Zope Book Beta Message-ID: <39FE2133.F00ED435@digicool.com> Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel From bill@noreboots.com Tue Oct 31 03:38:49 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 20:38:49 -0700 Subject: [Zope] New kinds of problems References: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Message-ID: <39FE3EC9.67D86580@noreboots.com> MANUEL JOSE AMADOR BRIZ wrote: > > Thanks, here are my two cents: > > Mini quick howto to connect to a sybase ASA/ASE: > > Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it > WILL fail). Only if you didn't read the RELEASE-NOTES. Use kgcc, it is the same compiler as RH 6.2 has. --- root@darwin in /root $ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) root@darwin in /root $ gcc --version egcs-2.91.66 root@darwin in /root --- ucntcme@locutus in /home/ucntcme $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) ucntcme@locutus in /home/ucntcme $ kgcc --version egcs-2.91.66 --- ... > exit python and go to the zope folder, then run ./start > > if zope starts, you\\\'re all set not quite. You should stop zope, open a new terminal, and start zope from there. More often than not, you will need to set up the $SYBASE variables in the zope start up script. Running Zope in a 'clean' terminal will test the environment. -- E PLURIBUS LINUX From zope@philosoft.at Tue Oct 31 04:05:07 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 05:05:07 +0100 Subject: [Zope] pluggable brains Message-ID: <200010310505070734.0771D84D@mail.noet.at> --=====_97296510718467=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_97296510718467=_ Content-Type: text/html; charset="us-ascii"
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_97296510718467=_-- From zope@philosoft.at Tue Oct 31 05:01:15 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 06:01:15 +0100 Subject: [Zope] pluggable brains In-Reply-To: <200010310505070734.0771D84D@mail.noet.at> References: <200010310505070734.0771D84D@mail.noet.at> Message-ID: <200010310601150109.07A53A1C@mail.noet.at> --=====_9729684756334=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I already found the answer myself: one can only use ZClasses as pluggable brains that are NOT persistent!! phil *********** REPLY SEPARATOR *********** On 31.10.2000 at 05:05 Philipp Auersperg wrote: For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_9729684756334=_ Content-Type: text/html; charset="us-ascii"
I already found the answer myself:
 
one can only use ZClasses as pluggable brains that are NOT persistent!!
 
phil
*********** REPLY SEPARATOR ***********

On 31.10.2000 at 05:05 Philipp Auersperg wrote:
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_9729684756334=_-- From jleach@mail.ocis.net Tue Oct 31 04:45:52 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 20:45:52 -0800 (PST) Subject: [Zope] meta type? Message-ID: hi, What is ment by a meta type? Is that like 'Image' in the case of images, and Folder in the case of folders? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 05:00:46 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 06:00:46 +0100 (CET) Subject: [Zope] meta type? In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > Is that like 'Image' in the case of images, and Folder in the case of > folders? Yupp. From jleach@mail.ocis.net Tue Oct 31 06:04:07 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 22:04:07 -0800 (PST) Subject: [Zope] Almost Done. Message-ID: hi, So I'm almost done my first zope project. Pretty small. I must say, I have done in 4 lines of DTML what would have taken pages in ASP. How do I get a TinyTable to display it's contents? All I find in the docs is and that does not seem to work for me, unles I am lacking a tag? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 06:24:01 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 07:24:01 +0100 (CET) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > hi, Hi. > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try this: (and next time, post the error message, Zope version and OS you are running :-) From jleach@mail.ocis.net Tue Oct 31 07:03:22 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 23:03:22 -0800 (PST) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: hi, Gave that a shot, no luck. I just dones nothing where as if I misspel the object ID it screams (so it's finding it). I can edit and View the object fine, just not call it. I'm running Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Tue, 31 Oct 2000, Erik Enge wrote: > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > hi, > > Hi. > > > How do I get a TinyTable to display it's contents? > > > > All I find in the docs is and that does not > > seem to work for me, unles I am lacking a tag? > > Try this: > > > > (and next time, post the error message, Zope version and OS you are > running :-) > > From morten@esol.no Tue Oct 31 08:05:34 2000 From: morten@esol.no (Morten W. Petersen) Date: 31 Oct 2000 09:05:34 +0100 Subject: [Zope] Strange KeyError upon calling absolute_url Message-ID: I've got a strange error here; whenever absolute_url is called, it is raised a KeyError exception, stating that SERVER_URL is missing.. (The traceback..) Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addTransform) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addTransform) File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 54, in manage_addTransform File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 154, in __init__ (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 278, in _setObject (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 114, in manage_afterAdd (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 184, in index_object (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 157, in url (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/Traversable.py, line 119, in absolute_url (Object: CatalogAware) KeyError: (see above) The line(s) causing the error were a rather long list of _setObject commands: """ [...] self._setObject('M', agencysort.AgencySort('M')) self._setObject('N', agencysort.AgencySort('N')) [...] """ Any ideas? Thanks in advance. -Morten From cj.de.brabander@hccnet.nl Tue Oct 31 08:27:06 2000 From: cj.de.brabander@hccnet.nl (Kees de Brabander) Date: Tue, 31 Oct 2000 09:27:06 +0100 Subject: [Zope] Almost Done. References: Message-ID: <004601c04314$60710380$b560fea9@piii667> hi Jason, by itself does what you ask it to do: it runs through the rows of your tinytable and that's it. If you want to see the content of your table, you'll have to construct a html table with fieldnames in the cells: ...
Then you're done. cb ----- Original Message ----- From: Jason C. Leach To: Erik Enge Cc: Sent: Tuesday, October 31, 2000 8:03 AM Subject: Re: [Zope] Almost Done. > hi, > > Gave that a shot, no luck. I just dones nothing where as if I misspel the > object ID it screams (so it's finding it). I can edit and View the object > fine, just not call it. > > I'm running Zope/Zope 2.2.2 (source release, > python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A > > > j. > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Tue, 31 Oct 2000, Erik Enge wrote: > > > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > > > hi, > > > > Hi. > > > > > How do I get a TinyTable to display it's contents? > > > > > > All I find in the docs is and that does not > > > seem to work for me, unles I am lacking a tag? > > > > Try this: > > > > > > > > (and next time, post the error message, Zope version and OS you are > > running :-) > > > > > > > _______________________________________________ > 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 ) > > From jacintha.menezes@wipro.com Tue Oct 31 09:37:43 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 31 Oct 2000 15:07:43 +0530 Subject: [Zope] one more In-Reply-To: <39FD8DDC.120C9975@globalcrossing.com> Message-ID: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Hi, I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Thanks bye, jacintha From ws@gmd.de Tue Oct 31 09:58:11 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 10:58:11 +0100 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEA5C3.30680.5483DF1@localhost> On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From jonathan@home-all.org.uk Tue Oct 31 10:14:33 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Tue, 31 Oct 2000 10:14:33 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> Message-ID: <39FE9B89.B54B5700@home-all.org.uk> Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: > Jonathan Cheyne wrote: > > > > Ah, no, I though that was if you were doing the virtual hosting in zope > > (as opposed to virtual hosts in httpd.conf or a rewrite)? > > > > I will add one, pronto > > Sorry, I didn't mean to confuse you. If you're using Apache > Virtual hosting, you don't need an access rule. I thought > that you might have one that was conflicting. > > One thing that might help you figure this out is to add a > 'debug' DTML Method to your root folder that contains: > > > > And trying various URLs with /debug tacked on the end to see > how the HTTP request is being rewritten. > > HTH, > > Michael Bernstein. From p@state-of-mind.de Tue Oct 31 10:25:12 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 31 Oct 2000 11:25:12 +0100 Subject: [Zope] AW: [Zope] Zope Book Beta In-Reply-To: <39FEA5C3.30680.5483DF1@localhost> Message-ID: Thanks! Pretty neat thing :-) I like the ducks: a-hi-ru. "Kore wa desu? Ahiru desu." It must have been something like that... p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Wolfgang Strobl > Gesendet: Dienstag, 31. Oktober 2000 10:58 > An: zope@zope.org; zope-book@zope.org > Betreff: Re: [Zope] Zope Book Beta > > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. > > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > From l.tranchant@adntic.com Tue Oct 31 11:20:19 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Tue, 31 Oct 2000 12:20:19 +0100 Subject: [Zope] PoPy Message-ID: <39FEAAF3.FE07CAD7@adntic.com> --------------0C7C06BE069157DD2DA5173E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody, I am new with Zope and I don't know Python. I want to use Zope with PostgreSQL. I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ? I have tried, and some errors appeared : when compiling __init__.py : ImportError: No module named Globals when compiling PoPy_db.py : The PoPy module is old: Update your version of PoPy So, I tried to install PoPy-1.3.6, but I failed! Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody,

I am new with Zope and I don't know Python.
I want to use Zope with PostgreSQL.
I have installed PoPy-1.2.1 and compiled the module PoPymodule.so.
I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/.
My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ?
I have tried, and some errors appeared :

when compiling __init__.py :
        ImportError: No module named Globals
when compiling PoPy_db.py :
        The PoPy module is old: Update your version of PoPy

So, I tried to install PoPy-1.3.6, but I failed!

Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E-- From chrisw@nipltd.com Tue Oct 31 11:49:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:49:04 +0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEB1B0.46B76306@nipltd.com> There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. This is the complete, technical draft of the book with > all screenshots (but minus illustrations, those are on there way!). > Some other things like a colophon and information about the authors is > missing. The beta includes all completed chapters, the API reference, > and the DTML reference. We've received over a hundred comments, > corrections, and ideas from you the community and it has made a much > better book. This is the one to print out and give to your friends as > christmas gifts, folks, so get crackin and start reading at > http://www.zope.org/Members/michel/ZB/. > > Enjoy, > > -Michel > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 31 11:52:32 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:52:32 +0000 Subject: [Zope] Gadfly References: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Message-ID: <39FEB280.A0331F5A@nipltd.com> jacintha menezes wrote: > I am using Gadfly database for Employee details.Kindly let me know > whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. cheers, Chris From fog@mixadlive.com Tue Oct 31 11:58:04 2000 From: fog@mixadlive.com (Federico Di Gregorio) Date: Tue, 31 Oct 2000 12:58:04 +0100 Subject: [Zope] Re: [Soft] [Fwd: [Zope] PoPy] In-Reply-To: <39FEB0EA.905C9C2B@mixadlive.com>; from pcm@mixadlive.com on Tue, Oct 31, 2000 at 12:45:46PM +0100 References: <39FEB0EA.905C9C2B@mixadlive.com> Message-ID: <20001031125804.O504@mixadlive.com> first of all, always install the latest versions of popy and zpopyda. you can get them on our website, www.mixadlive.com. you don't need to compile the .py files of the database adapter, zope takes care of loading them through python that will compile them on the fly. please, when a compilation fails, send use some more information, at least the compiler error message and, if you can, installed packages/programs, etc... hope this helps, federico p.s. if you use the Debian distribution you can install popy and zpopyda by simply invoking "apt-get install python-popy zope-popyda" > I am new with Zope and I don't know Python. > I want to use Zope with PostgreSQL. > I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. > I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. > My problem is I don't know if I have to compile the Phyton files in > ZPoPyDA ? > I have tried, and some errors appeared : > > when compiling __init__.py : > ImportError: No module named Globals > when compiling PoPy_db.py : > The PoPy module is old: Update your version of PoPy > > So, I tried to install PoPy-1.3.6, but I failed! > > Is there someone who could help me ??? :-( -- Federico Di Gregorio MIXAD LIVE System Programmer fog@mixadlive.com Debian GNU/Linux Developer & Italian Press Contact fog@debian.org Those who do not study Lisp are doomed to reimplement it. Poorly. -- from Karl M. Hegbloom .signature From phil.harris@zope.co.uk Tue Oct 31 12:30:00 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 12:30:00 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <057301c04336$4d5d29a0$5c773fc1@media1> Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil ----- Original Message ----- From: "Chris Withers" To: Cc: ; Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta > There a PDF of it anywhere? > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From chrisw@nipltd.com Tue Oct 31 13:06:29 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 13:06:29 +0000 Subject: [Zope] Re: two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> Message-ID: <39FEC3D5.7CAA72CC@nipltd.com> You should probably try to give your mails more helpful subject lines, something like "adding acl_users and databases" would have been great in this case ;-) jacintha menezes wrote: > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > doesn't get assigned > even if i specify it. Kindly let me know, is there anyway by which when i > add an acl_user, > role as manager is taken automatically. > tags used are as follows : > > > > > > Not really sure what you're trying to do here. It soudns like you're trying to add new users to an acl_users folder. Not sure why you need all those REQUEST.set's, why not just pass them as keyword arguments to manage_users? > 2. Is there any other reliable database which we can use. MySQL, Oracle, PostGres... all have adapters for Zope. You could, of course, use the ZODB, but that's a slightly different kettle of fish. cheers, Chris PS: Please email the list and CC me in rather than just emailing me, there are many more people on the list who will have more knowledge than me in the areas you're asking about. From hgebel@inet.net Tue Oct 31 13:24:16 2000 From: hgebel@inet.net (Harry Henry Gebel) Date: Tue, 31 Oct 2000 08:24:16 -0500 Subject: [Zope] ssl w/ modrewrite In-Reply-To: ; from bill@carbonecho.com on Mon, Oct 30, 2000 at 04:10:51PM +0000 References: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: <20001031082416.A31505@inet.net> On Mon, Oct 30, 2000 at 04:10:51PM +0000, Bill Welch wrote: > Please say what Port, Listen, and VirtualHost directives you have in > place. I think that's really where the trouble. > > but it works as typed in the server withour CRs.) I added modssl, but > > when I go in on an https I get the original apache root page, and can > > only access zope at https://address/cgi-bin/Zope . Furthermore, since Thanks! I copied my modrewrite stuff into the SSL virtual host and everything worked fine after that. -- Harry Henry Gebel, ICQ# 76308382 West Dover Hundred, Delaware From b.pouye@paris.infonie.fr Tue Oct 31 13:30:04 2000 From: b.pouye@paris.infonie.fr (b.pouye@paris.infonie.fr) Date: Tue, 31 Oct 2000 14:30:04 +0100 Subject: [Zope] Zope and Sybase Stored Procedures Message-ID: Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am trying to do all my SQL requests by using stored procédures. The only thing that goes wrong is that I don't know how to make a call to a Sybase Stored Procedure within Zope. Can anyone help me ? Sincerly, Badara POUYE Infosources 16, rue Hoche Tour Kupka B 92906 Paris La Défense Tel.: (+33)141028000 From twcook@iswt.com Tue Oct 31 14:03:23 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 31 Oct 2000 08:03:23 -0600 Subject: [Zope] Add users & other acl_user quirks was:two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> <39FEC3D5.7CAA72CC@nipltd.com> Message-ID: <39FED12B.C37967AE@iswt.com> Chris Withers wrote: > > > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > > > > > > > > > > > > > > Not really sure what you're trying to do here. It soudns like you're > trying to add new users to an acl_users folder. Not sure why you need > all those REQUEST.set's, why not just pass them as keyword arguments to > manage_users? It is _probably_ because it was given as an example somewhere. 'Cuz I did the same thing. In my case those values are coming from a form with a lot of other stuff as well. My question that is similar to this is: Is there any reason why an acl_user folder cannot be added to the instance of a ZClass that is subclassed from OFS:Folder & Catalog Aware? I tried putting it in the ZClass itself. It doesn't show up. But if I try to manually add it to an instance I get an error saying that one already exists. A few days ago ethan (I think) said that they used a BTreeFolder for the Zope.Org user folder. Is this a _modified_ BTreeFolder? I thought there were some parts of the security mechanism that was part of acl_user folders? Inquiring minds...... -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From Jerry.Spicklemire@IFLYATA.COM Tue Oct 31 14:23:52 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Tue, 31 Oct 2000 09:23:52 -0500 Subject: [Zope] Almost Done. Message-ID: <977A39E65CFCD3119ABF00D0B741D849733932@innt-73.ata.com> Jason pondered: > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try it like this:
where tablename is the name of your table, and fieldname1, fieldname2 are names of fields. I've not used TinyTables, but this works with other tabular systems. Later, Jerry S. From tony.mcdonald@ncl.ac.uk Tue Oct 31 15:17:33 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 31 Oct 2000 15:17:33 +0000 Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs Message-ID: Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info may contain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' 215 % grep -i trackerbase Data.fs Binary file Data.fs matches doh! I change my PYTHONHOME to point to a Zope 2.2.1 installation that a lot of servers use. The lib/python/Products directory there shows no TrackerBase there. No TrackerBase in the (local, ie server-specific) directory, Products, either. Can anyone give me a clue as to where to look for this errant Product? Tone ps *excellent* news about BDFL and his troupe joining DC! ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hohage@muenster.de Tue Oct 31 16:31:43 2000 From: hohage@muenster.de (hohage) Date: Tue, 31 Oct 2000 16:31:43 +0000 Subject: [Zope] meta type? Message-ID: <39FEC383@muepubb> Hallo Jason, you are on the right way. Try this in a folder: ----------------- ----------------- You'll get the names of all the metatypes in the current folder. Bye Sven P.S.:the "available objects" button shows all available metatypes in your installation(you can add more by installing products or creating them on your own). >===== Original Message From "Jason C. Leach" ===== >hi, > >What is ment by a meta type? > >Is that like 'Image' in the case of images, and Folder in the case of >folders? > >j. > >...................... >..... Jason C. Leach >... University College of the Cariboo. >.. > > >_______________________________________________ >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 ) From phd@mail2.phd.pp.ru Tue Oct 31 15:53:22 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Tue, 31 Oct 2000 15:53:22 +0000 (GMT) Subject: [Zope] ZDNet compares 4 our rivals Message-ID: Hello! ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP: http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Scripting in ColdFusion found to be the best choice :) Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From webmaven@lvcm.com Tue Oct 31 16:08:33 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 31 Oct 2000 08:08:33 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> <39FE9B89.B54B5700@home-all.org.uk> Message-ID: <39FEEE81.2E452929@lvcm.com> Jonathan Cheyne wrote: > > Ok, well I got some success by eliminating apache and using the site accesss > example methods and an access rule. > > but. > > is this a lower performance solution than fronting zope with apache? The short answer is: "Only in some special cases". An example of such a 'special case' is if you want certain static files to be served directly by apache, and not by Zope. Or maybe you just like Apaches log-files better ;-) If the stuff that Apache was going to be fronting for was coming out of Zope anyway, then there is no difference. You may want to keep Apache around for certain things, just use IP hosting for your root folder (no Virtual hosting) and have the Access Rules and SiteRoots take care of both blue.com and red.com in sub-folders. that's what i'm doing on the Zope I'm hosting at CodeIt.com. HTH, Michael Bernstein. From bill@carbonecho.com Tue Oct 31 16:34:55 2000 From: bill@carbonecho.com (Bill Welch) Date: Tue, 31 Oct 2000 16:34:55 +0000 (GMT) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: Message-ID: I had a similar problem a month ago with PTK and ZDiscussions and I consider this to be corruption of the ZODB not related to the particular products. You might be able to fix it by going into the DB directly through python; stop zope start python in zope/lib/python 'import Zope, ZServer; root = Zope.app(); dir(root)' and dig around from there I didn't know that trick at the time, so I fixed it by: exporting my objects from the root folder (fortunately, I'm virtual hosting and I only had to export a couple of folders) stopping zope replacing Data.fs with Data.fs.in starting zope importing my objects On Tue, 31 Oct 2000, Tony McDonald wrote: > Hi all, > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > From ngps@post1.com Tue Oct 31 05:38:59 2000 From: ngps@post1.com (Ng Pheng Siong) Date: Tue, 31 Oct 2000 13:38:59 +0800 Subject: [Zope] M2Crypto problem In-Reply-To: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com>; from erik@pacific-shores.com on Tue, Oct 24, 2000 at 07:23:30AM -0700 References: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> Message-ID: <20001031133859.A650@madcap.dyndns.org> On Tue, Oct 24, 2000 at 07:23:30AM -0700, Erik Myllymaki wrote: > I'm trying to use M2Crypto to access some https pages through an external > method, but I get this error: > > SSLError: SSLEAY_RAND_BYTES: PRNG not seeded > > How do I seed the PRNG? Hmmm, getting behind on my mail... ;-) There should be a file 'randpool.dat' in the M2Crypto distribution. This is created from my FreeBSD's /dev/random, and contains enough randomness to satisfy OpenSSL. Copy that file to where your external method's .py lives. Let me know if it doesn't work. I've been very busy recently. No time to work on M2Crypto and Zope crypto stuff at all. ;-( In future, for (marginally ;-) better response time, write me direct. Cheers. -- Ng Pheng Siong * http://www.post1.com/home/ngps From heatherzau@yahoo.com Tue Oct 31 17:22:32 2000 From: heatherzau@yahoo.com (heatherzau@yahoo.com) Date: Tue, 31 Oct 2000 09:22:32 -0800 (PST) Subject: [Zope] Restart Zope script Message-ID: <20001031172232.67191.qmail@web10707.mail.yahoo.com> Hello. Do you like my script to restart Zope? I don't. I followed instructions in the Zope archive to write a restart script for Zope. It works if I run it from the command line but if I put it in a cron job, it hangs and does not start properly. Can you help me? THANK YOU. Heather #!/usr/bin/python import os, string # My Zope is installed in /usr/zope # So the commands to stop and start it are, stopcmd = "/usr/zope/stop" startcmd = "/usr/zope/start &" # Command to check Zope processes running, cmd = "ps aux | grep zope" # Find the Zope PIDs that are actually running, readstdin = os.popen(cmd).readlines() pids = [] for eachline in readstdin : words = string.split(eachline) if len(words) > 2 : pids.append(words[1]) pids.append(string.split(eachline)[1]) # Find the PIDs that should be running, pidsfile = "/usr/zope/var/Z2.pid" f = open(pidsfile, 'r') data = f.read() f.close() runningpids = 0 zopepids = string.split(data) for eachpid in zopepids : if eachpid in pids : runningpids = runningpids + 1 if runningpids != 2 : os.popen(stopcmd) os.popen(startcmd) __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From kthangavelu@earthlink.net Tue Oct 31 12:52:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 31 Oct 2000 04:52:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> Message-ID: <39FEC0A3.7DF866A2@earthlink.net> Phil Harris wrote: > > Give me a few hours and I'll be knocking out the eBook and PDF versions. > > By the end of the day. > > Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil > ----- Original Message ----- > From: "Chris Withers" > To: > Cc: ; > Sent: Tuesday, October 31, 2000 11:49 AM > Subject: Re: [Zope] Zope Book Beta > > > There a PDF of it anywhere? > > > > cheers, > > > > Chris > > > > Michel Pelletier wrote: > > > > > > Amos and I are gibbering like madmen with excitement to announce the > > > Zope Book Beta. This is the complete, technical draft of the book with > > > all screenshots (but minus illustrations, those are on there way!). > > > Some other things like a colophon and information about the authors is > > > missing. The beta includes all completed chapters, the API reference, > > > and the DTML reference. We've received over a hundred comments, > > > corrections, and ideas from you the community and it has made a much > > > better book. This is the one to print out and give to your friends as > > > christmas gifts, folks, so get crackin and start reading at > > > http://www.zope.org/Members/michel/ZB/. > > > > > > Enjoy, > > > > > > -Michel > > > > > > _______________________________________________ > > > 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 ) > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sun Oct 29 17:16:22 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:16:22 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <014e01c041cb$f8c1c970$0202a8c0@typhoon> Nah, I use the offical stuff , Adobe Distiller. For the eBook stuff I use a Microsoft Word Add-in, available from www.pocketpc.com (really microsoft under a pseudonym) hth Phil ----- Original Message ----- From: "Ender" To: "Phil Harris" Cc: ; ; Sent: Tuesday, October 31, 2000 12:52 PM Subject: Re: [Zope] Zope Book Beta | Phil Harris wrote: | > | > Give me a few hours and I'll be knocking out the eBook and PDF versions. | > | > By the end of the day. | > | > Phil | | Hi Phil, | | how do you do that? for the pdf are you dumping stuff into reportlab? | | Kapil | | | > ----- Original Message ----- | > From: "Chris Withers" | > To: | > Cc: ; | > Sent: Tuesday, October 31, 2000 11:49 AM | > Subject: Re: [Zope] Zope Book Beta | > | > > There a PDF of it anywhere? | > > | > > cheers, | > > | > > Chris | > > | > > Michel Pelletier wrote: | > > > | > > > Amos and I are gibbering like madmen with excitement to announce the | > > > Zope Book Beta. This is the complete, technical draft of the book with | > > > all screenshots (but minus illustrations, those are on there way!). | > > > Some other things like a colophon and information about the authors is | > > > missing. The beta includes all completed chapters, the API reference, | > > > and the DTML reference. We've received over a hundred comments, | > > > corrections, and ideas from you the community and it has made a much | > > > better book. This is the one to print out and give to your friends as | > > > christmas gifts, folks, so get crackin and start reading at | > > > http://www.zope.org/Members/michel/ZB/. | > > > | > > > Enjoy, | > > > | > > > -Michel | > > > | > > > _______________________________________________ | > > > 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 ) | > | > _______________________________________________ | > 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 ) From ckant@fazenda.gov.br Tue Oct 31 18:35:46 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Tue, 31 Oct 2000 16:35:46 -0200 Subject: [Zope] Sybase/MS SQL Server Database Adaptor - FreeTDS Message-ID: <39FF1102.B1263576@fazenda.gov.br> Hi! Does anyone have implemented any application in Linux that connects to a MS SQL Server 6.5 form a Linux box? I know there are a way to connect to a MS SQL Server using FreeTDS (http://www.FreeTDS.org/), but doesn't know how to make it runs with Python/Zope. Can anyone helps me? []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Sed quis custodiet ipsos Custodes? [Who guards the Guardians?] From Danny@Adair.net Tue Oct 31 18:37:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:37:46 +0100 Subject: [Zope] Change rendering of a folder Message-ID: Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny From amos@digicool.com Tue Oct 31 18:39:58 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 10:39:58 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FEA5C3.30680.5483DF1@localhost> Message-ID: <39FF11FE.41B79D22@digicool.com> Wolfgang Strobl wrote: > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. I believe that O'Reilly doesn't want the book redistributed before it is printed. I'll recheck with them. Take a look at the copyright stuff info on each page. Luckily the book will soon be under an open content license, and then you'll be free to do what ever you wish. Thanks for taking a look at the book! -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From twiens@compusmart.ab.ca Tue Oct 31 18:56:24 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 11:56:24 -0700 Subject: [Zope] Mapping tools with Zope References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <39FF1604.522CF6D0@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From robin@jessikat.fsnet.co.uk Tue Oct 31 18:58:00 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 18:58:00 +0000 Subject: [Zope] preventing acquisition Message-ID: I have some folderish Zclasses which have index_html methods to implement a UI. I would like to inhibit acquisition of these. So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like

You're not supposed to be looking at

in my index_html, but this doesn't work for the second case. Is there a generic way to do this? -- Robin Becker From Danny@Adair.net Tue Oct 31 18:58:29 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:58:29 +0100 Subject: [Zope] Sorry, resolved Message-ID: Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Danny William Adair Gesendet: Dienstag, 31. Oktober 2000 19:38 An: zope@zope.org Betreff: [Zope] Change rendering of a folder Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny _______________________________________________ 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 ) From ws@mystrobl.de Tue Oct 31 19:28:50 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 20:28:50 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF11FE.41B79D22@digicool.com> Message-ID: <39FF2B82.7500.28F81960@localhost> On 31 Oct 2000, at 10:39, Amos Latteier wrote: > I believe that O'Reilly doesn't want the book redistributed before it is > printed. It's gone. > I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? >Take a look at the copyright stuff info > on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl From asc@vineyard.net Tue Oct 31 19:48:28 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 31 Oct 2000 14:48:28 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Message-ID: Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... On Tue, 31 Oct 2000, TFE WSD JARVIS JOHN wrote: > Yes, but you have to do in it a round about way. > (Actually, I've seen mention of a patch to Apache that > does this, but I don't think it's neccessary) > > Here's the setup I'm using: > RewriteEngine On > RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} > [QSA,L,P] > RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] > RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] > > In this case, REMOTE_ADDR will be available in the > REQUEST namespace under "client_ip" > > HTH > > > -----Original Message----- > > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > > Sent: Tuesday, October 31, 2000 5:47 AM > > To: zope@zope.org > > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > > > Hi, > > > > Does anyone know if it is even *possible* to pass environment variables > > (specifically REMOTE_USER) to Zope when it is set up behind > > Apache/ProxyPass. > > > > I've looked around the list archives, and the Apache docs and tried a > > bunch of different configs but nothing works. I'm starting to wonder if > > it's all in vain. > > > > Thanks, > > > > > > > > _______________________________________________ > > 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 ) > From amos@digicool.com Tue Oct 31 19:44:16 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 11:44:16 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF2110.AF8151CC@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see what I'm talking about. As soon as the book is published it will go under an open content license and we'll make PDF, and probably other formats available. At that time you'll also be able to convert the book to whatever formats you want and redistribute it as you wish. Thanks for your patience. -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From robin@jessikat.fsnet.co.uk Tue Oct 31 20:10:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:10:09 +0000 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> References: <39FE2133.F00ED435@digicool.com> Message-ID: In article <39FE2133.F00ED435@digicool.com>, Michel Pelletier writes > >Amos and I are gibbering like madmen with excitement to announce the >Zope Book Beta. This is the complete, technical draft of the book with >all screenshots (but minus illustrations, those are on there way!). >Some other things like a colophon and information about the authors is >missing. The beta includes all completed chapters, the API reference, >and the DTML reference. We've received over a hundred comments, >corrections, and ideas from you the community and it has made a much >better book. This is the one to print out and give to your friends as >christmas gifts, folks, so get crackin and start reading at >http://www.zope.org/Members/michel/ZB/. > >Enjoy, > >-Michel > ... wonderful, but the stuff on Python methods seems to refer to features which are certainly not in 2.2.2 and apparently not in CVS. Indeed CVS Zope2 doesn't seem to contain any Python method product! Indeed we will apparently soon be able to create XSLT methods! Which potential Zope does the book address? -- Robin Becker From robin@jessikat.fsnet.co.uk Tue Oct 31 20:51:54 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:51:54 +0000 Subject: [Zope] preventing acquisition In-Reply-To: References: Message-ID: In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From evan@4-am.com Tue Oct 31 20:58:04 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 31 Oct 2000 15:58:04 -0500 Subject: [Zope] Zope & Apache/ProxyPass : environment variables References: Message-ID: <00d801c0437d$434cbf10$3e48a4d8@digicool.com> From: Aaron Straup Cope > Thanks. It appears, though, that there is no way to do this without > appending a query string to the redirected URL. Is this correct? That, or mangling the URL in some way and then unmangling on the Zope end. If someone out there has any experience with Apache modules, they could earn the undying gratitude of many Zopistas by enhancing mod_forwarding to do this sort of thing. Cheers, Evan @ digicool & 4-am From michel@digicool.com Tue Oct 31 20:54:49 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:54:49 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF2B82.7500.28F81960@localhost> Message-ID: <39FF3199.2EAC7DB2@digicool.com> Wolfgang Strobl wrote: > > On 31 Oct 2000, at 10:39, Amos Latteier wrote: > > > I believe that O'Reilly doesn't want the book redistributed before it is > > printed. > > It's gone. > > > I'll recheck with them. > > No need to. > > But what is the meaning of This is the one to print out and give to > your friends as christmas gifts, folks, so get crackin and start > reading at." in the announcement? That was a joke. Sorry. -Michel From michel@digicool.com Tue Oct 31 20:57:51 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:57:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF324F.2A90AFB2@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? No, we won't produce one until the book goes to an open content license when it hits the shelf. -Michel > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From jasonic@nomadicsltd.com Tue Oct 31 21:15:59 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Tue, 31 Oct 2000 16:15:59 -0500 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <39FF2110.AF8151CC@digicool.com> Message-ID: <026501c0437f$c4c18ba0$c3090740@megapathdsl.net> Hello Congratulations on getting the book to this stage!! It is very readable and I hope it is well promoted, and well received. One obvious presentation improvement I suggest is that you make ALL zope code references in the same typographic style. For example throughout most of the text you sensibly have DTML and Python examples in courier or equivalent. But in the Appendices, for example http://www.zope.org/Members/michel/ZB/AppendixA.html under sections marked 'Attributes', there is not a clear consistent distinction: encode=string MIME Content-Transfer-Encoding header, defaults to base64. Valid encoding options include base64, quoted-printable, uuencode, x-uuencode, uue, x-uue, and 7bit. If the encode attribute is set to 7bit no encoding is done on the block and the data is assumed to be in a valid MIME format. "encode=string" should display in courier also like all examples. And if possible put one extra line space after each Attribute description before the next entry. Thought this takes up a little more space, it is white space well used adn really helps one to find and absorb this crucial content better. An editorial suggestion I would make is that in the Appendices, MORE examples would be BETTER and clearer definitions and examples of the attributes arguments would really help too. Even a single one or two-line example after each 'Attributes section would be a godsend. I imagine there are lots of juicy examples in the archives. For example check sendmail, mailhost ="mailhostnamegoeshere" Also there is no mention about the sendmail quirkiness of formatting, needing space after the subject: line This is a FAQ and surely belongs in the appendix of the only Zope book. Are there others? In general for the Appendices, please check that explicitly it is clear and consistent when and if anything is returned, and when and how arguments are needed. You all know, and take all this for granted no doubt, but others truly don't. The API aspect is one that holds so many people back and so many questions about real-world use. Copious well placed examples go a long way. I know how hard it is use to make a book and how many endless fiddly time-consuming tasks there are. But it really is worth getting this right. I work for 10 years in the design and production side of book publishing. Ditto the index. I hope you push to make sure your editorial team at OReilly are really behind you on helping to produce a great index and will sweat all the details and typographic minutiae which do matter so much when you hold the final result. A classic example is 'Lingo in a Nutshell' [ORA] which has very detailed examples and excellent tables and appendices, but was marred by a cheap fast shallow index. It was author Bruce Epstein's painful learning curve. It is still the definitive LINGO book, but widely criticized for lack of serious index. Bruce later added stuff online and vowed to fix it in the next edition. As I recall from his post to the Direct-L mailing list, he said that he had not been personally very involved in the index, and as an exhausted and tired new author, he had not reckoned on what could go wrong, nor how important the index is to a static printed paper book. Very different from the dynamic online world where a few searches on google or wherever will get a handy reference, backed up by a post to xyz-mailinglist. Best wishes - Jason ________________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector From twiens@compusmart.ab.ca Tue Oct 31 22:02:30 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 15:02:30 -0700 Subject: [Zope] Mapping tools with Zope Message-ID: <39FF419C.6BC2856D@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T PS. I'm posting this a second time as I accidentally posted the first message as part of the Zope Book Beta thread. Sorry. -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From ws@mystrobl.de Tue Oct 31 22:08:00 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 23:08:00 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <39FF50D0.5314.2989D443@localhost> On 31 Oct 2000, at 12:54, Michel Pelletier wrote: > That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl From aboulang@ldeo.columbia.edu Tue Oct 31 22:27:35 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Tue, 31 Oct 2000 17:27:35 -0500 (EST) Subject: [Zope] Mapping tools with Zope In-Reply-To: <39FF419C.6BC2856D@compusmart.ab.ca> (message from twiens on Tue, 31 Oct 2000 15:02:30 -0700) Message-ID: <200010312227.RAA05754@ox.ldgo.columbia.edu> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. Here is one one other that I know of that may be of interest. BBN Technologies; contribution to the OpenGIS effort, a product called openmap, www.openmap.org. This is a JavaBeans tooolkit. I have downloaded it but have not done anything serious with it. FYI, Albert Boulanger aboulanger@vpatch.com From dieter@handshake.de Tue Oct 31 22:02:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:02:33 +0100 (CET) Subject: [Zope] incorporating generated sub-websites within a Zope site In-Reply-To: <34848996@toto.iv> Message-ID: <14847.16076.672445.475183@lindm.dm> Fred Yankowski writes: > ... publishing content created with standard web design tools via Zope ... There have been some discussions about this in "zope-dev" in relation with "HiperDOM" and "XHTML" templates. Maybe, you search the "zope-dev" archive to get an overview. As far as I know, DC plans to support such publication. HiperDOM might already go some way into this direction (for tools that generate XHTML). There is an easy way to provide header and footer to your content -- provided you are ready to use a bit uncomfortable URLs, i.e. to view an object with URL "u", you use "u/view". "view" is a method (DTML or PYTHON) that operates on "u". It removes the header and footer in "u" and replaces it with header and footer of your choice, after passing values extracted from the original header to the new header (e.g. title, link, meta tags). With some advanced Zope, maybe the "Traversable" product, it might be possible to get around the additional "/view" URL suffix. Dieter From dieter@handshake.de Tue Oct 31 22:03:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:03:54 +0100 (CET) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: <54175321@toto.iv> Message-ID: <14847.16782.566315.644387@lindm.dm> Tony McDonald writes: > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > > and the traceback... > > (Info: ('\000\000\000\000\000\000\015\367', > '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ > Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke > rBase > > Now the thing is, I *do not have* TrackerBase.TrackerBase in my > Products folder. To try and get rid of this error, I have deleted > *all* the products in my Products Folder and restarted my server. The > error message still comes up. > I have packed the database and tried 'grep' The problem will probably disappear, when you do install "TrackerBase". Dieter From dieter@handshake.de Tue Oct 31 22:05:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:05:05 +0100 (CET) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <44407041@toto.iv> Message-ID: <14847.16851.2182.108602@lindm.dm> Aaron Straup Cope writes: > I'd like to be able to perform all authentication in Apache-land on the > SSL and, if successful, hand the request off the Zope. The thing is, I > still need to know who's actually authenticated once they readch > Zope-world and assinging REMOTE_USER to a request parameter doesn't make > me very comfortable. > > Alas... The "doc/WEBSERVERS.txt" contains some information about how to convince Apache to pass "REMOTE_USER". I am not sure, it will be enough for you. Dieter From dieter@handshake.de Tue Oct 31 21:37:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 22:37:40 +0100 (CET) Subject: [Zope] Gadfly In-Reply-To: <12604657@toto.iv> Message-ID: <14847.15152.805685.438529@lindm.dm> Chris Withers writes: > jacintha menezes wrote: > > > I am using Gadfly database for Employee details.Kindly let me know > > whether there is any maximum limit for the space available. > > Probably related to the memory in the machine you are running Zope on. > > Bear in mind that gadfly databases are not persistent and loose their > contents when you restart Zope. It is very easy to make them persistent. When I remember correctly, it was only necessary to pass "commit" to Gadfly. Dieter From phil.harris@zope.co.uk Sun Oct 29 17:50:41 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:50:41 -0000 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF50D0.5314.2989D443@localhost> Message-ID: <003101c041d0$c2da66f0$0202a8c0@typhoon> Hi all, If your talking about me with the PDF and eBook, then if it's a problem I won't redistribute it. It's actually sitting on my machine waiting to go, but I'll hold if need be. Let me know either way. hth Phil ----- Original Message ----- From: "Wolfgang Strobl" To: ; "Amos Latteier" ; ; Sent: Tuesday, October 31, 2000 10:08 PM Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta | On 31 Oct 2000, at 12:54, Michel Pelletier wrote: | | > That was a joke. Sorry. | | Uh, oh. Well, my thought was as follows: people are already | annoucing making PDF versions, which are a much greater | potential harm to to the number of sales of a printed book.With a | good pdf file, I can get to my local prinshop and get a perfect | bounded book back within half an hour. | | On the other hand, a MS HTML help file is of little use other than | having a compact, searchable file which fits well into a | development environment on Windows. Frankly, I can't see how | these could do any harm to selling your book. To the contrary; I | tend to beleive that having a properly indexed and tightly | integrated online format might even might help selling the book. | | For example; I have HTML help versions _and_ printed copies of | the - outdated - Zope docs, and one of each from the actual | howto-collection, and I'm using them both. | | -- | Wolfgang Strobl | | _______________________________________________ | 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 ) From troy.farrell@wilcom.com Tue Oct 31 23:04:19 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Tue, 31 Oct 2000 17:04:19 -0600 Subject: [Zope] preventing acquisition Message-ID: Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -----Original Message----- From: Robin Becker [mailto:robin@jessikat.fsnet.co.uk] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: Zope@zope.org Subject: Re: [Zope] preventing acquisition In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From nichols@tradingconnections.com Tue Oct 31 23:01:26 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 31 Oct 2000 17:01:26 -0600 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF50D0.5314.2989D443@localhost> References: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <4.3.2.7.2.20001031165846.00c7d960@tradingconnections.com> At 10/31/00 11:08 PM, Wolfgang Strobl wrote: >For example; I have HTML help versions _and_ printed copies of >the - outdated - Zope docs, and one of each from the actual >howto-collection, and I'm using them both. Wolfgang - How about putting up your HTML help version of the howto-collection? That would be very cool. Thanks! -- Dennis Nichols nichols@tradingconnections.com From phil.harris@zope.co.uk Tue Oct 31 01:50:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 01:50:09 -0000 Subject: [Zope] OT Zope book images -> PDF References: Message-ID: <008301c042dc$e7d072d0$0202a8c0@typhoon> Eric, I got Acrobat to recognise the png's by first loading the html nto msword and then 'printing' the PDF from there. hth Phil ----- Original Message ----- From: "Eric Walstad" To: "Zope@Zope.Org" Sent: Thursday, November 02, 2000 12:58 AM Subject: [Zope] OT Zope book images -> PDF | In light of all the hubbub about the Zope book, I thought I would try and | make my own copy of it in PDF format (just for me, of course). I'm finding | that Acrobat doesn't know how to convert the PNG image file type used in the | Zope Book. (or rather, I don't know how to get it to work !) Anyone know | how to get png files into Acrobat? Oh, I'm trying to use their 'Open Web | Page' method of creating the document. Is there another/better way that | will get the png images? | Thanks, | Eric. | | | _______________________________________________ | 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 ) From peter@grenna.net Sun Oct 1 00:23:12 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 1 Oct 2000 00:23:12 +0100 Subject: [Zope] Hexcolors and DTML Message-ID: <001b01c02b35$67513450$01d4a8c0@peppe> This might be a math-python question but... All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 I can do a loop from 1 to 255, but I don't know where to go from there. BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? From zope@philosoft.at Sun Oct 1 02:52:40 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sun, 01 Oct 2000 03:52:40 +0200 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? Message-ID: <200010010352400046.182B82FD@192.7.2.223> --=====_97036516041=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Since XML blows lots of overhead over the line sending large amounts of data via XML becomes a performance question. There exist XML-compressors, for example XMill that address this problem. What I need is integrating such an XML compressor into the Zope XMLRPC= mechanism, Before I do something that is already done by somebody else: Did anybody play with XML compressors for Zope or at least have a hint how= to do that? thanks --=====_97036516041=_ Content-Type: text/html; charset="us-ascii"
Since XML blows lots of overhead over the line sending large amounts of
data via XML becomes a performance question.
 
There exist XML-compressors, for example XMill that address this problem.
 
What I need is integrating such an XML compressor into the Zope XMLRPC mechanism,
Before I do something that is already done by somebody else:
 
Did anybody play with XML compressors for Zope or at least have a hint how to do that?
 
thanks
--=====_97036516041=_-- From chrism@digicool.com Sun Oct 1 03:47:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 30 Sep 2000 22:47:17 -0400 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? References: <200010010352400046.182B82FD@192.7.2.223> Message-ID: <39D6A5B5.D77B08CE@digicool.com> Phillip, If your data transfers are bounded between a number of systems that you control, it's possible to solve this problem the sledgehammer way by having them communicate via a channel such as a compressed ssh tunnel (if your processors aren't a bottleneck). -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From twcook@iswt.com Sun Oct 1 03:59:40 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 30 Sep 2000 21:59:40 -0500 Subject: [Zope] Hexcolors and DTML References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <39D6A89C.EA2B0341@iswt.com> Peter Bengtsson wrote: > > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > > BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? Not an expert on this at all. But, I believe that all the websafe colors are defined in pairs of the following hex digits. 00, 33, 66, 99, cc, & ff. So only colors that are composed of those pairs are websafe. If that's true then yes there are shades of gray that are not web safe. Checkout this link for more info. http://www.reallybig.com/visibone/lab/index.shtml Therefore there are only six shades of websafe gray. 000000, 333333, 666666, 999999, cccccc, & ffffff. Put those in a list? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From wilson@visi.com Sun Oct 1 05:32:48 2000 From: wilson@visi.com (Timothy Wilson) Date: Sat, 30 Sep 2000 23:32:48 -0500 (CDT) Subject: [Zope] handling date properties in Message-ID: Hi everyone, I've created a simple ZClass to allow our Human Resources dept. to post job openings on our Web site. There's a DTML method that iterates through a folder containing all of the 'Job Board Entry' instances and displays them in an HTML table. No problem there. The ZClass has a number of properties including two dates, 'date_posted' for the date that the job is officially available and 'offer_expires' for the date the job opening officially closes. I want to display only those jobs for which the current date is on or after the 'date_posted' and on or before 'offer_expires'. I've tried a bunch of things, but haven't hit upon the winning answer. Any takers? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From nolan_d@bigfoot.com Sun Oct 1 07:26:15 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Sun, 01 Oct 2000 01:26:15 -0500 Subject: [Zope] Z class complexities Message-ID: <20001001012615P.nolan@tiny> I'm having a kinda complex problem, and hopefully my explanation can do it justice. :) I'm using zope to construct an XML document from the contents of a folder. Basically, the folder's index.xml iterates through the folder's contents, rendering each object to produce the final document. The objects are separate z classes which combine various properties into a small snippet of the larger XML document. The z class has a render() method which combines the properties into the XML snippet. I have a Render view configured to run this method, and it works. (Though for some reason it adds a ..., which I'd really like to get rid of. How can I?) I've written the index_html to collect the individual objects and concatenate their contents into an XML document. The code for the method is below: This almost gives me what I want (I say "almost" because everything works, short of the render() call.) Viewing this results in: +----------------------------------------------------------------------------+ ||Zope Error | || | ||Zope has encountered an error while publishing this resource. | || | ||Error Type: KeyError | ||Error Value: title | ||---------------------------------------------------------------------------| || | ||Troubleshooting Suggestions | || | || o This resource may be trying to reference a nonexistent object or | || variable title. | || o The URL may be incorrect. | || o The parameters passed to this resource may be incorrect. | || o A resource that this resource relies on may be encountering an error. | || | ||For more detailed information about the error, please refer to the HTML | ||source for this page. | || | ||If the error persists please contact the site maintainer. Thank you for | ||your patience. | +----------------------------------------------------------------------------+ Traceback (innermost last): File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/e1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/e1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index.xml) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index.xml) File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: PARENTS[0].objectValues('ESPPackage')) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[_['id']].render()) (Info: _) File <string>, line 0, in ? File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: render) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: render) KeyError: (see above) --> I have a title variable in the z class which this index.xml method is referencing. And, as previously stated, the render() method runs without errors when invoked via the view. Yet, trying to display this document from within another doesn't work. Can anyone please advise? Thanks a bunch in advance. From stefan@epy.co.at Sun Oct 1 09:38:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Sun, 1 Oct 2000 10:38:17 +0200 (CEST) Subject: [Zope] DTMLTemplate on Zope 2.2.1 Message-ID: I a trying to make the DTMLTemplate Product work on Zope 2.2.1 No luck so far ;( I can add a DTMLTemplate instance but when I try to edit it, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: first argument must be sequence of strings Traceback (innermost last): File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: MyBlocks) File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 271, in recordMetaData TypeError: (see above) I believe it worked with Zope 2.1.6. Any hints appreciated. Stefan -- Stefan H. Holek, stefan@epy.co.at From rsepulveda@linuxmty.org Sun Oct 1 09:39:07 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 03:39:07 -0500 Subject: [Zope] Use variable value by other file In-Reply-To: Dieter Maurer's message of "Sat, 30 Sep 2000 22:10:17 +0200 (CEST)" References: <14806.18483.33225.450699@lindm.dm> Message-ID: <87og15x8es.fsf@linuxmty.org> Dieter Maurer writes: > It is not necessary for "standard_html_footer" to be > in the same folder than your file. Yes, I realize that it was a mistake in the variable name: - instead of a _. -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From rsepulveda@linuxmty.org Sun Oct 1 11:06:41 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 05:06:41 -0500 Subject: [Zope] One page for different selections Message-ID: <87k8bsyixa.fsf@linuxmty.org> Is there a way to make a variable change its value depending which 'href' the user clicks in order to change the contents of the next page viewed? For example, I want to have a page with six links, and depending which of them the user clicks, a variable will change its value so the next page will display that data refered on the link clicked. Is there a way to do this without having six files, one for each other; just having one file with that variable? -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From sebbacon@email.com Sun Oct 1 13:42:25 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:42:25 +0100 Subject: [Zope] One page for different selections References: <87k8bsyixa.fsf@linuxmty.org> Message-ID: <39D73131.60633ECD@email.com> I'm not sure exactly what you mean when you say > Is there a way to do this without having six files, one for each > other; just having one file with that variable? but one answer to what I think you're asking is Foo Bar and then in the next_page document: this will render the foo object if someone clicks on "Foo", etc. HTH, seb. "Rafael Sepúlveda" wrote: > > Is there a way to make a variable change its value depending which > 'href' the user clicks in order to change the contents of the next > page viewed? > > For example, I want to have a page with six links, and depending which > of them the user clicks, a variable will change its value so the next > page will display that data refered on the link clicked. > From sebbacon@email.com Sun Oct 1 13:48:50 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:48:50 +0100 Subject: [Zope] handling date properties in References: Message-ID: <39D732B2.FD73DA33@email.com> Hi, > ... I want to display only those jobs > for which the current date is on or after the 'date_posted' and on or > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > the winning answer. Any takers? Try Job:
Seb. From mail@okstudio.com.au Sun Oct 1 16:58:18 2000 From: mail@okstudio.com.au (George Osvald) Date: Mon, 2 Oct 2000 01:58:18 +1000 Subject: [Zope] working crontab restart script on FreeBsd Message-ID: <000001c02bc0$6a977580$48f438cb@gosvald> I was trying to do this for a little while so in case anyone's interested, here it is. Most of the code was kindly sent to me by other people so do not blame me for the mistakes. This script(auto) checks ZOPE every 15'th minute and if it does not run, it will restart it. It has been working without a problem on FreeBSD 4.0 after I patched ZOPE's pidfile for LF's. (without that little operation it returns an error message and restarts ZOPE every time without checking it) I am running this from crontab: SHELL=/bin/sh 0,15,30,45 * * * * /home/user/auto And this script(auto) is sitting in my user directory: #!/bin/sh ZOPEDIR="/home/user/zope" INFOMAIL="mail@okstudio.com.au" STARTFILE="$ZOPEDIR/start" STOPFILE="$ZOPEDIR/stop" PIDFILE="$ZOPEDIR/var/Z2.pid" PID1ACTIVE=0 PID2ACTIVE=0 if [ -x $STARTFILE ]; then if [ -r $PIDFILE ]; then PID1=`cut -d" " -f1 $PIDFILE` PID2=`cut -d" " -f2 $PIDFILE` if kill -0 $PID1 2>/dev/null then PID1ACTIVE=1 fi if kill -0 $PID2 2>/dev/null then PID2ACTIVE=1 fi fi if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then $STOPFILE >/dev/null 2>&1 sleep 10 $STARTFILE date | mail -s"Zope restarted" $INFOMAIL >/dev/null 2>&1 fi fi Regards, George From roeder@berg.net Sun Oct 1 16:41:26 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 17:41:26 +0200 Subject: [Zope] handling date properties in References: <39D732B2.FD73DA33@email.com> Message-ID: <39D75B26.2646394B@berg.net> Hi ! seb wrote: > > Hi, > > > ... I want to display only those jobs > > for which the current date is on or after the 'date_posted' and on or > > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > > the winning answer. Any takers? > > Try > > > > > Job:
>
>
>
I have added it to he ZSnippets: http://zdp.zope.org/projects/zsnippet/snippets/time/expiration Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From roeder@berg.net Sun Oct 1 17:02:18 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 18:02:18 +0200 Subject: [Zope] Z class complexities References: <20001001012615P.nolan@tiny> Message-ID: <39D7600A.565060D4@berg.net> Hi Nolan ! Nolan Darilek wrote: > > I'm having a kinda complex problem, and hopefully my explanation can > do it justice. :) > > I'm using zope to construct an XML document from the contents of a > folder. Basically, the folder's index.xml iterates through the > folder's contents, rendering each object to produce the final > document. The objects are separate z classes which combine various > properties into a small snippet of the larger XML document. > > The z class has a render() method which combines the properties into > the XML snippet. I have a Render view configured to run this method, > and it works. (Though for some reason it adds a ..., which > I'd really like to get rid of. How can I?) Attach the following code: > I've written the index_html to collect the individual objects and > concatenate their contents into an XML document. > > > > > > > > Something like this should work if you have a DTML Method to_xml: Place the to_xml in the ESPPackage ZClass Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From andym@ActiveState.com Sun Oct 1 20:54:18 2000 From: andym@ActiveState.com (Andy McKay) Date: Sun, 1 Oct 2000 12:54:18 -0700 Subject: [Zope] SQL errors References: <14805.3989.417931.96225@lindm.dm> Message-ID: <005c01c02be1$62bb9370$ae03a8c0@fork> Of course, thank you. That works just fine. ----- Original Message ----- From: "Dieter Maurer" To: "Andy McKay" Cc: Sent: Friday, September 29, 2000 2:55 PM Subject: Re: [Zope] SQL errors > Andy McKay writes: > > Using ZODBC Database Adapter to connect to an MSSQL and I can call the sql > > method in dtml eg: > > > > > > > > > > Error! > > > > > > But does anyone know a way of trapping the specific error eg: database down, > > key violation etc...? Or do I have to hack ZODBC to return different errors? > You know the "error_value" variable defined inside the "dtml-except"? > > Maybe, it can give you additional information about the kind > of error. > If it is the wrong one, reraise the exception. > > > Dieter > > _______________________________________________ > 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 ) > From jensebaer@hotmail.com Sun Oct 1 22:09:36 2000 From: jensebaer@hotmail.com (jensebaer) Date: Sun, 1 Oct 2000 23:09:36 +0200 Subject: [Zope] LocalFS manage_addFolder solution? Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, while searching for a solution to add a folder to LocalFS, I found this = message: _________________________________________________________________________= _____ > Folder creation isn't really supported in LocalFS at the moment. Very = > low level support is there (module function _save_Folder) but it's not = > intended to be called externally and there doesn't seem to be any path = > to call it. There is certainly not a local definition of > manage_addFolder in LocalDirectory. This is on my list of stuff to do = > for our site, but I don't know if it's on Jonothan's list for the real > product. It is. It's hard. I'm going to need some help with this one, I'm afraid. --jfarr _________________________________________________________________________= _____ My question: Is there now a solution to perfom manage_addFolder to LocalFS? Thank You=20 Jens ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
while searching for a solution to add a = folder to=20 LocalFS, I found this message:
________________________________________________________________= ______________
> Folder creation isn't really = supported in=20 LocalFS at the moment.  Very
> low level support is there = (module=20 function _save_Folder) but it's not
> intended to be called = externally=20 and there doesn't seem to be any path
> to call it.  There = is=20 certainly not a local definition of
> manage_addFolder in=20 LocalDirectory.  This is on my list of stuff to do
> for our = site,=20 but I don't know if it's on Jonothan's list for the real
>=20 product.

It is. It's hard. I'm going to need some help with this = one, I'm=20 afraid.

--jfarr

________________________________________________________________= ______________
 
 
My question:
 
Is there now a solution to perfom = manage_addFolder=20 to LocalFS?
 
Thank You
 
Jens
------=_NextPart_000_0005_01C02BFC.AAFAF3E0-- From scott@launchpoint.net Sun Oct 1 22:13:59 2000 From: scott@launchpoint.net (Scott Burton) Date: Sun, 01 Oct 2000 14:13:59 -0700 Subject: [Zope] sendmail tag strangeness Message-ID: > 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. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I have searched around about sendmail tag problems on the list and have found similar answers to my question. However none of them work. I have used this syntax To: <> From: Subject: body.... I pay close attention to not having any whitespace before the To: and From: headers. I receive this error from multiple SMTP hosts: 503 must have sender and recipient first I can send an email with this syntax: body... The problem is, I have to put in the recipient by hand. This method is supposed to email a recipient after filling out a form so the recipient has to be a variable. When I try using or &dtml-recipient; or _[recipient] I still have errors or the SMTP log shows that the variable does not get evaluated and shows up as a string of <&dtml-recipient;> as being the recipient in the SMTP header. Is this a bug? Is there something else I could try? TIA Scott B. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable sendmail tag strangeness I have searched around about sendmail tag problems on the list and have fou= nd similar answers to my question. However none of them work.

I have used this syntax
<dtml-sendmail mailhost=3D"MailHost">
To: <<dtml-var recipient>>
From: <me@mydomain.com>
Subject: <Whatever>

body....

</dtml-sendmail>

I pay close attention to not having any whitespace before the To: and From:= headers.

I receive this error from multiple SMTP hosts: 503 must have sender and recipient first


I can send an email with this syntax:

<dtml-sendmail mailhost=3D"MailHost" mailto=3D"you@yourdomain= .com" mailfrom=3D"me@mydomain.com">

body...

</dtml-sendmail>

The problem is, I have to put in the recipient by hand. This method is supp= osed to email a recipient after filling out a form so the recipient has to b= e a variable. When I try using <dtml-var recipient> or &dtml-recip= ient; or _[recipient] I still have errors or the SMTP log shows that the var= iable does not get evaluated and shows up as a string of <&dtml-recip= ient;> as being the recipient in the SMTP header.

Is this a bug? Is there something else I could try?

TIA

Scott B.
--MS_Mac_OE_3053254440_367021_MIME_Part-- From roeder@berg.net Sun Oct 1 23:02:01 2000 From: roeder@berg.net (Maik Roeder) Date: Mon, 02 Oct 2000 00:02:01 +0200 Subject: [Zope] sendmail tag strangeness References: Message-ID: <39D7B459.2C3D96BD@berg.net> Hi Scott ! Scott Burton wrote: > The problem is, I have to put in the recipient by hand. This method is > supposed to email a recipient after filling out a form so the recipient > has to be a variable. When I try using or &dtml-recipient; > or _[recipient] I still have errors or the SMTP log shows that the variable > does not get evaluated and shows up as a string of <&dtml-recipient;> > as being the recipient in the SMTP header. > > Is this a bug? Is there something else I could try? I have tested the following code on the ZDP site, and it works: To: <> From: The CommentClass constructor Subject: A new Comment has been added to ZDP ! Dear Tom ! Under the following URL, a Comment has been added: URL: / Name: Nickname: Content: Have a nice day, The CommentClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/CommentClass_add/manage_main) Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 Process ID: 1478 (1024) Running for: 34 days 4 hours 6 min 32 sec Maybe you can test the above code and see if it works. It may be possible to track down the bug by comparing the code from 2.1.3 with the code from your Zope version. Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From curtis@cardgate.net Mon Oct 2 00:27:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 10:27:56 +1100 Subject: [Zope] Hexcolors and DTML In-Reply-To: <001b01c02b35$67513450$01d4a8c0@peppe> References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <00100210275606.02655@localhost.localdomain> On Sun, 01 Oct 2000, Peter Bengtsson wrote: > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for > a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > ">BLAH
> BTW, are there non-websafe greycolors? Can the loop be for only websafe > ones? > According to a recent study, there are approximately 13 'web safe' colours, out of the full 16,777,216. Can you be bothered restricting yourself to support the 'lowest common denominator' ? If you really want to know what they are, do a quick search back on www.slashdot.org for the link. Have a better one, Curtis Maloney From jatwood@bwanazulia.com Mon Oct 2 00:52:14 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 1 Oct 2000 19:52:14 -0400 Subject: [Zope] ANN: ZUBB/ZDiscussions 0.6.0 Released In-Reply-To: <005c01c02be1$62bb9370$ae03a8c0@fork> References: <14805.3989.417931.96225@lindm.dm> <005c01c02be1$62bb9370$ae03a8c0@fork> Message-ID: http://www.zope.com/Members/BwanaZulia/ZUBB With the help of Jeffrey and Angel here is 0.6.0 Changes in Version 0.6.0 Fixed the problem (again) with 2.2.2 (submitted by Angel Garcia) Added message count to the main view (submitted by Jeffrey Harris) Added last post to main view (submitted by Jeffrey Harris) Modified thread view so it will show entire thread (Submitted by Jeffrey Harris) Modified both README and header of ZDiscussions.py Upgraded status to STABLE from DEVELOPMENT as it has now been in production on five of my sites with no problems. Example Sites: http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES Report bugs and such to: http://www.bwanazulia.com/discussions/test/ If you have a ZUBB/ZDiscussion installation and would like to be added to the list please let me know. Thanks, J From jens@grewen.de Mon Oct 2 02:48:16 2000 From: jens@grewen.de (Grewen.de) Date: Mon, 2 Oct 2000 03:48:16 +0200 Subject: [Zope] How to use manage_addLocalFS Message-ID: <000801c02c12$d597c220$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I want to create an LocalFS object. I use but that doesn=B4t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I want to create an LocalFS = object.
 
I use <dtml-call = "manage_addLocalFS('LocalFS',=20 'Tis is the title', '/home/zope/productimages')"> but that doesn=B4t=20 work.
 
Simular to <dtml-call=20 "manage_addFolder('Folder', 'Tis is the title')">
 
Any ideas?
 
May I have to use a externel methode = like in the=20 mail I posted before?
 
 
------=_NextPart_000_0005_01C02C23.988B08E0-- From wilson@visi.com Mon Oct 2 04:19:19 2000 From: wilson@visi.com (Timothy Wilson) Date: Sun, 1 Oct 2000 22:19:19 -0500 (CDT) Subject: [Zope] Allright, who broke acquisition? Message-ID: Hi everyone, I'm running Zope 2.2.2 on Linux. All of the sudden I've got some DTML methods that are no longer being acquired in subfolders. I changed the HTML a bit and the whole thing stopped working! I've got some little navigation menus that I'd like to reuse in subfolders by simply referring to them via and having them acquired from the parent folder. Anybody know when this is happening? Here's a sample of the code and the traceback:
Quick Links
Site map
District Information
Site feedback
E-Mail System
About our site
Web-devel Page
Any ideas? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From curtis@cardgate.net Mon Oct 2 05:50:02 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 15:50:02 +1100 Subject: [Zope] Limited file size editing... Message-ID: <00100215500209.02655@localhost.localdomain> Just curious... I've seen several times on this list people pointing out that the limit on the size of files you can edit in Zope via the web interface is a result of your browser. The sizes I recall were somewhere in the vacinity of 64K. I currently have a 470K file open for editing in Netscape 4.75 (under Linux). What are the limits on various browsers? Ignore me if you think this is too far off topic.... Curtis. From lda@rice.edu Mon Oct 2 06:38:25 2000 From: lda@rice.edu (Larry Albert) Date: Mon, 02 Oct 2000 00:38:25 -0500 Subject: [Zope] ZopeTime().Date() confusion Message-ID: <0G1S00DR7FMEX0@mta4.rcsntx.swbell.net> This is driving me batty. I am trying to do something very simple. I want a method to perform an update no more than once a day. I know there are other approaches to this issue -- such as using bobobase_modification_time, not to mention Xron -- but I would like to use a date property for reasons I won't go into here. I am using Zope 2.2.1. Every time the method updates, I update the date property called last_updated with this: This gives me a date that appears to be accurate, such as 2000/10/01. Then, every time the page gets called, I want to check to see if it is time to call the method, so I use: don't update method update method store new last_updated This worked fine until, at the appointed hour, last_updated began to sense that even though it appeared to be "2000/10/01" (and even when I typed it in that way by hand), the time in Greenwich was actually more important to its sense of identity than was its appearance to me. So even when ZopeTime().Date() gave me 2000/10/01, last_updated.isCurrentDay() would evaluate to false(!). So the method would update every time the page was called. As a kluge, I changed my update command to , which works, but causes the update to occur, I presume, at midnight GMT, rather than midnight here, which would be nicer (actually, I'd love to be able to control the precise hour updates should occur, but I can't figure out how to do that). This is also complicated -- but not relevantly, I hope? -- by the fact that the Zope installation seems to think the time zone is GMT+2 rather than GMT-5 (I'm in Texas). I understand that the previously counterintuitive use of strftime was changed for 2.2.1 -- but I am not using strftime, I am using Date() and isCurrentDay(). I've tried all sorts of combinations of switching time zones but succeeded only in confusing myself. So three questions: 1. Is there a better way to do this (still using a property called last_updated)? 2. Does the use of Date() and isCurrentDay(), etc. still switch everything to GMT, even though strftime was changed? If so, what is the list of methods that compare GMT, and which that compare the local installation time? 3. This appears to be a perfect example of something that should be very simple becoming needlessly complicated. Couldn't some more user-friendly ("beginner") time or date objects be implemented in DTML? Thanks for any help! Larry Albert lda@rice.edu From rbickers@logicetc.com Mon Oct 2 07:05:00 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 02:05:00 -0400 Subject: [Zope] How to use management tabs not for management Message-ID: I want to create create HTML pages with my own Zopish looking tabs that have nothing to do with Zope management. Is there a simple way to use manage_tabs for this, or do I need to make my own version of it? Everything I've tried gets me caught up in the Zope management system. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From Danny@Adair.net Mon Oct 2 14:57:53 2000 From: Danny@Adair.net (Danny William Adair) Date: Mon, 2 Oct 2000 15:57:53 +0200 Subject: [Zope] Access problems Message-ID: What has happened? Whatever resource I'm trying to access (including the management IF), I get this (running a 2.2.1 Zope on Unix) --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) TIA, Prost, Danny From jatwood@bwanazulia.com Mon Oct 2 15:00:03 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 10:00:03 -0400 Subject: [Zope] Zope bug collector on zope.org available? Message-ID: http://classic.zope.org:8080/Collector/ Does anyone know what product this is and if it is available for download? I am looking for something that is similar to BugZilla. Ethan? Paul? Anyone? Thanks, J From skip@mojam.com (Skip Montanaro) Mon Oct 2 15:52:32 2000 From: skip@mojam.com (Skip Montanaro) (Skip Montanaro) Date: Mon, 2 Oct 2000 09:52:32 -0500 (CDT) Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? In-Reply-To: <532696846@toto.iv> Message-ID: <14808.41264.48003.973440@beluga.mojam.com> Philipp> Did anybody play with XML compressors for Zope or at least have Philipp> a hint how to do that? I use a slightly modified version of Fredrik Lundh's xmlrpclib.py module that will often use zlib compression to compress responses. Running over a wide area network such as the Internet I've seen speedups of as much as 5-to-1. Instructions and my current version of xmlrpclib.py are available from my Python Bits page: http://www.musi-cal.com/~skip/python/ I believe it is a drop-in replacement for Zope's version, though note that my code has other mods as well (in particular, it specifies the encoding as Latin-1 for all requests and responses). You should compare it with the versions distributed with Zope or by PythonWare to decide what changes you want to incorporate in your own system. -- Skip Montanaro (skip@mojam.com) http://www.mojam.com/ http://www.musi-cal.com/ From brian@digicool.com Mon Oct 2 16:23:06 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 2 Oct 2000 11:23:06 -0400 Subject: [Zope] FYI: Python product tutorial updated In-Reply-To: <4036A094D96A9549A6D6CCD979F1F3630C2477@engin-mail2.ad.engin.umich.edu> Message-ID: > This tutorial looks great...it explained a lot of things to me > that I wasn't > able to put together before. > > But...on looking at it, a nagging thought keep recurring...this > is a really > quite long and complicated process for a Poll product. As much as I like > Zope and thing it is a great platform on which to develop web > applications, > I often wonder about the complexity and obscurity of some of the > procedures > that need to executed while making what are, on the face of it, > often quite > simple web objects or applications. Consequently I have honestly > had quite a > hard time convincing PHP-savvy colleagues that the path to Zope Zen is > something worth starting on. Does anyone else experience these nagging > doubtful thoughts occasionally ? I think yours is a valid criticism. Zope provides the infrastructure to do a lot of powerful and complex things, with the downside that (currently) as a developer a lot of the details are "in your face". One major goal I have for Zope going forward is to strive for "optional complexity" - not only for day-to-day use of Zope but also for component developers. I'd be very interested to hear any ideas you folks have on ways to help "make simple things simple" for development and to allow people to deal with complexity only as they begin to need it... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From dan@sol.control.com Mon Oct 2 17:08:15 2000 From: dan@sol.control.com (Dan L. Pierson) Date: 02 Oct 2000 11:08:15 -0500 Subject: [Zope] LocalFS manage_addFolder solution? In-Reply-To: "jensebaer"'s message of "Sun, 1 Oct 2000 23:09:36 +0200" References: Message-ID: "jensebaer" writes: > ______________________________________________________________________________ > > > Folder creation isn't really supported in LocalFS at the moment.  Very > > low level support is there (module function _save_Folder) but it's not > > intended to be called externally and there doesn't seem to be any path > > to call it.  There is certainly not a local definition of > > manage_addFolder in LocalDirectory.  This is on my list of stuff to do > > for our site, but I don't know if it's on Jonothan's list for the real > > product. > It is. It's hard. I'm going to need some help with this one, I'm afraid. > --jfarr > ______________________________________________________________________________ > > My question: > > Is there now a solution to perfom manage_addFolder to LocalFS? The general case _is_ hard, but special cases can be much easier. In an earlier message Jonothan recommended using external methods to add folders. We plan to take this approach for our use. For one thing it makes enforcing our site policies much easier than a general approach. From rbickers@logicetc.com Mon Oct 2 16:26:09 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 11:26:09 -0400 Subject: [Zope] How to use management tabs not for management In-Reply-To: <007601c02c63$1866ab20$01d4a8c0@peppe> Message-ID: I didn't mean to imply that I didn't want to use any DTML. If there's a way to set manage_options and call manage_tabs though DTML or a Python method, that would be ideal. I would like to avoid having to create my own modified manage_tabs for this purpose, but if that's what it takes, so be it. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com > -----Original Message----- > From: Peter Bengtsson [mailto:peter@grenna.net] > Sent: Monday, October 02, 2000 7:23 AM > To: Ron Bickers > Cc: zope@zope.org > Subject: Re: [Zope] How to use management tabs not for management > > > Viewing the HTML source of your Zope management and highlightning > the tabs HTML? There is no DTML there. > However, there are some images. src="/p_/ltab" and src="/p_/rtab" > Could that be it? > > > > > I want to create create HTML pages with my own Zopish looking > tabs that have > > nothing to do with Zope management. Is there a simple way to use > > manage_tabs for this, or do I need to make my own version of > it? Everything > > I've tried gets me caught up in the Zope management system. From roche@ybm.co.za Mon Oct 2 17:35:15 2000 From: roche@ybm.co.za (Roch'e Compaan) Date: Mon, 2 Oct 2000 18:35:15 +0200 Subject: [Zope] Mailhost TypeError Message-ID: <000f01c02c8e$be68c7d0$0102a8c0@roche.up-front.co.za> I'm recreated a mailhost in Zope 2.2.0. Whenever I want to send mail with sendmail tag I get a TypeError. This worked in Zope 2.1.x. This is the traceback: Traceback (innermost last): File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/2-2-0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/2-2-0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/Products/Etailer/OrderManager.py, line 136, in manage_editProperties (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/App/special_dtml.py, line 120, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/SendMailTag.py, line 188, in render (Object: MailHost) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/MailHost.py, line 220, in send (Object: MailHost) File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 465, in sendmail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 349, in mail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 118, in quoteaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 451, in parseaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 496, in getaddrlist File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 504, in getaddress File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 484, in gotonext TypeError: len() of unsized object --> The source for my DTML method: To: <> From: <> Subject: Test email from Hi, This is a test email from your online shop. If you have received this email, then you will also receive an email for each of the orders that are placed at your online store. From rroeber@unlserve.unl.edu Mon Oct 2 17:47:51 2000 From: rroeber@unlserve.unl.edu (Ronald L. Roeber) Date: Mon, 2 Oct 2000 11:47:51 -0500 Subject: [Zope] Zope Dies with FastCGI In-Reply-To: <00092909360005.17524@tokey.kedai.com.my> Message-ID: <000301c02c90$80dc2e00$9968fea9@rroeber.unl.edu> > > > > Two types of messages: > > > > First in its death throws: > > [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm > > with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 > > sec) > > > > And later when its all over: > > [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection > > refused > > > > : FastCGI: failed to connect to server "apache_server_path/htdocs/zope": > > > > connect() failed > > > > It will run fine for quite some time but then it dies. > > There are no other refereces to zope in the error logs. > > I am looking into possible network issues. > > I will likely try daemontools this weekend. > > > i've seen this problem only when there's a lot of connection;s > usually more > than 100 connections at any one time. to test this out, maybe > you can use > apache ab and step up until something breaks. I can't seem to break it... ab -n 1500 -c 300 I get the same errors as in my original posting but Zope doesn't die. I left it alone after these tests and it died about 25 minutes later with noone using it. (its behind a firewall) This weekend I installed daemontools and can keep it running or at least restart it. The problem is most definitely not with load. I probably has to do with the way I have (mis)configured it. But for the life of me I can't see what it would be. Another odd thing with this set up is that some page requests from Netscape 4.x clients are very slow for what they are doing. IE and the new Mozilla engine are lightening fast...same page. Doesn't matter what platform of Netscape(*nix, Windows,Mac). The EventFolder product is the most obvious case. It locks Netscape for minutes while IE and Moz browsers load the page just fine. I will try some other things. Thanks for the ideas. > > also, try setting fastcgiexternalserver with -appConnTimeout 0 > Did this, doesn't seem to make a difference... > tell us how it goes. > > Thanks for your help. > > > > Ron... > > > > > > _______________________________________________ > > > > _______________________________________________ > > 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 ) > > -- > > http://www.kedai.com.my/kk > http://www.kedai.com.my/eZine > > if you SMELLLLLLL ... what the Rock is cookin > From Jerry.Spicklemire@IFLYATA.COM Mon Oct 2 18:02:26 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 2 Oct 2000 12:02:26 -0500 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <977A39E65CFCD3119ABF00D0B741D84973386A@innt-73.ata.com> Hi Brian, Regarding: > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... One of the features the stands when a newbies starts poking around at Zope.org is the wealth of contributed modules. Most of these were created as an aid to development, sort of a "make the process of creating a complex thing into a simpler process" approach. However, it's kind of like all the goodies available for Linux, or Perl, or Python itself, and any number of other Open Source projects that have generated lot's of add-ons. The problem is that finding time to try them all to see which turn out to be useful is another kind of complexity in itself. It seems like the Zope community should be able to benefit by leveraging all the great stuff that's there. On the other hand, the sheer volume turns out to be a barrier. I keep coming back to the notion of building a subset of the most useful, solid, and well documented modules into a "core" Zope distribution, so that they are available as "add" options without lot's unzipping, restarting, etc. Beyond that, a painless way to upgrade versions of all things Zope would definitely encourage folks to keep up with security fixes, and other improvements. Think about Debian's and FreeBSD's update tools. In order to get to the "consulting ware" vision of a more productiive Zope, "out of the box", this is the kind of thinking that needs to be adopted. We know there are wonderful and astounding things that are possible if you aren't afraid to get your hands dirty reading source code, but most folks expect anything they need to do to be sitting there waiting behind a menu option! This sounds to me like a higher level of object creation, Martijn Faassen's Formulator comes to mind, that can be selected and integrated into an existing site that has graphic standards already defined, which is itself another high level object that could help. A Graphic Standards "Template" that can be applied in the form of a "wrapper", and can be adjusted trough a forms based interface with options for colors, type style, background images, etc. Thanks, Jerry S. From thaths@netscape.com Mon Oct 2 18:21:00 2000 From: thaths@netscape.com (Sudhakar Chandra) Date: Mon, 02 Oct 2000 10:21:00 -0700 Subject: [Zope] [Q] Generating a dynamic navigation bar... References: <39D4D460.C287D0DC@netscape.com> <39D5EA93.A6891A8B@berg.net> Message-ID: <39D8C3FC.BFE7AE74@netscape.com> Maik Roeder proclaimed: > Sudhakar Chandra wrote: > > Questions: > > 1. The problem with this DTML method is that all the DTML Documents and > > Folders are represented as a link in the nav bar. I want to build > > intelligence into this DTML method to make the tab / cell for the current > > document just textual (as opposed to a link). If I am calling this method > > from foo_html, I do not the "tab" for foo_html to be a link. How do I do > > this? I'm guessing some kind of #if. > > First you can store the your url: > > > > Then, when you call your method, you can test whether your > url is the current url > > > > The must be another way of doing this, but I can't remember. Does > someone else see how this could be done differently ? Thanks. It took a bit of hackage on my part because I was calling the subcategories DTML Method like so: As you can see, I'm in a different name space inside the DTML method. I put in the REQUEST.set in the main DTML Document instead of the DTML method and it worked like a charm. Only pain now is that all my DTML Documents now need to have the REQEST.set directive in them. Not a big deal. > > 2. Currently, the TD cells of the table vary in length based on the > > contents of the cell. I want all the TDs to be of equal length. I want to > > first count the number of DTML Documents and Folders and make each TD to be > > width 100/n % (where n is the number of Documents and Folders). Any ideas > > on how I can do math inside DTML methods? > You can set a REQUEST variable with the result of your computation: > This worked like a charm. Thanks! S. -- Lisa: It's full, Dad, that means you have to take out the trash. Bart: Yup, that's the rule. "He who tops it off, drops it off." Homer: Nuh-uh. "It isn't filled until it's spilled." Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From ckant@fazenda.gov.br Mon Oct 2 18:49:41 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Mon, 02 Oct 2000 14:49:41 -0300 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> Message-ID: <39D8CAB5.DC46529B@fazenda.gov.br> Maik Roeder wrote: > > > Clicking in the "submit" button, it gives me an error, telling that > > 'username' is not defined. So I included an hidden field with > > name="username" and value="", but I'm thinking this > > is not the better way to do that... > > To my knowledge, it's the only way to do it, and if it works, why bother ? And from the first link, there are a way to include such a hidden field when calling a link? That is the real question: how to substitute the 'someuser' using hidden fields? ManageUserProperties is an DTML method, and are differents calls, with differents usernames in the same page (if I put a hidden field it's value will be the same to all the calls to the DTML Method in question). I'm thinking that maintaining some "session attributes" in a cookie is another idea, and sustitute the direct call to the method to a call to a JavaScript, but I don't want to use the most complicated method... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html If you know the answer to a question, don't ask. -- Petersen Nesbit From shane@digicool.com Mon Oct 2 18:58:41 2000 From: shane@digicool.com (Shane Hathaway) Date: Mon, 02 Oct 2000 13:58:41 -0400 Subject: [Zope] Hotfix_2000-10-02 Message-ID: <39D8CCD1.A0F6087A@digicool.com> http://www.zope.org/Products/Zope/Hotfix_2000-10-02/Hotfix_2000-10-02.tar.gz This hotfix addresses an important security issue that affects Zope versions 2.2.0, 2.2.1, and 2.2.2. It is sometimes possible to access, through a URL only, objects protected by a role which the user has in some context, but not in the context of the accessed object. Currently, the validate() method of all known user folder implementations validates against the users' roles in the context of PARENTS[0]. PARENTS[0] refers to the acquisition context of the object being published. All security checks, however, should check an object's containment, not its acquisition context. validate(), therefore, needs to verify the user's roles in the context of the object being published. This hotfix forces that to occur by temporarily leaving the object at PARENTS[0] then removing it after validation has been performed. Unfortunately, this is not an ideal correction. In the near future all user folder validate() implementations need to perform security checks using the new Zope security policy subsystem. Until that is completed, this hotfix should close the security problem. While we know of no instances of this issue being used to exploit a site, we recommend that any Zope 2.2.x site that is accessible by untrusted clients have this hotfix product installed to mitigate the issue. The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. From sebbacon@email.com Mon Oct 2 19:17:17 2000 From: sebbacon@email.com (seb) Date: Mon, 02 Oct 2000 19:17:17 +0100 Subject: [Zope] FYI: Python product tutorial updated References: Message-ID: <39D8D12D.2E5DDA80@email.com> > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... I entirely agree with Jerry's points about the standard zope distribution. There are various architecture / grammar / security issues that need to be adressed in Zope. However, I believe a much higher priority should be given to a rationalised set of documentation, plus a core set of products and templates, to be included with the standard Zope distribution. It should be easier to upgrade or add modules; I read a suggestion somewhere that a product standard should be produced, to which all products must conform (package layout, etc). Here's my thoughts in more detail, FWIW: Who are the target users of zope? My personal take is: 1) application developers (in the unzoped world, java, php, perl hackers) 2) interface developers (html coders, designers) 3) content managers I've been using zope for about a month now, (and *thinking* about using it for more than a year!) and my thoughts on simplicity for these users are: 1) application developers Application developers should *expect* a steep initial learning curve. Even python took me a little while to get my head round, but it was worth it. PHP is only easy because it follows a paradigm that people have learned elsewhere. There's no point trying to shield application developers from the complexity of zope. But we need to hold their hand until they can do it by themselves. The _ONLY_ hurdle to my zope enlightenment is (surprise) the documentation. In particular, what consistently holds me back is the lack of api documentation. I'd like to see something like javadoc-style API descriptions. I know, it's open source, I could do it myself. I know, I'm covering old ground. But I can't state enough how immensely frustrating it is to spend 5 hours trying to work out how to do something that you *know* you could do in 5 minutes in PHP. I don't know much about the ZDP and I'm sure they're putting in a lot of effort, but my feeling is that it is _very_much_ in the best interests of DC to promote a decent set of references. Even something as simple as repackaging the ZQR and including it in the standard distribution would be a start. When I get some time I'd love to help with this. 2) dtml is too much like a programming language and I'm finding it a big effort to abstract the logic away from DTML sufficiently. Interface developers want "" rather than "...", etc, in their HTML. The mechanisms for doing this are already present in zope but the onus is too much on the application designer to come up with ways of doing this. I always end up doing application logic in DTML documents because it's easier (and _quicker_) than spending a while coming up with an abstract design and then coding it all in python and loading it as External methods and then having to debug it all. Efforts like ZPatterns and the PTK are the way forward here: toolkits and design patterns that make common tasks easier. A project to come up with patterns and toolkits for common template-building tasks would be valuable. It should also be easier for application developers to create custom DTML tags. There should be a simple way to package tags and install tags, and then a library could be started on zope.org. For example, a question recently posed on the mailing list was how to include the contents of another web page in your own document. The obvious answer is an External method - however, wouldn't it be neater to encapsulate this functionality in a tag? (i'm sure this debate has been worked through before...) > ... A Graphic Standards > "Template" that can be applied in the form of a "wrapper", > and can be adjusted trough a forms based interface with > options for colors, type style, background images, etc. > 3) I understand skinnable CMS interfaces are on their way. At the moment I have to re-code the whole management interface from the bottom up for each client, which is a real drag. I'm really looking forward to this feature. Seb From jfarr@real.com Mon Oct 2 19:23:11 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 2 Oct 2000 11:23:11 -0700 Subject: [Zope] How to use manage_addLocalFS References: <000801c02c12$d597c220$0300a8c0@windows> Message-ID: <037801c02c9d$d2716bb0$416917ac@poly> That should work. Can you post the traceback? --jfarr ----- Original Message ----- From: "Grewen.de" To: Sent: Sunday, October 01, 2000 6:48 PM Subject: [Zope] How to use manage_addLocalFS Hi all, I want to create an LocalFS object. I use but that doesn´t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? From luis.mateos@MatraNortel.com Mon Oct 2 19:56:43 2000 From: luis.mateos@MatraNortel.com (Mateos, Luis) Date: Mon, 2 Oct 2000 20:56:43 +0200 Subject: [Zope] Reusing images from properties menu Message-ID: <200010021905.VAA07115@jupiter.matranortel.com> Hello all! I'm trying to reuse property values to add images dynamically. In other words, when selecting values from a multiple selection in the properties menu, like English, French, Spanish..., will add the respective image flag into a search results page for example. At times, it could be more than one image... I tried to use "dtml-var image" as a value and it didn't work, then i tried using the "img src" tag and it work using a string but it didn't when using a multiple selection. Could somebody feed me on how to reuse images from the properties menu? Or whether there are some other better options to get the same job done?! Thanks in advance, Luis From darcyc@engin.umich.edu Mon Oct 2 20:51:51 2000 From: darcyc@engin.umich.edu (Darcy Clark) Date: Mon, 2 Oct 2000 15:51:51 -0400 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <4036A094D96A9549A6D6CCD979F1F3630C24CE@engin-mail2.ad.engin.umich.edu> Brian, thanks for the reply ... I am currently more hopeful and feeling a little better about the amount of time and effort that I have put into Zope; knowing that the Zope book is coming also helps a lot. As someone else on the list replied, the obscurity problem will be partially solved with the book and others that will hopefully follow. I am in particular looking forward to some case studies that show how to use *and* why you should use some of the more complex Zope functionality. After being immersed in Zope for so long (about a year), I decided it was time to take a survey of the other tools out there - after doing a quick survey, I came away still unimpressed with most of them. I still think Zope requires more conceptual understanding (Zen?) that the other tools, but I'm still convinced that these concepts, many of which I am still yet to fully understand, offer far deeper and more elegant solutions to web development problems than the majority of the other tools. It's going to be tricky to achieve "optional complexity" - but that is exactly the nature of Zope. There are several levels or layers of Zen - after reaching each layer new potential ways to solve problems become possible. For instance, I know enough DTML and SQL to implement most of the functionality that I need and I have been writing my own ZClasses also. But I don't yet fully grasp the full possibilities of the Catalog, and Python/External Methods and I have had no luck getting any of the alternative User/Membership systems to work for me. These latter concepts/tools constitute my next level of complexity. Anyway, that's just my 2 cents .... Darcy > -----Original Message----- > From: Brian Lloyd [mailto:brian@digicool.com] > Sent: Monday, October 02, 2000 11:23 AM > To: Darcy Clark; zope@zope.org > Subject: RE: [Zope] FYI: Python product tutorial updated > > > > This tutorial looks great...it explained a lot of things to me > > that I wasn't > > able to put together before. > > > > But...on looking at it, a nagging thought keep recurring...this > > is a really > > quite long and complicated process for a Poll product. As > much as I like > > Zope and thing it is a great platform on which to develop web > > applications, > > I often wonder about the complexity and obscurity of some of the > > procedures > > that need to executed while making what are, on the face of it, > > often quite > > simple web objects or applications. Consequently I have honestly > > had quite a > > hard time convincing PHP-savvy colleagues that the path to > Zope Zen is > > something worth starting on. Does anyone else experience > these nagging > > doubtful thoughts occasionally ? > > I think yours is a valid criticism. Zope provides the > infrastructure to do a lot of powerful and complex things, > with the downside that (currently) as a developer a lot of > the details are "in your face". One major goal I have for > Zope going forward is to strive for "optional complexity" - > not only for day-to-day use of Zope but also for component > developers. > > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.com > > > From dieter@handshake.de Mon Oct 2 21:39:04 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:39:04 +0200 (CEST) Subject: [Zope] ZopeTime().Date() confusion In-Reply-To: <70420886@toto.iv> Message-ID: <14808.61734.808117.717671@lindm.dm> Larry Albert writes: > .... > I am using Zope 2.2.1. Every time the method updates, I update the date > property called last_updated .... > .... checking last update at least 1 day ago .... "ZopeTime()" returns a "DateTime.DateTime" object. Such objects can be substracted giving the difference in days. This means, you can use: to set "last_updated" and = 1"> to check that the last update is at least 1 day ago. Dieter From dieter@handshake.de Mon Oct 2 21:32:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:32:52 +0200 (CEST) Subject: [Zope] sendmail tag strangeness In-Reply-To: <68800227@toto.iv> Message-ID: <14808.61477.749840.288959@lindm.dm> Scott Burton writes: > I have searched around about sendmail tag problems on the list and have > found similar answers to my question. However none of them work. > ... > > I pay close attention to not having any whitespace before the To: and From: > headers. > > I receive this error from multiple SMTP hosts: 503 must have sender and > recipient first Is it possible that you installed ZDebug. As several people on the list pointed out, ZDebug is incompatible with "sendmail" (at least some ZDebug versions). Dieter PS: I do not like Mime mails in this list, because the stupid mailman installation discards Mime headers in the digest. As a consequence, my mail reader is unable to decode such messages :-( From steve@spvi.com Mon Oct 2 22:21:54 2000 From: steve@spvi.com (Steve Spicklemire) Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: References: Message-ID: <200010022121.QAA54340@mercury.spvi.com> Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve >>>>> "J" == J Atwood writes: J> http://classic.zope.org:8080/Collector/ J> Does anyone know what product this is and if it is available J> for download? I am looking for something that is similar to J> BugZilla. J> Ethan? Paul? Anyone? J> Thanks, J J> _______________________________________________ Zope maillist - J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No J> cross posts or HTML encoding! ** (Related lists - J> http://lists.zope.org/mailman/listinfo/zope-announce J> http://lists.zope.org/mailman/listinfo/zope-dev ) From mindlace@digicool.com Mon Oct 2 22:34:38 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 02 Oct 2000 17:34:38 -0400 Subject: [Zope] zope.org issues Message-ID: <39D8FF6E.3C5E00CC@digicool.com> Zopatistas, zope.org is currently having some difficulties that can kill the server. We're working on them. Thanks, ~ethan From jatwood@bwanazulia.com Mon Oct 2 23:11:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 18:11:57 -0400 Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: <200010022121.QAA54340@mercury.spvi.com> Message-ID: Hey Steve, Exactly. It is really full-featured. I am impressed. Thanks, J > From: Steve Spicklemire > Reply-To: steve@spvi.com > Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) > To: jatwood@bwanazulia.com > Cc: zope@zope.org > Subject: Re: [Zope] Zope bug collector on zope.org available? > > > Hi J., > > Is this what you're looking for? > > http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions > > -steve >>>>>> "J" == J Atwood writes: > > J> http://classic.zope.org:8080/Collector/ > > J> Does anyone know what product this is and if it is available > J> for download? I am looking for something that is similar to > J> BugZilla. > > J> Ethan? Paul? Anyone? > > J> Thanks, J > > > J> _______________________________________________ Zope maillist - > J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No > J> cross posts or HTML encoding! ** (Related lists - > J> http://lists.zope.org/mailman/listinfo/zope-announce > J> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From curtis@cardgate.net Mon Oct 2 23:27:12 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 3 Oct 2000 09:27:12 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: <39D850CB.B88DBB0A@nipltd.com> References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> Message-ID: <0010030927120A.02655@localhost.localdomain> On Mon, 02 Oct 2000, Chris Withers wrote: > Curtis Maloney wrote: > > According to a recent study, there are approximately 13 'web safe' > > colours, out of the full 16,777,216. Can you be bothered restricting > > yourself to support the 'lowest common denominator' ? > > What makes the other 15,777,203 'unsafe'? > As I understand it, it's due to system palettes. On low colour machines (256 or even 16colour) some colours are reserved for the system GUI so that you can match the 'theme', leaving you with fewer than the full capacity of the display you are using. Admittedly, since most people these days are running 15bit or higher colour depths, and non-paletted video modes, for the majority of users this isn't a problem. (Thus my 'lowest common denominator' comment.) The only other possible reason I can recall is that some of the 'named' colours are not supported by all browsers, or are not interpreted the same. > cheers, > > Chris Have a better one, Curtis From dario@ita.chalmers.se Mon Oct 2 23:55:45 2000 From: dario@ita.chalmers.se (Dario Lopez-Kästen) Date: Tue, 3 Oct 2000 00:55:45 +0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software Message-ID: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> as seen on cms list. Would this affect Zope in any way? /dario ----- Original Message ----- >From: "Evan Williams" > > Interesting: > ----------------------------- > Information Today: http://www.infotoday.com/it/oct00/news14.htm > "eMedicine, Inc. (http://www.emedicine.com), the medical-education network > and developer of the first online peer-reviewed medical reference series, > has announced that the U.S. Patent and Trademark Office has granted a patent > to the company's proprietary Group Publishing System (GPS) software. The GPS > enables collaborative, enterprisewide publishing and allows authors and > editors to create large, multi-author projects-online content, journals, > books, and manuals-entirely on the Internet. > "Jeff Berezin, chief technical officer and architect of the GPS system, > said: 'The software is unique-it is the only enterprise software that allows > all production to take place on the Internet. The system allows authoring > and editing within the GPS environment or through word-processing programs > like Word.' Software engineer Joanne Berezin, who co-developed the system, > said, 'Our system is a complete authoring, editing, and version-control > system with complete management-tracking tools and a built-in communications > network.'" > ----------------------------- > > -------------------------- > Subscribe: http://www.camworld.com/cms/ > More Info: http://cms.filsa.net/ > Post: cms-list@camworld.com > From tseaver@digicool.com Tue Oct 3 01:53:40 2000 From: tseaver@digicool.com (Tres Seaver) Date: Mon, 02 Oct 2000 20:53:40 -0400 Subject: [Zope] Zope bug collector on zope.org available? References: <200010021900.MAA25416@zope.codeit.com> Message-ID: <39D92E14.28F5EF4C@digicool.com> "J. Atwood" asked: > > http://classic.zope.org:8080/Collector/ > > Does anyone know what product this is and if it is available for download? I > am looking for something that is similar to BugZilla. > > Ethan? Paul? Anyone? The Collector is an *ancient* piece of software -- you probably want Ken Mannheimer's Tracker:: http://www.zope.org/Members/klm/TrackerWiki Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From twcook@iswt.com Tue Oct 3 04:14:41 2000 From: twcook@iswt.com (Tim Cook) Date: Mon, 02 Oct 2000 22:14:41 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> Message-ID: <39D94F21.E0E4D38A@iswt.com> "Dario Lopez-Kästen" wrote: > > as seen on cms list. Would this affect Zope in any way? Standard IANAL disclaimer. But, I read the patent. It looks like Zope is okay. You just can't build an application on it (or anything else where multiple people edit the same document online). Watch ZWiki!!!! :-) -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From lalo@hackandroll.org Tue Oct 3 05:03:48 2000 From: lalo@hackandroll.org (Lalo Martins) Date: Tue, 3 Oct 2000 02:03:48 -0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software In-Reply-To: <39D94F21.E0E4D38A@iswt.com>; from twcook@iswt.com on Mon, Oct 02, 2000 at 10:14:41PM -0500 References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> Message-ID: <20001003020348.B27959@hackandroll.org> On Mon, Oct 02, 2000 at 10:14:41PM -0500, Tim Cook wrote: > "Dario Lopez-Kästen" wrote: > > > > as seen on cms list. Would this affect Zope in any way? > > Standard IANAL disclaimer. But, I read the patent. It looks like > Zope is okay. You just can't build an application on it (or > anything else where multiple people edit the same document > online). Watch ZWiki!!!! So wouldn't the original WikiWikiWeb be prior art? []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar From twcook@iswt.com Tue Oct 3 06:07:25 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:07:25 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> Message-ID: <39D9698D.81ED236E@iswt.com> Lalo Martins wrote: > > anything else where multiple people edit the same document > > online). Watch ZWiki!!!! > > So wouldn't the original WikiWikiWeb be prior art? I would think there is a lot of prior art. What I wrote above should have been enclosed in tags. :) After citing several other patents there big key is supposed to be not ahving to download a version of the document and work on it locally and then upload it again. Also I noticed that their software only works (according to them) with Mac & MS OS's. I guess DC should file for a patent based on total cross-platform use! Our patent office doesn't have a clue and doesn't seem to research very much either. It's becoming worse than useless. One of the developers that frequents the openhealth mailing lists recently indicated that he had been contacted because he supposedly infringed on someones patent. No details yet but he indicated that it was some basic implementation that many developers have done before. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From sebbacon@email.com Tue Oct 3 10:07:29 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 10:07:29 +0100 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> Message-ID: <39D9A1D1.2B4C4D7B@email.com> "César A. K. Grossmann" wrote: > > Maik Roeder wrote: > > > > > Clicking in the "submit" button, it gives me an error, telling that > > > 'username' is not defined. So I included an hidden field with > > > name="username" and value="", but I'm thinking this > > > is not the better way to do that... > That is the real question: how to substitute the > 'someuser' using > hidden fields? M > I'm thinking that maintaining some "session attributes" in a cookie is > another idea, and sustitute the direct call to the method to a call to a > JavaScript, but I don't want to use the most complicated method... There are only two ways of doing this: 1) hidden form inputs 2) cookies 3) session variables (kind of like number 2) Using the former solution, you can make your link be the submit button for the form, either by using Javascript (yuk: someuser) or by making it a graphical button rather than a text link ( as far as I remember, but I might be wrong). Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb From chrisw@nipltd.com Tue Oct 3 10:15:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 10:15:04 +0100 Subject: [Zope] Off Topic: Patent Offices References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> <39D9698D.81ED236E@iswt.com> Message-ID: <39D9A398.27DF2975@nipltd.com> Tim Cook wrote: > > Our patent office doesn't have a clue and doesn't seem to > research very much either. Name me one that does ;-) Chris From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 10:54:54 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 11:54:54 +0200 Subject: [Zope] Guidelines for showing most exciting things of Zope? Message-ID: <3.0.6.32.20001003115454.0092cda0@poirot> Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you think would need to be told to convince people that it's worth looking at it by themselfs? Do people think such a practical guideline would be usefull? Tom. From Danny@Adair.net Tue Oct 3 11:24:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 3 Oct 2000 12:24:46 +0200 Subject: [Zope] Access problems Message-ID: Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) Furthermore, I have to authenticate on _every_ occasion, even with objects I know are totally available to Anonymous. After (http) authentication I get the above mentioned attribute error. I'm clueless. What is this about? Thanking you so much in advance, Prost, Danny P.S.: Of course I can't recall doing anything rude to my installation, actually I can't recall doing _anything_. (What they all say) From Aitor.Grajal@teleline.es Tue Oct 3 11:39:05 2000 From: Aitor.Grajal@teleline.es (Aitor Grajal) Date: Tue, 03 Oct 2000 12:39:05 +0200 Subject: [Zope] SiteRoot, can i do????? Message-ID: <200010031239050003.0099451F@mailhost.teleline.es> --=====_97056954541=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying do that SiteRoot can this : If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all= links 'http://xyz.mydomain.com/Zope" but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put= in all links 'https://xyz.mydomain.com/Zope" . The second is the new, so can access for http o https at the same contens,= and this is very nice. My idea is change the source code of Site Root. It=B4s possible ?? Somebody can help my? Thanks --=====_97056954541=_ Content-Type: text/html; charset="us-ascii"
Hello, I'm trying do that SiteRoot can this :
 
If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'http://xyz.mydomain.com/Zope"
 
but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" .
 
The second is the new, so can access for http o https at the same contens, and this is very nice.
My idea is change the source code of Site Root.
It´s possible ??
 
Somebody can help my?
 
Thanks
--=====_97056954541=_-- From juliodinis@hotmail.com Tue Oct 3 13:49:42 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Tue, 03 Oct 2000 12:49:42 WEST Subject: [Zope] script execution timeout? Message-ID: Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From magnus@websys.no Tue Oct 3 14:11:14 2000 From: magnus@websys.no (Magnus Alvestad) Date: 03 Oct 2000 15:11:14 +0200 Subject: [Zope] 'websafe' colours In-Reply-To: Curtis Maloney's message of "Tue, 3 Oct 2000 09:27:12 +1100" References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> <0010030927120A.02655@localhost.localdomain> Message-ID: [Curtis Maloney] | As I understand it, it's due to system palettes. On low colour | machines (256 or even 16colour) some colours are reserved for the | system GUI so that you can match the 'theme', leaving you with fewer | than the full capacity of the display you are using. Actually the problem with many colours is that there is slight difference between how they are shown in for example BGCOLOR and in a gif. There was an article about this in the online version of Wired. -Magnus From sebbacon@email.com Tue Oct 3 13:19:16 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:19:16 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> Message-ID: <39D9CEC4.32C712DC@email.com> Hello, Whenever I do a > def play(self,sound): > return sound and a > I get a > Error Type: TypeError > Error Value: not enough arguments; expected 2, got 1 Now, I thought 'self' was passed _implicitly_, as explained in http://www.zope.org/Documentation/How-To/ExternalMethods, but I'm actually having to do a > to pass the context to 'self' in the External method. Explanations gratefully received. Thanks, seb. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 13:19:00 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 14:19:00 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello everybody, I started to play with Zope in order to use it as intranet platform. For this I need database access. I tried odbc and MySQL and got it working fine. However we have some existing warehouse queries which take minutes to complete. When I set up ZODBC connection and ZSQL method to access such query, it halts all other Zope activities until it finishes. I tried this both with NT Zope and Linux Zope, ODBC and MySQL DAs. As long as the query runs, no other requests are serviced. I understand that long query blocks database connection, but I thought Zope is threaded, so it should run other requests not using this database connection just fine, no? Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this morning looking for solution to this problem on the net, but with no luck yet. Can anybody enlighten me why is that? And what can I do to fix this. Otherwise I like Zope a lot. Easy, featured, just great. Thanks in advance and Best regards, Petr Hrasky -------------------------------------------- IT Department BNP-Dresdner Bank (CR), a.s. +420-2-57006474 From chrisw@nipltd.com Tue Oct 3 13:33:49 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:33:49 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> Message-ID: <39D9D22D.BB48DFA6@nipltd.com> Shane Hathaway wrote: > I'm not sure how well MailHost scales, but you can certainly store > thousands of names in a ZODB-managed list. Tests done for the > BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if you're sending the mail to a few thousand people is to be non-blocking. IIRC, currently, a method/page with a tag pair in it will only return when the mail has been sent to all the recipients. So, if the mails going to lots of people, the page takes ages to return. This is the problem I had where our mail server was taking lots of time to send messages (it was doing lots of stuff to make sure the address was valid) so submitting posts on Squishdot.org was taking ages too. What, IMHO, is really needed is a mailhost/sendmail tag type thing that gets a message and a list of addresses to send it to. If it could do that in a seperate thread/process/whatever so that whatever calls it doesn't block, that'd be great. Of course, it'd need to have a 'hook back' method provided so any errors that occured could be dealt with. I wonder how mailman does this stuff and if the code could be borrowed for Zope? cheers, Chris From akm@mail.theinternet.com.au Tue Oct 3 13:35:05 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:35:05 +1000 Subject: [Zope] 'self' in external methods In-Reply-To: <39D9CEC4.32C712DC@email.com>; from seb on Tue, Oct 03, 2000 at 01:19:16PM +0100 References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> Message-ID: <20001003223505.D97561@zeus.theinternet.com.au> +-------[ seb ]---------------------- | Hello, | | Whenever I do a | > def play(self,sound): | > return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From sebbacon@email.com Tue Oct 3 13:44:13 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:44:13 +0100 Subject: [Zope] script execution timeout? References: Message-ID: <39D9D49D.2B6AA8F9@email.com> > Is there a place to define a script execution timeout? not in the urllib module. Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. seb From akm@mail.theinternet.com.au Tue Oct 3 13:32:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:32:44 +1000 Subject: [Zope] database connection problem (halting Zope) In-Reply-To: ; from Hrasky Petr on Tue, Oct 03, 2000 at 02:19:00PM +0200 References: Message-ID: <20001003223243.C97561@zeus.theinternet.com.au> +-------[ Hrasky Petr ]---------------------- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case. | Could it be that the python binary used is not compiled for threading? Perhaps, but, I think Zope will fail to start if your python does not support threading. | I spent yesterday afternoon and this | morning looking for solution to this problem on the net, but with no | luck yet. | | Can anybody enlighten me why is that? And what can I do to fix this. It might be that the ODBC driver for MySQL is serialising all accesses to MySQL (i.e. the MySQL ODBC driver is not threaded). This is a bit of a guess though. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From chrisw@nipltd.com Tue Oct 3 13:52:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:52:03 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> <20001003223505.D97561@zeus.theinternet.com.au> Message-ID: <39D9D673.532FD8AC@nipltd.com> Andrew Kenneth Milton wrote: > > +-------[ seb ]---------------------- > | Hello, > | > | Whenever I do a > | > def play(self,sound): > | > return sound > > You don't define self as a parameter to an external method, so: > > def play(sound): > > will work fine in an external method. It's not as simple as that. The mechnism involved here is complex and arguably broken. This is becoming a FAQ, see the mailing list archives for previous versions of this discussion which will provide all the detail. cheers, Chris From twcook@iswt.com Tue Oct 3 14:13:13 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 08:13:13 -0500 Subject: [Zope] database connection problem (halting Zope) References: Message-ID: <39D9DB69.4EBC6E70@iswt.com> > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From owrede@khm.de Tue Oct 3 14:39:22 2000 From: owrede@khm.de (Oliver Wrede) Date: Tue, 3 Oct 2000 15:39:22 +0200 Subject: [Zope] SiteAccess2 problem Message-ID: --============_-1241542131==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one): Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: 'string' object has no attribute 'name' ------------------------------------------------------------------------ Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: www/AccessRuleAdd) (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_getAccessRule(this())) (Info: manage_getAccessRule) File , line 0, in ? File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule (Object: Traversable) AttributeError: (see above) -- .. Oliver Wrede .. owrede@khm.de .. Academy of Media Arts, Cologne .. Peter-Welter-Platz 2 . 50676 Koeln, Germany .. http://www.khm.de .. ICQ# 6580315 .. PGP 6.0 Fingerprint: .. 922C FFA2 9A07 5B8E CB2A 10A2 C370 6A62 2232 196C --============_-1241542131==_ma============ Content-Type: text/html; charset="us-ascii" SiteAccess2 problem
I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects.

Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one):


Zope Error

Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: 'string' object has no attribute 'name'

------------------------------------------------------------------------

Troubleshooting Suggestions

*       The URL may be incorrect.
*      The parameters passed to this resource may be incorrect.
*       A resource that this resource relies on may be encountering an error.


For more detailed information about the error, please refer to the HTML source for this page.

If the error persists please contact the site maintainer. Thank you for your patience.




Traceback (innermost last):
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__
    (Object: www/AccessRuleAdd)
    (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
    (Object: manage_getAccessRule(this()))
    (Info: manage_getAccessRule)
  File <string>, line 0, in ?
  File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule
    (Object: Traversable)
AttributeError: (see above)

--
.. Oliver Wrede
.. owrede@khm.de

.. Academy of Media Arts, Cologne
.. Peter-Welter-Platz 2 . 50676 Koeln, Germany
.. http://www.khm.de
.. ICQ# 6580315
.. PGP 6.0 Fingerprint:
.. 922C FFA2 9A07 5B8E CB2A  10A2 C370 6A62 2232 196C
--============_-1241542131==_ma============-- From chalaoux@cybercable.fr Tue Oct 3 14:27:02 2000 From: chalaoux@cybercable.fr (FR Chalaoux) Date: Tue, 03 Oct 2000 15:27:02 +0200 Subject: [Zope] Looking for BSDI version of Zope Message-ID: <39D9DEA6.DD49A6DE@cybercable.fr> Hi, I looking for a recent compiled Zope version running on BSDI/OS 4.0.1 with its python attached Thanks, FR. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 15:04:01 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 16:04:01 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello, thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong queries and halt Zope. I have no such queries for Sybase yet. I will try to recompile python for linux, but I can't do so for WinNT as I have no compiler. Anyway I thought the python distributed with binary release of Zope is threaded, no? So, does anybody know of either binary and threaded Zope driver for Oracle , Sybase etc. or the same ODBC driver? And what is the state of python threading on WinNT paltform? Thanks, Petr -----Original Message----- From: Tim Cook [mailto:twcook@iswt.com] Sent: Tuesday, October 03, 2000 3:13 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: Re: [Zope] database connection problem (halting Zope) > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From zope@isp.lu Tue Oct 3 15:10:39 2000 From: zope@isp.lu (zope) Date: Tue, 03 Oct 2000 16:10:39 +0200 Subject: [Zope] how to access the items of an array... Message-ID: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Hi In a form, I defined an array variable as follows: After submitting the form, gives me following result: ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] My question is now how to access the different items of that array? Thanks a lot for your help. Marc From evan@4-am.com Tue Oct 3 15:43:35 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 3 Oct 2000 10:43:35 -0400 Subject: [Zope] SiteAccess2 problem References: Message-ID: <004101c02d48$4f320fb0$3e48a4d8@digicool.com> From: Oliver Wrede > I am trying to use SiteAccess2 with a site which has imported > SiteAccess1 objects. Have you used Extensions/updata.py to upgrade these objects? Cheers, Evan @ digicool & 4-am From bkc@murkworks.com Tue Oct 3 15:53:52 2000 From: bkc@murkworks.com (Brad Clements) Date: Tue, 3 Oct 2000 10:53:52 -0400 Subject: [Zope] Only superuser can set Proxy on DTML methods? Message-ID: <39D9BABF.24116.3B75549@localhost> It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. But I can't see anywhere how to enable my userid to have this proxy role. So only the superuser can set the proxy role for a document. But once I do that, I can't edit it anymore as Manager (expected) So .. how can a Manager grant the proxy role on documents? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From chrisw@nipltd.com Tue Oct 3 15:51:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 15:51:17 +0100 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <39D9F265.62CEB365@nipltd.com> Brad Clements wrote: > > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. The wording is crap. What it means is that the user object you are authenticated with must have the role you are trying to give to the object by proxy. ...which makes sense if you think about it. ...but is frustrating if the role actually nothing to do with you, and has less permissions that your role. For example, you, as someone with only the Manager role, can't give a Customer proxy role to an object, even though Customers can do much less than Managers, because you don't have the Customer role. So, you have to go to acl_users and give yourself the Customer role just to complete the operation, and then, more than likely, remove the Customer role from yourself later... I can see why it's like it is, btu sureyl the Manager could be made to eb an exception? Or mayeb that's what's happening with the Superuser object? > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) Hmm... you imply the superuser has ended up owning an object, which shouldn't be possible (yes, that can of worms again :P) so does anyone know what's going on here? cheers, Chris From maxm@normik.dk Tue Oct 3 16:05:00 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 3 Oct 2000 17:05:00 +0200 Subject: [Zope] Sorting and accessing elements in the Message-ID: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> I am making a mailer zClass where it will only be nessecary to make the form fields with the values you want to send, then the zClass will give you a reply on the webpage and send a nicely formatted e-mail. The problem is that the form elements are unknown but they need to be set up in predictable order to format the output automatically. To do this I need the form values in a sorted order. I can then give the form fields names like this: ------------------------------------ Then the mail can be automatically formatted like this: 1) First Name Max M 2) Last Name Rasmussen etc.... ------------------------------------ I have tried to use the sequence-item as a key in REQUEST.form, but it doesn't work like I want it to. ---------------------------------

:

<---- THIS IS WHAT DOESNT WORK --------------------------------- Regards Max M From joachim.werner@iuveno.de Tue Oct 3 16:17:00 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Tue, 3 Oct 2000 17:17:00 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100317251000.05524@promotor> Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope site. The latter two seem to have been unmaintained for quite a while. Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an alternative solution? We are working on an integrated groupware solution (it will all be open sourced) and want to either store all documents (incl. mail) in a single Zope-based storage or at least simulate that by dynamically wrapping the mails into objects (similar to what Local_FS does with files on the file system). Thanks in advance! Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From jatwood@bwanazulia.com Tue Oct 3 16:56:02 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 03 Oct 2000 11:56:02 -0400 Subject: [Zope] IMAP and Zope! In-Reply-To: <00100317251000.05524@promotor> Message-ID: Why not just pick apart the pieces you need from WorldPilot. It seems a shame to have to start from scratch. J > From: Joachim Werner > Organization: Iuveno - Smart Communication > Date: Tue, 3 Oct 2000 17:17:00 +0200 > To: zope@zope.org > Subject: [Zope] IMAP and Zope! > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have > found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. > > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? > > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > > -- > Iuveno - Smart Communication > > > Joachim Werner > > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) > > From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 17:15:34 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 18:15:34 +0200 Subject: [Zope] List Message-ID: <3.0.6.32.20001003181534.008ef9c0@poirot> Hi, I'm storing a selection of a user to a database as string. This selection is a multiple selection from a select box and is outputted as a list. Now I want to iterate over this list (after retrieving it from the database), but how can I do this? How can I tell Zope that the string is actually a list? How can I typecast in Zope? Thanks, Tom. From andym@ActiveState.com Tue Oct 3 17:37:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:37:28 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <001f01c02d58$383b0d60$ae03a8c0@fork> You need to let item=sequence-item since sequence-item is interpreted in python as a mathemtical operation sequence minus item. : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:38:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:38:34 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <002601c02d58$5f25f930$ae03a8c0@fork> Although this could be simpler (you dont need the REQUEST.set): : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:42:17 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:42:17 -0700 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <002c01c02d58$e4037e20$ae03a8c0@fork> If you want to put a string into a list you can use to split a string up. What database are you using and what are actually getting back? ----- Original Message ----- From: "Tom Deprez" To: Sent: Tuesday, October 03, 2000 9:15 AM Subject: [Zope] List > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? > > Thanks, Tom. > > > _______________________________________________ > 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 ) > From kthangavelu@earthlink.net Tue Oct 3 12:38:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 03 Oct 2000 04:38:37 -0700 Subject: [Zope] IMAP and Zope! References: <00100317251000.05524@promotor> Message-ID: <39D9C53D.6CF93A58@earthlink.net> Joachim Werner wrote: > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. I agree, WorldPilot is nice but its hard to split into component functionality for integration into an a site. > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? LoginManager. > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > -- > Iuveno - Smart Communication > > Joachim Werner > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) From andym@ActiveState.com Tue Oct 3 17:51:52 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:51:52 -0700 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <004601c02d5a$3b04c9d0$ae03a8c0@fork> Use the in tag: ----- Original Message ----- From: "zope" To: Sent: Tuesday, October 03, 2000 7:10 AM Subject: [Zope] how to access the items of an array... > Hi > > In a form, I defined an array variable as follows: > > > > > > > > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > > > _______________________________________________ > 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 ) > From peter@grenna.net Tue Oct 3 18:07:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:07:09 +0100 Subject: [Zope] A hint on FSSession References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> <39D9A1D1.2B4C4D7B@email.com> Message-ID: <002c01c02d5c$7e830210$01d4a8c0@peppe> > Why use javascript to access cookies? You can set and get them purely > using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why > not install a session product (HappySession, FSSession, SQLSession...), > it'll probably make your life easier in the long run... > > seb > Yes, and if you choose to use FSSession, remember to rename the object to something other that "FSSession". Having an object called "FSSession" in more than one place can f**k things up in the namestack, so to be on the safe side, rename (note "rename") the FSSession object to something more unique after having created one. This caused me a lot of brain damage, and I had it explained by a friend after may failed attempts to understand the error messages. From jwashin@vt.edu Tue Oct 3 18:06:58 2000 From: jwashin@vt.edu (Jim Washington) Date: Tue, 03 Oct 2000 13:06:58 -0400 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <39DA1232.D58E830F@vt.edu> Tom Deprez wrote: > > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? Use a python or external method to make a list from your string. I am supposing you are storing a string representation of the list that looks like: "['fred', 'bob', 'mary']" Get rid of any punctuation you do not want with (e.g.) theString = string.replace(theString, '[', ' ') (Yes, there are more efficient ways to do this!) Then, once you have a space-delimited list of items, you may use theList = string.split(theString) which will make a list of the words in the string. Return theList. -- Jim Washington From peter@grenna.net Tue Oct 3 18:26:24 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:26:24 +0100 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <005001c02d5f$0ebfae80$01d4a8c0@peppe> > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > Here's the syntax. where X is an integer. or
> > _______________________________________________ > 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 ) > From SuzetteR@ngc.co.tt Tue Oct 3 19:23:47 2000 From: SuzetteR@ngc.co.tt (Suzette Ramsden) Date: Tue, 3 Oct 2000 14:23:47 -0400 Subject: [Zope] IIS port problem Message-ID: <569FC7E4C179D311ABAF009027B11327198F08@icys> I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small discussion forum that can be accessed via the INTRANET. My Web server name is SRNT and is installed on my F:\ partition drive I installed Zope in the root cgi-bin directory and called my website ZopeSite. I selected the "Run as a win32 service" F:\InetPub\wwwroot\cgi-bin\ZopeSite\ I went to my browser (MS Internet Explorer 5.0) and accessed the Zope Site using the URL: http://srnt:8080/manage I successfully accessed my Zope site manager and everything was working just fine. Now comes the problem: I do not want to connect to the Intranet using the server port (8080) in the URL to access the Zope pages . I installed both Squishdot and TinyTables products on Zope and started building a Squishdot site, which I named ChatClub. However, the URL to access the Squishdot site looks like: http://srnt:8080/Control_Panel/Products/Squishdot/ChatClub/index_html I WANT IT TO AT LEAST SAY: http://srnt/Control_Panel/Products/Squishdot/ChatClub/index_html OR http://srnt/ChatClub/index_html I don't want any reference to the server port 8080. I have read several help documents on IIS and PCGI AND THEY ALL SAY DIFFERENT THINGS. One document said to copy the Zope.pcgi to the IIS cgi-bin folder and another said to copy it to the IIS scripts folder. One document showed the Zope.pcgi file path configuration completely different from mine. The document showed : PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py And mine showed PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope The document even had files I didn't have anywhere in my directory like pcgi.soc and some in completely different folders like: Help document: PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid My file: PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid I know there must be a a simple way to accomplish this. I just need someone to tell me how to do it STEP BY STEP. I am a Programmer/Analyst, but I am only a novice when it comes to servers and all the details. PLEASE HELP Regards, Suzette E. Ramsden From klm@digicool.com Tue Oct 3 20:12:29 2000 From: klm@digicool.com (Ken Manheimer) Date: Tue, 3 Oct 2000 15:12:29 -0400 (EDT) Subject: [Zope] Re: 'Offline' mailhost In-Reply-To: <39D9D22D.BB48DFA6@nipltd.com> Message-ID: On Tue, 3 Oct 2000, Chris Withers wrote: > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? I don't have a quick answer. (It's been a long time since i worked on mailman, and this stuff in particular has changed a lot.) It looks like the code in Mailman/Handlers/SMTPDirect.py is what's of interest, and it doesn't depend too elaborately on the rest of mailman, which is good. I'm have no idea whether it solves the problem of doing unblocking delivery in a way that lets the delivery requester get a status back. Ken klm@digicool.com From code@ou.edu Tue Oct 3 20:17:25 2000 From: code@ou.edu (Leichtman, David J) Date: Tue, 3 Oct 2000 14:17:25 -0500 Subject: [Zope] Zope stalls indefinitely Message-ID: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running 2.1.6 on Solaris with pgsql and the ZPyGre adapter and the most recent copy of FSSession. Any thoughts. I've posed this question to a lot of people many times. Now that it's back, I'm hoping for fresh insight. From edc@8days.com Tue Oct 3 21:18:49 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:18:49 -0600 Subject: [Zope] LoginManager Error Message-ID: Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter redefined Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addLoginManager) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addLoginManager) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 237, in manage_addLoginManager File /usr/local/zope/lib/python/Products/ZPatterns/PlugIns.py, line 313, in _constructPlugIn TypeError: (see above) From edc@8days.com Tue Oct 3 21:24:42 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:24:42 -0600 Subject: [Zope] UserDB plus crypt Message-ID: --============_-1241517811==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do? My modified UserDb.py is attached. Thanks! -ed- --============_-1241517811==_============ Content-Id: Content-Type: text/plain; name="UserDb.py"; charset="us-ascii" ; format="flowed" Content-Disposition: attachment; filename="UserDb.py" ; modification-date="Tue, 3 Oct 2000 14:24:04 -0600" """User Db product This product provides support for User Folder-like objects that store data in back-end databases. CREATE TABLE users ( username varchar(255) NOT NULL, password varchar(255) NOT NULL, domains varchar(255), roles varchar(255) ); """ __version__='$Revision: 1.13 $'[11:-2] import Globals, App.Undo, socket, regex from Products.ZSQLMethods.SQL import SQL from Globals import PersistentMapping from Globals import Persistent from Globals import HTMLFile, MessageDialog from string import join,strip,split,lower from App.Management import Navigation, Tabs from Acquisition import Implicit from OFS.SimpleItem import Item from OFS.Document import Document from base64 import decodestring, encodestring from urllib import quote, unquote from ImageFile import ImageFile from AccessControl.Role import RoleManager from AccessControl.User import BasicUser, BasicUserFolder from string import split, join, upper, lower ## Crypt toolkit ## import crypt, random ListType=type([]) class User(BasicUser): icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class UserDb(BasicUserFolder): """ """ meta_type='User Db' id ='acl_users' title ='User Db' icon ='misc_/UserDb/UserDb_icon' isPrincipiaFolderish=1 isAUserFolder=1 encryptedpasswords=1 manage_options=( {'label':'Contents', 'action':'manage_main'}, {'label':'Properties', 'action':'manage_properties'}, {'label':'Security', 'action':'manage_access'}, {'label':'Undo', 'action':'manage_UndoForm'}, ) __ac_permissions__=( ('View management screens', ['manage','manage_menu','manage_main','manage_copyright', 'manage_tabs', 'manage_properties', 'manage_UndoForm']), ('Undo changes', ['manage_undo_transactions']), ('Change permissions', ['manage_access']), ('Manage users', ['manage_users']), ('Change User Dbs', ['manage_edit']), ) manage_properties=HTMLFile('properties', globals()) def __init__(self, conn_id, cookie_mode=0): self.conn_id=conn_id self.cookie_mode=cookie_mode self.docLogin =Document(_docLogin, __name__='docLogin') self.docLogout=Document(_docLogout, __name__='docLogout') self.docLogin.__roles__=None self.docLogout.__roles__=None self.sqlListQuery=SQL('sqlListQuery', '', conn_id, '', _sqlListQuery) self.sqlUserQuery=SQL('sqlUserQuery', '', conn_id, 'username', _sqlUserQuery) self.sqlAddQuery=SQL('sqlAddQuery', '', conn_id, 'username password domains roles', _sqlAddQuery) self.sqlEditQuery=SQL('sqlEditQuery', '', conn_id, 'username password domains roles', _sqlEditQuery) self.sqlDelQuery=SQL('sqlDelQuery', '', conn_id, 'username', _sqlDelQuery) def getUserNames(self): """Returns a list of user names or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: data.append(sqlattr(ob, 'username')) data.sort() return data def getUsers(self): """Return a list of user objects or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: user=User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) data.append(user) return data def getUser(self, name): """Return the named user object or None if no such user exists""" if name==self._super.getUserName(): return self._super try: ob=self.sqlUserQuery(username=name) except: return None if not ob: return None ob=ob[0] return User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) def _doAddUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlAddQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlAddQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doChangeUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlEditQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlEditQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doDelUsers(self, names): for name in names: self.sqlDelQuery(username=name) # ---- def old_std_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] # If no authorization, only a user with a # domain spec and no passwd or nobody can # match if not auth: for ob in self.getUsers(): domains=ob.getDomains() if domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob return None # Only do basic authentication if lower(auth[:6])!='basic ': return None name,password=tuple(split(decodestring(split(auth)[-1]), ':')) user=self.getUser(name) if user is None: return None # Try to authenticate user encryptedpass = str(crypt.crypt(str(password),'ab')) #print encryptedpass if not user.authenticate(encryptedpass, request): return None # We need the user to be able to acquire! user=user.__of__(self) # Try to authorize user if user.allowed(parent, roles): return user return None std_validate=BasicUserFolder.validate def cookie_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] req_has=request.has_key resp=request['RESPONSE'] if req_has('__ac'): c=request['__ac'] c=unquote(c) try: c=decodestring(c) except: resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) name,password=tuple(split(c, ':')) encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): return user resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) if req_has('__ac_name') and req_has('__ac_password'): name=request['__ac_name'] password=request['__ac_password'] encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): token='%s:%s' % (name, password) token=encodestring(token) token=quote(token) resp.setCookie('__ac', token, path='/') request['__ac']=token try: del request['__ac_name'] del request['__ac_password'] except: pass return user raise 'LoginRequired', self.docLogin(self, request) if auth: return None # Try domain matching for ob in self.getUsers(): domains=ob.getDomains() if ob.domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob # Allow anonymous access to things under UserDbs, # if the object is public. nobody=self._nobody if nobody.allowed(parent, roles): ob=nobody.__of__(self) return ob raise 'LoginRequired', self.docLogin(self, request) def validate(self,request,auth='',roles=None): if self.cookie_mode: return self.cookie_validate(request, auth, roles) return self.std_validate(request, auth, roles) def __len__(self): return len(self.sqlListQuery()) def enumQueries(self): list=[] type=SQL.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def enumDocuments(self): list=[] type=Document.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def manage_edit(self, connection_id, cookie_mode, REQUEST=None): """Change properties""" if connection_id != self.conn_id: # Connection changed - update sql methods! self.conn_id=connection_id for ob in self.enumQueries(): title=ob.title args=ob.arguments_src src=ob.src ob.manage_edit(title, self.conn_id, args, src) self.cookie_mode=cookie_mode if REQUEST: return MessageDialog( title ='UserDb Changed', message='UserDb properties have been updated', action =REQUEST['URL1']+'/manage_properties', target ='manage_main') logout__roles__=None def logout(self, REQUEST): """Logout""" REQUEST['RESPONSE'].expireCookie('__ac', path='/') return self.docLogout(self, REQUEST) manage_addUserDbForm=HTMLFile('addUserDb', globals()) def manage_addUserDb(self, connection_id, cookie_mode=0, REQUEST=None): """ """ if hasattr(self.aq_base, 'acl_users'): return MessageDialog( title ='Item Exists', message='This object already contains a User Folder', action ='%s/manage_main' % REQUEST['PARENT_URL']) ob=UserDb(connection_id, cookie_mode) self._setObject('acl_users', ob) self.__allow_groups__=self.acl_users if REQUEST: return self.manage_main(self,REQUEST,update_menu=1) addr_match=regex.compile('[0-9\.\*]*').match host_match=regex.compile('[A-Za-z0-9\.\*]*').match def domainSpecValidate(spec): for ob in spec: sz=len(ob) if not ((addr_match(ob) == sz) or (host_match(ob) == sz)): return 0 return 1 def domainSpecMatch(spec, request): if request.has_key('REMOTE_HOST'): host=request['REMOTE_HOST'] else: host='' if request.has_key('REMOTE_ADDR'): addr=request['REMOTE_ADDR'] else: addr='' if not host and not addr: return 0 if not host: host=socket.gethostbyaddr(addr)[0] if not addr: addr=socket.gethostbyname(host) _host=split(host, '.') _addr=split(addr, '.') _hlen=len(_host) _alen=len(_addr) for ob in spec: sz=len(ob) _ob=split(ob, '.') _sz=len(_ob) if addr_match(ob)==sz: if _sz != _alen: continue fail=0 for i in range(_sz): a=_addr[i] o=_ob[i] if (o != a) and (o != '*'): fail=1 break if fail: continue return 1 if host_match(ob)==sz: if _hlen < _sz: continue elif _hlen > _sz: _item=_host[-_sz:] else: _item=_host fail=0 for i in range(_sz): h=_item[i] o=_ob[i] if (o != h) and (o != '*'): fail=1 break if fail: continue return 1 return 0 # A getattr-like helper that hopefully can compensate for the # various oddities in data returned by different stupidbases. import Missing mt=type(Missing.Value) def typeconv(val): if type(val)==mt: return '' return val def sqlattr(ob, attr): name=attr if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=upper(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=lower(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) raise NameError, name def absattr(attr): if callable(attr): return attr() return attr def reqattr(request, attr): try: return request[attr] except: return None _docLogin=""" Login

Name
Password
""" _docLogout=""" Logout

You have been logged out of the system.
""" _sqlListQuery=""" This query retrieves rows representing all users schema: username password domains roles SELECT * FROM users """ _sqlUserQuery=""" This query retrieves a row representing a given user schema: username password domains roles SELECT * FROM users """ _sqlAddQuery=""" This query adds a new user INSERT INTO users VALUES ( , , , ) """ _sqlEditQuery=""" This query updates a users data UPDATE users SET password=, domains=, roles= """ _sqlDelQuery=""" This query removes a user DELETE from users """ import __init__ __init__.need_license=1 --============_-1241517811==_============-- From rik.hoekstra@inghist.nl Tue Oct 3 21:39:45 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:39:45 +0200 Subject: [Zope] IIS port problem References: <569FC7E4C179D311ABAF009027B11327198F08@icys> Message-ID: <003f01c02d7a$114ea280$fe5da182@michieltje> > http://srnt/ChatClub/index_html note that most probably the reference will look something like http://srnt/cgi-bin/Zope.pcgi/ChatClub/index_html That is, you'll loose the port, but you rape your url. If you want a shorter url, you most probably have to do other (isapi like) things to IIS > > I don't want any reference to the server port 8080. > I have read several help documents on IIS and PCGI AND THEY ALL SAY > DIFFERENT THINGS. > One document said to copy the Zope.pcgi to the IIS cgi-bin folder and > another said to copy it to the IIS scripts folder. > the main point is you need _one_ (not several) Zope.pcgi file that has the proper locations of all the things needed in it. It does not matter where you put it. In your /pcgi/util directory there is a pcgifile.py script that will help you check the pcgi info file (that is the very Zope.pcgi file I referred to). If this doesn't report any errors, your IIS-pcgi connection will probably work. > One document showed the Zope.pcgi file path configuration completely > different from mine. The document showed : > PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py > > And mine showed > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope > this may be true, but it's a strange place for a Zope installation > The document even had files I didn't have anywhere in my directory like > pcgi.soc and some in completely different folders like: hm, IIRC the soc file is Unix only. > Help document: > PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid > > My file: > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid > > I know there must be a a simple way to accomplish this. It can be simple, but it may turn into a nightmare if it doesn't work (you have been warned). As a comfort, it took me no more than a quarter of an hour to get it installed on several different NT machines. I just need someone > to tell me how to do it STEP BY STEP. Your best step by step guide is on http://zdp.zope.org/projects/zbook/book/VII/PlatformInstallation/InstallDraf ts/instwindraft3/ hth Rik From rik.hoekstra@inghist.nl Tue Oct 3 21:45:40 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:45:40 +0200 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> <39DA1232.D58E830F@vt.edu> Message-ID: <004901c02d7a$e5509f20$fe5da182@michieltje> > > I'm storing a selection of a user to a database as string. This selection > > is a multiple selection from a select box and is outputted as a list. > > Now I want to iterate over this list (after retrieving it from the > > database), but how can I do this? How can I tell Zope that the string is > > actually a list? How can I typecast in Zope? , but that won't work in this case as you'll get a resultant [something,] > > Use a python or external method to make a list from your string. I am > supposing you are storing a string representation of the list that looks > like: > > "['fred', 'bob', 'mary']" > > Get rid of any punctuation you do not want with (e.g.) > > theString = string.replace(theString, '[', ' ') > > (Yes, there are more efficient ways to do this!) > > Then, once you have a space-delimited list of items, you may use > > theList = string.split(theString) > > which will make a list of the words in the string. Return theList. > a python/external method is more elegant, but if you want this can be done in the same way from DTML: or using dtml-let But whether all this works depends much on what your database returns. Rik From kworth@engin.umich.edu Tue Oct 3 21:52:17 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Tue, 3 Oct 2000 16:52:17 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems Message-ID: I just recently upgraded to 2.2.2. Upon upgrading, all instances of products that I created are broken. The products themselves are not, just every instance of every product that I made. External and standard products work just fine. Strange part coming up: I can make new instaces replacing the broken ones. However, 10-30 minutes after creating these new instances, the new instances are broken. I've tried this twice, with the same results. Anyone have any ideas? Thanks Kevin -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From rik.hoekstra@inghist.nl Tue Oct 3 22:11:52 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 23:11:52 +0200 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <00e001c02d7e$8e15daa0$fe5da182@michieltje> > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. > > But I can't see anywhere how to enable my userid to have this proxy > role. > > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) > > So .. how can a Manager grant the proxy role on documents? If I read your description correctly, it is closely related to a problem I reported several times to the collector (a year ago), but was never solved. See: http://classic.zope.org:8080/Collector/916/view Rik From dieter@handshake.de Tue Oct 3 22:00:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:00:08 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <97129676@toto.iv> Message-ID: <14810.18474.904823.246608@lindm.dm> =?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes: > Is there a place to define a script execution timeout? I do not think so. > I've been using urllib and there is no way to kill a urllib.open > if its taking too long. Does zope has that implemented? There is a patch to Python's "httplib" providing a socket timeout option. Unfortunately, not all OS support the necessary socket system call, e.g. my Linux 2.0.36 does not. Maybe, your OS does. Dieter From dieter@handshake.de Tue Oct 3 21:56:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 22:56:45 +0200 (CEST) Subject: [Zope] Access problems In-Reply-To: <45749606@toto.iv> Message-ID: <14810.17844.51565.241516@lindm.dm> Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter From dieter@handshake.de Tue Oct 3 22:16:39 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:16:39 +0200 (CEST) Subject: [Zope] database connection problem (halting Zope) In-Reply-To: <110283996@toto.iv> Message-ID: <14810.19006.650936.544140@lindm.dm> Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter From dieter@handshake.de Tue Oct 3 22:05:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:05:59 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <50582432@toto.iv> Message-ID: <14810.18680.261585.547328@lindm.dm> seb writes: > > Is there a place to define a script execution timeout? > Try setting an alarm using the signal module, wrapping the GET request > in a try clause, and then setting the alarm to 0 in the finally clause. Be very careful with signals of any kind inside Zope: I had to patch ZServer, as the Oracle client library used signals (probably SIGALRM) when the Oracle server was unavailable. Under Solaris 2.7, this resulted in ZServer's "select" call being aborted with "Interrupted system call". Zserver was unprepared for this event and died. Dieter From jatwood@bwanazulia.com Tue Oct 3 22:32:56 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 3 Oct 2000 17:32:56 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems In-Reply-To: References: Message-ID: Hey Kevin, I had the same problem when upgrading from 2.1.6 - 2.2.2 but have not found an answer at all. I followed the directions that I found on Zope.org to the letter but to no avail. I checked the products and they all work in a clean install of 2.2.2 If you find out anything let me know. Thanks, J At 4:52 PM -0400 10/3/2000, Kevin Worth wrote: >I just recently upgraded to 2.2.2. Upon upgrading, all instances of >products that I created are broken. The products themselves are not, >just every instance of every product that I made. External and >standard products work just fine. > >Strange part coming up: I can make new instaces replacing the broken >ones. However, 10-30 minutes after creating these new instances, the >new instances are broken. I've tried this twice, with the same >results. > >Anyone have any ideas? > >Thanks > >Kevin >-- >----------------------------------------------- >Kevin Worth >Computer Systems Specialist II and Adjunct Lecturer >Department of Materials Science and Engineering >University of Michigan >_______________________________________________ >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 ) From fred@ontosys.com Wed Oct 4 00:21:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Tue, 3 Oct 2000 18:21:53 -0500 Subject: [Zope] why does squishdot url_quote email address values? Message-ID: <20001003182153.A16179@enteract.com> Version 0-7-2 of Squishdot seems to use the url_quote option when accessing the value of admin_address in particular, so when a DTML page has code like and admin_address is a property with the value "foo@bar.com", the resulting HTML code is foo%40bar.com which doesn't work correctly, particularly when used as the value of a 'mailto:' URL. So what's the solution? Is Squishdot wrong to use url_quote this way? Why is url_quote hiding the "@" anyway -- I don't see any reason for escaping it this way. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From hannu@tm.ee Wed Oct 4 06:52:43 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 04 Oct 2000 08:52:43 +0300 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> Message-ID: <39DAC5AB.CE9CC1EE@tm.ee> Chris Withers wrote: > > Shane Hathaway wrote: > > I'm not sure how well MailHost scales, but you can certainly store > > thousands of names in a ZODB-managed list. Tests done for the > > BTreeFolder product prove it. > > Sadly, I think MailHost doesn't scale too well :-( > > What it'd need to do if you're sending the mail to a few thousand people > is to be non-blocking. > IIRC, currently, a method/page with a addresses> tag pair in it will only return when the > mail has been sent to all the recipients. So, if the mails going to lots > of people, the page takes ages to return. Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Also you could send just one message to all the recipients instead of sending individual messages. > This is the problem I had where our mail server was taking lots of time > to send messages (it was doing lots of stuff to make sure the address > was valid) so submitting posts on Squishdot.org was taking ages too. > > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? Maybe you could just use mailman as MTA, greating temporary mailing-lists. -------- Hannu From lheber@debis.com Wed Oct 4 08:14:47 2000 From: lheber@debis.com (Lars Heber) Date: Wed, 04 Oct 2000 09:14:47 +0200 Subject: [Zope] Namespace problems... Message-ID: <39DAD8E7.ACB56A3@debis.com> Hi there, I've still got to build a bigger website. So I stored my headers and footers and many other things in root/pub. All the other documents are stored in root/Intra and below. I've got my standard_html_header, with which I can display user-defined titles which may also contain values of global properties. The user-defined title is being built in the document before the header is called, e. g. something like: In the standard_html_header method I'm checking whether there is a titel attribute or not. This works fine. But for general use I want to keep the possibility of displaying the title_or_id of the document when I don't introduce a user-defined title. This would be no problem if s_h_h wasn't situated in root/pub, so I have to call it within the . But doing this, pub is on the top of my namespace, so that calling title_or_id returns the title_or_id of the container of s_h_h, i. e. pub! How can I nevertheless access within the s_h_h to the title_or_id of my original document? Thanks. Lars From frederic.quin@free.fr Wed Oct 4 09:18:05 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Wed, 04 Oct 2000 10:18:05 +0200 Subject: [Zope] A temporary python object defined in a dtml-let tag ??? Message-ID: <39DAE7BD.385186F@free.fr> Hi all, I wonder if it's possible to create temporary a python object in a dtml-let tag. If someone knows more about how to do this, please, help me... Thanks Fred Quin From stephan.goeldi@datacomm.ch Wed Oct 4 10:06:31 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Wed, 04 Oct 2000 09:06:31 GMT Subject: [Zope] SiteRoot Message-ID: I have a problem with SiteAccess: My site runs with Apache and Zope 2.0.0. Apache has 2 Domains: www.domain1.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain1.com/ in Zope exists: /provider/www/domain1.com www.domain2.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain2.com/ in Zope exists: /provider/www/domain2.com In both subdirectories (domain1.com and domain2.com) exist the SiteRoot method. In the SiteRoot method is written: Title: www.domain1.com Base: http://www.domain1.com Path: / When I point my Browser to www.domain1.com everything works ok. Now I create /provider/www/domain2.com OK I create the acl_user domain2.com with a password. OK I create a SiteRoot: Title: www.domain2.com Base: http://www.domain2.com path: / OK I restart Zope and Apache OK Now when I point my Browser to www.domain2.com I get the Website of www.domain1.com. I go to http://www.domain2.com/manage and get the folder: /provider/www/domain1.com instead of /provider/www/domain2.com When I log in as domain1.com I get the folder /provider/www/domain1.com and everything works ok. But I can go up to the folder /provider/www and see what else is in this folder. But domain1.com has no access to this folder, i.e. there is no acl_user in this folder. What goes wrong? I already tried to upgrade to 2.2.1 and 2.2.2 but this destroys the data structure. Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From dzienniak@sawan.com.pl Wed Oct 4 11:06:17 2000 From: dzienniak@sawan.com.pl (Marcin Dzienniak) Date: Wed, 4 Oct 2000 11:06:17 +0100 Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: <001001c02dea$c3a21370$63020101@sawan.com.pl> Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I have Oracle 8i 8.1.6 . Please send me some information for my adress dzienniak@sawan.com.pl Thank you for your attention. From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:08:00 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:08:00 +0200 Subject: [Zope] List In-Reply-To: <39DA1232.D58E830F@vt.edu> References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <3.0.6.32.20001004120800.0093a330@poirot> Hi all, Thanks for the lots of correct answers. With a small modification (looking up several python docs :-) ) all things worked! Thanks in advance, Tom. At 13:06 03/10/2000 -0400, you wrote: >Tom Deprez wrote: >> >> Hi, >> >> I'm storing a selection of a user to a database as string. This selection >> is a multiple selection from a select box and is outputted as a list. >> Now I want to iterate over this list (after retrieving it from the >> database), but how can I do this? How can I tell Zope that the string is >> actually a list? How can I typecast in Zope? > >Use a python or external method to make a list from your string. I am >supposing you are storing a string representation of the list that looks >like: > >"['fred', 'bob', 'mary']" > >Get rid of any punctuation you do not want with (e.g.) > >theString = string.replace(theString, '[', ' ') > >(Yes, there are more efficient ways to do this!) > >Then, once you have a space-delimited list of items, you may use > >theList = string.split(theString) > >which will make a list of the words in the string. Return theList. > >-- Jim Washington > From bruno@xs2.greenpeace.org Wed Oct 4 11:13:22 2000 From: bruno@xs2.greenpeace.org (bruno@xs2.greenpeace.org) Date: Wed, 4 Oct 2000 12:13:22 +0200 (MEST) Subject: [Zope] PCGI and images not displaying Message-ID: Hello My set up: Linux (X/OS distribution based on RedHat 6.0), Zope 2.1.6 + PCGI + Apache 1.3.9 We have a DTML document that shows an image based on the selection from the user, something like this: (I snipped all the rest because it's of no interest here). The image is stored as an object in the ZODB. When the user requests that page, sometimes, the image is not returned to the browser. What I see in the log from Apache is a return code 304 (not changed) and a return code 200 in the Z2.log ... Does anyone knows of this? Is there a workaround besides putting the image in the filesystem and serving it as a URL from Zope only? TIA. /B From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:28:43 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:28:43 +0200 Subject: [Zope] IMAP and Zope! In-Reply-To: References: <00100317251000.05524@promotor> <00100317251000.05524@promotor> Message-ID: <3.0.6.32.20001004122843.00921020@poirot> Hi, I thought that WorldPilot told at the LinuxTag that version 2, would be more modular in design. I guess you can always ask the developers about the new release. Tom From fjesteban@uco.es Wed Oct 4 12:03:03 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 04 Oct 2000 13:03:03 +0200 Subject: [Zope] DCOracle 1.3.2 for Windows NT References: <001001c02dea$c3a21370$63020101@sawan.com.pl> Message-ID: <39DB0E66.2611FC44@uco.es> I'm not tried it yet, but you can get an VC6 Workspace for DCOracle in this page: http://starship.python.net/crew/arpadk/ Marcin Dzienniak escribió: > Hello, > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . > > Please send me some information for my adress dzienniak@sawan.com.pl > > Thank you for your attention. > > _______________________________________________ > 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 ) From Jean@mosaicsoftware.com Wed Oct 4 12:36:22 2000 From: Jean@mosaicsoftware.com (Jean Jordaan) Date: Wed, 4 Oct 2000 13:36:22 +0200 Subject: [Zope] Last-modified header missing -- time-stamps turned off. Message-ID: Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to do with the http headers returned by Zope. Does Zope not include last-modified headers since it predominantly serves dynamic pages? Regards, -- Jean Jordaan -- technical writer -- Mosaic Software -- Zope 2.2 on WinNT and W2K From Petr.Hrasky@bnp-dresdner-bank.cz Wed Oct 4 12:37:27 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Wed, 4 Oct 2000 13:37:27 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: thanks again, yes, the python versions I use are compiled for threads, they link against libpthread under linux. I have also found ZmxODBCDA adapter and it does not work for me yet - it shows in Zope as broken product. I also spoke to local Oracle hotline and they said that ODBC access is not thread safe until 8.1.6.1.1 due to some error in OCI libs. Now I am downloading Oracle for Linux and Sybase for Linux and I will try to compile OracleDA and SybaseDA. Thanks a lot all. Regards, Petr -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Tuesday, October 03, 2000 11:17 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: RE: [Zope] database connection problem (halting Zope) Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter _______________________________________________ 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 ) From Danny@Adair.net Wed Oct 4 12:59:09 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 13:59:09 +0200 Subject: [Zope] Access problems In-Reply-To: <14810.17844.51565.241516@lindm.dm> Message-ID: >Is it possible, that you upgraded from an earlier Zope installation? > >The traceback suggests that your requests tries to access >the object "broken", probably an object from a broken >product. Thanks, I've found the problem: It was a broken ZPatterns. I've updated to 0.4.2a3, but left an "old" compiled Dynpersist.so in the directory (V 0.3). After updating this, everything was fine. I guess I just have to be prepared to get the weirdest sstuff to see as long as I 1.) use alpha/beta products to authenticate my users on root level, and 2.) keep refusing to wear glasses (Actually, this beta ZPatterns is fine). Thanks, Prost, Danny -----Ursprungliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Dieter Maurer Gesendet: Dienstag, 3. Oktober 2000 22:57 An: Danny@adair.net Cc: zope@zope.org Betreff: Re: [Zope] Access problems Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter _______________________________________________ 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 ) From maxm@normik.dk Wed Oct 4 13:03:56 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 4 Oct 2000 14:03:56 +0200 Subject: [Zope] Namespace problem with the dtml-sendmail and the smtphost Message-ID: <7BD10B680501D411B9DF009027E06F32011C12@exchange> I have a dtml method in a zClass that looks like this: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! "theSMTPHost" is defined as a property in the zClass. But when i use the method I get a: Error Type: error Error Value: host not found If i write: It gets send without a hitch. and if I write it returns mail.tele.dk as expected. I then try this, which also fails. Mailhost: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! Is it not possible to set the smtphost to a string in a dtml variabel? Regards Max M From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 13:35:29 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 14:35:29 +0200 Subject: [Zope] Integers in ZSQLMethod Message-ID: <3.0.6.32.20001004143529.0092d4b0@poirot> Hi, Is it possible to use following code in ZSQLMethod : , But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. From jonathan@home-all.org.uk Wed Oct 4 14:10:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 04 Oct 2000 14:10:17 +0100 Subject: [Zope] Detecting Roles not working Message-ID: <39DB2C39.3824562B@home-all.org.uk> Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in the index_html of my zclass i have edit this
so if the user is anonymous or logged in without the Staff role assigned they should not see the "edit this" link ... Doesn't work! It basically never returns a 'true' response thus never displays the edit this link even when logged in. Tried various permutations and variations on this theme without any success. Help! Without this, I am not sure how to customize the interface for different user groups. I am on 2.2.0 but I think it was similar under 2.1.6. Absolutely any clues no matter how obscure would be gratefully received (or indeed the glaringly obvious solution etc :-) Cheers Jonathan From heinkel@cenix-bioscience.com Wed Oct 4 14:12:53 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Wed, 4 Oct 2000 15:12:53 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <3.0.6.32.20001004143529.0092d4b0@poirot> References: <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <00100415145201.00737@celap> On Wed, 04 Oct 2000, you wrote: > Hi, > > Is it possible to use following code in ZSQLMethod : > > , > > But also allow null as value for the integer? (Thus not filled in) > use or the newer syntax Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 14:26:05 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 15:26:05 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <00100415145201.00737@celap> References: <3.0.6.32.20001004143529.0092d4b0@poirot> <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <3.0.6.32.20001004152605.009222d0@poirot> Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: >On Wed, 04 Oct 2000, you wrote: >> Hi, >> >> Is it possible to use following code in ZSQLMethod : >> >> , >> >> But also allow null as value for the integer? (Thus not filled in) >> > >use > >or the newer syntax > >Ralph > > >------------------------------------------------------------------ >Ralph Heinkel Cenix Bioscience GmbH >Director of the IT-Unit Tel : +49 6221/387 915 >Meyerhofstr. 1 Fax : +49 6221/387 971 >69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com > From ergul@ccs.neu.edu Wed Oct 4 15:59:20 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Wed, 4 Oct 2000 10:59:20 -0400 (EDT) Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-970671560=:2377 Content-Type: TEXT/PLAIN; charset=US-ASCII Marcin Dzienniak wrote: > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . I had compiled DCOracle 1.3.1 b1 libraries as .dll's a while back on WinNT4.0 against Oracle 8.1.6.0 and they worked fine for me until we moved onto Linux. I've attached it hoping it works for you (and maybe others). Ayhan Ergul ---559023410-851401618-970671560=:2377 Content-Type: APPLICATION/ZIP; name="DCOracle-1.3.1b1-compiled.zip" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="DCOracle-1.3.1b1-compiled.zip" UEsDBBQAAgAIAAp+FynlIMBQrZ0AAACQAQAIAAAAb2NpXy5kbGzsW310FFWW r04XSQEFXUpHeiQyjdOuKMhm7TgDJqyASchIhOrudDdMvkSQaSMfGexWZkyU 2N1Oqh89G3aye9iz2bMw45zjqMdlZ5iz0XGhQxNCWMcB1BXWj0XUtTIdNAdm MSpQe+97VZ3OJybHc/afFKdSXe/j3vvuu/d373uvuP8HLZyZ4zgebk3juHaO Xcu4a1+n4Z757Vdmcgem/mFeu6n8D/MqAg8/aq/fvu2H29dvsW9Yv3XrtqD9 wYfs20Nb7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0Up1cF6JT6YpMK02lJidI lSrTWtN600bTq6bXTW/BHNtmeh/m2UemXabdphrTflOjqcl0xHQCZt0ZkECt Jq/poqnd1GHqNvWYKLPULDPLzUpzkDnYHGJWmdUwL/VmM8ioeHOSeYbZap5r XmzeFb07emDxG3gGnoFn4Bl4Bp6BZ+D5/+/5P1BLAQIUABQAAgAIAAp+Fynl IMBQrZ0AAACQAQAIAAAAAAAAAAAAIAC2gQAAAABvY2lfLmRsbFBLAQIUABQA AgAIAAR+FylpgC6DCksAAACwAAAKAAAAAAAAAAAAIAC2gdOdAABCdWZmZXIu ZGxsUEsFBgAAAAACAAIAbgAAAAXpAAAAAA== ---559023410-851401618-970671560=:2377-- From chrisw@nipltd.com Wed Oct 4 16:16:59 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:16:59 +0100 Subject: [Zope] dunno References: <20001003182153.A16179@enteract.com> Message-ID: <39DB49EB.69E89B1A@nipltd.com> Fred Yankowski wrote: > > Version 0-7-2 of Squishdot seems to use the url_quote option when > accessing the value of admin_address in particular, so when a DTML > page has code like > > Where does this code occur? (all occurences please ;-) > and admin_address is a property with the value "foo@bar.com", the > resulting HTML code is > > foo%40bar.com > > which doesn't work correctly, particularly when used as the value of a > 'mailto:' URL. How odd... Where have you got a mailto: URL? I've never had problem with this. What evrsion of Zoep are you using? > So what's the solution? Is Squishdot wrong to use url_quote this way? Dunno... > Why is url_quote hiding the "@" anyway -- I don't see any reason for > escaping it this way. Dunno... Anyone with clues, please give me one :-) cheers, Chris From chrisw@nipltd.com Wed Oct 4 16:19:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:19:31 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: <39DB4A83.6858FB20@nipltd.com> Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? > Also you could send just one message to all the recipients instead of > sending individual messages. Urm, they could be pretty unfriendly mail messages if they're being sent to a coupla thousand people. The bandwidth dcoming out of your server alone would be far higher than it needed to be :-( > > I wonder how mailman does this stuff and if the code could be borrowed > > for Zope? > > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. Any how-to's for this or how hard it would be to set up? cheers, Chris From kthangavelu@earthlink.net Wed Oct 4 11:33:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 03:33:37 -0700 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> Message-ID: <39DB0781.C577FBE2@earthlink.net> Jonathan Cheyne wrote: > > Hi all > > I have built the basis of a site with full, form-based webediting of > objects. Coming round to cleanup time and I wanted to remove certain > visible functions from the default object views unless you have already > logged in (with various possible roles) > > in the index_html of my zclass i have > > > edit this
>
> so if the user is anonymous or logged in without the Staff role assigne > they should not see the "edit this" link ... > > Doesn't work! It basically never returns a 'true' response thus never > displays the edit this link even when logged in. try (untested) Cheers Kapil From l.caroti@wayin.net Wed Oct 4 16:41:21 2000 From: l.caroti@wayin.net (Luciano Caroti) Date: Wed, 4 Oct 2000 17:41:21 +0200 Subject: [Zope] Implementing a distributing mirror Message-ID: Hi, I would like to implement a system to distribute PDF document. I would like to use ZOPE on 5 server distributed in Europe. I would like to build a system that send an email to a paying user where I put an URL. I would like that in URL I send temporary authentication information to allow access to a virtual directory where I put only documents or images files that user purchased. Have you any hints on how implement this architecture? Thank you in advance, Luciano Caroti. From amonta@regents.state.la.us Wed Oct 4 16:45:55 2000 From: amonta@regents.state.la.us (Dr. Anthony Monta) Date: Wed, 04 Oct 2000 10:45:55 -0500 Subject: [Zope] help! dtml-if question Message-ID: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Hi, I've tried to find a solution myself but now am stuck. I created a little "Blurb" product for a university department website so that faculty members can announce recent publications on the department's homepage. They create these ZClass instances in their own folders, and a DTML method in the top-level folder grabs and displays them at random. (I want to avoid using ZCatalog for the time being.) What the method does is randomly choose a faculty folder, and then randomly choose a Blurb instance within that folder. Here's the hack I came up with: (end tags omitted) The problem is that this method will produce an Index Error when it comes across a folder that doesn't contain an instance of "Blurb" class. So I need to make the selection of a folder conditional on Zope's finding a Blurb in that folder. Here's what I tried after reading up: Some default Blurb would appear. This method fails. Can someone help? Cheers, Anthony ~~~~~~~~~~~~~~~~ Anthony Brietz Monta Coordinator of Curricular Assessment & Academic Reporting Louisiana Board of Regents 150 Third Street, Suite 129 Baton Rouge, LA 70801-1389 225.342.4253, ext. 143 amonta@regents.state.la.us From klm@digicool.com Wed Oct 4 16:54:40 2000 From: klm@digicool.com (Ken Manheimer) Date: Wed, 4 Oct 2000 11:54:40 -0400 (EDT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: On Wed, 4 Oct 2000, Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. This seems like a good idea. It makes it hard to get disposition status for the delivery in the transaction - but that problem is intrinsic to email communications, and probably best addressed by using the "sender" header (i think it is), so delivery failure notifications go to someone who needs to know about the failure. Even better - but lots more complicated: have the failure notifications directed to a program which queues the fact of the failure for the sending program to use. I haven't used it, but contemporary MTAs have catchall aliases, by which you can handle a pattern of recipients. Have the envelope sender fit the pattern, and encode the information about the program that needs to get back the failure information. I think this kind of architecture is necessary for comprehensive mail sending from zope, with delivery failure accounting, since mail sending is inherently asynchronous. > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. This is also a good idea in principle, but would wind up being cumbersome. Mailling list "objects" are heavy weight components in mailman - each one having a list metadata and archive directory, mta aliases, etc. Plus, you may have to leave the list up until the last delivery is completed (successful or not). Better, i think, to adopt techniques and steal code from mailman, to take the pieces you want. Ultimately, i don't think you'd be taking that much - there's a lot in python that gets you a lot of the way. It's the embedded knowledge that's useful... -- Ken klm@digicool.com From joachim.werner@iuveno.de Wed Oct 4 17:00:03 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Wed, 4 Oct 2000 18:00:03 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100418001401.10603@promotor> Thanks for the input I got! Just a small wrap-up of what I learned: - The NotMail and old IMAP Adapter code don't seem to be seriously used by anybody - WorldPilot could be a solution, but it only if it was more modular. Ryan Hughes promised to integrate it into Zope by release 2 (incl. a ZODB-based document storage - There is a similar project by Morten W. Petersen that also will feature a ZODB-based message storage that will be searchable, Catalog-aware etc. Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de ------------------------------------------------------- -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From bill@carbonecho.com Wed Oct 4 17:11:41 2000 From: bill@carbonecho.com (Bill Welch) Date: Wed, 4 Oct 2000 16:11:41 +0000 (GMT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DB4A83.6858FB20@nipltd.com> Message-ID: Techniques for effeciently sending a message to a large number of recipients are covered extensively in majordomo documentation - www.greatcircle.com/majordomo. Also check out ftp://cs.utk.edu/pub/moore/bulk_mailer Bill. On Wed, 4 Oct 2000, Chris Withers wrote: > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( From sfl@beehive.de Wed Oct 4 17:15:16 2000 From: sfl@beehive.de (Sebastian Luehnsdorf) Date: Wed, 4 Oct 2000 18:15:16 +0200 (CEST) Subject: [Zope] cookies & ie5.5 win Message-ID: hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution? any help would be appreciated. ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99 From drusch@globalcrossing.com Wed Oct 4 17:23:20 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 04 Oct 2000 11:23:20 -0500 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> Message-ID: <39DB5978.8F8CF1EF@globalcrossing.com> This works for me, no pun intended :) Dan Kapil Thangavelu wrote: > > Jonathan Cheyne wrote: > > > > Hi all > > > > I have built the basis of a site with full, form-based webediting of > > objects. Coming round to cleanup time and I wanted to remove certain > > visible functions from the default object views unless you have already > > logged in (with various possible roles) > > > > in the index_html of my zclass i have > > > > > > edit this
> >
> > so if the user is anonymous or logged in without the Staff role assigne > > they should not see the "edit this" link ... > > > > Doesn't work! It basically never returns a 'true' response thus never > > displays the edit this link even when logged in. > > try (untested) > > > or (tested) > > > > Cheers > > Kapil > > _______________________________________________ > 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 ) From jwashin@vt.edu Wed Oct 4 17:30:15 2000 From: jwashin@vt.edu (Jim Washington) Date: Wed, 04 Oct 2000 12:30:15 -0400 Subject: [Zope] help! dtml-if question References: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Message-ID: <39DB5B17.5050307@vt.edu> Hi, Anthony how about: 0"> Your _.has_key() (I think you meant _.hasattr()) statement was looking for something named "Blurb", not a thing of type"Blurb", so of course it failed. The objectValues(['atype']) statement returns a list of the things of the type, so checking for a non-zero length of the list will do what you need. -- Jim Washington Dr. Anthony Monta wrote: > Hi, > > I've tried to find a solution myself but now am stuck. I created a > little "Blurb" product for a university department website so that > faculty members can announce recent publications on the department's > homepage. They create these ZClass instances in their own folders, > and a DTML method in the top-level folder grabs and displays them at > random. (I want to avoid using ZCatalog for the time being.) What > the method does is randomly choose a faculty folder, and then randomly > choose a Blurb instance within that folder. Here's the hack I came up > with: > > > > > > > > > (end tags omitted) > > The problem is that this method will produce an Index Error when it > comes across a folder that doesn't contain an instance of "Blurb" > class. So I need to make the selection of a folder conditional on > Zope's finding a Blurb in that folder. Here's what I tried after > reading up: > > > > > > > > > > > Some default Blurb would appear. > > This method fails. Can someone help? > From Danny@Adair.net Wed Oct 4 18:57:56 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 19:57:56 +0200 Subject: [Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3 In-Reply-To: <39DB36A2.4080601@cat-box.net> Message-ID: >You can build one yourself on that server. Thanks, I've built one. :-) From grundhan@cs.tu-berlin.de Thu Oct 5 21:21:39 2000 From: grundhan@cs.tu-berlin.de (Hannes) Date: Thu, 05 Oct 2000 21:21:39 +0100 Subject: [Zope] Client.py and timeouts Message-ID: <39DCE2D1.F8EE2D4B@cs.tu-berlin.de> I recently used Client.py to get data from the web into the zope machinery, the setup was exactly as proposed in the ZClient How-To. Maybe I missed something, but the Client module seems to support the setting of an timeout, but I was unable to finger out the right syntax I thought of: web_client(url='http://someserver.com', timeout=60) or some variants of it. (or it doesnt work at all for some other reasons.) Any help would be appreciated.. Hannes From mindlace@digicool.com Wed Oct 4 20:23:42 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 15:23:42 -0400 Subject: [Zope] zope.org restarting Message-ID: <39DB83BE.109AA5AB@digicool.com> Zopatistas, we're tracking down a memory leak. Thanks for your patience, ~ethan From jatwood@bwanazulia.com Wed Oct 4 20:38:43 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 04 Oct 2000 15:38:43 -0400 Subject: [Zope] Wierd 2.2.2 start up problem Message-ID: I have installed 2.2.2 on more than a few machines.... on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line 446, in setstate ImportError: No module named Document I have tried wiping it away and trying again like three times. Anyone know what this? Why it is not happening in installs. All RH Linux. Thanks, J From peter@grenna.net Wed Oct 4 21:10:54 2000 From: peter@grenna.net (Peter Bengtsson) Date: Wed, 4 Oct 2000 21:10:54 +0100 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> <39DB5978.8F8CF1EF@globalcrossing.com> Message-ID: <004001c02e3f$34595160$01d4a8c0@peppe> Stolen somewhere from this list, and I don't remember from who. ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". > > > This works for me, no pun intended :) > > Dan > > Kapil Thangavelu wrote: > > > > Jonathan Cheyne wrote: > > > > > > Hi all > > > > > > I have built the basis of a site with full, form-based webediting of > > > objects. Coming round to cleanup time and I wanted to remove certain > > > visible functions from the default object views unless you have already > > > logged in (with various possible roles) > > > > > > in the index_html of my zclass i have > > > > > > > > > edit this
> > >
> > > so if the user is anonymous or logged in without the Staff role assigne > > > they should not see the "edit this" link ... > > > > > > Doesn't work! It basically never returns a 'true' response thus never > > > displays the edit this link even when logged in. > > > > try (untested) > > > > > > > or (tested) > > > > > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) > From shane@digicool.com Wed Oct 4 21:21:58 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:21:58 -0400 Subject: [Zope] timecards@digicool.com Message-ID: <39DB9166.575C595D@digicool.com> This is a multi-part message in MIME format. --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry for the tardiness. Shane --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000917.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000917.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQ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lAAAAAAAAAAAAAwAAAAAADQAl EgASAAPACcBCAQQAvgAaABMAAAAgACQAJAAiABYAIgAiACIAIgAiAAkABgAjABMACgAlAAAA AAAAAAAAAwAAAAAADQAlEwATAAPACcBCAQQAvgAaABQAAAAgACQAJAAiABYAFgAWABYAFgAi AAkABgAjABQACgAlAAAAAAAAAAAAAwAAAAAADQAlFAAUAAPACcBCAQQAvgAaABUAAAAgACQA JAAiACIAIgAiACIAIgAiAAkABgAjABUACgAlAAAAAAAAAAAAAwAAAAAADQAlFQAVAAPACcBC AQQAvgAaABYAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABYACgAlAAAAAAAAAAAAAwAA AAAADQAlFgAWAAPACcBCAQQAvgAaABcAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABcA CgAlAAAAAAAAAAAAAwAAAAAADQAlFwAXAAPACcBCAQQAvgAaABgAAAAgACQAJAAiACIAIgAi ACIAIgAiAAkABgAjABgACgAlAAAAAAAAAAAAAwAAAAAADQAlGAAYAAPACcBCAQQAvgAaABkA AAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABkACgAlAAAAAAAAAAAAAwAAAAAADQAlGQAZ AAPACcBCAQQAvgAaABoAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABoACgAlAAAAAAAA AAAAAwAAAAAADQAlGgAaAAPACcBCAQQAvgAaABsAAAAgACQAJAAiACIAIgAiACIAIgAiAAkA BgAjABsACgAlAAAAAAAAAAAAAwAAAAAADQAlGwAbAAPACcBCAQQAvgAaABwAAAAgACQAJAAi ACIAIgAiACIAIgAiAAkABgAjABwACgAlAAAAAAAAAAAAAwAAAAAADQAlHAAcAAPACcBCAQQA vgAaAB0AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB0ACgAlAAAAAAAAAAAAAwAAAAAA DQAlHQAdAAPACcBCAQQAvgAaAB4AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB4ACgAl AAAAAAAAAAAAAwAAAAAADQAlHgAeAAPACcBCAQQAvgAaAB8AAAAgACQAJAAiACIAIgAiACIA IgAiAAkABgAjAB8ACgAlAAAAAAAAAAAAAwAAAAAADQAlHwAfAAPACcBCAQQAvgAaACAAAAAm ACcAJwAoACgAKAAoACgAKAAoAAkABgAjACAACgApAAAAAAAAAAAAAwAAAAAADQAlIAAgAAPA CcBCAQQACAIQACAAAAALAAGBAAAAAAABDwAIAhAAIQAAAAEAAYEAAAAAAAEPAAgCEAAiAAAA CwABgQAAAAAAAQ8AvgAcACEAAAAWABYAFgAWABYAFgAWABYAFgAWABYACgC+ABQAIgAAABYA FgAWABYAFgAWABYABgD9AAoAIgAHACoAIQAAAL4ACgAiAAgAKgAqAAkABgAjACIACgArAAAA AAAAAAAAAwAAAAAADQAlBAAgAArACsBCAQQA7ABQAA8AAvBIAAAAEAAI8AgAAAABAAAAAAQA AA8AA/AwAAAADwAE8CgAAAABAAnwEAAAAAAAAAAAAAAAAAAAAAAAAAACAArwCAAAAAAEAAAF AAAAPgISALYGAAAAAEAAAAAAAAAAAAAAAB0ADwADAAAAAAAAAQAAAAAAAAAKAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAA/hwAAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000924.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000924.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQA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AAAMAAAAA AA0AJR0AHQADwAnAQgEEAL4AGgAeAAAAIAAkACQAIgAiACIAIgAiACIAIgAJAAYAIwAeAAoA JQAAAAAAAAAAAAMAAAAAAA0AJR4AHgADwAnAQgEEAL4AGgAfAAAAIAAkACQAIgAiACIAIgAi ACIAIgAJAAYAIwAfAAoAJQAAAAAAAAAAAAMAAAAAAA0AJR8AHwADwAnAQgEEAL4AGgAgAAAA JgAnACcAKAAoACgAKAAoACgAKAAJAAYAIwAgAAoAKQAAAAAAAAAAAAMAAAAAAA0AJSAAIAAD wAnAQgEEAAgCEAAgAAAACwABgQAAAAAAAQ8ACAIQACEAAAABAAGBAAAAAAABDwAIAhAAIgAA AAsAAYEAAAAAAAEPAL4AHAAhAAAAFgAWABYAFgAWABYAFgAWABYAFgAWAAoAvgAUACIAAAAW ABYAFgAWABYAFgAWAAYA/QAKACIABwAqACMAAAC+AAoAIgAIACoAKgAJAAYAIwAiAAoAKwAA AAAAAAAAAAMAAAAAAA0AJQQAIAAKwArAQgEEAOwAUAAPAALwSAAAABAACPAIAAAAAQAAAAAE AAAPAAPwMAAAAA8ABPAoAAAAAQAJ8BAAAAAAAAAAAAAAAAAAAAAAAAAAAgAK8AgAAAAABAAA BQAAAD4CEgC2BgAAAABAAAAAAAAAAAAAAAAdAA8AAwAAAAAAAAEAAAAAAAAACgAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFIAbwBvAHQAIABFAG4AdAByAHkA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////// //8BAAAAEAgCAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAAMAAAAAAAAAA VwBvAHIAawBiAG8AbwBrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAABIAAgACAAAA//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAACAAAANR0AAAAAAAABAEMAbwBtAHAATwBiAGoAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgACAAMAAAD//////////wAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJAAAAAAAAAAEATwBsAGUAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72-- From shane@digicool.com Wed Oct 4 21:36:21 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:36:21 -0400 Subject: [Zope] timecards@digicool.com References: <39DB9166.575C595D@digicool.com> Message-ID: <39DB94C5.89CB6B7A@digicool.com> Shane Hathaway wrote: > > Sorry for the tardiness. Uh, ahem, please disregard. Sorry for sending that to the wrong place. Shane From bennettt@am.appstate.edu Wed Oct 4 23:03:28 2000 From: bennettt@am.appstate.edu (TMGB) Date: Wed, 04 Oct 2000 18:03:28 -0400 Subject: [Zope] client proxy setting Message-ID: <39DBA930.875750F0@am.appstate.edu> Can I get the user's client proxy setting using 'REQUEST' or some other syntax, product, or utility. This is not Proxy Roles or ProxyPass, but the client's proxy settings if any. I am working on a help page to debug a user's settings if he or she can't get to certain pages with our proxy server settings on their browser. I've found this to work for testing cookies acceptance:(set a cookie and then try to get it) YES, You Do Have Cookies Enabled NO, Your browser is not accepting cookies Thanx, Thomas -- -------------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org -------------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library bennettt@am.appstate.edu http://www.library.appstate.edu/webmaster/ Voice: 828 262 6587 FAX: 828 262 3001 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine From terry@adroit.net Thu Oct 5 00:25:19 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 05 Oct 2000 09:25:19 +1000 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> Message-ID: <39DBBC5F.9D375761@adroit.net> Chris Withers wrote: > Hannu Krosing wrote: > > Perhaps it would be better to solve this by configuring your sendmail > > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. > > Can you tell me how to set that up with exim? > > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( > How would the bandwidth change?? > > > > I wonder how mailman does this stuff and if the code could be borrowed > > > for Zope? > > > > Maybe you could just use mailman as MTA, greating temporary > > mailing-lists. > > Any how-to's for this or how hard it would be to set up? > > 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 ) -- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124 From ewalstad@yahoo.com Wed Oct 4 23:01:53 2000 From: ewalstad@yahoo.com (Eric) Date: Wed, 04 Oct 2000 15:01:53 -0700 Subject: [Zope] external method import error (ImportError)... Message-ID: Hi, To summarize: How do I import modules in an External Method's .py file? I have an external method that points to a .py file that has an import statement at the top. The import statement loads another module of mine (CProject.py). I've placed both files (pwToxml.py and CProject.py) in the Zope/Extensions directory. When I try to create an external method on the pTox.py file with the following parameters: ID = pTox Function Name = pTox Python Module File = pwToxml I get the following error: Error Type: ImportError Error Value: No module named CProject Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 130, in manage_addExternalMethod File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 178, in __init__ (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 201, in manage_edit (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 210, in getFunction (Object: pTox) File /usr/local/Zope/lib/python/App/Extensions.py, line 217, in getObject (Info: ('/usr/local/Zope/Extensions/pwToxml.py', 'pwToxml')) File /usr/local/Zope/Extensions/pwToxml.py, line 1, in ? ImportError: (see above) I checked the sys.path for my Python installation and placed the CProject.py file there, but I still get the same error. Here's the top of my pwToxml.py file: import CProject, string def pTox(self, REQUEST): """Function to map pw to CProject Objects""" P=CProject.CProject() dictData = REQUEST.form.items() strTemp = "" strError = "Error Retrieving Dictionary Value" ...etc... Thanks for any help you can provide. From curtis@cardgate.net Wed Oct 4 23:48:38 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 5 Oct 2000 09:48:38 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: References: Message-ID: <00100509483801.00895@localhost.localdomain> On Wed, 04 Oct 2000, Stephan Goeldi wrote: > > > > According to a recent study, there are approximately 13 'web safe' > > > > colours, out of the full 16,777,216. > > > > > > What makes the other 15,777,203 'unsafe'? > > If you mean the 'browsersafe colours' then there are 218. > Yes, my mistake. I did mean 'browser safe'. I was aware of the previous belief of 216 (mostly because of 256 colour modes less 40 system colours), but as I stated, a recent study has "dispelled the myth", claiming (and now I correct myself :) only 22 browser safe colours. http://slashdot.org/articles/00/09/08/1622204.shtml has some more details, and a link to the actual article. > >The only other possible reason I can recall is that some of the 'named' > >colours are not supported by all browsers, or are not interpreted the > > same. > > No, the problem is, that they are not displayed the same. > Not long after posting my message I realised this also. (o8 > -goe- > Have a better one, Curtis Maloney From mindlace@digicool.com Wed Oct 4 23:43:00 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:43:00 -0400 Subject: [Zope] Zope stalls indefinitely References: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Message-ID: <39DBB274.2BA7F0D9@digicool.com> "Leichtman, David J" wrote: > > Thought we had a problem of ours fixed, but here it is once again, a month > later. > Zope, every once in a while, will just stall indefinitely. The Zope process > doesn't die, it just hangs. > Any thoughts. I've posed this question to a lot of people many times. Now > that it's back, I'm hoping for fresh insight. hm. have you been using -M to see which things are being called when it hangs? ~ethan From mindlace@digicool.com Wed Oct 4 23:54:50 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:54:50 -0400 Subject: [Zope] Last-modified header missing -- time-stamps turned off. References: Message-ID: <39DBB53A.39A6F0CD@digicool.com> Jean Jordaan wrote: > > Hi all > > Just a note from the blue .. I'm snarfing the ZB using > wget -np -m http://www.zope.org/Members/michel/ZB/ > and for every document I'm seeing: > > Last-modified header missing -- time-stamps turned off. > > What's the significance of this? I assume something to > do with the http headers returned by Zope. Does Zope not > include last-modified headers since it predominantly serves > dynamic pages? This is correct. No Last-Modified headers except for files and images (and that is specific to zope.org). Including a last modified header isn't hard, however: http://www.zope.org/Members/rbeer/caching ~ethan From aboulanger@ldeo.columbia.edu Thu Oct 5 00:31:21 2000 From: aboulanger@ldeo.columbia.edu (Albert Boulanger) Date: Wed, 04 Oct 2000 19:31:21 -0400 Subject: [Zope] WDDX anyone? Message-ID: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also there is full rdf. From: http://www.wddx.org/ Welcome to WDDX.ORG, the home of the WDDX SDK and related projects. WDDX.ORG seeks to empower Web developers with technology that enables them to create new forms of value on the Internet using distributed data and Web syndicate networks. The Web Distributed Data Exchange, or WDDX, is a free, open XML-based technology that allows Web applications created with any platform to easily exchange data with one another over the Web. To learn more about WDDX, check out the Understanding WDDX section of the site. Who created WDDX? Allaire created WDDX in order to solve key problems in exchanging data between Web applications. In particular, Simeon Simeonov, Allaire's language technology architect, created WDDX to support problems of distributed computing within ColdFusion. This work was generalized into a cross-language framework, and resulted in the creation of the WDDX SDK and WDDX.org. The WDDX SDK was created by Nate Weiss, an independent Web developer, with the support of Allaire and a number of other third parties. How does WDDX work? All of the standard programming environments on the Web (ColdFusion, Perl, ASP, Java, JavaScript, PHP, etc) include native data structures such as arrays, record sets or value pairs. WDDX provides a module for each language that will automatically serialize or translate the native data structures into an abstract representation in XML, or deserialize WDDX XML into a native data structure. For example, you could use WDDX to take a complex array in ColdFusion, serialize it into XML, send it to an ASP server, and then deserialize from XML into a VBScript array object with all the types natively converted. This conversion process between languages is relatively transparent to developers by shifting any XML processing and interaction into the WDDX modules, eliminating developers from having to directly program or manipulate XML themselves, This is not an RMI mechanism. Regards, Albert Boulanger aboulanger@vpatch.com From nestor@engendro.com Thu Oct 5 01:06:26 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Wed, 4 Oct 2000 19:06:26 -0500 (COT) Subject: [Zope] Product Testing In-Reply-To: Message-ID: HI, i'm trying to learn how to make products, i have been able to modify the poll product that comes with the product tutorial, and now i'm creating a new product however i need to restart zope for the changes to take effect, i think i can omit this if i can compile (generate the *.pyc) in the product directory, can anybody send me a few bits of how can i made that? thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From michel@digicool.com Mon Oct 2 21:41:25 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: [Zope] Fw: ZSQL Methods in ZClasses, not working References: Message-ID: <39D8F2F5.B825620@digicool.com> Just wanted to get this point archived... Thanks Michel. Forwarded by Alexander Schonfeld ---------------- Original message follows ---------------- From: Michel Pelletier To: alex@garage.co.jp Cc: " \(DC Support List\)" Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: Re: [Support] [ZOPE Collector] Z SQL Methods Bug entry: ZSQL Methods in ZClasses, not working -- alex@garage.co.jp wrote: > > A new bug entry was added with the following information: > > Title: ZSQL Methods in ZClasses, not working > > At: http://classic.zope.org:8080/Collector/Collector/1664/sview > > Submitter: Alex > > Email: alex@garage.co.jp > > Description: Adding a ZSQL method to a ZClass and trying to access it from a method in that class gives permission denied and no matter what the password, denies access. You need to select *Use Database Methods* on your ZClasses *Permissions* view, and then select each ZSQL method you create and map *Use Database Methods* to *Use Database Methods*. I haven't really groked why it's that hard, but it works. -Michel From mandrews@netgenics.com Thu Oct 5 01:17:36 2000 From: mandrews@netgenics.com (Andrews, Martin) Date: Wed, 4 Oct 2000 20:17:36 -0400 Subject: [Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2 Message-ID: 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_000_01C02E61.AA7FFC96 Content-Type: text/plain; charset="iso-8859-1" When I have the 2000-10-02 hotfix installed I can no longer authenticate to zope. I fails with the attached message (Error Type: AttributeError, Error Value: editabsolute_url). I am guessing the problem is related to the fact that I am using GUF 1.2.4 (patched to have the getUserById() method). Any ideas? Martin mandrews@netgenics.com ------_=_NextPart_000_01C02E61.AA7FFC96 Content-Type: application/octet-stream; name="zope.err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zope.err" Zope=0A=

=0A= =0A=
=0A= Zope=0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= 3D"Zope"=0A= =0A=

Zope Error

=0A=

Zope has encountered an error while publishing this resource.=0A=

=0A= =0A=

=0A= Error Type: AttributeError
=0A= Error Value: manageabsolute_url
=0A=

=0A= =0A=
=0A= =0A=

Troubleshooting Suggestions

=0A= =0A=
    =0A=
  • The URL may be incorrect.
  • =0A=
  • The parameters passed to this resource may be incorrect.
  • =0A=
  • A resource that this resource relies on may be encountering an = error.
  • =0A=
=0A= =0A=

For more detailed information about the error, please=0A= refer to the HTML source for this page.=0A=

=0A= =0A=

If the error persists please contact the site maintainer.=0A= Thank you for your patience.=0A=

=0A=
=0A= =0A= =0A=

Last modified: 2000/10/04 15:55:28.369 US/Eastern=0A= =0A= ------_=_NextPart_000_01C02E61.AA7FFC96-- From kthangavelu@earthlink.net Thu Oct 5 00:16:09 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 16:16:09 -0700 Subject: [Zope] WDDX anyone? References: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Message-ID: <39DBBA39.8C7C26E1@earthlink.net> Albert Boulanger wrote: > > Has anyone considered WDDX for Zope? This seems like a nice next step to > > exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs > for CF, perl, etc. > > I have some applications in mind for intranet syndication that goes > beyond what RSS can do. Also there is full rdf. > > From: http://www.wddx.org/ > WDDX provides a module for > each language that will automatically serialize or translate the native > data structures into an abstract representation in XML, or deserialize > WDDX XML into a native data structure. For example, you could use WDDX > to take a complex array in ColdFusion, serialize it into XML, send it to > an ASP server, and then deserialize from XML into a VBScript array > object with all the types natively converted. This conversion process > between languages is relatively transparent to developers by shifting > any XML processing and interaction into the WDDX modules, eliminating > developers from having to directly program or manipulate XML themselves, > > This is not an RMI mechanism. So what about this couldn't be emulated with xml-rpc? Curious, Kapil From roman@speeder.org Thu Oct 5 06:35:53 2000 From: roman@speeder.org (Roman Milner) Date: 05 Oct 2000 00:35:53 -0500 Subject: [Zope] LDAP won't work - yes I've applied the patch Message-ID: <871yxvluiu.fsf@blip.speeder.zoe> I'm trying to get ldap methods to work with 2.2.2. I can access the attributes of the objects returned from an ldap method with a python extension fine, but dtml-in'ing the returned list doesn't work. I keep getting an error (traceback below). Any ideas? Thanks, ^Roman Your action caused an unknown error to occur. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From ppetru@ppetru.net Fri Oct 6 04:00:44 2000 From: ppetru@ppetru.net (Petru Paler) Date: Fri, 6 Oct 2000 06:00:44 +0300 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DCE3C8.3E9F6BD2@digicool.com>; from michel@digicool.com on Thu, Oct 05, 2000 at 01:25:44PM -0700 References: <39DCE3C8.3E9F6BD2@digicool.com> Message-ID: <20001006060044.C1065@ppetru.net> On Thu, Oct 05, 2000 at 01:25:44PM -0700, Michel Pelletier wrote: > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > > > Hi Brad - > > > > SOAP is still something we want to do, but it is on hold right > > now (we just don't have the resources at the moment). I've been > > hoping that someone might take the lead and start a project on > > dev.zope.org, but so far that hasn't happened :( > > Take a look at: > > http://classic.zope.org:8080/Collector/1360/view > > I remember glancing at it for a bit, it might be a good start to at > least get it to the same level of support as xml-rpc. Glad to see that people finally show some interest in that :) That patch was the result of a long night, but I'm sure it can be gotten to work properly (right now I think it has problems with exception handling). -- Petru Paler, mailto:ppetru@ppetru.net http://www.ppetru.net - ICQ: 41817235 From kthangavelu@earthlink.net Fri Oct 6 01:55:12 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Thu, 05 Oct 2000 17:55:12 -0700 Subject: [Zope] sudden ZClass breakage References: Message-ID: <39DD22F0.CD3E5F7B@earthlink.net> Timothy Wilson wrote: > > Hi everyone, > > I've been working away on a ZClass-based product that will provide a > searchable job board for our Human Resources Dept. here at school. Things > were going along fine until, it seemed, out of the blue I started getting an > error message about an "Invalid Date-Time String" and a lengthy > traceback. I'm wondering if anyone can glean anything from the > traceback. Is this one of those obvious errors that I'm just missing? I'm > really puzzled. Any advice would be appreciated. Here's the traceback: You're trying to change the zclass properties after creating it but you're not passing in a valid date time string and hence you're getting this error. Make sure the string you're passing in conforms to a date time format. (check ZOPE_HOME/lib/python/DateTime/DateTime.py for the supported formats), or just cast it explicitly like . I've noticed some behavior earlier today where i change all my zclass properties in a manage_changeProperties (depends on where) even ones not listed in the request. if this is your problem and you don't have date_time string set in the REQUEST you can try explicitly passing in a dummy date time string (ZopeTime or distant past), or setting it to its default value, i'd chuck this into the Collector/Tracker. i'm sure others have good solutions. > > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > wilson@visi.com | | http://linux.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 ) From stephan.goeldi@datacomm.ch Fri Oct 6 09:15:26 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 06 Oct 2000 08:15:26 GMT Subject: [Zope] browsable parent directories Message-ID: I successfully installed and used SiteAccess on my Zope 2.2.0. There is a directory /www on my server, where subdirectories are stored. Customer domains point to those subdirectories: /www/domain1 /www/domain2 etc. in domain1 and domain2 are the acl_user folders with manager permission for the customer. And there are the SiteRoot methods as Title = www.domain1.com Base = http://www.domain1.com Path = / When the customer accesses the manage screen, in the left frame everything is correct displayed (as www.domain1.com/). In the right folder it isn't. On the top of the right frame is the current path displayed as: /toplevel/www/domain1 The customer can browse to /toplevel/www and look who else is on this server. This is bad security IMHO. Is there a workaround for this? I downloaded SiteAccess 2, because I didn't know which version I installed some weeks ago. There was no 'Product' directory in my Zope root. So I created the directory and untarred SiteAccess2. I don't know how to delete SiteAccess 1. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From knight@righteous.net Fri Oct 6 09:37:37 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:37:37 -0700 (PDT) Subject: [Zope] redirect to user's folder not working In-Reply-To: <00100610043506.00895@localhost.localdomain> Message-ID: > On Fri, 06 Oct 2000, Andy McKay wrote: > > AUTHENTICATED_USER is not a string so need to cast it before doing the > > string operation: > > > > > > > > effectively does the same thing, it calls the > > string representation of AUTHENTICATED_USER. > > > > A more 'polite' way to get the user name is to use > AUTHENTICATED_USER.getUserName(). Not as short, true, but definitely more > explicit. Agreed. Any remember, several user managers don't completely conform to the AUTHENTICATED_USER "standards", and you might see calling AUTHENTICATED_USER directly fail completely. ;] Knight knight@phunc.com From knight@righteous.net Fri Oct 6 09:41:30 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:41:30 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: > How do I get a zope database connection from an enternal method? You can access your db using your existing ZSQL Methods by calling them from the namespace passed in, specifically self. Example: def myextmethod(self): mfl_id = 3 results = self.sqlCountUsers(mfl_id=mfl_id) for result in results: print result[0], result[3] Keep in mind that a list is returned, not a dictionary. Knight knight@phunc.com From knight@righteous.net Fri Oct 6 10:05:26 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 02:05:26 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) > > From matt@virtualspectator.com Fri Oct 6 10:55:53 2000 From: matt@virtualspectator.com (matt) Date: Fri, 6 Oct 2000 22:55:53 +1300 Subject: [Zope] XMLDocument create attributes problem Message-ID: <00100622591302.00925@localhost.localdomain> Hi, I'm trying to make an external method create and set some attributes of nodes in an XML document. The following is a fragment of the code, and the error. I can't even get a valid attribute created, let alone set. Does anyone have some examples? Please could you reply to me as well as the list, regards Matt from Products.XMLDocument.XMLDocument import Document def add(self, id, title): ob=Document() ob.title=title ob.id=id id=self._setObject(id, ob) log_node = ob.createElement('log') an_at = ob.createAttribute('attribute1') Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: too many arguments; expected 3, got 4 Traceback (innermost last): File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: addxmldoc('test', 'some_title_test')) (Info: addxmldoc) File , line 0, in ? File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ExternalMethod/ExternalMethod.py, line 270, in __call__ (Object: addxmldoc) (Info: (('test', 'some_title_test'), {}, None)) File /usr/local/zope/Zope-2.2.0-linux2-x86/Extensions/addxmldoc.py, line 11, in add (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/XMLDocument/XMLDocument.py, line 283, in createAttribute (Object: Manageable) TypeError: (see above) From rbeer@uni-goettingen.de Fri Oct 6 12:19:11 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 6 Oct 2000 13:19:11 +0200 Subject: [Zope] Migrating from 2.1.6 to 2.2.2 In-Reply-To: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> References: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> Message-ID: Take a look at http://www.zope.org/Products/Zope/2.2.0/upgrading_to_220. Ragnar >I have a Zope based web site running under 2.1.6. I want to move it >to a different machine which will be running 2.2.2. Can someone >identify the steps I need to take to make this move? What things do >I need to be aware of in moving between these versions? Do I just >need to copy the data.fs along with any required product files, or >do I need move/configure other things. > >Thanks. > > >_______________________________________________ >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 ) From ssmith6@bigpond.net.au Fri Oct 6 13:17:11 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Fri, 6 Oct 2000 22:17:11 +1000 Subject: [Zope] Passing lists to zsql methods Message-ID: <000101c02f8f$5b8a6840$be348490@vic.bigpond.net.au> I have a form comprising two selection lists, each supporting multiple selection. I want the inputs to become parameters to a zsql method. I find the input works if the user selects at least one item from each list, but fails with a 'bad object id' message if either list is left unselected. I have tried providing a default list value, no luck. Any ideas out there? The form looks like:

Use this form to specify the parameters for your query or submission

All fields are optional

Multiple selection is supported - hold down the CONTROL key

and the zsql method reads: use thetable BEGIN transaction INSERT INTO rumours (Description) VALUES () DECLARE @rumourid int SELECT @rumourid = MAX(rumourid) FROM rumours COMMIT INSERT INTO roperators(rumourid, OperatorID) VALUES (@rumourid, ) INSERT INTO rclasses(rumourid, ClassID) VALUES (@rumourid, ) From sebbacon@email.com Fri Oct 6 13:52:37 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 13:52:37 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: I've got a ZClass "A" that subclasses another ZClass "B". I can use the default propertysheets/B/manage method to update B's properties; but how do I access the properties of A through the management interface? Many thanks Seb. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of knight Sent: 06 October 2000 10:05 To: zope@zope.org Cc: Mark Twiddy Subject: Re: [Zope] external method database connection Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) From knight@righteous.net Fri Oct 6 14:07:20 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 06:07:20 -0700 (PDT) Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Either I don't fully understand your question, or I'm misinterpreting what you are trying to accomplish. If you are subclassing A, calling it B, then it _already_ has the properties of A when it was subclassed. However, if you have two instances running, one A, and one subclass of A called B, then you can not access that data in A from B since they are seperate instances. Maybe you could clarify what you are trying to accomplish (example maybe)... Regards, Knight knight@phunc.com On Fri, 6 Oct 2000, Seb Bacon wrote: > I've got a ZClass "A" that subclasses another ZClass "B". I can use the > default propertysheets/B/manage method to update B's properties; but how do > I access the properties of A through the management interface? > > Many thanks > > Seb. > > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of > knight > Sent: 06 October 2000 10:05 > To: zope@zope.org > Cc: Mark Twiddy > Subject: Re: [Zope] external method database connection > > > Also, you could always import the specific module for your database, and > create a db connection, then execute() and fetch() directly. Although, if > you are putting this in an external method, it would be wiser to use your > existing ZSQL methods ;] > > Knight > knight@phunc.com > > On Fri, 6 Oct 2000, knight wrote: > > > > > > How do I get a zope database connection from an enternal method? > > > > You can access your db using your existing ZSQL Methods by calling them > > from the namespace passed in, specifically self. > > > > Example: > > > > def myextmethod(self): > > mfl_id = 3 > > results = self.sqlCountUsers(mfl_id=mfl_id) > > for result in results: > > print result[0], result[3] > > > > > > > > Keep in mind that a list is returned, not a dictionary. > > > > Knight > > knight@phunc.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 ) > > > _______________________________________________ > 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 ) > > From odeckmyn.list@teaser.fr Fri Oct 6 14:16:23 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 15:16:23 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ Message-ID: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Hi all, What is the new way to apply the "__no_before_traverse__" using SiteAccess2 ? When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not apply ; this enabling to play with the management interface on a broken SiteAcces configuration... What is the "nowadays way to to this (TM)" ? Please help ! Thanx ! --- We are Micro$oft. You will be assimilated. Resistance is futile. From jjunior@cidadei.com.br Fri Oct 6 14:40:05 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Fri, 6 Oct 2000 10:40:05 -0300 Subject: [Zope] variable Message-ID: <70DA17B25830D411AD6500508B11CB4B3689D2@PRIMA-EXC01> It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. From evan@4-am.com Fri Oct 6 15:30:06 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 10:30:06 -0400 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> From: Olivier Deckmyn > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 Two ways, and it's factored so that you can turn SiteAccess objects off more selectively. First, you can turn all SiteRoots or Access Rules in your site off by restarting Zope with environment variables SUPPRESS_SITEROOT and/or SUPPRESS_ACCESSRULE set. Second, you can insert _SUPPRESS_SITEROOT or _SUPPRESS_ACCESSRULE in a URL right after the name of a container that has one you want to suppress. You can include both, in either order, if a folder has both an Access Rule and a SiteRoot that you want to turn off. Cheers, Evan @ digicool & 4-am From odeckmyn.list@teaser.fr Fri Oct 6 15:23:47 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 16:23:47 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <033c01c02fa1$0a274600$0d00000a@ODECKMYN2K> the new magic buzz word is : "_SUPPRESS_SITEROOT" et voila ! Olivier. ----- Original Message ----- From: "Olivier Deckmyn" To: Sent: Friday, October 06, 2000 3:16 PM Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ > Hi all, > > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 > ? > > When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : > http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not > apply ; this enabling to play with the management interface on a broken > SiteAcces configuration... > > What is the "nowadays way to to this (TM)" ? > > Please help ! > > Thanx ! > > --- > We are Micro$oft. You will be assimilated. Resistance is futile. > > > > _______________________________________________ > 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 ) > > From lheber@debis.com Fri Oct 6 15:24:48 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:24:48 +0200 Subject: [Zope] Animated GIFs Message-ID: <39DDE0B0.B461CE18@debis.com> Hi there, I've got a strange problem. I want to upload an animated GIF to my Zope, but when I want to view it, animation stops at the last frame instead of looping indefinitely. When not uploaded to Zope, the animation works fine, also, when I download the GIF by rightclick from a Zope site and view it again outside Zope, it works perfectly! What's going on here??? Any ideas? PS.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 15:29:21 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 16:29:21 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <200010061629210601.00EAF59D@mail.inetsysonline.com> --=====_9708425616334=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with Zope speed. I've done benchmarking in two machines, with the same hardware. (K7 700= MHz, 128 MB, 20GB HD) Windows machine : W 2000 Professional with Zope for Windows Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 Windows 2000----------------------------------------------------------- Server Hostname: windows Server Port: 80 Document Path: /index_html Document Length: 486 bytes Concurrency Level: 25 Time taken for tests: 1.807 seconds Complete requests: 1000 Failed requests: 137 (Connect: 0, Length: 137, Exceptions: 0) Non-2xx responses: 864 Total transferred: 660974 bytes HTML transferred: 473471 bytes Requests per second: 553.40 Transfer rate: 365.79 kb/s received Connnection Times (ms) min avg max Connect: 0 0 10 Processing: 11 42 356 Total: 11 42 366 ----------------------------------------------------------------------------= ------- Linux-----------------------------------------------------------------------= ---- Server Hostname: linux Server Port: 8088 Document Path: /Contactos Document Length: 396 bytes Concurrency Level: 25 Time taken for tests: 7.688 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 595000 bytes HTML transferred: 396000 bytes Requests per second: 130.07 Transfer rate: 77.39 kb/s received Connnection Times (ms) min avg max Connect: 0 8 224 Processing: 102 181 54 Total: 102 189 278 ----------------------------------------------------------------------------= --------------------------- There's a big difference in the number of requests per second, four times= more in the Windows machine. Anyone knows why? Does it mean that Zope running in Windows is better than= in Linux? /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Inform=E1tica Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ --=====_9708425616334=_ Content-Type: text/html; charset="us-ascii"
Hi, I have a problem with Zope speed.
I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD)
 
Windows machine : W 2000 Professional with Zope for Windows
Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1
 
Windows 2000-----------------------------------------------------------
 
Server Hostname:        windows
Server Port:            80
 
Document Path:          /index_html
Document Length:        486 bytes
 
Concurrency Level:      25
Time taken for tests:   1.807 seconds
Complete requests:      1000
Failed requests:        137
   (Connect: 0, Length: 137, Exceptions: 0)
Non-2xx responses:      864
Total transferred:      660974 bytes
HTML transferred:       473471 bytes
Requests per second:    553.40
Transfer rate:          365.79 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     0    10
Processing:    11    42   356
Total:         11    42   366
-----------------------------------------------------------------------------------
Linux---------------------------------------------------------------------------
 
Server Hostname:        linux
Server Port:            8088
 
Document Path:          /Contactos
Document Length:        396 bytes
 
Concurrency Level:      25
Time taken for tests:   7.688 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      595000 bytes
HTML transferred:       396000 bytes
Requests per second:    130.07
Transfer rate:          77.39 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     8   224
Processing:   102   181    54
Total:        102   189   278
-------------------------------------------------------------------------------------------------------
 
There's a big difference in the number of requests per second, four times more in the Windows machine.
Anyone knows why? Does it mean that Zope running in Windows is better than in Linux?

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
Aitor Grajal Crespo
Director General
 
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66
 
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--=====_9708425616334=_-- From lheber@debis.com Fri Oct 6 15:31:38 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:31:38 +0200 Subject: [Zope] Problems with animated GIFs Message-ID: <39DDE24A.2F98F486@debis.com> Hi there, I've got a strange problem with animated GIFs: They work fine in any browser. Uploading to Zope, viewing it. Animation goes up to the last frame, but instead of looping indefinitely, it stops at the last frame. Downloading that file from Zope, viewing it in any browser outside Zope, works perfectly! What's going on here??? Any ideas? P.S.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From joachim.werner@iuveno.de Fri Oct 6 15:16:06 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 6 Oct 2000 16:16:06 +0200 Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> References: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> Message-ID: <00100616363700.19497@promotor> I also don't get the LDAP Methods to work, even tried on 2.1.6. The test tab works as usual, but when I use them in DTML I don't have success either. Can anybody who got them working please try to explain the syntax step by step? The provided examples don't work for me. That's what I do: 1. I have a working LDAP Connection 2. If I create an LDAP method ("ldapmethod") with the argument "sn" and the filter "sn=" I get the correct result with the test tab. 3. I try to use the method in DTML: ,
This raises an Error Type: KeyError Error Value: sn The strange thing is that the method itselfs seems to work but passes no data: If I just use .
then the number of "." equals the number of entries the method should pass. Also, results in things like "[, ]", again the number of empty elements is correct, they just shouldn't be empty ... ______________________ Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From sebbacon@email.com Fri Oct 6 15:30:09 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 15:30:09 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Thanks, I'll rephrase it using my real life problem: I have a Picture class, which comprises image, title, description, etc. I also have a ProductItem class, which subclasses Picture to include a price, etc. So finally I have got a ProductItem class, which has a title, image, price, ... I can access properties inherited from the Picture no problem. The problem is that the default management screen for editing the properties of ProductItem, propertysheets/Details/manage, only provides a means of editing the unique properties of ProductItem. Is there a means of managing all the properties of a ZClass, including those of its parent class? Or do I have to code my own management screen to do this? And if so, what is the correct way of refering to these properties in DTML? Feeling a bit dumb...cheers, Seb From bkc@murkworks.com Fri Oct 6 15:46:54 2000 From: bkc@murkworks.com (Brad Clements) Date: Fri, 6 Oct 2000 10:46:54 -0400 Subject: [Zope] FCGI or PCGI for Zope behind Stronghold for SSL, which way to go? Message-ID: <39DDAD9B.13445.1324009B@localhost> Can anyone offer their suggestion as to which method will be better, both in terms of speed and reliability? I do not need virtual hosting, just SSL. Thanks for comments.. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From konermann@inf.tu-dresden.de Fri Oct 6 15:54:32 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Fri, 06 Oct 2000 16:54:32 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <39DDE7A8.F5EB9BC2@inf.tu-dresden.de> Hi all. Correct me, if i am wrong, but AFAIK ZServer (coming with Zope) is multi-threaded by default, whereas Apache/Zope uses PCGI or FCGI and is *not* multi-treaded. Best regards, Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From brian@digicool.com Fri Oct 6 16:20:38 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:20:38 -0400 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DC9E22.6297.EFF90F6@localhost> Message-ID: > Okay, has anything been done at all? > > Where would I start? What's left to do? Petru Paler contributed some preliminary work: http://classic.zope.org:8080/Collector/1360/view While I think that this is a good thing and I'm glad he did it, I think that experience has shown that just suddenly making *everything* available via a new protocol (xml-rpc, SOAP) is not really the right approach. There are a number of people who have recently voiced their (legitimate) concern that by default *practically everything* on their site is xml-rpc enabled - and they have no easy way to turn it off or make things selectively available. This is a very important point - I think people would rather be able to implement SOAP services selectively rather than by One Big Switch that may expose just about anything. I would very much like to see a project started on dev.zope.org that starts off by drafting a "user manual" that describes how SOAP services would be implemented from the standpoint of a Zope developer. This would give us a good way to come to agreement without worrying about code just yet. Some attention should be given to how SOAP services get exposed by other systems at this point (they do *not* just suddenly expose every in-memory object to SOAP). We should also anticipate some of the work being done in "discoverability" of SOAP services in our draft (which I think will affect how you go about "defining" a Web service. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From brian@digicool.com Fri Oct 6 16:30:39 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:30:39 -0400 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Linux-------- > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > There's a big difference in the number of requests per second, > four times more in the > Windows machine. Anyone knows why? Does > it mean that Zope running in Windows is better than in Linux? No - look at your results. Every request failed on the win32 box (and they all succeeded on linux). You have some sort of problem in your windows setup, and you'll always get higher throughput for errors than you can for completed requests... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From tom.deprez@uz.kuleuven.ac.be Fri Oct 6 16:27:57 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Fri, 06 Oct 2000 17:27:57 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <3.0.6.32.20001006172757.00948330@poirot> Why do you test the one with ZServer and the other with Apache? If you want correct results you've to test both with ZServer or both with Zope behind Apache. Not? Tom. From wmiller@mediaone.net Fri Oct 6 16:43:51 2000 From: wmiller@mediaone.net (wmiller@mediaone.net) Date: Fri, 06 Oct 2000 15:43:51 -0000 Subject: [Zope] ZSQL returns integer only Message-ID: <8rkrvn+pupe@eGroups.com> The Oracle8i recordset I'm retrieving includes a few columns which are NUMBER(10,0) format which are milliseconds. I would like to divide each by 1000 and use the ROUND function to return a result with one decimal place, e.g. ROUND(column1/1000, 1). This works as expected in SQL*Plus. It returns the results as a number formated to one decimal place. ZSQL however returns only an integer. Any suggestions on how to get the decimal places to show? From jwh@allencreek.com Fri Oct 6 16:50:58 2000 From: jwh@allencreek.com (James Howe) Date: Fri, 06 Oct 2000 11:50:58 -0400 Subject: [Zope] Zope with Apache Message-ID: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> I asked this question a couple of months ago but received no response, so I figured I would ask it again to see if anyone can answer the question... We are running Zope behind an Apache server. We've got things configured so that it mostly works. However, we noticed that the "breadcrumbs" list at the top of a workspace screen doesn't work correctly. For example, if I'm looking at the object /Foo/Bar/Baz, the list of items in the breadcrumbs might look like this: DTMLDocument at / Foo / Bar / Baz The links to Foo and Bar do not correctly take into account the extra item needed to tell Apache that the link goes to the Zope site. For example, the link to Foo needs to say something like http://foo.bar.com/Zope/Foo/manage_workspace instead of http://foo.bar.com/Foo/manage_workspace The tabs for the management screens work fine, however. In looking at what is happening, I believe the problem exists because the links in the breadcrumbs line are relative links. The link to "foo" would look like this: Foo instead of Message-ID: <39DDF5A7.6B4485DA@vt.edu> Hi, Seb Go to the "Views" tab of the ProductItem ZClass. You should be able to add another tab referring to propertysheets/Picture/manage. This has worked for me in a similar situation. -- Jim Washington Seb Bacon wrote: > > Thanks, > > I'll rephrase it using my real life problem: > > I have a Picture class, which comprises image, title, description, etc. > I also have a ProductItem class, which subclasses Picture to include a > price, etc. > > So finally I have got a ProductItem class, which has a title, image, price, > ... > > I can access properties inherited from the Picture no problem. The problem > is that the default management screen for editing the properties of > ProductItem, propertysheets/Details/manage, only provides a means of editing > the unique properties of ProductItem. Is there a means of managing all the > properties of a ZClass, including those of its parent class? Or do I have > to code my own management screen to do this? And if so, what is the correct > way of refering to these properties in DTML? From lheber@debis.com Fri Oct 6 17:25:01 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:25:01 +0200 Subject: [Zope] HTML-Code in variables Message-ID: <39DDFCDD.99EF5C3F@debis.com> Hi again, this time I'd like to put some html-code in a variable via . Unfortunately, when I have the following: ... results in the following string: "<h1>this is some html</h2> What can I do against it??? TIA Lars From frederic.quin@free.fr Fri Oct 6 17:37:46 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Fri, 06 Oct 2000 18:37:46 +0200 Subject: [Zope] Problem with Z SQL Method associated with a class... Message-ID: <39DDFFDA.EBD09896@free.fr> Hi all, I associated a Z SQL Method to a class. This class MUST have attributes but I obtain a Zope error on them. Did anyone know why and what I can do ??? Thanks Fred HERE IS THE ERROR ---------------------------------------- Error Zope has encountered an error while publishing this resource. See below for details. Error Type: AttributeError Error Value: interests_founded Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Version 2.0.1 -- © 2000 Profile For You -- Internal use only. Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLMethod.py, line 146, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: sqlSiteProfileDetails( WEBSITEID=REQUEST.id, PAGEID=REQUEST.pg )) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: XMLToDict(REQUEST.pstor)) (Info: REQUEST) File , line 0, in ? File /Zope/Extensions/IntranetToolKit.py, line 132, in XMLToDict (Object: Profile4uXMLParser) AttributeError: (see above) HERE IS MY CLASS ---------------------------------------------------- import string import sys from Shared.DC.xml import * from Shared.DC.xml.pyexpat import * class Profile4uXMLParser: # Necessary method to make the pyexpat module works def start_element(self, name, attrs): self.current_name = name # Simple tag for which we just want to store the attributes or the value situated just after the tag if ((name != 'interests') and (self.interests_founded == 0)): for i in range(len(attrs)): if ((i % 2) == 0): self.datas[attrs[i]] = attrs[i+1] # If we have a value just after the tag, it will be associate with the name of the tag after if (name != 'profile'): self.datas[name] = '' # We find the tag interests so... elif (self.interests_founded == 0): self.interests_founded = 1 # Tag founded in the tag interests else: tmp = {} tmp['level'] = string.replace(name,'l','') for i in range(len(attrs)): if ((i % 2) == 0): tmp[attrs[i]] = attrs[i+1] self.interests.append(tmp) # Necessary method to make the pyexpat module works def end_element(self, name): # End of interests : we can find others simple tags if (name == 'interests'): self.interests_founded = 0 # Necessary method to make the pyexpat module works def char_data(self, data): # Association of the value founded just after the tag with the name of the tag if ((self.current_name != 'interest') and (self.interests_founded == 0)): # If the data need to be decoded... if (string.find(data,':') >= 0): tmp2 = {} tmp = string.split(data,':') for i in range(len(tmp)): if ((i % 3) == 0): tmp2[tmp[i]] = [tmp[i+1],tmp[i+2]] self.datas[self.current_name] = tmp2 else: self.datas[self.current_name] = data def XMLToDict(self, dict): self.interests_founded = 0 # To know when we have found the interests self.datas = {} # To store all general informations self.current_name = '' # To associate the information located just after a tag to the name of this tag (see char_data method) self.interests = [] # To store temporaly the interests p = pyexpat.ParserCreate() p.StartElementHandler = self.start_element p.EndElementHandler = self.end_element p.CharacterDataHandler= self.char_data if (self.INTEREST != 'false'): p.Parse(self.INTEREST) dict[self.datas['type']] = [self.datas,self.interests] return dict From lheber@debis.com Fri Oct 6 17:46:56 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:46:56 +0200 Subject: [Zope] HTML-Code in variables (addition) Message-ID: <39DE0200.8F65CAF5@debis.com> Sorry, I mixed something up. Normal html is no problem at all. The problem is how to use quotes or such things. Of course I get an error by typing: Yahoo!"> I tried typing " instead of ", but then the """ also goes into the html code on my page - thus the link is broken... Are there any possibilities to let Zope change the " into ", or perhaps there is another way to do it like with the \" in C. Thanks to you all! Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 17:56:45 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 18:56:45 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> References: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: <200010061856450247.0171E71C@mail.inetsysonline.com> both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) thanks. *********** REPLY SEPARATOR *********** On 06/10/2000 at 17:27 Tom Deprez wrote: >Why do you test the one with ZServer and the other with Apache? >If you want correct results you've to test both with ZServer or both with >Zope behind Apache. Not? > >Tom. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ From steve@spvi.com Fri Oct 6 19:40:16 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 6 Oct 2000 13:40:16 -0500 (EST) Subject: [Zope] Zope with Apache In-Reply-To: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> (message from James Howe on Fri, 06 Oct 2000 11:50:58 -0400) References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <200010061840.NAA80566@mercury.spvi.com> Hi James, Are you using SiteAccess? If not.. it would probably be worth a try. It will take care of setting BASE0 etc to soemthing intelligent. -steve >>>>> "James" == James Howe writes: James> I asked this question a couple of months ago but received James> no response, so I figured I would ask it again to see if James> anyone can answer the question... James> We are running Zope behind an Apache server. We've got James> things configured so that it mostly works. However, we James> noticed that the "breadcrumbs" list at the top of a James> workspace screen doesn't work correctly. For example, if James> I'm looking at the object /Foo/Bar/Baz, the list of items James> in the breadcrumbs might look like this: James> DTMLDocument at / Foo / Bar / Baz James> The links to Foo and Bar do not correctly take into account James> the extra item needed to tell Apache that the link goes to James> the Zope site. For example, the link to Foo needs to say James> something like James> http://foo.bar.com/Zope/Foo/manage_workspace James> instead of James> http://foo.bar.com/Foo/manage_workspace James> The tabs for the management screens work fine, however. James> In looking at what is happening, I believe the problem James> exists because the links in the breadcrumbs line are James> relative links. The link to "foo" would look like this: James> Foo James> instead of James> request to "foo.bar.com:8080/Zope". When my browser sees James> the relative path, it prepends the "foo.bar.com" instead of James> "foo.bar.com:8080/Zope" because it doesn't know any better. James> I've managed to get around the problem by changing some James> code in the tabs_path_info method found in Management.py. James> Basically I modifed the code to prepend "BASE0" to each of James> the items in the breadcrumbs list. This way, I get James> absolute links instead of relative. However, I'm wondering James> if there is just some additional configuration I need to do James> in Apache to fix this problem without modifying Zope James> itself. Has anyone else encountered this and is this a bug James> in Zope, or is this simply a configuration issue that I James> need to resolve. If its a configuration issue, what would I James> need to change. Any help would be appreciated. James> Thanks. James> James W. Howe mailto:jwh@allencreek.com Allen Creek James> Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann James> Arbor, MI 48103 James> _______________________________________________ Zope James> maillist - Zope@zope.org James> http://lists.zope.org/mailman/listinfo/zope ** No cross James> posts or HTML encoding! ** (Related lists - James> http://lists.zope.org/mailman/listinfo/zope-announce James> http://lists.zope.org/mailman/listinfo/zope-dev ) From simon@joyful.com Fri Oct 6 20:27:57 2000 From: simon@joyful.com (Simon Michael) Date: 06 Oct 2000 12:27:57 -0700 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ In-Reply-To: "Olivier Deckmyn"'s message of "Fri, 6 Oct 2000 15:16:23 +0200" References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <87r95tbwhu.fsf@joyful.com> You need to set an environment variable and restart zope, see the siteaccess2 documentation on zope.org for more details. -Simon From sdm7g@virginia.edu Fri Oct 6 20:55:51 2000 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Fri, 6 Oct 2000 15:55:51 -0400 (EDT) Subject: [Zope] Can Free Software Manage Your Web Site? Message-ID: Inside magazine has a feature on Zope: "Can Free Software Manage Your Web Site?" ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- "All operating systems want to be unix, All programming languages want to be lisp." From caz@tcdi.com Fri Oct 6 20:53:14 2000 From: caz@tcdi.com (Corey Zimmet) Date: Fri, 6 Oct 2000 15:53:14 -0400 Subject: [Zope] ZopeLDAP 1.0b4 breaks the root directory security tab Message-ID: Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: string member test needs char left operand Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) (Info: /usr/local/Zope/lib/python/AccessControl/access.dtml) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177, in TypeError: (see above) Removing the product returns the system back to normal. Does anyone know what I can patch to remove this? Thanks, Corey From diego@magicwebdesign.com.br Fri Oct 6 20:59:26 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Fri, 6 Oct 2000 16:59:26 -0300 Subject: [Zope] Fwd: Re: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <00100616595700.01857@belzebu.magicwebdesign.com.br> Are you using Zope behind apache under Linux? Or it's a direct request to ZServer? As I can see the files are not the same, try to bench exactly the same file... On Fri, 06 Oct 2000, you wrote: > > Hi, I have a problem with Zope speed. > I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD) > > Windows machine : W 2000 Professional with Zope for Windows > Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 > > Windows 2000----------------------------------------------------------- > > Server Hostname: windows > Server Port: 80 > > Document Path: /index_html > Document Length: 486 bytes > > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 0 10 > Processing: 11 42 356 > Total: 11 42 366 > > ----------------------------------------------------------------------------------- > Linux--------------------------------------------------------------------------- > > Server Hostname: linux > Server Port: 8088 > > Document Path: /Contactos > Document Length: 396 bytes > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 8 224 > Processing: 102 181 54 > Total: 102 189 278 > > ------------------------------------------------------------------------------------------------------- > > There's a big difference in the number of requests per second, four times more in the Windows machine. > Anyone knows why? Does it mean that Zope running in Windows is better than in Linux? > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.com > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From nestor@engendro.com Fri Oct 6 21:23:36 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:23:36 -0500 (COT) Subject: [Zope] Data.fs has invalid transaction header In-Reply-To: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> Message-ID: Hi, I was working with zope and try to use the "-D" flag within it but a terrible thing happend when i was restarting the server: Starting Zope................................Traceback (innermost last): File "/usr/sbin/zope-z2", line 558, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/lib/zope/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 301, in __init__ self._pos, self._oid, tid = read_index( File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 1556, in read_index panic('%s has invalid transaction header at %s', name, pos) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 218, in panic raise CorruptedTransactionError, message ZODB.FileStorage.CorruptedTransactionError: /var/lib/zope/var/Data.fs has invalid transaction header at 46034131 ............................... failed. The problem is that it never start again :'''( so i'am nervous only thinking that i can loose all of my work, there is any way to fix that? Thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From nestor@engendro.com Fri Oct 6 21:31:56 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:31:56 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: I forgot: Zope version 2.2.0-1 (On a Debian Potato i386) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 21:39:30 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 13:39:30 PDT Subject: [Zope] Java equivalent to WorldPilot? Message-ID: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From nestor@engendro.com Fri Oct 6 22:05:46 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 16:05:46 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: Sorry for the spam. Well i was able to fix it, i read the mail list at http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/0d9670dbe206a11c8025687e005919a3?OpenDocument and it tell that i can split the file at position 46034131 i do this: split --bytes=46034131 Data.fs cp xaa Data.fs i loose: 3089 bytes, however i don't know this correspond to. and starts zope, and everything goes OK. i make a final test and provide the "-D" option for Zope and everything comes OK, and better because the traceback is printed in the pages that shows an error. I think the problem was made when i install some products from the mk-zprod package. Well i am happy again :) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 22:22:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 14:22:25 PDT Subject: [Zope] HTTP user authentication in Python Message-ID: Hi, Where can I find out more information on HTTP user authentication? I have seen the RFC before, but it's a bit too technical to follow. I think Python does not include the authentication/cookie handling part probably because out of concern about abuses. :) Does anyone know where I can find more info on the authentication and cookie protocol stuff? Is there any Python module already written to handle these things? The idea is to be able to fetch external webpages automatically using Python, including providing the necessary auth and cookie info. Of course this opens up a whole can of security worms, but heck, it's open information and someone must already have written something in Python already. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From asc@vineyard.net Fri Oct 6 22:29:46 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 17:29:46 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions Message-ID: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I can't seem to figure out, specifically, which permissions to give a user that will allow them to read ZopeTime(). (see below) For the admin user, I have set the Access content information and View * options globally. I've tried guessing at some others, but there are alot of possible combinations to try so I thought maybe I would just ask. Related, is there a detailed description of the default Security settings? I've checked the mailing lists and the Zope docs and if it's there, I guess I missed it. Thanks, Traceback (innermost last): File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: test) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: test) File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: REQUEST.set('ts', ZopeTime())) (Info: REQUEST) File , line 0, in ? NameError: (see above) From fred@ontosys.com Fri Oct 6 22:42:42 2000 From: fred@ontosys.com (Fred Yankowski) Date: Fri, 6 Oct 2000 16:42:42 -0500 Subject: [Zope] one external method calling another; what possibilities? Message-ID: <20001006164242.A91552@enteract.com> I'm using some example code that defines an External Method to process a form. That External Method calls another utility function to log some data. I'm not quite sure what choices I have for creating that utility function, so I created another External Method for it. Both functions are in the same Python source file in the Extensions folder. Anyway, the main external function calls the utility function like this: self.function2(arg1=valuex, arg2=valuey) I expected that function2 would have to be defined like this: def function2(self, **kwargs) but it turned out that that fails at runtime with a complaint about a mismatch between the number of arguments sent and expected (0 and 1, respectively). The following does work: def function2(**kwargs) So, why isn't function2 called as a method function? Was there some better way I could have implemented function2, rather than as an external method? Where is reference documentation on External Methods? I couldn't find anything other than a very cursory overview in one of the PDF'ed documents (I forget which). -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Charlie.E.Wilkinson@irs.gov Fri Oct 6 23:08:56 2000 From: Charlie.E.Wilkinson@irs.gov (Wilkinson Charlie E) Date: Fri, 6 Oct 2000 18:08:56 -0400 Subject: [Zope] Zope, Threads and Signals Message-ID: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> 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_01C02FE2.05E0E2F4 Content-Type: text/plain; charset="iso-8859-1" It all began when I was a small child, but I'll skip ahead a bit.... Last night I wrote a network client class with plans to use it as an External Method in Zope. Works great from the command line. My first real Python program. Mom and Dad were so proud! However, when I plugged it into Zope and tried to call it from a document method, I got this: Error Type: ValueError Error Value: signal only works in main thread Gack!! Um... Silly me, but I wrote all this code to use sigalarm and blocking I/O. Anyone know how I can overcome this great adversity, aside from rewriting it all to use non-blocking I/O? Know of any good examples of External Method network clients you could point me at? Or would making it a Zope Product somehow fix everything? (Sorry, I had to ask...) -cw- -- Charlie Wilkinson TRIS Development Systems Administrator IS:SD:CT:CC:TD Phone: 202-283-3241 MSMail: Charlie.E.Wilkinson@irs.gov SMTP: cwilkins@tris.irs.gov Home: cwilkins@boinklabs.com This message constructed from 90% post-consumer electrons. ------_=_NextPart_001_01C02FE2.05E0E2F4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Zope, Threads and Signals

It all began when I was a small child, but I'll skip = ahead a bit....  Last night I wrote a network client class with = plans to use it as an External Method in Zope.  Works great from = the command line.  My first real Python program.  Mom and Dad = were so proud!  However, when I plugged it into Zope and tried to = call it from a document method, I got this:

        Error = Type: ValueError
        Error = Value: signal only works in main thread

Gack!!  Um...  Silly me, but I wrote all = this code to use sigalarm and blocking I/O.  Anyone know how I can = overcome this great adversity, aside from rewriting it all to use = non-blocking I/O?  Know of any good examples of External Method = network clients you could point me at?  Or would making it a Zope = Product somehow fix everything?  (Sorry, I had to = ask...)

-cw-

--
Charlie Wilkinson
TRIS Development Systems Administrator
IS:SD:CT:CC:TD
Phone: 202-283-3241
MSMail:   = Charlie.E.Wilkinson@irs.gov
SMTP:  cwilkins@tris.irs.gov
Home:  cwilkins@boinklabs.com
This message constructed from 90% post-consumer = electrons.

------_=_NextPart_001_01C02FE2.05E0E2F4-- From evan@4-am.com Fri Oct 6 23:30:27 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 18:30:27 -0400 Subject: [Zope] Zope with Apache References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <010d01c02fe5$07166ba0$3e48a4d8@digicool.com> From: James Howe > We are running Zope behind an Apache server. We've got things configured so > that it mostly works. However, we noticed that the "breadcrumbs" list at > the top of a workspace screen doesn't work correctly. This was broken with respect to virtual hosting, as well, and the fix for that in the CVS trunk may also take care of what you're seeing. Should be in Zope 2.3 (soon, I hope). Cheers, Evan @ digicool & 4-am From peter@grenna.net Sat Oct 7 00:32:53 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 7 Oct 2000 00:32:53 +0100 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? ;-) Especially to all Linux supporters for the badwill of the emails title. I would really be interested in its correct results. Cheers everyone > > Failed requests: 137 > > No - look at your results. Every request failed on the win32 > box (and they all succeeded on linux). You have some sort of > problem in your windows setup, and you'll always get higher > throughput for errors than you can for completed requests... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.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 ) > From konermann@inf.tu-dresden.de Sat Oct 7 00:57:40 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Sat, 07 Oct 2000 01:57:40 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: <39DE66F4.EA44AFDB@inf.tu-dresden.de> Hi all! Peter Bengtsson wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? Definitely, yea! > I would really be interested in its correct results. Me too. :-) Cheerio! Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From jfarr@real.com Sat Oct 7 02:23:43 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 6 Oct 2000 18:23:43 -0700 Subject: [Zope] Zope, Threads and Signals References: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: <014701c02ffd$3b6e0030$416917ac@poly> I would just use the asynchronous network clients in asyncore and asynchat. Since ZServer also uses them you would be automagically plugged into the ZServer select loop if you were sitting behind ZServer. --jfarr ----- Original Message ----- From: "Wilkinson Charlie E" To: Sent: Friday, October 06, 2000 3:08 PM Subject: [Zope] Zope, Threads and Signals > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From kthangavelu@earthlink.net Fri Oct 6 21:23:30 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 13:23:30 -0700 Subject: [Zope] Java equivalent to WorldPilot? References: Message-ID: <39DE34C2.7277B9C7@earthlink.net> Hung Jung Lu wrote: > > Hi, > > Does anyone know any Java software (commercial or not) that is equivalent to > WorldPilot? > > regards, > > Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal format) and also javawebmail.sourceforge.net From knight@righteous.net Sat Oct 7 02:29:40 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:29:40 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: On Fri, 6 Oct 2000, Tom Deprez wrote: > Why do you test the one with ZServer and the other with Apache? > If you want correct results you've to test both with ZServer or both with > Zope behind Apache. Not? > > Tom. Exactly, or atleast both ZServer. You can definately attribute some latency due to the Apache integration... (minimal, but still needs to be noted!) Knight knight@phunc.com From knight@righteous.net Sat Oct 7 02:35:21 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:35:21 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061856450247.0171E71C@mail.inetsysonline.com> Message-ID: To get ACCURATE timings, you need to create the situations almost identical, other than the operating system. So, that means: 1) Windows and Linux tunings should be similar; are you running extra daemons on the Linux box that Windows isn't (smtp, ftp, etc)? 2) The server architecture should be the same (identical hardware) 3) The software architecture should be the same; are you running both Zope and Apache on each machine, or are you spliting these services up somehow. A server with Apache+Zope, and then another server with just Zope will NOT match up. Just keep that in mind... Knight knight@phunc.com On Fri, 6 Oct 2000, Aitor Grajal Crespo wrote: > both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) > thanks. > > *********** REPLY SEPARATOR *********** > > On 06/10/2000 at 17:27 Tom Deprez wrote: > > >Why do you test the one with ZServer and the other with Apache? > >If you want correct results you've to test both with ZServer or both with > >Zope behind Apache. Not? > > > >Tom. > > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.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 ) > > From knight@righteous.net Sat Oct 7 02:37:55 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:37:55 -0700 (PDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:42:49 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:42:49 -0700 (PDT) Subject: [Zope] one external method calling another; what possibilities? In-Reply-To: <20001006164242.A91552@enteract.com> Message-ID: External methods are not extensions to any Zope classes. External methods allow you to incorporate external functionality from Zope, as you already know. You can define classes that are referenced in your functions though. Keep in mind, that the external method that you created that gets called is just a function. By default, self gets passed in, so be sure its in your function definition. When calling _another_ function from your external method, self does NOT get passed, since your external method does not belong to a specific class instance... i.e. there's no container to pass as self. So you have to pass self explicitly. Example: def myextmethod(self, somevar): something() morethings() myotherfunc(self, somevar): def myotherfunc(self, somevar): print somevar If this doesn't help, please clarify what exactly you are trying to do... Knight knight@phunc.com On Fri, 6 Oct 2000, Fred Yankowski wrote: > I'm using some example code that defines an External Method to process > a form. That External Method calls another utility function to log > some data. I'm not quite sure what choices I have for creating that > utility function, so I created another External Method for it. Both > functions are in the same Python source file in the Extensions folder. > > Anyway, the main external function calls the utility function like this: > > self.function2(arg1=valuex, arg2=valuey) > > I expected that function2 would have to be defined like this: > > def function2(self, **kwargs) > > but it turned out that that fails at runtime with a complaint about a > mismatch between the number of arguments sent and expected (0 and 1, > respectively). The following does work: > > def function2(**kwargs) > > So, why isn't function2 called as a method function? > > Was there some better way I could have implemented function2, rather > than as an external method? > > Where is reference documentation on External Methods? I couldn't find > anything other than a very cursory overview in one of the PDF'ed > documents (I forget which). > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:45:38 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:45:38 -0700 (PDT) Subject: [Zope] Zope, Threads and Signals In-Reply-To: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: cw, Are you spawning additional threads by chance? Or just the threads that Zope creates? Knight knight@phunc.com On Fri, 6 Oct 2000, Wilkinson Charlie E wrote: > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From knight@righteous.net Sat Oct 7 02:49:56 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:49:56 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > ;-) > Especially to all Linux supporters for the badwill of the emails title. > > I would really be interested in its correct results. > > Cheers everyone Especially with all this press I've seen in publications over the last month or two regarding Windows 2000 is outperforming *nix. (over my dead _dead_ body) Knight > > > > Failed requests: 137 > > > > No - look at your results. Every request failed on the win32 > > box (and they all succeeded on linux). You have some sort of > > problem in your windows setup, and you'll always get higher > > throughput for errors than you can for completed requests... > > > > > > Brian Lloyd brian@digicool.com > > Software Engineer 540.371.6909 > > Digital Creations http://www.digicool.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 ) > > From asc@vineyard.net Sat Oct 7 04:17:22 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 23:17:22 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: > Aaron, you left out the error. What was it... > > On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > > > Hi, > > > > My name is Aaron. > > > > I am trying to set up zope with (atleast) three roles : manager, admin, > > user. > > > > I'd like to give the last two the bare minimum Security permissions > > possible and adding them as needed later on. > > > > My problem is that I can't seem to figure out, specifically, which > > permissions to give a user that will allow them to read ZopeTime(). > > > > (see below) > > > > For the admin user, I have set the Access content information and View * > > options globally. I've tried guessing at some others, but there are alot > > of possible combinations to try so I thought maybe I would just ask. > > > > Related, is there a detailed description of the default Security > > settings? I've checked the mailing lists and the Zope docs and if it's > > there, I guess I missed it. > > > > Thanks, > > > > > > > > > > > > > > Traceback (innermost last): > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > > publish_module > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > > publish > > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > > zpublisher_exception_hook > > (Object: Traversable) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > > publish > > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > > mapply > > (Object: test) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > > call_object > > (Object: test) > > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > > __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > > 528, in __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > > 337, in eval > > (Object: REQUEST.set('ts', ZopeTime())) > > (Info: REQUEST) > > File , line 0, in ? > > NameError: (see above) > > > > > > _______________________________________________ > > 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 ) > > > > > > From matt@virtualspectator.com Sat Oct 7 04:20:49 2000 From: matt@virtualspectator.com (matt) Date: Sat, 7 Oct 2000 16:20:49 +1300 Subject: [Zope] xmldocument and properties In-Reply-To: <39DE66F4.EA44AFDB@inf.tu-dresden.de> References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <00100716220803.00855@localhost.localdomain> Does anyone have a simple example of creating and setting the properties of a node within an xml document, using xmldocument and external methods. thanks Matt From kthangavelu@earthlink.net Sat Oct 7 03:40:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 19:40:58 -0700 Subject: [Zope] Underscore Caracter References: Message-ID: <39DE8D3A.D9618763@earthlink.net> Chris McDonough wrote: > > Yes. Thank you. > > Note however that methods of modules accessed via the underscore namespace > may be filtered individually, so although 'replace' exists as a method of > the Python string module, this does not necessarily make it accessible > implicitly through Zope via _.string.replace. It happens to be accessible > in this case, but I'd bet there are cases in which methods accessible > via modules of the _ namespace have been removed for "safe scripting" > purposes. having recently gone through the code to produce ZModules (defined interface for adding modules to _), it was apparent that all the modules that live in namespace are completely exposed. Kapil From iap@y2fun.com Sat Oct 7 09:58:33 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Sat, 7 Oct 2000 16:58:33 +0800 Subject: [Zope] Problem of Catalog "Find items to ZCatalog" References: <39DE8D3A.D9618763@earthlink.net> Message-ID: <02d201c0303c$c76f3920$6601a8c0@y2fun.com> Hi, In the management view of a Catalog (ex. /Catalog), there is a tab named "Find items to ZCatalog". In that tab, there is a field "Find objects of type:". The options listed there were retrieved from the "factory" of a ZClass. (The "add list name" field, a good feature for people who are not native speakers of English.). I doubt that what "Find items to ZCatalog" actually searched is the meta_type of the objects not the value of "add list name" in its ZClass. Because I have to identify these two in order to find my items to ZCalalog. Is that true? Iap, Singuan From knight@righteous.net Sat Oct 7 10:08:36 2000 From: knight@righteous.net (knight) Date: Sat, 7 Oct 2000 02:08:36 -0700 (PDT) Subject: [Zope] Underscore Caracter In-Reply-To: <39DE8D3A.D9618763@earthlink.net> Message-ID: > Chris McDonough wrote: > > > > Yes. Thank you. > > > > Note however that methods of modules accessed via the underscore namespace > > may be filtered individually, so although 'replace' exists as a method of > > the Python string module, this does not necessarily make it accessible > > implicitly through Zope via _.string.replace. It happens to be accessible > > in this case, but I'd bet there are cases in which methods accessible > > via modules of the _ namespace have been removed for "safe scripting" > > purposes. > > having recently gone through the code to produce ZModules (defined > interface for adding modules to _), it was apparent that all the modules > that live in namespace are completely exposed. What's the problem with that? Aren't most, if not all, the modules living in the _ namespace just standard python modules available anyways? Knight From zope@philosoft.at Sat Oct 7 10:42:32 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sat, 07 Oct 2000 11:42:32 +0200 Subject: [Zope] HTTP user authentication in Python In-Reply-To: References: Message-ID: <200010071142320968.38BFDB97@192.7.2.223> The core of HTTP authentication is the following (you have to put the authentication into the HTTP header): import httplib h=httplib.HTTP(....) .... h.putheader("AUTHORIZATION", "Basic %s" % string.replace( encodestring("%s:%s" % (self.username, self.password)), "\012", "")) .... there is a xmlrpc howto where you find a detailed description: http://www.zope.org/Members/Amos/XML-RPC good luck phil *********** REPLY SEPARATOR *********** On 06.10.2000 at 14:22 Hung Jung Lu wrote: >Hi, > >Where can I find out more information on HTTP user authentication? I have >seen the RFC before, but it's a bit too technical to follow. I think Python >does not include the authentication/cookie handling part probably because >out of concern about abuses. :) > >Does anyone know where I can find more info on the authentication and cookie >protocol stuff? Is there any Python module already written to handle these >things? > >The idea is to be able to fetch external webpages automatically using >Python, including providing the necessary auth and cookie info. Of course >this opens up a whole can of security worms, but heck, it's open information >and someone must already have written something in Python already. > >regards, > >Hung Jung >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) From tav" hi, i am running into a slight problem due to STILL not being able to understand namespaces perfectly, and would appreciate if someone could help out. ----- the situation is this: ----- i have a dtml document called "pageowners", on which i have a list property called owners. which changes every hour. lets assume right now, it says tav and Bill. now, in the same folder, i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". there is a dtml document corresponding to each owner. each of the three documents have a title and content. parseit simply gives them a table layout, which simplified immensely, looks like:

what i want to do is display whomever is listed as an owner, in such nice tables. ----- the problem is this: ----- in "standard_html_header", it looks up which owners are listed in "pageowners", and then runs through them in a sequence. however, (and this is where it gets tricky), i want the owners to be formatted by running them thru "parseit". however i get stuck when in parseit, as i dont know how to do , i tried to set Bill in the namespace by using , and then tried to call within "parseit" but that doesn't work :/ and, again, i want this to be done automatically, so i dont want to have to manually list Bill, tav, noa, etc.... i am pretty sure that DTML can handle this, and this is one of the reasons why i like zope, because it lends itself to a structured system which is easily maintainable, e.g. the owners could increase from 5 to a 1000, and this would still work. Any help would be much appreciated. Thanks in advance -- best regards, tav From jan@haul.de Thu Oct 5 17:40:44 2000 From: jan@haul.de (Jan H. Haul) Date: Thu, 05 Oct 2000 18:40:44 +0200 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> <39DBBC5F.9D375761@adroit.net> Message-ID: <39DCAF0C.3A3EF78D@haul.de> Terry Kerr wrote: > > Chris Withers wrote: > > > Hannu Krosing wrote: > > > > > Also you could send just one message to all the recipients instead of > > > sending individual messages. > > > > Urm, they could be pretty unfriendly mail messages if they're being sent > > to a coupla thousand people. The bandwidth dcoming out of your server > > alone would be far higher than it needed to be :-( > > How would the bandwidth change?? Well, suppose you send a message of, say, 2 KByte (about one page of typed text) to 1,000 recipients. You'll make about 1,000 connections to the recipients' MX hosts. Each of these will be around 42 KByte large. Huh? Why that? you ask. Because in the header of each mail, the whole recipient list will be listed under To: or Cc: (I assumed 40 bytes per address as a roundabout figure). In the envelope (what the SMTP protocol *uses* to deliver the message, only one address will be used, the body To: list is mainly for the recipients' use (to show them who else got it). Besides, there are other problems why you will want separate mails: - privacy: You would not like to have "your" recipients end up on other people's mailing lists - stability: When E-mail bounces, you would like to hanle it intelligently, like trying this address once again (as it could be a temporary outage) and take the address off the list if it still bounces a week or so later - stability again: You woulld not like to be blacklisted as either a spammer or clueless by the recipients' postmaster :-) I would probably use a stable MTA (like qmail, which has good mailing list processing software, or postfix) for the job. Cheers, Jan From dieter@handshake.de Sat Oct 7 13:08:30 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:08:30 +0200 (CEST) Subject: [Zope] Quotes in DTML (Python) expressions (was: [Zope] HTML-Code in variables (addition)) (was: [Zope] HTML-Code in variables (addition)) In-Reply-To: <41808890@toto.iv> Message-ID: <14815.4428.764737.937930@lindm.dm> Lars Heber writes: > Yahoo!
"> I.e. you use Python's hexadecimal (or octal) quoting for '"' (\x22) inside the Python string. Dieter From dieter@handshake.de Sat Oct 7 13:03:29 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:03:29 +0200 (CEST) Subject: [Zope] Container Class questions In-Reply-To: <92758925@toto.iv> Message-ID: <14815.4163.366826.967501@lindm.dm> geoff@northernwastes.org writes: > .... product with associated image .... > Should I create a product that can contain said images? If so, how do > I do this? Should I simply force a naming conventions for the images > and tie them together with the sample catalog items that way? I would use a ZClass to model the product. I would inherid from "Folder". This makes the ZClass folder-like. Especially, I can place images and other related objects inside them (if they do not easily fit in properties). Dieter From dieter@handshake.de Sat Oct 7 12:59:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:59:23 +0200 (CEST) Subject: [Zope] Problem with In-Reply-To: <130555996@toto.iv> Message-ID: <14815.3907.275735.867783@lindm.dm> Tim Gildersleeve writes: > The line is > > > Error Type: TypeError > Error Value: number coercion failed I can assure you, that the "number coercion failed" is not raised in the above "REQUEST.set". "set" accepts any type. The problem arises at a later time, probably because "fSTART" or some other computation incredient does not have the correct type. You know about the magic ":type" suffixes in form variables. There is a howto about them at Zope.org. Dieter From dieter@handshake.de Sat Oct 7 12:45:16 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:45:16 +0200 (CEST) Subject: [Zope] external method import error (ImportError)... In-Reply-To: <100746361@toto.iv> Message-ID: <14815.2891.316428.490745@lindm.dm> Eric writes: > To summarize: How do I import modules in an External Method's .py file? I remember, I read this in some "External Method" related documentation. You do *NOT* place such modules inside the folder "Extensions" but put them somewhere else reachable by "PYTHONPATH". The documentation suggests that you create a subpackage inside "Shared", say "Extensions", and place there your module (don't forget "__init__.py" in the subfolder representing the subpackage), say "". Then, in your external method, you would use: from Shared.Extensions import Dieter From dieter@handshake.de Sat Oct 7 12:38:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:38:31 +0200 (CEST) Subject: [Zope] client proxy setting In-Reply-To: <47365137@toto.iv> Message-ID: <14815.2582.805065.344135@lindm.dm> TMGB writes: > Can I get the user's client proxy setting using 'REQUEST' or some other > syntax, product, or utility. This is not Proxy Roles or ProxyPass, but > the client's proxy settings if any. I am working on a help page to > debug a user's settings if he or she can't get to certain pages with our > proxy server settings on their browser. I am not sure, I understand what you want to know. I you mean: how is the browser's proxie configuration: manually, direct connection or automatic (with what configuration file). Then, I fear, you will not get this information. If you want to know, which proxie was used for a given request, then there is some chance. Some proxies set the HTTP "VIA" header. Inside Zope, you access it as "HTTP_VIA". It can tell you through which proxies the request was routed. Dieter From dieter@handshake.de Sat Oct 7 12:31:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:31:15 +0200 (CEST) Subject: [Zope] Wierd 2.2.2 start up problem In-Reply-To: <115532451@toto.iv> Message-ID: <14815.2238.216040.114955@lindm.dm> J. Atwood writes: > I have installed 2.2.2 on more than a few machines.... on my fifth machine I > got this after doing the install. > > 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\000\003' > Traceback (innermost last): > File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line > 446, in setstate > ImportError: No module named Document > > I have tried wiping it away and trying again like three times. Anyone know > what this? Why it is not happening in installs. All RH Linux. On your fifth machine, the ZODB seems to contain an object referencing a module "Document" which apparently is not installed. Activate the logging facility (by starting Zope with "start .... STUPID_LOG_FILE=zope.log ...") and check, whether you see anything suspicious in "zope.log". Dieter From dieter@handshake.de Sat Oct 7 12:50:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:50:23 +0200 (CEST) Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <32820358@toto.iv> Message-ID: <14815.3305.716063.19539@lindm.dm> Roman Milner writes: > I'm trying to get ldap methods to work with 2.2.2. I can access the > attributes of the objects returned from an ldap method with a python > extension fine, but dtml-in'ing the returned list doesn't work. I keep > getting an error (traceback below). > zope.org) AccessRule in your top (logical) folder to modify your REQUEST object as you like. Dieter From dieter@handshake.de Thu Oct 12 08:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 09:59:43 +0200 (CEST) Subject: [Zope] How to see if two objects are the same (minor fix) In-Reply-To: <40435241@toto.iv> Message-ID: <14821.27476.628244.862590@lindm.dm> Ron Bickers writes: > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 What you see here, is Zope's (more precisely ExtensionClass's) acquisition magic: when you access "object.attribute", you (usually) will not get the object corresponding to "attribute" but a new object: "attribute.__of__(object)" i.e. the attribute object in the context of "object". When you look up an attribute of this object, it will first in the object itself and when it does not success there, it will look in the context. That is what you like with acquisition. The downside: When you access the "same" object via different contexts, you will in fact get different objects (as the contexts are different). "is" will return false, as it should be. But, even, if you use "==", you will get "false". There have been some discussion in the list, whether this is the best behaviour. What can you do? You can use the "aq_base" attribute to strip away any context and get to the base object. At least in Zope 2.2.1, "aq_base" was not exposed to DTML. Thus, you would need an external method, say "getBaseObject", to get at the base: def getBaseObject(object): return getattr(object,'aq_base',object) With this function, you can compare the base objects: Be careful, however: Even, if such a test returns true for two objects, the objects may nevertheless have different behaviour (as the contexts are different). Dieter From amador@alomega.com Thu Oct 12 09:12:06 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Thu, 12 Oct 2000 03:12:06 -0500 Subject: [Zope] int and string comparisons Message-ID: <39E57256.54A427DD@alomega.com> --------------F181E4C9DE8090EF2366B5AC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) --------------F181E4C9DE8090EF2366B5AC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet

   <dtml-in "_.range(1,32,1)">
        <option value="&dtml-sequence-item;"
        <dtml-let item=sequence-item>
        <dtml-if begin_day>
        <dtml-if expr="item == REQUEST.begin_day"> selected </dtml-if>
<dtml-comment>CONVERTIR A INT</dtml-comment>
        </dtml-if>
        </dtml-let>
        >&dtml-sequence-item;</option>
      </dtml-in>

The comparison fails because item is an int and REQUEST.begin_day is a string (i guess).  How can I coerce item into a string, or REQUEST.begin_day into an int?
 I tried python's builtin int() function around REQUEST.begin_day.  Won't work.

Any suggestions?

-- 
Manuel Amador (Rudd-O)
  --------------F181E4C9DE8090EF2366B5AC-- From lheber@debis.com Thu Oct 12 09:29:24 2000 From: lheber@debis.com (Lars Heber) Date: Thu, 12 Oct 2000 10:29:24 +0200 Subject: [Zope] Re: How to use standard html headers and footers properly (was: Re: [Zope] Namespace problems...) [Zope] Namespace problems...) References: <39DAD8E7.ACB56A3@debis.com> <39E54C2D.D071677F@alomega.com> Message-ID: <39E57664.4997EAE3@debis.com> Hi, first, thanks for your advice! "Manuel Amador (Rudd-O)" schrieb: > > > > > > on your document, WILL work fine. > > But I suggest recreating standard_html_header as a METHOD and calling OK, once again: My standard_html_header is still a METHOD!!! And within it, I DO access to the variables of the calling document / method! > > > > That's _exactly_ what I did! I only inserted a to pass this var to standard_html_header. > > Since methods don't have properties, they will use calling object's > properties. Read again. Do NOT use DTML documents for headers and > footers. Use METHODS. I DON'T! >> So I stored my headers and footers and many other things in >> root/intra/pub. >> >> All the other documents are stored in root/intra and below. >> >> I've got my standard_html_header, with which I can display >> user-defined >> titles which may also contain values of global properties. The >> user-defined title is being built in the document before the header >> is >> called, e. g. something like: > Look above! >> In the standard_html_header !!!>>>_method_<<> whether there is a titel attribute or not. > >> This works fine. > >> But for general use I want to keep the possibility of displaying the >> >> title_or_id of the document when I don't introduce a user-defined >> title. >> >> This would be no problem if s_h_h wasn't situated in root/intra/pub, >> so I have >> to call it within the . >> >> But calling it within the , pub is on the top of my >> namespace, so that calling title_or_id returns the title_or_id of >> the container of s_h_h, i. e. >> pub, INSERTED: and not as wanted the title_or_id of the calling >> document! > >> How can I nevertheless access within the s_h_h to the title_or_id of >> my >> original document? INSERTED: i. e. explicitely accessing to a >> layer of the namespace which isn't on its top! > Hope I now explained it well enough. Thank you very much. Lars From chrisw@nipltd.com Thu Oct 12 09:58:44 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 09:58:44 +0100 Subject: [Zope] aq_base References: <14821.27476.628244.862590@lindm.dm> Message-ID: <39E57D44.DC711E9A@nipltd.com> Dieter Maurer wrote: > At least in Zope 2.2.1, "aq_base" was not exposed > to DTML. ...and I don't think it ever would or should be sicne it strips off all security context and would probably let you do 'bad things' :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:05:05 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:05:05 +0100 Subject: [Zope] What contains an object.... References: Message-ID: <39E57EC1.11A1B425@nipltd.com> Ron Bickers wrote: > > > > > So, is there another way in DTML I can see if an object was acquired from > PARENTS[-1] or not? Is there a way to check an objects container out of > context? Hmmm... try the following as a replacement for the above stuff: cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:06:35 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:06:35 +0100 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> Message-ID: <39E57F1B.D2637FDF@nipltd.com> "Geoffrey L. Wright" wrote: > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > The above should now work... ...if it doesn't please explain in what way ;-) cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:08:40 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:08:40 +0100 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> Message-ID: <39E57F98.5610C3B3@nipltd.com> Paul Winkler wrote: > > Hi, > > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? IIRC, zope.org's acl_users has about 11,000 people in it without too many problems... Ethan, can you confirm? cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:12:27 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:12:27 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: Message-ID: <39E5807B.46071A34@nipltd.com> Tony McDonald wrote: > to reply to Andy? In my own reportlab distribution I changed; > import Image > to > from PIL import Image Well, it sounds right and if it works then it probably is ;-) It probably depends exactly where you install PIL, though, which I haven't done yet :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:18:57 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:18:57 +0100 Subject: [Zope] int and string comparisons References: <39E57256.54A427DD@alomega.com> Message-ID: <39E58201.7889A0@nipltd.com> "Manuel Amador (Rudd-O)" wrote: > selected Try replacing the above with: ...and stop posting HTML to a non-HTML list! cheers, Chris From sebbacon@email.com Thu Oct 12 10:13:39 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:13:39 +0100 Subject: [Zope] int and string comparisons In-Reply-To: <39E57256.54A427DD@alomega.com> Message-ID: if you're submitting from a form, you can coerce strings into other data types by giving the form items special names, e.g.: Your REQUEST then has variables called foo and bar which are ints and floats, respectively. also, don't post html mail - not everyone can read it. seb. -----Original Message----- From: rudd-o@usm.edu.ec [mailto:rudd-o@usm.edu.ec]On Behalf Of Manuel Amador (Rudd-O) Sent: 12 October 2000 09:12 To: zope@zope.org Subject: [Zope] int and string comparisons This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) From heinkel@cenix-bioscience.com Thu Oct 12 10:21:34 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Thu, 12 Oct 2000 11:21:34 +0200 Subject: [Zope] SybaseDA and ASA In-Reply-To: <39E54DBD.BA0A33F2@alomega.com> References: <39E54DBD.BA0A33F2@alomega.com> Message-ID: <00101211262701.00750@celap> On Thu, 12 Oct 2000, you wrote: > I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDA against > sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the > latest one). Loading python and importing sy_occ works perfectly. > > BUT, I can't create a SybaseDA SQL connection object . Specifically, > trying to create it sez connection failed. I've tried EVERY POSSIBLE > parameter combination on the creation form. None worked. > > By the way, I'm using Adaptive Server Anywhere for linux, 6.0.3. It is > NOT ASE. It is ASA. > > Does sy_occ work with ASA, or only with ASE? Any experiences? > Last week I was trying to upgrade from Zope V 2.1.6 (with working sybase adapter) to a 2.2.x version, and my sybase adapter stop working (yes I recompiled it). We are using ASE 11.9.2 on a linux box. Seems like Zope has introduced some incompatibilities which no one has discovered so far. Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From Marcin.Kasperski@softax.com.pl Thu Oct 12 10:33:31 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Thu, 12 Oct 2000 11:33:31 +0200 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> Message-ID: <39E5856B.43E0755D@softax.com.pl> > > As I finally installed mod_proxy_add_forward, I get original address in > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > The question is: can I do something easy to automatically perform > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > set remote_ip = whatever is in X-Forwarded-For > > logic? In particular, I would like changed IP to be used by Zope access > > control and Zope log. > We have had similar problems. > > Friendly people from NIP made a HowTo patch Apache to let the > information through. > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > AccessRule in your top (logical) folder to modify your > REQUEST object as you like. > Does there exist some sample of such usage? Can such a change be performed before authorization? I use SiteRoot to translate addressess between external and internal (in subdirectories, not in main directory). Can those approaches be merged one with another? -- http://www.mk.w.pl / Marcin.Kasperski | Sztuczki i kruczki w C++: @softax.com.pl | http://www.mk.w.pl/porady/porady_cplusplus @bigfoot.com \ From sebbacon@email.com Thu Oct 12 10:46:38 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:38 +0100 Subject: [Zope] Content Management System Message-ID: This query started out in a separate thread about permissions, but it's sufficiently important to me to pose again here. I've been struggling to make the CMS abilities of zope user-friendly enough for 'joe average' end-users. Really it's designed for a 'power' content manager who delegates, secures, and generally has taken the time to study all the Content Management docs, etc. However, most of my clients don't have those kinds of requirements and aren't that technologically savvy, so I end up coding ultra-simplified interfaces for them on a per-project basis. I know you can restrict permissions on just about every available method, and I am aware of the current skinnable zope project, which may improve the situation drastically. But I'm interested to know, how many of you offer the Zope TTW interface to clients as a content management system, and how many just use it as a development interface? I'm beginning to wonder if content management and system administration should be split out into separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, syndication, etc...). But I'm still far from being a zope power user myself, and have yet to appreciate the range of its potential. What do you people think? Seb. From sebbacon@email.com Thu Oct 12 10:46:40 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:40 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14820.48557.338437.974103@lindm.dm> Message-ID: oops, I forgot to foward my last mail on this subject to the list. My response here to Dieter's response captures contains the main points though... > > > I think, the implementation would be easy. > > > Management, however, would be more difficult, as there are no > > > good defaults for the "URL Traversable" permission. > > > It is not easy, to determine (e.g.) for a DTML method/document > > > whether it is only used as a component (such as > > > "standard_html_header") or is a full grown presentation method. > > > > Um, I don't think I understand. [ snip ] > Currently, Zope tries to have very few explicit, object specific > permissions. The ideal is that permissions are specified high above in > the hierarchy and acquired by lower objects. > This is quite possible with the current scheme. > Implementing an "URL accessible" permission would require > much more tweaking of single object permissions. > > There are other ways to solve your problem by organization > (putting things that should not be seen somewhere else) > that do not require an additional permission. Now I understand... I would disagree, however: I think there is a sensible default value. The default would be that anonymous does not have 'traverable' permission, but the manager / owner does. The cases where an authenticated user is able to traverse some objects but not others would, as you point out, be rare, because you could instead manage these by organisation. You would still use organisation to avoid having to set too many additional permissions. However, this solution would solve the 'security' issue of the anonymous user being able to list objectIds in any folder TTW. It would also allow the developer more flexibilty in how they designed their application, which can only be a Good Thing? seb. From iap@y2fun.com Thu Oct 12 11:08:50 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Thu, 12 Oct 2000 18:08:50 +0800 Subject: [Zope] "from" is a reserved word? References: Message-ID: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Hi,The following dtml couse error, The workaround is to change "from" to other words. Iap, Singuan From tdickenson@geminidataloggers.com Thu Oct 12 11:11:41 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 12 Oct 2000 11:11:41 +0100 Subject: [Zope] Re: Upload just file headers? In-Reply-To: References: <39E4C569.B2E6B51F@yahoo.com> Message-ID: <1e3bus02d70n10b17j81789u3dh94qhfi2@4ax.com> On Wed, 11 Oct 2000 15:41:16 -0700 (PDT), knight wrote: > infilename = REQUEST.form['attached_file'].filename # Get filename > infile = REQUEST.form['attached_file'] # Get the file descriptor > myheader = infile.read(500) # Read up to 500 bytes > infile.close() # Close the stream > >This should be in an external method or product. > >I haven't tested whether or not this will only let the client upload the >first 500 bytes Im sure it wont >it's very possible zope takes in the entire file, and >puts it into a buffer that is like a file descriptor (hence StringIO). File uploads are spooled into a temporary file, and the request is only dispatched into Zope once the whole request has arrived. Anything smarter than that will require some ZServer hacking. Toby Dickenson tdickenson@geminidataloggers.com From chrisw@nipltd.com Thu Oct 12 11:25:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 11:25:00 +0100 Subject: [Zope] doesn't... References: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: <39E5917C.D3D2EB94@nipltd.com> "iap_y2fun.com" wrote: > > > Don't worry... the problems are mainyl caused 'cos doesn't do what most people would expect it to... *grinz* Chris From odeckmyn.list@teaser.fr Thu Oct 12 11:47:18 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 12 Oct 2000 12:47:18 +0200 Subject: [Zope] [Job] Zope Job in France Message-ID: <069f01c03439$cb18e340$0d00000a@ODECKMYN2K> Jeune Start-up dans le monde de l'internet recherche développeurs/chefs de projet Internet / Zope. Diplômé BAC+2/5 (ingénieur ou universitaire), vous avez une première expérience (éventuellement un stage significatif) en développement d'applications avec Zope. Connaissant bien HTML et HTTP, vous maîtrisez parfaitement au moins un langage de programmation objet (Python, Delphi, Java, C++, ...). Vous avez une connaissance de UML et de l'objet en général. Une connaissance de XML et LDAP serait un GROS plus. Vous êtes rigoureux et organisé. De plus, vous avez une bonne connaissance des SGBDR et êtes capable de lire et rédiger des documents en anglais. Votre mission : Vous participez à la conception, au développement et à la gestion du site. Selon votre potentiel, vous évoluerez au sein de la société vers de plus amples responsabilités notamment en prenant une part de plus en plus importante dans le déroulement des projets. Expérience : N'hésitez pas à joindre à votre candidature tout document pouvant démontrer vos compétences (ex : URLs de vos réalisations) Profil : Vous êtes rigoureux et organisé, dynamique et passionné et prêt à travailler dans une équipe jeune et très ambitieuse. Ce poste, basé à Paris-La Défense, est à pourvoir immédiatement dans le cadre d'un CDI. Rémunération proposée : 210KF à 290KF selon profil et expérience. Contact : Merci d'adresser CV et une lettre de motivation à : olivier.deckmyn@experts-md.com Olivier Deckmyn, CTO eXperts-MD.com From rik.hoekstra@inghist.nl Thu Oct 12 13:10:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:10:08 +0200 Subject: [Zope] Content Management System References: Message-ID: <00cf01c03445$5e59b8e0$fe5da182@michieltje> > This query started out in a separate thread about permissions, but it's > sufficiently important to me to pose again here. > > I've been struggling to make the CMS abilities of zope user-friendly enough > for 'joe average' end-users. Really it's designed for a 'power' content > manager who delegates, secures, and generally has taken the time to study > all the Content Management docs, etc. However, most of my clients don't > have those kinds of requirements and aren't that technologically savvy, so I > end up coding ultra-simplified interfaces for them on a per-project basis. > > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? The PTK might offer you some help in this respect. Zope as a CMS _is_ possible, but IMO you'll have to wrap the parts of the management interface that you want to expose to your users and hide the rest. This will effectively limit you as to what you will let your users add to Zope, but in a CMS situation, this will probably be the case anyway. The management interface as is won't mean much to most of them, but custom forms can also call the manage methods. It's probably a good idea to use something like the HTML Widgets product that was recently announced here, or the HiperDom thing. For most of the user management parts you will probably need someone with affinity for web developing, though as long as you keep the tasks constrained, some simple instructions will probably suffice. I have been developing something similar in what should be a course framework (a product that I don't seem to be able able to finish) that is geared toward an educational situation. It's predecessor has been in use at a university for some time and it seems to suffice as least as good as commercial packages. hth Rik From mj@digicool.com Thu Oct 12 13:12:23 2000 From: mj@digicool.com (Martijn Pieters) Date: Thu, 12 Oct 2000 14:12:23 +0200 Subject: [Zope] Re: Upload just file headers? In-Reply-To: <39E4C569.B2E6B51F@yahoo.com>; from slinkp23@yahoo.com on Wed, Oct 11, 2000 at 03:54:17PM -0400 References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> Message-ID: <20001012141223.A9744@zopatista.com> On Wed, Oct 11, 2000 at 03:54:17PM -0400, Paul Winkler wrote: > For example, take a .gif or .jpeg file and throw away all > but the first (let's say) 1 kb of the file. > If you try to open this truncated file with an image editor > (gimp, photoshop, whatever) you'll have problems. But useful > information is still stored in that first part of the file, > as we can see using python and PIL. > Example, on linux: > > head --bytes 1000 foo.gif > foo_truncated.gif > python > ... > >>> import Image > >>> test = Image.open('foo_truncated.gif', 'r') > >>> test.size > (210, 210) > > So in this case, we can find out that foo.gif is 210 x 210 > pixels even if we only have access to the first 1 kb of the > 12 kb file. This doesn't hold true for JPEG's. A JPEG encoded image consists of a set of segments, each encoding some aspect of the image. The image dimensions can be found in the frame header segment, but this segment may be preceded by tables, comments and application specific data. These extra segments could easily take up your 1K chunk. AP press for example, uses an application specific segment to encode image metadata such as subject, caption and photographer. If you have a look at the Image dimension detection code for JPEGs you'll see that it scans for a frame header (marked by C0, C1, C2 or C3 depending on the encoding used). Once found, it extracts the width and height. More information of the JPEG file encoding format can be found at: http://www.w3.org/Graphics/JPEG/itu-t81.pdf For a GIF file, the first 10 bytes should suffice, for a PNG you need the first 24. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From rik.hoekstra@inghist.nl Thu Oct 12 13:37:05 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:37:05 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: <39E5807B.46071A34@nipltd.com> Message-ID: <00fb01c03449$21c528c0$fe5da182@michieltje> > > to reply to Andy? In my own reportlab distribution I changed; > > import Image > > to > > from PIL import Image > > Well, it sounds right and if it works then it probably is ;-) It > probably depends exactly where you install PIL, though, which I haven't > done yet :-S The Photo product and the ExtImage products do more or less the same - this seems to become the standard way. It would be nice to have one place to put PIL, though. the lib/python/shared directory would be a good place I think. Rik From cs@comlounge.net Thu Oct 12 13:59:24 2000 From: cs@comlounge.net (Christian Scholz) Date: Thu, 12 Oct 2000 14:59:24 +0200 Subject: [Zope] Content Management System In-Reply-To: ; from Seb Bacon on Thu, Oct 12, 2000 at 10:46:38AM +0100 References: Message-ID: <20001012145924.B30498@central.comlounge.net> Hi! > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? We have some client who use Zope for (at least partly) doing CMS on their site. But these are quite simple (thus no commitments, etc.) When switching from a database centered approach to a more Zope based (e.g. doing it via Zope Products) I actually splitted the management interface in one for the main manager (we) and one more simple and configurable one for the clients (starting with ..../admin ). I now used it in two subprojects and it seems to work. The only thing I need to think about more specifically is how to factor out the client-side of the management interface more clearly as right now it's very much weaved into the actual classes. Also I am thinking about possibilities to split the actual data from the presentation and to make the presentation pluggable. But this is quite raw at the moment ;-) cheers, Christian From paul.zwarts@oratrix.com Thu Oct 12 15:24:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 16:24:07 +0200 Subject: [Zope] dtml-in loop to capture records Message-ID: <39E5C987.3D0D7D1F@oratrix.com> Hi all, I have a number of simple forms that retrieve all occurences of a table into editable fields in a page. Each input tag is named: ... ...
Note, only the primary key field is actually a hidden type input and the rest are text and so on. In test of the submit button, the dtml-sql method called is structured: update table set field2= where field1= &dtml-sql_delimiter; and the conditions of the method are item:records. The intention is to submit in one go the entire list of occurences and update anything that has changed. You can do this with checkboxes valued on the primary key and other ways. The important thing is to leave something that you use as the key in the WHERE statement. Okay, this works fine, in MOST of my forms, but I have other forms where this doesnt work at all and I get errors saying that the ITEM is a bad request. I dont get it, what am I missing here that this works some places and in other places with almost identical syntax, it falls over. The form is correctly tagged, does the name attrib of the form tag have to do with the ... doesnt seem to be but tried it. Im wondering if because the dtml-document is quite large with seperate subloops and forms that publish in a sequence of events that this doesnt work. Hopefully someone has insight I'm missing here? Cheers and thanks again, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From tony.mcdonald@ncl.ac.uk Thu Oct 12 15:26:18 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 15:26:18 +0100 Subject: [Zope] Using UserDB objects with DreamWeaver Message-ID: Hi all, Has anyone managed to get acl_users folders that use UserDB (and I presume any other kind of cookie-based authentication) to work alongside DreamWeaver. Whenever I try to get into a UserDB locked folder I get FTP authentication errors. Any ideas? tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From rbickers@logicetc.com Thu Oct 12 16:40:14 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Thu, 12 Oct 2000 11:40:14 -0400 Subject: [Zope] RE: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> Message-ID: > -----Original Message----- > From: Chris Withers [mailto:chrisw@nipltd.com] > > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ...and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S Well... aq_base appears to work just fine in a Python method (not external). Is that a bad thing? I ended up creating a sameObject Python method that compares two objects' aq_base and it does what I expect. I'm using it to determine if I need to display the global menu under the local menu, or if the global menu *is* the local menu, so different context behavior isn't an issue. I suppose an upcoming Zope will take care of this problem if it gives the intuitive results with an == comparison. Thanks for all of your help!! _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From 444@hiretechs.com Thu Oct 12 16:53:34 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 08:53:34 -0700 Subject: [Zope] Competing writes and reindexing objects Message-ID: <39E5DE7E.8682AF02@hiretechs.com> Zopists, I am trying to eliminate the competing writes that are plaguing my app at the moment. One way I know of is to make sure that people aren't creating/modifying objects in the same folder at the same time. This is becuase the parent object gets modified too. Does anyone have a "object creation/folder distribution" code that works for them that they would be willing to share? Lastly, even if I distribute my objects, doesn't reindexing any Zope object inthe Catalog at the same time create a conlict? I'd love to know if I'm fighting a losing battle here. All my best, Jason Spisak 444@hiretechs.com From ololo@zeus.polsl.gliwice.pl Thu Oct 12 17:03:25 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Thu, 12 Oct 2000 18:03:25 +0200 (CEST) Subject: [Zope] "from" is a reserved word? In-Reply-To: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: On Thu, 12 Oct 2000, iap_y2fun.com wrote: > Hi,The following dtml couse error, > > > > > > The workaround is to change "from" to other words. "from" is a python reserved word. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From tony.mcdonald@ncl.ac.uk Thu Oct 12 17:18:28 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 17:18:28 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module In-Reply-To: <00fb01c03449$21c528c0$fe5da182@michieltje> References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: At 2:37 pm +0200 12/10/00, Rik Hoekstra wrote: > > > to reply to Andy? In my own reportlab distribution I changed; >> > import Image >> > to >> > from PIL import Image >> >> Well, it sounds right and if it works then it probably is ;-) It >> probably depends exactly where you install PIL, though, which I haven't >> done yet :-S > >The Photo product and the ExtImage products do more or less the same - this >seems to become the standard way. It would be nice to have one place to put >PIL, though. the lib/python/shared directory would be a good place I think. > >Rik Is this because you're thinking of the binary releases of Zope? If you're using the reportlab libraries, then you've probably installed them into /usr/local/lib/python1.5/site-packages (ie you're used to using source distributions). If you can do that, you're probably ok with putting PIL into lib/python/shared. So why not have it in site-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From chrisw@nipltd.com Thu Oct 12 17:17:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 17:17:30 +0100 Subject: [Zope] RE: aq_base References: Message-ID: <39E5E41A.6E32AC97@nipltd.com> Ron Bickers wrote: > > Well... aq_base appears to work just fine in a Python method (not external). > Is that a bad thing? Probably, although someone from DC would need to comment why... Hmm... Evan, should that be the case? cheers, Chris From slinkp23@yahoo.com Thu Oct 12 17:35:27 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 12 Oct 2000 12:35:27 -0400 Subject: [Zope] Re: Upload just file headers? References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> <20001012141223.A9744@zopatista.com> Message-ID: <39E5E84F.203E1111@yahoo.com> Martijn Pieters wrote: > This doesn't hold true for JPEG's. (snip) Aha, thanks. I'll have to think of a way to deal with this... --PW ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From juliodinis@hotmail.com Thu Oct 12 18:34:29 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 12 Oct 2000 17:34:29 WEST Subject: [Zope] Database Pack Message-ID: Hi all, is there a way to do a pack to zodb without using the managment screens pack button? Maybe a python script we could execute from the file system. Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From evan@4-am.com Thu Oct 12 17:39:52 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:39:52 -0400 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <006801c0346b$0bcc3050$3e48a4d8@digicool.com> From: Marcin Kasperski > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > Does there exist some sample of such usage? Can such a change be > performed before authorization? You could do this with an Access Rule in your root folder, containing: Cheers, Evan @ digicool & 4-am From paul.zwarts@oratrix.com Thu Oct 12 17:38:56 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 18:38:56 +0200 Subject: [Zope] [Fwd: Re: [Zope] dtml-in loop to capture records] Message-ID: <39E5E920.50BBD0@oratrix.com> Me again, To further explain my dilemna, I just noticed that using the in ITEM loop doesnt seem to work if the dtml-call statement has an extra parameter. I had publish.. ... ... Then use as in other working forms: publish.. ... ... Mdate is the primary key, again. This gave me the ITEM Bad Request error. Now, if I remove the mdate call, and remove the condition in the ZSQL method, i can at least now get an error: File /var/Zope-201/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: ) File /var/Zope-201/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: item) File /var/Zope-201/lib/python/Shared/DC/ZRDB/sqlvar.py, line 168, in render (Object: vswitch) Missing Input: (see above) So, the item is rendering. The variable named item.vswitch is not... nor is mdate which had to be named as an item.mdate instead of being passed in the dtml-call statement as an argument. In forms where this works, i simply call the method and the item renders everything in properly. Now I can do none it seems. One other note is that I var in the form that the input item.fieldname parts are contained, so the calling method to render item is not the same document as the item components. Oi, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From evan@4-am.com Thu Oct 12 17:56:21 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:56:21 -0400 Subject: [Zope] RE: aq_base References: <39E5E41A.6E32AC97@nipltd.com> Message-ID: <008e01c0346d$58def420$3e48a4d8@digicool.com> From: Chris Withers > Ron Bickers wrote: > > > > Well... aq_base appears to work just fine in a Python method (not external). > > Is that a bad thing? > > Probably, although someone from DC would need to comment why... > > Hmm... Evan, should that be the case? Shh! Not so loud! ;-) Yes, sadly, this is an area where the current release of PythonMethod fails to correctly implement security. Cheers, Evan @ digicool & 4-am From phd@phd.dada.ru Thu Oct 12 17:56:19 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Thu, 12 Oct 2000 16:56:19 +0000 (GMT) Subject: [Zope] Database Pack In-Reply-To: Message-ID: On Thu, 12 Oct 2000, Júlio Dinis Silva wrote: > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Just call the pack over HTTP. I run a cron job to do this. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From webmaster@advl.org Thu Oct 12 17:50:29 2000 From: webmaster@advl.org (Emmanuel DISCORS) Date: Thu, 12 Oct 2000 18:50:29 +0200 Subject: [Zope] Thanks : bobo : where to find it ? Message-ID: <00101218243600.01256@sultan> Thanks to you Paul & Jim Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2) - DocumentTemplate - ZPublisher BUT NO BoboPos directory in the lib/python ; only ZODB. Is there a mistake in the README.txt or forget in the lib/python directory ? Need a DB system to try the Trinkets.py (Having ZODB from Zope 2.2.2 and BoboPOS3-alpha1 & BoboPOS-2.0.2 from old backup...) What is the best way ? Old BoboPos or start now with ZODB ? Thanks Emmanuel -- ================ Emmanuel DISCORS Tel & Fax : 02 54 56 80 61 ================ Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ Jim : ==== We o longer distribute Bobo, although I'm sure you can find it on some archive somewhere. Of course, the pieces that made up Bobo are still available, in updated form, as part of the Zope distribution. The medusa bobo is available in the medusa CVS in the contrib directory. If there is still a medusa distribution, I imagine it contains this directory too. Jim Paul : ===== Hello Emmanuel. Bobo has been folded into Zope: http://www.zope.org/ --Paul From hungjunglu@hotmail.com Thu Oct 12 19:51:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 11:51:25 PDT Subject: [Zope] Medusa Monitor Message-ID: Thanks for the follow-ups on Medusa Monitor. But as I can see (after using Zope for 1.5 years, now), few people actually use it. Unless one is really into the guts of Zope itself, the monitor is pretty useless for debugging. It of course could be made more useful, but one must implement some Python programs first. Even for dynamic reloading of modules, I usually just write External methods to do the job, instead of firing up the monitor. A more useful debuging tool would be some monitor where you can receive print message logs in real time. That would be great, especially if you have multiple thread problems. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From wilson@visi.com Thu Oct 12 19:52:14 2000 From: wilson@visi.com (Timothy Wilson) Date: Thu, 12 Oct 2000 13:52:14 -0500 (CDT) Subject: [Zope] Problem with 2.2.2 and date properties? Message-ID: Hi everyone, I'm having trouble with a ZClass I've created that uses, among others, two date properties. I'm suddenly having problems creating new instances or working with existing instances of my ZClass. I can't be sure, but it seems like the onset of the problems coincided with my upgrade to 2.2.2. Has anyone else seen any problems with date properties and Zope 2.2.2? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From 444@hiretechs.com Thu Oct 12 19:53:56 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 11:53:56 -0700 Subject: [Zope] Catalog and Proximity searches Message-ID: <39E608C4.AA47CBD1@hiretechs.com> Zopsters, Does anyone know if the Catalog is supposed to do proximity searches, ie: "visual basic" would return the phrase. Thanks, Jason Spisak 444@hiretechs.com From gchiu@compkarori.co.nz Thu Oct 12 20:08:34 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 13 Oct 2000 08:08:34 +1300 Subject: [Zope] Tiny tables Message-ID: I would like to run some regular reports based upon sqlmethods. The input to these are a mixture of normal values, and some tokenised values. I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens, it gets changed to just criteria. Any suggestions as to how to store the input as tokens for my reports? -- Graham Chiu From rik.hoekstra@inghist.nl Thu Oct 12 20:14:51 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 21:14:51 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Imagemodule References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: <016401c03480$b3500d00$fe5da182@michieltje> > > > > to reply to Andy? In my own reportlab distribution I changed; > >> > import Image > >> > to > >> > from PIL import Image > >> > >> Well, it sounds right and if it works then it probably is ;-) It > >> probably depends exactly where you install PIL, though, which I haven't > >> done yet :-S > > > >The Photo product and the ExtImage products do more or less the same - this > >seems to become the standard way. It would be nice to have one place to put > >PIL, though. the lib/python/shared directory would be a good place I think. > > > >Rik > > Is this because you're thinking of the binary releases of Zope? yes, that's my reference at least ;-) > > If you're using the reportlab libraries, then you've probably > installed them into /usr/local/lib/python1.5/site-packages (ie you're > used to using source distributions). If you can do that, you're > probably ok with putting PIL into lib/python/shared. So why not have > it in site-packages? ok, that's a good choice if you're working from source distributions. > > Or have I missed something obvious (I probably have - it's been a looong day). no, you missed nothing, I just thought it would be good to make a remark about this. The point is that the Photo product puts the thing in it's own subdirectory (or so it seems, I haven't used it really) _and_ uses the PIL.pth thing. And PIL comes with a PIL.pth itself. If PIL is used by more products, it is a good idea to put it inone place, be it lib/python/shared or /usr/local/lib/python1.5/site-packages or whatever directory in your Python Path. But note that acoording to the site.py documentation these do not exist in windows or mac installations and that .pth file may contain any directory. Rik From karl@digicool.com Thu Oct 12 21:19:09 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:19:09 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Jens Vagelpohl's message of "Wed, 11 Oct 2000 07:43:14 -0400" References: Message-ID: Jens Vagelpohl writes: > terry, > > you forgot the step of actually connecting to the monitor :) there is a very > short howto on using the correct client program to log into the monitor at: > > http://www.zope.org/Members/teyc/howtoMonitorClient > > and similar info at: > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt I don't use the monitor anymore, I just mount the database from a Python prompt: lefty /usr/local/zope/2.2.0/lib/python= python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import ZServer, Zope >>> app = Zope.app() >>> dir(app) ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] >>> I'm not sure what the usefulness of the monitor is these days. I always run ZEO, so I don't have to stop publishing to connect to the database from the prompt. Does the monitor give you something that interactive python doesn't? I do know that python in a shell is more robust than the monitor was - the monitor used to crash when dumping lots of info, like printing a large dictionary. -- Karl Anderson karl@digicool.com From Oliver Bleutgen Thu Oct 12 20:33:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Thu, 12 Oct 2000 21:33:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010121942.MAA00203@zope.codeit.com> Hi, I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4. I encountered a problem with dtml-sqltest and capitals in column names. Well, I simply couldn't get it to work because postgres requires column-names with "special characters" like capitals to be enclosed with quotation marks, ie. "COLUMNNAME" instead of COLUMNNAME - IIRC '_' also won't work. The problem is that dtml-sqltest only renders select * from table where COLUMNNAME='5' which will be interpreted by postgres like select * from table where columnname='5' Unfortunatly throws the obvious error and everything else I tried didn't work too. In the end I patched lib/python/Shared/DC/ZRDB/sqltest.py to do what I want. 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+args['column']+'"' > else: self.column='"'+self.__name__+'"' Any comment whether this would also apply/be necessary for other dbs? And if not, would there a better place (anywhere in ZPopyDA) to change/add some code? Or did I just miss something obvious and there's a sane way to make dtml-sqltest work with postgres and capitals. cheers, oliver From karl@digicool.com Thu Oct 12 21:24:49 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:24:49 -0700 Subject: [Zope] Database Pack In-Reply-To: "=?iso-8859-1?q?J=FAlio?= Dinis Silva"'s message of "Thu, 12 Oct 2000 17:34:29 WEST" References: Message-ID: "Júlio Dinis Silva" writes: > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Mount the database, then call manage_pack (untested python with cwd in lib/python): import ZServer, Zope Zope.app().Control_Panel.Database.manage_pack(days = 1) -- Karl Anderson karl@digicool.com From dieter@handshake.de Thu Oct 12 11:09:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:09:40 +0200 (CEST) Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? In-Reply-To: <39E5856B.43E0755D@softax.com.pl> References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <14821.35947.985554.923938@lindm.dm> Marcin Kasperski writes: > > > As I finally installed mod_proxy_add_forward, I get original address in > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > > > The question is: can I do something easy to automatically perform > > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > > set remote_ip = whatever is in X-Forwarded-For > > > logic? In particular, I would like changed IP to be used by Zope access > > > control and Zope log. > > .... > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > > AccessRule in your top (logical) folder to modify your > > REQUEST object as you like. > > > > Does there exist some sample of such usage? Can such a change be > performed before authorization? The SiteAccess HowTo (documentation?) contains an example how to turn a path component into a REQUEST binding. Your case is much simpler, very straight forward. > I use SiteRoot to translate addressess between external and internal (in > subdirectories, not in main directory). Can those approaches be merged > one with another? They can. If you like, you can replace your SiteRoot (which in fact are simple forms of AccessRules) with full blown AccessRules and put the REMOTE_IP justification into them. However, I would do it in the root folder to have it at a single place. Dieter From dieter@handshake.de Thu Oct 12 11:21:12 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:21:12 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14820.48557.338437.974103@lindm.dm> Message-ID: <14821.36358.972286.290879@lindm.dm> Seb Bacon writes: > .... > > Currently, Zope tries to have very few explicit, object specific > > permissions. The ideal is that permissions are specified high above in > > the hierarchy and acquired by lower objects. > > This is quite possible with the current scheme. > > Implementing an "URL accessible" permission would require > > much more tweaking of single object permissions. > > > > There are other ways to solve your problem by organization > > (putting things that should not be seen somewhere else) > > that do not require an additional permission. > > Now I understand... > I would disagree, however: I think there is a sensible default value. The > default would be that anonymous does not have 'traverable' permission, but > the manager / owner does.... The "traversable" permission would be an additional requirement to view any object. Its main purpose would be to distinguish between "use via Web" and "use in DTML only". "standard_html_*" would be usable in DTML but could not be viewed via the web. They would not give "traversable" permission to Anonymous. Many DTML objects, however, would need to give the "traversable" permission even to Anonymous in order to be useful. Dieter From dieter@handshake.de Thu Oct 12 12:01:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 13:01:08 +0200 (CEST) Subject: [Zope] Re: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> References: <14821.27476.628244.862590@lindm.dm> <39E57D44.DC711E9A@nipltd.com> Message-ID: <14821.35597.65242.939789@lindm.dm> Chris Withers writes: > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ....and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S I do not think, an object without any acquisition (and security) context is a big security risk. The lack of a security context means, that the default security setting built into the Zope security policy is used. In Zope 2.2.2., this means, only "Manager" can do anything, unless the object itself mapped some permissions itself to roles (which then remain valid even for the base object). However, I see another danger. As old (now fixed) bugs in "ZopeFind" have demonstrated, objects stripped of their acquisition context lead to very strange errors, where suddenly even Manager cannot use the object any more. Thus, I agree that "aq_base" should not be exposed, even if for a different reason. Dieter From michel@digicool.com Thu Oct 12 21:27:22 2000 From: michel@digicool.com (Michel Pelletier) Date: Thu, 12 Oct 2000 13:27:22 -0700 Subject: [Zope] Thanks for the comments Message-ID: <39E61EAA.B20B81A7@digicool.com> Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better book and ensuring Zope's future. if you've felt in the past that you may not be technically proficient enough to contribute to the technology of Zope, you can certainly contribute to the documentation by catching our mistakes and making good observations and asking good questions. It is really, really helping. Keep it up, cuz we're not done yet! Thanks, Michel and Amos From fred@ontosys.com Thu Oct 12 21:39:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 12 Oct 2000 15:39:55 -0500 Subject: [Zope] Using ProxyPass and SiteRoot References: Message-ID: <39E6219B.1DAE5026@ontosys.com> It looks to me like you'd need the following in Apache's httpd.conf: NameVirtualHost 206.131.108.102 ServerName www.isd197.k12.mn.us ProxyPass / http://206.131.108.103:8080/ ProxyPassReverse / http://206.131.108.103:8080/ and the following settings in a SiteRoot object at the root of the Zope tree for the site: base: http://www.isd197.k12.mn.us path: / Timothy Wilson wrote: > I've been developing a new Zope site on a separate machine at > http://206.131.108.103:8080/ using just ZServer and I would like to use > ProxyPass to pass a request for www.isd197.k12.mn.us through to this new > site. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From complaw@hal-pc.org Thu Oct 12 22:24:11 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:24:11 GMT Subject: [Zope] and question Message-ID: <200010122123.QAA15858@mail.hal-pc.org> First, thanks for the help these last several days. I'm glad to report that I have a useful Zope site up and running that is the envy of the law firm. Now its time to get a little fancy. Unfortunately, after having read the DTML Reference, and the Zope Quick Reference, I still haven't been able to figure out how to get today's date into a dtml-var. Case in point: I want to put a table of dates and hyperlinks. If the day has already passed, I want to shade the table cell (). In this case, the object has a date property called event_date.
The above code gives me a NameError. Another example would be to simply get the integer value of the year so that it can be included in a copyright statement. E.g., Copyright © , All rights reserved. Unfortunately, this doesn't work either. Can someone point me in the right direction? From complaw@hal-pc.org Thu Oct 12 22:35:16 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:35:16 GMT Subject: [Zope] Thanks for the comments Message-ID: <200010122134.QAA20148@mail.hal-pc.org> Just out of curiosity, how often do you update the book (i.e., the version on the web)? Or, put another way, how long should we consider that catching a typo or split infinitive will have already been brought to your attention but hadn't yet made it to the web site? If you update on a continuous basis, then my question is moot. However, if you update on a periodic basis, could you drop me (or this list group) a note to indicate that the next version is available for our hungry eyes? Just a suggestions... Ron ./. > Just thought we'd mention that we have gotten lots of great comments on > the Zope book so far, especially in the last week or so. You're all > helping make it a better book and ensuring Zope's future. if you've > felt in the past that you may not be technically proficient enough to > contribute to the technology of Zope, you can certainly contribute to > the documentation by catching our mistakes and making good observations > and asking good questions. It is really, really helping. Keep it up, > cuz we're not done yet! From dieter@handshake.de Thu Oct 12 22:45:50 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:45:50 +0200 (CEST) Subject: [Zope] dtml-in loop to capture records In-Reply-To: <92589132@toto.iv> Message-ID: <14822.11869.374666.869834@lindm.dm> Paul Zwarts writes: > ... bad request exception from SQL method ... This error indicates, that an input parameter was not provided. The error value gives the list of all missing input parameters. I would suggest, you replace your "SQL method" (the complete "dtml-in") with "" and analyse what form variables do arrive. Dieter From dieter@handshake.de Thu Oct 12 22:33:42 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:33:42 +0200 (CEST) Subject: [Zope] dtml-let ? In-Reply-To: <59788518@toto.iv> Message-ID: <14822.11765.363407.206130@lindm.dm> Mark Twiddy writes: > Im totaling columns returned from a zsql thingy is there an easy way to do > this in dtml. can do that for you. Look at the documentation, section "variables for statistics". Dieter From dieter@handshake.de Thu Oct 12 22:32:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:32:23 +0200 (CEST) Subject: [Zope] Any limit on number of users? In-Reply-To: <32876900@toto.iv> Message-ID: <14822.11473.24132.596177@lindm.dm> Paul Winkler writes: > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? "UserFolder" uses a dictionary to manage its users. This implies, if one user object is accessed, the complete dictionary is brought into memory (if it is not already there). This might pose problems for a very large user number. Dieter From dieter@handshake.de Thu Oct 12 22:27:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:27:31 +0200 (CEST) Subject: [Zope] help!- version locked up site In-Reply-To: <114600569@toto.iv> Message-ID: <14822.11090.645270.708534@lindm.dm> sean@horse101.com writes: > I cannot view my site...the version has locked it up with the following > message (I cannot even delete the version- which is not currently open): > Error Type: VersionLockError > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > 'h101Latest') Your problem description is not very clear. Are you completely unable to access your site? Apparently not, as you can try to delete the version. Try to go to your version, use the "save/discard" tab and discard (or save) your version. This should remove the look. If you can no longer access your site, it might help to delete "var/Data.fs.tmp". Be carefull! Make a backup before! I do not know, what will happen. Dieter From dieter@handshake.de Thu Oct 12 22:20:37 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:20:37 +0200 (CEST) Subject: [Zope] Computed attribute access (was: [Zope] dtml-with syntax question) In-Reply-To: <103078562@toto.iv> Message-ID: <14822.10841.203981.44604@lindm.dm> Geoffrey L. Wright writes: > I think I am finally getting a decent handle on namespace issues in > Zope, and I can now with the dtml-with tag with reasonable efficacy in > simple situations. But I have run into something of a brick wall on > one issue. > > What I would like to be able to do is something like this: > > > > > > > > > > > Where objectName2 is actually an attribute of objectName1. It seems (though it is not clear) that you want a computed attribute access? Your "objectName2" is an attribute of "objectName1" and contains the "id" of an object in "folder.subfolder"? Then, you use "_.getattr". That's for accessing an attribute you have the name for (and the name is not constant). In your case, you would use it as: Dieter From dieter@handshake.de Thu Oct 12 22:47:35 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: <38671166@toto.iv> Message-ID: <14822.12583.68373.267795@lindm.dm> Hung Jung Lu writes: > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. You know Zope's logging support? It provides a kind of "print message logs", you receive in real time (in your log file). Dieter From knight@righteous.net Thu Oct 12 22:59:09 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 14:59:09 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <200010122134.QAA20148@mail.hal-pc.org> Message-ID: On a side note, how about also including a PDF version (if possible) for us developers who are busy hacking away at source and don't have time to convert it ourselves... ;] Knight knight@phunc.com On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > Just out of curiosity, how often do you update the book (i.e., the version on > the web)? Or, put another way, how long should we consider that catching a typo > or split infinitive will have already been brought to your attention but hadn't > yet made it to the web site? > > If you update on a continuous basis, then my question is moot. However, if you > update on a periodic basis, could you drop me (or this list group) a note to > indicate that the next version is available for our hungry eyes? > > Just a suggestions... > > Ron > ./. > > > Just thought we'd mention that we have gotten lots of great comments on > > the Zope book so far, especially in the last week or so. You're all > > helping make it a better book and ensuring Zope's future. if you've > > felt in the past that you may not be technically proficient enough to > > contribute to the technology of Zope, you can certainly contribute to > > the documentation by catching our mistakes and making good observations > > and asking good questions. It is really, really helping. Keep it up, > > cuz we're not done yet! > > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Thu Oct 12 23:06:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 12 Oct 2000 15:06:34 -0700 Subject: [Zope] Any limit on number of users? References: <14822.11473.24132.596177@lindm.dm> Message-ID: <01de01c03498$af6fffc0$ae03a8c0@fork> Login Manager or Generic User Folder and Shanes excellent BTreeFolder provide a solution for a large number of users. ----- Original Message ----- From: "Dieter Maurer" To: "Paul Winkler" Cc: "Zope mailing list" Sent: Thursday, October 12, 2000 2:32 PM Subject: Re: [Zope] Any limit on number of users? > Paul Winkler writes: > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > "UserFolder" uses a dictionary to manage its users. > This implies, if one user object is accessed, the complete > dictionary is brought into memory (if it is not already there). > This might pose problems for a very large user number. > > > > Dieter > > _______________________________________________ > 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 ) > From gwright@integritysi.com Thu Oct 12 23:34:28 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> Message-ID: <14822.15476.737672.457573@localhost.localdomain> Chris Withers writes: > "Geoffrey L. Wright" wrote: > > > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > > > > > > > > > > > > > The above should now work... > > ...if it doesn't please explain in what way ;-) Hmmm... OK. Here is my relevant code, complete with resulting error message: etc... And Zope sez: Error Type: KeyError Error Value: short_desc attribute1, attribute2 and attribute3 are all attributes of sidebar_item. If I change the to read (where weepee_the_weewee is the actual name of the object I'm trying to refer to), then I see the short_desc attribute of weepee_the_weewee perfectly. Don't I have to do something in my syntax to indicate that I'm looking for the the value of attribute3 rather than an object with the literal id "attribute3"? > cheers, > > Chris Dazed & Confused, //glw From hungjunglu@hotmail.com Thu Oct 12 23:16:52 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 15:16:52 PDT Subject: [Zope] Medusa Monitor Message-ID: I know that, the stupid log file thingy. But you'll have to write an independent thread to display the log file (or peek the file manually each time), or implement some CString stuff to capture the file output (if that is possible). It'll be more fun if all this is already done, and the user can just tap into the monitor console screen (even remotely). A good monitor should actually display hit information, memory usage, etc, and preferably with charts, all in real time. Too much to ask? I don't think so. :) Hung Jung >From: Dieter Maurer >To: "Hung Jung Lu" >CC: zope@zope.org, jens@digicool.com, terry@adroit.net >Subject: Re: [Zope] Medusa Monitor >Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) > >Hung Jung Lu writes: > > A more useful debuging tool would be some monitor where you can receive > > print message logs in real time. That would be great, especially if you >have > > multiple thread problems. >You know Zope's logging support? > >It provides a kind of "print message logs", you receive in real time >(in your log file). > > > >Dieter _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From gwright@integritysi.com Thu Oct 12 23:51:43 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: Message-ID: <14822.16511.306738.502938@localhost.localdomain> knight writes: > Timothy, > > Without going into too much detail, you are going to want to set up a > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > that virtual host you will want to add your ProxyPass lines similar to my > example: [...] And just for reference, here's another working example with ProxyPass: NameVirtualHost 172.17.10.13 ServerName syslog.integritysi.com ServerAdmin geoff@integritysi.com ProxyPass / http://vishnu.integritysi.com:8080/syslog/ ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ ErrorLog logs/syslog.integritysi.com TransferLog logs/syslog.integritysi.com Good luck, and don't forget to enable the ProxyPass module. //glw From terry@adroit.net Thu Oct 12 23:43:02 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:43:02 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63E76.61F456C4@adroit.net> Useless for debugging? I find it very useful and sometimes necessary....but I right all my products in python so maybe it is different for ZClass people. terry Hung Jung Lu wrote: > Thanks for the follow-ups on Medusa Monitor. > > But as I can see (after using Zope for 1.5 years, now), few people actually > use it. Unless one is really into the guts of Zope itself, the monitor is > pretty useless for debugging. It of course could be made more useful, but > one must implement some Python programs first. Even for dynamic reloading of > modules, I usually just write External methods to do the job, instead of > firing up the monitor. > > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. > > regards, > > Hung Jung > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From terry@adroit.net Thu Oct 12 23:45:14 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:45:14 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63EFA.FE2BF947@adroit.net> I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Karl Anderson wrote: > Jens Vagelpohl writes: > > > terry, > > > > you forgot the step of actually connecting to the monitor :) there is a very > > short howto on using the correct client program to log into the monitor at: > > > > http://www.zope.org/Members/teyc/howtoMonitorClient > > > > and similar info at: > > > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt > > I don't use the monitor anymore, I just mount the database from a > Python prompt: > > lefty /usr/local/zope/2.2.0/lib/python= python > Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import ZServer, Zope > >>> app = Zope.app() > >>> dir(app) > ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] > >>> > > I'm not sure what the usefulness of the monitor is these days. I > always run ZEO, so I don't have to stop publishing to connect to the > database from the prompt. > > Does the monitor give you something that interactive python doesn't? > I do know that python in a shell is more robust than the monitor was - > the monitor used to crash when dumping lots of info, like printing a > large dictionary. > > -- > Karl Anderson karl@digicool.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 ) -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From sean@horse101.com Thu Oct 12 23:58:21 2000 From: sean@horse101.com (sean@horse101.com) Date: Thu, 12 Oct 2000 15:58:21 -0700 Subject: [Zope] help!- version locked up site In-Reply-To: <14822.11090.645270.708534@lindm.dm> References: <114600569@toto.iv> Message-ID: <39E5DF9D.22490.10755C9F@localhost> Thanks, I did figure it out and when I go into save/discard version and discard I was able to get back to normal. On 12 Oct 2000, at 23:27, Dieter Maurer wrote: > sean@horse101.com writes: > > I cannot view my site...the version has locked it up with the following > > message (I cannot even delete the version- which is not currently open): > > Error Type: VersionLockError > > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > > 'h101Latest') > Your problem description is not very clear. > > Are you completely unable to access your site? > Apparently not, as you can try to delete the version. > > Try to go to your version, use the "save/discard" tab > and discard (or save) your version. This should remove > the look. > > If you can no longer access your site, it might help > to delete "var/Data.fs.tmp". Be carefull! Make a backup before! > I do not know, what will happen. > > > Dieter > From phil.harris@zope.co.uk Thu Oct 12 00:19:01 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 00:19:01 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> As another side note, I generally make it into an eBook ready for the Microsoft Reader. If anyone's interested let me know. Phil phil.harris@zope.co.uk ----- Original Message ----- From: "knight" To: Cc: "Michel Pelletier" ; ; ; Sent: Thursday, October 12, 2000 10:59 PM Subject: Re: [Zope] Thanks for the comments > On a side note, how about also including a PDF version (if possible) for > us developers who are busy hacking away at source and don't have time to > convert it ourselves... ;] > > Knight > knight@phunc.com > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > Just out of curiosity, how often do you update the book (i.e., the version on > > the web)? Or, put another way, how long should we consider that catching a typo > > or split infinitive will have already been brought to your attention but hadn't > > yet made it to the web site? > > > > If you update on a continuous basis, then my question is moot. However, if you > > update on a periodic basis, could you drop me (or this list group) a note to > > indicate that the next version is available for our hungry eyes? > > > > Just a suggestions... > > > > Ron > > ./. > > > > > Just thought we'd mention that we have gotten lots of great comments on > > > the Zope book so far, especially in the last week or so. You're all > > > helping make it a better book and ensuring Zope's future. if you've > > > felt in the past that you may not be technically proficient enough to > > > contribute to the technology of Zope, you can certainly contribute to > > > the documentation by catching our mistakes and making good observations > > > and asking good questions. It is really, really helping. Keep it up, > > > cuz we're not done yet! > > > > > > > > _______________________________________________ > > 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 ) From joe@iuveno.de Fri Oct 13 01:15:55 2000 From: joe@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 02:15:55 +0200 Subject: [Zope] Content Management System References: <20001012145924.B30498@central.comlounge.net> Message-ID: <005b01c034aa$cbfe4fe0$af81e491@iuvenonet.de> >> I'm beginning to wonder if > > content management and system administration should be split out into > > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > > syndication, etc...). We (iuveno) are currently preparing a major project to write a full-featured CMS on base of Zope. The first client will be a university, but the system will also be usable in commercial environments, and it will be open source from the first day on (except for the client-specific stuff of course). The first draft of the general architecture is as follows: There is a ZClass- or Python-product-based toolkit that provides the standard functionality, like base classes, workflow logic, etc. Plugin ZClasses implement the actual organization logic, so you can choose between building a university, a sports club, or maybe a consulting business by just choosing the corresponding modules. Chromes (logos, stylesheets, ...) and Views (page layouts) are also implemented as plugins. There will be a full-fledged workflow/project management component (at least in the long run). The concept will build upon ideas from the PTK and the ZDP-tools. There is a very simple prototype we will make public after some clean-ups. We are checking at the moment if we should set up a now project homepage or wiki or join an existing effort like the ZDP-tool-based initiative of Maik Röder on or the PTK. BTW: My experience with "dumb users" working with the Zope interface is quite positive. As long as they just have to add, change or delete predefined objects it doesn't seem to be that bad. They just shouldn't have to know about DTML or even acquisition. Joachim. From knight@righteous.net Fri Oct 13 01:23:20 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 17:23:20 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> Message-ID: Send it over ;] On Thu, 12 Oct 2000, Phil Harris wrote: > As another side note, I generally make it into an eBook ready for the > Microsoft Reader. > > If anyone's interested let me know. > > Phil > phil.harris@zope.co.uk > ----- Original Message ----- > From: "knight" > To: > Cc: "Michel Pelletier" ; ; > ; > Sent: Thursday, October 12, 2000 10:59 PM > Subject: Re: [Zope] Thanks for the comments > > > > On a side note, how about also including a PDF version (if possible) for > > us developers who are busy hacking away at source and don't have time to > > convert it ourselves... ;] > > > > Knight > > knight@phunc.com > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > Just out of curiosity, how often do you update the book (i.e., the > version on > > > the web)? Or, put another way, how long should we consider that > catching a typo > > > or split infinitive will have already been brought to your attention but > hadn't > > > yet made it to the web site? > > > > > > If you update on a continuous basis, then my question is moot. However, > if you > > > update on a periodic basis, could you drop me (or this list group) a > note to > > > indicate that the next version is available for our hungry eyes? > > > > > > Just a suggestions... > > > > > > Ron > > > ./. > > > > > > > Just thought we'd mention that we have gotten lots of great comments > on > > > > the Zope book so far, especially in the last week or so. You're all > > > > helping make it a better book and ensuring Zope's future. if you've > > > > felt in the past that you may not be technically proficient enough to > > > > contribute to the technology of Zope, you can certainly contribute to > > > > the documentation by catching our mistakes and making good > observations > > > > and asking good questions. It is really, really helping. Keep it up, > > > > cuz we're not done yet! > > > > > > > > > > > > _______________________________________________ > > > 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 ) > > > _______________________________________________ > 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 ) > > From phil.harris@zope.co.uk Thu Oct 12 01:37:48 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 01:37:48 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> I'll stick onto my Zope members page http://zope.org/Members/philh Phil ----- Original Message ----- From: "knight" To: "Phil Harris" Cc: "knight" ; ; "Michel Pelletier" ; ; ; Sent: Friday, October 13, 2000 1:23 AM Subject: Re: [Zope] Thanks for the comments > Send it over ;] > > On Thu, 12 Oct 2000, Phil Harris wrote: > > > As another side note, I generally make it into an eBook ready for the > > Microsoft Reader. > > > > If anyone's interested let me know. > > > > Phil > > phil.harris@zope.co.uk > > ----- Original Message ----- > > From: "knight" > > To: > > Cc: "Michel Pelletier" ; ; > > ; > > Sent: Thursday, October 12, 2000 10:59 PM > > Subject: Re: [Zope] Thanks for the comments > > > > > > > On a side note, how about also including a PDF version (if possible) for > > > us developers who are busy hacking away at source and don't have time to > > > convert it ourselves... ;] > > > > > > Knight > > > knight@phunc.com > > > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > > > Just out of curiosity, how often do you update the book (i.e., the > > version on > > > > the web)? Or, put another way, how long should we consider that > > catching a typo > > > > or split infinitive will have already been brought to your attention but > > hadn't > > > > yet made it to the web site? > > > > > > > > If you update on a continuous basis, then my question is moot. However, > > if you > > > > update on a periodic basis, could you drop me (or this list group) a > > note to > > > > indicate that the next version is available for our hungry eyes? > > > > > > > > Just a suggestions... > > > > > > > > Ron > > > > ./. > > > > > > > > > Just thought we'd mention that we have gotten lots of great comments > > on > > > > > the Zope book so far, especially in the last week or so. You're all > > > > > helping make it a better book and ensuring Zope's future. if you've > > > > > felt in the past that you may not be technically proficient enough to > > > > > contribute to the technology of Zope, you can certainly contribute to > > > > > the documentation by catching our mistakes and making good > > observations > > > > > and asking good questions. It is really, really helping. Keep it up, > > > > > cuz we're not done yet! > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 ) > > > > > > _______________________________________________ > > 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 ) > > > > From gwright@integritysi.com Fri Oct 13 03:24:11 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" Kindly Zopistas: Am curious how to go about building an "alternate Property Sheet View" for custom ZClasses. The default view is great for me and other developers, but I need to build the something that looks a bit more customer-friendly. I spend about 20 minutes looking around the Zope site, but haven't yet turned about any useful information. Perhaps somebody could point me to a relevant HOWTO or some example code? Many thanks! //glw From twcook@iswt.com Fri Oct 13 03:09:59 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:09:59 -0500 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> Message-ID: <39E66EF7.563F0451@iswt.com> "\"Geoffrey L. Wright\" > Don't I have to do something in my syntax to indicate that I'm looking > for the the value of attribute3 rather than an object with the literal > id "attribute3"? I'm sure someone will correct me if I'm wrong. But I believe you want: -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Fri Oct 13 03:58:40 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:58:40 -0500 Subject: [Zope] non-Zope object attribute admin interface References: <14822.29259.893382.868680@localhost.localdomain> Message-ID: <39E67A60.BCBF6A7@iswt.com> "\"Geoffrey L. Wright\" > > Kindly Zopistas: > > Am curious how to go about building an "alternate Property Sheet View" for > custom ZClasses. The default view is great for me and other > developers, but I need to build the something that looks a bit more > customer-friendly. > > I spend about 20 minutes looking around the Zope site, but haven't yet > turned about any useful information. Perhaps somebody could point me > to a relevant HOWTO or some example code? Take a look at the Job Board HOWTO. HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From ergul@ccs.neu.edu Fri Oct 13 04:26:54 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Thu, 12 Oct 2000 23:26:54 -0400 (EDT) Subject: [Zope] Connection Problem with Oracle Message-ID: > I created a connection to an Oracle database. Frequently, > the connection breaks and I got a database error in the page that > displays the query result. When I logon as a manager I find that the > connection is closed (by itself, nothing changed in Oracle or Zope), > when I try to open it I get an error "Invalid connection string". Even > if I create another connection it can't work.. After a while it > works. Even after restarting the Zope server the problem persists. I'm not sure why the same connection string would work only some of the time. Maybe some other error from sqlnet is misreported. In any case, look for sqlnet.log at the directory where zope was started. You can get more info on the errors you're experiencing. Furthermore try running zope with nohup and monitor the nohup.out file that gets generated. You can see how frequently your zope goes down (if running as deamon under linux). Frequent problems with Oracle setup stem from read permissions on files used by sqlnet (e.g. message files). Make sure such files are readable by whatever user your zope is running as. Ayhan Ergul From bak@nstp.com.my Fri Oct 13 07:29:29 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Fri, 13 Oct 2000 14:29:29 +0800 Subject: [Zope] OT: maybe - max file, proc limits on linux and zope Message-ID: <0010131429290B.00692@tokey.kedai.com.my> hi all, this may be off topic, feel free to ignore. while trying to stop zope i encountered error stating max file limit met. what i did to stop this is running echo "8192" >/proc/sys/fs/file-max can i do this? good bad? any tips on tuning max file open, process open, etc? linux and zope newbie <--that's me. tia -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From mj@digicool.com Fri Oct 13 09:13:17 2000 From: mj@digicool.com (Martijn Pieters) Date: Fri, 13 Oct 2000 10:13:17 +0200 Subject: [Zope] Zope nominated for Webtechniques Web Tools Awards Message-ID: <20001013101317.A17757@zopatista.com> Zope has been nominated for the Webtechniques Webtool Awards, and the pollboxes are open! Go vote by putting you email address (or any email address you like ;)) at the end of the following URL: http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl? So, I voted at the URL ending in ballot_gen.pl?mj@digicool.com. Every email address can vote once. Go give Zope a great showing! -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Fri Oct 13 09:44:12 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 09:44:12 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14821.36358.972286.290879@lindm.dm> Message-ID: Oh dear, I fear that this is going round and round and round in circles a bit, and that no-one else is following it, but here goes anyway :> > The "traversable" permission would be an additional requirement > to view any object. Its main purpose would be to distinguish > between "use via Web" and "use in DTML only". > "standard_html_*" would be usable in DTML but could not be viewed > via the web. They would not give "traversable" permission to > Anonymous. > Many DTML objects, however, would need to give the "traversable" > permission even to Anonymous in order to be useful. OK, I think we're talking about the same thing now...but could you give me an example of any object that would need to be traversable by Anonymous? index_html, for example, doesn't need to be traversable (I still prefer 'listable'). Viewable TTW, yes, but that's all. seb. From paul.zwarts@oratrix.com Fri Oct 13 11:23:53 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Fri, 13 Oct 2000 12:23:53 +0200 Subject: [Zope] and question References: <200010122123.QAA15858@mail.hal-pc.org> Message-ID: <39E6E2B9.7B97CAEF@oratrix.com> Hi there, I've been having problems with DateTimes as well. My colleague and I (using Zope 201) found a problem with the module that causes any dbase timestamp to be rendered to a non-standard UNIX time that has an annoying DST appended if in the Daylight savings time zone, thus leaving the timestamp as useless when performing expressions against it. In our situation we used a scan from pos 0-29 to trap the proper timestamp syntax. Then from there, I use an expression as follows: This is just a small part of the code, and im sure there is a better way, but hey, it works. Dont know if this helps you, but perhaps will give you an idea.... Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From stephan.goeldi@datacomm.ch Fri Oct 13 11:23:37 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 13 Oct 2000 10:23:37 GMT Subject: [Zope] Non-existing Zope-Security!!! Message-ID: OK let me state that I don't think so (subject line). I had to choose this subject, because it seems to me, that nobody was interested in my previous attempts to get information about my problem. So here is my newbie (?) question again: I have the folders: /www/folder1 /www/folder2 Apache redirects domain1 to folder1 and domain2 to folder2. The manager of folder1 is able to browse to /www and see what folders exist there. He shouldn't, because he only exists in the acl_user of /www/folder1. He even can look into the folder /www/folder2 (but not into the objects). Is it possible to disable the access for the folder1-manager above folder1? It doesn't seem to me. If it really isn't possible, there is no security at all for ISP uses of Zope. But I'm sure, there should be a possibility. I even created a local role in /www/folder1 too. Even with the local role I can browse /www and /www/folder2! Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From jkinsley@horus.bticc.net Fri Oct 13 11:42:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Fri, 13 Oct 2000 06:42:54 -0400 (EDT) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... Message-ID: I am building a framed site using Zope and I am trying to get functionality that after hours of reading documentation I am beginning to think is not possible, but since what I have read is so obscure I have decided to post a message before giving up. The code examples below *DO NOT* work, but are being used in an attempt to illustrate what I am attempting to do as I thought it would work. After reading documentation for the last several hours I am now more confused then when I started. Given the following URL's: http://...../Files/?dir=/foo/bar/&file=baz.html http://...../?section=/Files&dir=/foo/bar/&file=baz.html And the Following /index_html - DTML Method .... .... /FrameSet - DTML Method .... XXX - How can I negate this? IE. XXX - I do not think calling REQUEST.set() is the best way to accomplish this. What is a better way? .... /ViewFrame - DTML Method .... .... XXX - I can not get this to work at all. Topframe should be set or true if the visitor arrived in the /Files Folder from the top level frameset and /Files/ViewFrame will be loaded into the view_frame target. If the visitor came directly to /Files and topframe is unset or false, then I want to redirect them back to the toplevel /FrameSet to load the top frames then display the /Files/ViewFrame in the view_frame target and pass along dir and file from the URL query string. /Files/Index - DTML Method .... .... XXX - If this method is called from the top level FrameSet method, how to I access dir and file from the original request? /Files/ViewFrame - DTML Method .... .... Over the last few days I have tried all sorts of things to make this work, but all attempts have failed. I am sure there is a very simple solution that one of you Zope Gurus could quickly explain. If you are going to respond with RTFM, the please cite specific references in the manual. ;-) Thanks in advance. Regards, Jarrod Kinsley From twcook@iswt.com Fri Oct 13 12:28:10 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 13 Oct 2000 06:28:10 -0500 Subject: [Zope] Non-existing Zope-Security!!! References: Message-ID: <39E6F1CA.8AA09C20@iswt.com> Stephan Goeldi wrote: > > OK let me state that I don't think so (subject line). I had to choose this > subject, because it seems to me, that nobody was interested in my previous > attempts to get information about my problem. So here is my newbie (?) > question again: > > I have the folders: > > /www/folder1 > /www/folder2 > > Apache redirects domain1 to folder1 and domain2 to folder2. > The manager of folder1 is able to browse to /www and see what folders exist > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > He even can look into the folder /www/folder2 (but not into the objects). > > Is it possible to disable the access for the folder1-manager above folder1? > It doesn't seem to me. If it really isn't possible, there is no security at > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > I even created a local role in /www/folder1 too. Even with the local role I > can browse /www and /www/folder2! > > Any suggestions? Create the user in the top level folder that they are allowed to see. Not in the /www folder HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From mario@curiango.ipen.br Fri Oct 13 12:47:17 2000 From: mario@curiango.ipen.br (Mario Olimpio de Menezes) Date: Fri, 13 Oct 2000 09:47:17 -0200 (EDT) Subject: [Zope] Converting PHP3 -> Zope Message-ID: Hi, I'm planning to convert (migrate) a entire site from php3 to zope and i'm looking for suggestions, hints, etc on this. It's a GPL management school system done in php3+postgresql, and any user must be authenticated against a database and his privileges are those from the postgresql. The system is in portuguese (www.univates.br/sagu) if someone is interested. Does somebody have experience in such kind of migration (conversion) and can give me some "in advance" advice to avoid this or that or don't do this, etc, etc? Any comments? []s, Mario O.de Menezes "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br From DLANCE@kc.rr.com Fri Oct 13 12:59:37 2000 From: DLANCE@kc.rr.com (Dale Lance) Date: Fri, 13 Oct 2000 06:59:37 -0500 Subject: [Zope] Fw: mysqldb Message-ID: <031a01c0350d$0f89a5e0$0301a8c0@home> Hi, I am trying to build ZMySQLDA 1.20 mysql has been built successfully on RedHat 7.0 and resides in /usr/local/mysql I have followed the instructions for editing /etc/ld/so/conf adding /usr/local/mysql/lib/mysql /usr/local/mysql/lib /usr/local/mysql to it. (just tomake sure) yet I still get the following error anyone know where mysqlclient is supposed to be? Dale > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > _mysqlmodule.so > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make: *** [_mysqlmodule.so] Error 1 > Traceback (innermost last): > File "build.py", line 14, in ? > import MySQLdb > File "MySQLdb.py", line 19, in ? > from _mysql import * > ImportError: No module named _mysql > > From jensebaer@hotmail.com Fri Oct 13 13:44:19 2000 From: jensebaer@hotmail.com (jensebaer) Date: Fri, 13 Oct 2000 14:44:19 +0200 Subject: [Zope] Fw: mysqldb Message-ID: ----- Original Message ----- From: "jensebaer" To: "Dale Lance" Sent: Friday, October 13, 2000 2:43 PM Subject: Re: [Zope] Fw: mysqldb > Hi Dale, > > put this in your setup or/and setup.in file under > ....../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/ > > *shared* > # Only one line should be uncommented. > # Adjust -L and -I as necessary for your local configuration. > # If you have dynamic MySQL libraries, they will need to be on your > # LD_LIBRARY_PATH at runtime. > _mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient > # Uncomment for Windows > #_mysql > _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32 > > > or may _mysql > _mysqlmodule.c -L/usr/local/lib/mysql -I/usr/local/include/mysql -lmysqlclie > nt > > Jens > > ----- Original Message ----- > From: "Dale Lance" > To: > Sent: Friday, October 13, 2000 1:59 PM > Subject: [Zope] Fw: mysqldb > > > > Hi, > > I am trying to build ZMySQLDA 1.20 > > mysql has been built successfully on RedHat 7.0 and resides in > > /usr/local/mysql > > I have followed the instructions for editing /etc/ld/so/conf adding > > /usr/local/mysql/lib/mysql > > /usr/local/mysql/lib > > /usr/local/mysql > > to it. (just tomake sure) > > yet I still get the following error > > anyone know where mysqlclient is supposed to be? > > > > Dale > > > > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > > _mysqlmodule.so > > > /usr/bin/ld: cannot find -lmysqlclient > > > collect2: ld returned 1 exit status > > > make: *** [_mysqlmodule.so] Error 1 > > > Traceback (innermost last): > > > File "build.py", line 14, in ? > > > import MySQLdb > > > File "MySQLdb.py", line 19, in ? > > > from _mysql import * > > > ImportError: No module named _mysql > > > > > > > > > > > > > > _______________________________________________ > > 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 ) > > > > > From phd@phd.dada.ru Fri Oct 13 13:59:25 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Fri, 13 Oct 2000 12:59:25 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so. Check to see it's there. It is usually symlink to libmysqlclient.so.6.23.13 or such. If it is not - find it on your system and put the directory to -L flag, e.g gcc -shared _mysqlmodule.o -L/usr/local/lib/mysql -lmysqlclient -o _mysqlmodule.so Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From joachim.werner@iuveno.de Fri Oct 13 13:59:47 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 14:59:47 +0200 Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> References: <39E6F1CA.8AA09C20@iswt.com> Message-ID: <00101315232701.14779@promotor> > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder That alone wouldn't do it if we are talking about "seeing the objects", e.g. by calling the "objectIds" method in the root folder. You also have to switch off the root folder's "Access contents information" rights for Anonymous and the sub-tree managers. I think Zope security is really a bit weak here because the standard settings are NOT blocking "Access contents information" and blocking it makes programming a bit harder ... BUT: You CAN configure it correctly if you want to. Joachim -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From tseaver@digicool.com Fri Oct 13 14:43:20 2000 From: tseaver@digicool.com (Tres Seaver) Date: Fri, 13 Oct 2000 09:43:20 -0400 Subject: [Zope] How to see if two objects are the same (minor fix) References: <200010111900.MAA11051@zope.codeit.com> Message-ID: <39E71178.68EB60B1@digicool.com> Ron Bickers wrote: > > **** From my previous post, it looked like the parent was changing. I had > the first two lines swapped. Fixed below. > > ---- > > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 > > It returns the following in a folder where there is another myObject: > > > > 0 > > What am I missing in the comparison? You are seeing the result of a (mis)feature of acquisition: the objects you are comparing are actually AcquisitionImplicitWrappers around the real 'myObject'; because the two wrappers are different, and because the underlying object doesn't define a custom '__cmp__()' method, the two wrappers are compared for identity (which is bogus). I recently fixed this in response to a Collector issue: http://classic.zope.org:8080/Collector/1650/view You can get the patch from that page, or just wait for Zope 2.3 (RSN, I'm sure). Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From bill@carbonecho.com Fri Oct 13 15:11:23 2000 From: bill@carbonecho.com (Bill Welch) Date: Fri, 13 Oct 2000 14:11:23 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: In Debian, this library is in a separate packge. On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? From zope_ddi@hotmail.com Fri Oct 13 17:34:28 2000 From: zope_ddi@hotmail.com (Roland C. Reumerman) Date: Fri, 13 Oct 2000 16:34:28 CEST Subject: [Zope] Authentication headers & firewall port redirection Message-ID: As stated in an email some time before I ran into some problems concerning accessing my password protected Zope site. The situation: * Zope 2.2.2 runs on a web server called www.datadistilleries.com on port 8080 * the web site it offers is protected with Zope's own authentication mechanism * the firewall redirects any HTTP requests for www.datadistilleries.com/ddsn (i.e., port 80) to www.datadistilleries.com:8080/ddsn. However, one has to click 3 times on that Login link before the login dialog appears. Then it seems to build up a connection, but doesn't. I click on the login link again, and I'm in and everything works as expected. Now it seems that somehow the combination of Zope-generated authenticated headers and the firewall redirection rule do not match: does the header include URL information? That would imply it tries to access www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly www.datadistilleries.com:80/ddsn (firewall listen port). BTW, it cannot run on port 80 because the default web server is already listening to that port. Question: is it possible to somehow make Zope send HTTP authentication headers that have port 80 included instead of port 8080? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From ecolmar@uswest.net Fri Oct 13 15:40:34 2000 From: ecolmar@uswest.net (ed colmar) Date: Fri, 13 Oct 2000 08:40:34 -0600 Subject: [Zope] LoginManager - with SQL? References: Message-ID: <018101c03523$8c046680$0400000a@caliber> Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would really love to get this working instead of having to revert back to older depreciated products. Thanks for any help! -e- From: "Aleksander Salwa" > > I remember I had some troubles trying to put methods rolesForUser, > domainsForUser, authenticateUser in UserSource class. They can be moved to > user class. I did so. > But your case is harder then mine, cause you don't have objects > representing users in ZODB. Maybe there are problems with retrieveItem > method ? > Maybe you should build wrapper class around your database > data - something like "pluggable brains" ? > I have no more ideas :( From Oliver Bleutgen Fri Oct 13 15:51:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Fri, 13 Oct 2000 16:51:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010131455.HAA17298@zope.codeit.com> Talking to myself .... A slight correction to my patch so that tablename.columname will be rendered as to "tablename"."columnname". 146c146 < from string import find, split, join, atoi, atof --- > from string import find, split, join, atoi, atof, replace 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+replace(args['column'], '.', '"."')+'"' > else: self.column='"'+replace(self.__name__, '.', '"."')+'"' It would be nice if someone could comment whether this makes sense for other dbs too. cheers, oliver From sburch@ordway.org Fri Oct 13 16:11:27 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 10:11:27 -0500 Subject: [Zope] Variable name use in with statement Message-ID: I'm working on a simple auction site as a newbe challenge. I am taking bids on three static items, none will be added or removed. I have a folder named bid_records in which there is a folder for each item. These item folders have current bid information in properties and bid history in ZClass items stored in them. When I'm working with a specific auction item I have the name of the folder in a REQUEST variable. I am finding myself doing the following and am sure there is a simpler way to do this. Any help would be greatly appreciated! Thanks. -- Scott B. Burchill, MIS Manager Ordway Center for the Performing Arts 345 Washington Street St. Paul, MN 55102-1495 voice +1 (651) 282-3082 cell +1 (651) 248-2713 pager +1 (612) 818-7600 fax +1 (651) 224-1820 efax +1 (508) 519-6133 http://www.ordway.org \:)> /:(> From grund@zblmath.FIZ-Karlsruhe.DE Fri Oct 13 16:17:03 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Fri, 13 Oct 2000 17:17:03 +0200 Subject: [Zope] ZCatalog question. boolean and wildcards. Message-ID: <00101317244505.31282@donald> Im running Zope 2.2.2 on Linux 2.2.13. When mixing boolean operators and wildcards '*' in queries within a Textindex the 'AND' operator is replaced by 'OR'. Also, the possibility of constructing nested terms using brackets seems to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). The setting is straightforward, several indexes (text-index, keyword-indexes) are used indexing a about 5000 Zclasses. Are there any patches to apply or what else can i do ? Thanks in advance. Hannes. From sebbacon@email.com Fri Oct 13 16:51:08 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 16:51:08 +0100 Subject: [Zope] product.dat Message-ID: In the Zope PTK there are a couple of products that have been packaged as product.dats. What format are these? How do I do it? Cheers seb From neeloy_saha@infy.com Fri Oct 13 12:56:03 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Fri, 13 Oct 2000 17:26:03 +0530 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog Message-ID: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Hi all, I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to load the data.fs Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? Thx and regards. -neeloy From complaw@hal-pc.org Fri Oct 13 18:29:47 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Fri, 13 Oct 2000 17:29:47 GMT Subject: [Zope] Any examples of use of manage_addFile()? Message-ID: <200010131729.MAA05467@mail.hal-pc.org> I want to create a user-interface so that users can upload files to my Zope site. I have done this with DTMLDocuments, however I don't quite understand how to get the file itself into the Zope site via ... self.manage_addProduct['OFSP'].manage_addFile() ..that is in Python. I looked through the HOWTO's but didn't find anything. Does someone have an example of a Form/DTMLMethod/Python script that does this sort of thing? Thanks in advance, Ron ./. From mvmendes@emdata.com.br Fri Oct 13 16:33:41 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Fri, 13 Oct 2000 15:33:41 +0000 Subject: [Zope] Database Pack References: Message-ID: <39E72B55.7912A5EA@emdata.com.br> "Júlio Dinis Silva" wrote: > > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. > > Regards, > Júlio Dinis Silva > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.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 ) Hello, I'm using OracleStorage and I'd like know if can I pack my Database as I do with data.fs. Are there any differences? Thanks. Marcus Mendes From gwright@integritysi.com Fri Oct 13 19:00:04 2000 From: gwright@integritysi.com (Geoffrey L. Wright) Date: Fri, 13 Oct 2000 10:00:04 -0800 (AKDT) Subject: [Zope] dtml-with syntax question In-Reply-To: <39E66EF7.563F0451@iswt.com> References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> <39E66EF7.563F0451@iswt.com> Message-ID: <14823.19876.493839.469796@localhost.localdomain> Tim Cook writes: > I'm sure someone will correct me if I'm wrong. But I believe you > want: > > Haven't tried it in my code yet, but thanks to your post I found the section about _.getitem(). That'll come in handy all over the place, so many thanks for the pointer! //glw From lehmann@catworkx.de Fri Oct 13 18:24:05 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Fri, 13 Oct 2000 19:24:05 +0200 Subject: [Zope] LoginManager - with SQL? In-Reply-To: <018101c03523$8c046680$0400000a@caliber> References: <018101c03523$8c046680$0400000a@caliber> Message-ID: <00101319240501.00448@cat-pc-holle> Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: > Has anyone been able to use LoginManager with a SQL db? with or without > encryption? > > I'm still baffled by this how-to: > http://www.zope.org/Members/jok/SQL_based_LoginManager > > In this example, there are dtml-methods that do the work of the UserSource, > but there is no retrieveItem? > > I would really love to get this working instead of having to revert back to > older depreciated products. > > Thanks for any help! > > -e- > > From: "Aleksander Salwa" > > > I remember I had some troubles trying to put methods rolesForUser, > > domainsForUser, authenticateUser in UserSource class. They can be moved > > to user class. I did so. > > But your case is harder then mine, cause you don't have objects > > representing users in ZODB. Maybe there are problems with retrieveItem > > method ? > > Maybe you should build wrapper class around your database > > data - something like "pluggable brains" ? > > I have no more ideas :( > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From jfarr@real.com Fri Oct 13 18:57:12 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 13 Oct 2000 10:57:12 -0700 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog References: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Message-ID: <0bfb01c0353f$03a80a50$416917ac@poly> There are some patches floating around to add cataloging to LocalFS objects. I haven't gotten around to including them in the standard distro. --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Friday, October 13, 2000 4:56 AM Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog > Hi all, > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to load the data.fs > > Now. I am running into search problems. How do i do a search the filesystem > file? and also ensure that the search results come from both the filesystem > files and the portal zcatalog.?? > > Thx and regards. > > -neeloy > > _______________________________________________ > 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 ) > From Robert_J_Roberts@rl.gov Fri Oct 13 20:34:08 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Fri, 13 Oct 2000 12:34:08 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D0A@APEXCH11.rl.gov> What are my options for debugging External Methods in Zope running on Windows NT? Is there ANY way to get the external method to run in a DOS window that I can watch? What little tricks/techniques have others use to make debugging external methods easier/possible? Thanks, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From dittmar@snafu.de Fri Oct 13 20:40:24 2000 From: dittmar@snafu.de (Daniel Dittmar) Date: Fri, 13 Oct 2000 21:40:24 +0200 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <39E76528.7D05A2AB@dittmar.net> Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage? Is it simply the convenience to have the data in one place (for backup etc)? Does it scale better? In connection with ZEO? I'm asking because I'm contemplating writing such a storage for a specific RDBMS and I would like to know whether it's worth the trouble. Daniel Dittmar From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 20:58:17 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 14:58:17 -0500 Subject: [Zope] Variable name use in with statement Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B6@innt-73.ata.com> Scott Butchill wonders if: "there is a simpler way to do this." Not much simpler, but how about: From dieter@handshake.de Fri Oct 13 20:41:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 21:41:22 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14821.36358.972286.290879@lindm.dm> Message-ID: <14823.24484.984596.626290@lindm.dm> Seb Bacon writes: > OK, I think we're talking about the same thing now...but could you give me > an example of any object that would need to be traversable by Anonymous? > index_html, for example, doesn't need to be traversable (I still prefer > 'listable'). Viewable TTW, yes, but that's all. I do not agree with you: I should be able to list what I am able to view (in order to learn what I can view). I think, more than 30 per cent of my objects are like "index_html". They are designed to be viewed by Anonymous. The others are not destined to be viewed but to be used as components in viewed objects (like "standard_html_*"). The current Zope security requires that Anonymous has view permissions for them, too. But this allows Anonymous to view them in isolation which almost surely will give strange results (exceptions, empty pages, etc.). My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. If we succeed, then Anonymous can do nothing at all with them and it is no longer necessary to list them (for him). Thus, a solution for this problem may also be a solution for the other problem. However, a "listable" permission would not solve the distinction between directly viewable via the web and only indirectly viewable. Dieter From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 21:15:36 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 15:15:36 -0500 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B7@innt-73.ata.com> Daniel asked: "Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage?" The folks I know that have asked for that feature have stated their concerns as being: Keeping everything in a single large file is risky, since if that file becomes corrupted, the entire Web Site will be down until recovery is complete. The other side of that one goes something like, "As if we've never seen systems down for RDBMS recovery". Keeping data in a form that's more accessible by external systems is an advantage. And the comeback for that is, "This stuff is not tabular, it's Web Content, and Code". It's not like you can run queries against it, and print reports. Using an RDBMS that has online backup, and quick recovery features is cheap insurance. Cheap is relative. if you happen to have an expensive RDBMS, maybe you can call using it for one more applicaiotn "cheap". Making a copy of data.fs is pretty easy, and recovery is completed by copying over a damaged file. Not exactly rocket science. Also, Tranalyzer makes it pretty painless to recover up to the last good update, which is usually more than you can get from a backup! As you can see, I don't "get" the arguments, but that's what people say, and if they happen to be the people who can veto Zope, you try to find a way to meet their requirements. Later, Jerry S. From asc@vineyard.net Fri Oct 13 21:23:05 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 13 Oct 2000 16:23:05 -0400 (EDT) Subject: [Zope] proxied proxies with Zope & Apache Message-ID: Hi, I have Zope set up running with Apache/SSL using mod_proxy and the SiteRoot product. Everything works fine. The thing is, if I understand stuff correctly, all the requests to https://hostname.com get handed off to Zope. I would like to be able use the same hostname for plain old Apache-isms (cgi php etc) because the users of the site shouldn't have to rememeber YA-hostname. I would like to be able to do the following : https://hostname/foo-->https://zope.hostname/foo -->http://hostname:8080/foo https://hostname/bar-->/htdocs/bar a) hostname:443 ProxyPass /foo https://zope.hostname/foo b) zope.hostname:443 ProxyPass / http:hostname:8080/ (where the SiteRoot in the Zope tree points to https://zope.hostname) When I try to do this, regardless of whether I use mod_proxy or mod_rewrite, Apache returns a 403 error : "You don't have permission to access /documents on this server." Should the Zope SiteRoot point to https://hostname instead of https://zope.hostname? I know that I could set up multiple ProxyPass statements (and corresponding SiteRoot objects) in the Apache conf file, but I would really prefer to set up a standalone Zope https setup (mostly for administrative purposes) and then proxy those aspects of Zope that are pubic automagically to the default Apache setup. I am dreaming? The rewrite/proxy stuff is still like voodoo for me most days so any advice or suggestions would be welcome. Thanks, From sburch@ordway.org Fri Oct 13 21:50:00 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 15:50:00 -0500 Subject: [Zope] RE: Variable name use in with statement Message-ID: Ok, this worked : Thanks for the direction, Jerry! sbb > -----Original Message----- > From: Spicklemire, Jerry [mailto:Jerry.Spicklemire@IFLYATA.COM] > Sent: Friday, October 13, 2000 2:58 PM > To: 'sburch@ordway.org' > Cc: 'zope@zope.org' > Subject: Variable name use in with statement > > > Scott Butchill wonders if: > > "there is a simpler way to do this." > > Not much simpler, but how about: > > > > > > > > > > > > > > > > From peter@grenna.net Fri Oct 13 22:29:45 2000 From: peter@grenna.net (Peter Bengtsson) Date: Fri, 13 Oct 2000 22:29:45 +0100 Subject: [Zope] Any examples of use of manage_addFile()? References: <200010131729.MAA05467@mail.hal-pc.org> Message-ID: <001f01c0355c$b61e3430$01d4a8c0@peppe> Here you go. This uploads a file in the current working directory. thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you have to put '' double-apostrofies for the ID then. You try. ----- Original Message ----- From: To: Sent: Friday, October 13, 2000 6:29 PM Subject: [Zope] Any examples of use of manage_addFile()? > I want to create a user-interface so that users can upload files to my Zope > site. I have done this with DTMLDocuments, however I don't quite understand how > to get the file itself into the Zope site via ... > > self.manage_addProduct['OFSP'].manage_addFile() > > ..that is in Python. > > I looked through the HOWTO's but didn't find anything. Does someone have an > example of a Form/DTMLMethod/Python script that does this sort of thing? > > Thanks in advance, > > Ron > ./. > > > > _______________________________________________ > 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 ) > From phil.harris@zope.co.uk Thu Oct 12 22:55:38 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 22:55:38 +0100 Subject: [Zope] Thanks for the comments References: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> <39E6B903.7DA9B83D@inghist.nl> Message-ID: <00d001c03497$29fdaa50$84f331d4@harrisf4scs8le> Rik, I've upped both the Zope_book.lit and the Zope quick Reference. The ZQR is not as readable as the zBook due to the formatting. I'll get the XML and reformat it to look a bit better. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Rik Hoekstra" To: "Phil Harris" Sent: Friday, October 13, 2000 8:25 AM Subject: Re: [Zope] Thanks for the comments > > > Phil Harris wrote: > > > > I'll stick onto my Zope members page > > > > http://zope.org/Members/philh > > > except that the http://www.zope.org/Members/philh/zope_book.lit is dead > ;-) > > Rik From michaelangelo@intelligenesis.net Fri Oct 13 22:38:51 2000 From: michaelangelo@intelligenesis.net (michael angelo ruberto) Date: Fri, 13 Oct 2000 17:38:51 -0400 Subject: [Zope] date comparison In-Reply-To: <39E4B716.726347FF@earthlink.net> Message-ID: hi, i had tried something similar already without success. here is the error your script caused: DOH! Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: unsubscriptable object for some reason Zope just doesn't want to compare ZopeTime with bobobase_modification_time. i started reading the readme i found for the python DateTime method but it hasn't shed any light on the situation yet. i will try doing it with javascript. i can write the modification dates of the objects into arrays and do the comparisons using a scripting language that works. thanks -- -----Original Message----- From: ender@earthlink.net [mailto:ender@earthlink.net]On Behalf Of Kapil Thangavelu Sent: Wednesday, October 11, 2000 2:53 PM To: michael angelo ruberto Cc: zope@zope.org Subject: Re: [Zope] date comparison michael angelo ruberto wrote: > > i want to create an index page that displays whether or not a page has been > updated in the past 7 days or the past 20 days. however, i can't figure out > how to get the bobobase_modification_date to compare with ZopeTime. can > someone give me a clue before i rush blindly down Zope's undocumented dark > alleys. > > mike untested
  • New
  • Somewhat New
  • Old
kapil _______________________________________________ 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 ) From dieter@handshake.de Fri Oct 13 21:58:34 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:58:34 +0200 (CEST) Subject: [Zope] and question In-Reply-To: <17863365@toto.iv> Message-ID: <14823.30276.535159.677990@lindm.dm> complaw@hal-pc.org writes: > ... get today's date into a dtml-var ... Look at the "DateTime" documentation, if this does not give you the needed date format. Dieter From dieter@handshake.de Fri Oct 13 21:52:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:52:54 +0200 (CEST) Subject: [Zope] Tiny tables In-Reply-To: <13855503@toto.iv> Message-ID: <14823.30085.867024.89836@lindm.dm> Graham Chiu writes: > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. Probably, This is a ZPublisher feature. It interpretes ":" suffixes of form variable and parameter names to call for a type conversion of the value. As far as I know, there is not escape possibility. Can you change the ':' into a different character? Dieter From dieter@handshake.de Fri Oct 13 21:20:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:20:54 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: References: Message-ID: <14823.28044.869154.167828@lindm.dm> Hung Jung Lu writes: > I know that, the stupid log file thingy. But you'll have to write an > independent thread to display the log file (or peek the file manually each > time), or implement some CString stuff to capture the file output (if that > is possible). As I understand it, the logging module can be customized to stuck its log into a variable in Zope itself, viewable through the web. You may search the list archive to find the corresponding post. Maybe, you find it, too, via zope.org. > It'll be more fun if all this is already done, and the user can just tap > into the monitor console screen (even remotely). > > A good monitor should actually display hit information, memory usage, etc, > and preferably with charts, all in real time. Too much to ask? I don't think > so. :) Of cause, you can ask for it. However, someone must implement it. Dieter From dieter@handshake.de Fri Oct 13 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] Variable name use in with statement In-Reply-To: <75381091@toto.iv> Message-ID: <14823.31346.354571.370582@lindm.dm> Burchill, Scott B. writes: > .... > I am finding myself doing the following and am sure > there is a simpler way to do this. > > Any help would be greatly appreciated! Thanks. > > > > > > > > > > > > > > > > If you are sure, that only these values can occur in "selection" (as I expect, as otherwise, it would not be a selection), then you can use: Dieter From dieter@handshake.de Fri Oct 13 22:10:55 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:10:55 +0200 (CEST) Subject: [Zope] Authentication headers & firewall port redirection In-Reply-To: <113940424@toto.iv> Message-ID: <14823.31019.45266.485541@lindm.dm> Roland C. Reumerman writes: > Now it seems that somehow the combination of Zope-generated authenticated > headers and the firewall redirection rule do not match: does the header > include URL information? That would imply it tries to access > www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly > www.datadistilleries.com:80/ddsn (firewall listen port). I know, that basic authentication is sent by the browser on a domain basis. I do not know, where the domain information originates, but it may well be Zope. You may want to use Shanes excellent "tcpwatch" utility to analyse what really happens between the server and your browser. Alternatively, you may have a look at SiteAccess. This Zope product helps you handle these forms of redirection. Even, if your authentication problem could be solved without it, you will soon hit other problems that require SiteAccess. Thus, go directly for it. Dieter From dieter@handshake.de Fri Oct 13 22:05:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:05:15 +0200 (CEST) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... In-Reply-To: <89660556@toto.iv> Message-ID: <14823.30599.585158.779477@lindm.dm> J Kinsley writes: > /FrameSet - DTML Method > ..... > XXX - How can I negate this? IE. > > > > > > XXX - I do not think calling REQUEST.set() is the best way to > accomplish this. What is a better way? It is ineffective, as you do not use "topframe" later (in *this* request). > > > > > > > > ..... > XXX - I can not get this to work at all. Topframe should be set or > true if the visitor arrived in the /Files Folder from the top level > frameset and /Files/ViewFrame will be loaded into the view_frame > target. The frameset and its frames parts are fetched in *different* requests. The "REQUEST.set" only affects the REQUEST object for the frameset. The REQUEST objects for the frame components are not affected. You have two options: * a session product (there are some around on zope.org) it allows you to save information across web requests * passing the additional information through a query string key=value pair (do not forget to "url_quote_plus") > XXX - If this method is called from the top level FrameSet method, > how to I access dir and file from the original request? see above. Dieter From knight@righteous.net Fri Oct 13 23:26:35 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:26:35 -0700 (PDT) Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> Message-ID: Also, consider adding an accessrule. This won't stop them from using __no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it 'appear' there is nothing more than the current level. knight knight@phunc.com On Fri, 13 Oct 2000, Tim Cook wrote: > Stephan Goeldi wrote: > > > > OK let me state that I don't think so (subject line). I had to choose this > > subject, because it seems to me, that nobody was interested in my previous > > attempts to get information about my problem. So here is my newbie (?) > > question again: > > > > I have the folders: > > > > /www/folder1 > > /www/folder2 > > > > Apache redirects domain1 to folder1 and domain2 to folder2. > > The manager of folder1 is able to browse to /www and see what folders exist > > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > > He even can look into the folder /www/folder2 (but not into the objects). > > > > Is it possible to disable the access for the folder1-manager above folder1? > > It doesn't seem to me. If it really isn't possible, there is no security at > > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > > > I even created a local role in /www/folder1 too. Even with the local role I > > can browse /www and /www/folder2! > > > > Any suggestions? > > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder > > HTH, > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management > Project Coordinator http://www.freepm.org > OSHCA Founding Supporter http://www.oshca.org > > _______________________________________________ > 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 ) > > From knight@righteous.net Fri Oct 13 23:28:53 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:28:53 -0700 (PDT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: Have you run ldconfig after editting the /etc/ld/so/conf file? Run ldconfig -v | grep mysqlclient and see if the library appears. If so, everything is all set. Also try an ls -l /usr/local/mysql/lib/libmysql*. Knight knight@phunc.com On Fri, 13 Oct 2000, Dale Lance wrote: > Hi, > I am trying to build ZMySQLDA 1.20 > mysql has been built successfully on RedHat 7.0 and resides in > /usr/local/mysql > I have followed the instructions for editing /etc/ld/so/conf adding > /usr/local/mysql/lib/mysql > /usr/local/mysql/lib > /usr/local/mysql > to it. (just tomake sure) > yet I still get the following error > anyone know where mysqlclient is supposed to be? > > Dale > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient > > collect2: ld returned 1 exit status > > make: *** [_mysqlmodule.so] Error 1 > > Traceback (innermost last): > > File "build.py", line 14, in ? > > import MySQLdb > > File "MySQLdb.py", line 19, in ? > > from _mysql import * > > ImportError: No module named _mysql > > > > > > > > _______________________________________________ > 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 ) > > From 444@hiretechs.com Sat Oct 14 00:16:24 2000 From: 444@hiretechs.com (Jason Spisak) Date: Fri, 13 Oct 2000 16:16:24 -0700 Subject: [Zope] Creating Recursive Folders Message-ID: <39E797C8.D61D4173@hiretechs.com> Zopists, I am trying to use DTML to create folders within folders for me 3 levels deep. Two levels works, but 3 won't. For example: This works: But this: Throws an unathorized no matter who I am. How can I get 3 levels of recursion. I tried using 'let' to stand for the object, with no luck. BTW, I accidently sent the last post to dev, forgive me. All my best, Jason Spisak 444@hiretechs.com From andres@corrada.com Sat Oct 14 00:40:08 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:40:08 -0400 Subject: [Zope] Tiny tables In-Reply-To: ; from Graham Chiu on Fri, Oct 13, 2000 at 08:08:34AM +1300 References: Message-ID: <20001013194008.A15613@corrada.com> The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such. One quick way to get around this is to quote your field value - "criteria:tokens" You may have to deal with the quotes later on, although I think they get stripped after the value survives the tokenize.py module. On Fri, Oct 13, 2000 at 08:08:34AM +1300, Graham Chiu wrote: > > I would like to run some regular reports based upon > sqlmethods. The input to these are a mixture of normal > values, and some tokenised values. > > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. > > Any suggestions as to how to store the input as tokens for > my reports? > > -- > Graham Chiu > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From andres@corrada.com Sat Oct 14 00:43:35 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:43:35 -0400 Subject: [Zope] Converting PHP3 -> Zope In-Reply-To: ; from Mario Olimpio de Menezes on Fri, Oct 13, 2000 at 09:47:17AM -0200 References: Message-ID: <20001013194335.B15613@corrada.com> Take a look at my HOWTO: www.zope.org/Members/Mamey/PHP On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote: > > Hi, > > I'm planning to convert (migrate) a entire site from php3 to > zope and i'm looking for suggestions, hints, etc on this. > It's a GPL management school system done in php3+postgresql, and > any user must be authenticated against a database and his privileges > are those from the postgresql. The system is in portuguese > (www.univates.br/sagu) if someone is interested. > Does somebody have experience in such kind of migration > (conversion) and can give me some "in advance" advice to avoid this or > that or don't do this, etc, etc? > Any comments? > > []s, > Mario O.de Menezes "Many are the plans in a man's heart, but > IPEN-CNEN/SP is the Lord's purpose that prevails" > http://curiango.ipen.br/~mario Prov. 19.21 > http://www.revistalinux.com.br > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From peter@grenna.net Sat Oct 14 02:55:10 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 14 Oct 2000 02:55:10 +0100 Subject: [Zope] Python regular expression help Message-ID: <000d01c03581$c98c43c0$01d4a8c0@peppe> [ this might be more of a Python question, but it's got a lot to do with the web and is to be used in Zope ] I want to replace all occurences of email address's and URLs in a textstring, to %s and %s. Must admit that I am not an regex expert, and I wasn't able to find a "precompiled" regex for neither email nor URL. Or is there anything available from the zope/python stack? From matt@virtualspectator.com Sat Oct 14 04:59:07 2000 From: matt@virtualspectator.com (matt) Date: Sat, 14 Oct 2000 16:59:07 +1300 Subject: [Zope] backing up In-Reply-To: <000d01c03581$c98c43c0$01d4a8c0@peppe> References: <000d01c03581$c98c43c0$01d4a8c0@peppe> Message-ID: <00101417011207.01314@localhost.localdomain> Is there a nice way to backup dtml documents and methods from a certain point in the object tree onwards without having to save all the other objects too? regards Matt From matt.bion@eudoramail.com Sat Oct 14 08:00:43 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 14 Oct 2000 20:00:43 +1300 Subject: [Zope] object properties Message-ID: <39E8049B.512E5DCF@eudoramail.com> Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion From dieter@handshake.de Sat Oct 14 11:18:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 12:18:05 +0200 (CEST) Subject: [Zope] ZCatalog question. boolean and wildcards. In-Reply-To: <2337571@toto.iv> Message-ID: <14824.11950.36146.96100@lindm.dm> Hannes Grund writes: > When mixing boolean operators and wildcards '*' in queries within a Textindex > the 'AND' operator is replaced by 'OR'. > Also, the possibility of constructing nested terms using brackets seems > to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). > The setting is straightforward, several indexes (text-index, keyword-indexes) > are used indexing a about 5000 Zclasses. > Are there any patches to apply or what else can i do ? Sorry, the patch I posted yesterday was not complete. There have been too more problems: * if the wildcard expansion could not find matching words, my patch created an empty subquery. Such queries, unfortunately, can not be handled by "UnTextIndex.evaluate". The new patch, instead creates a new search term, 'no_expansion_for_'. Hopefully, this term is not indexed and thus gives the same results as the empty subquery. Of cause, this is a hack. The ZCatalog maintainer should find a better solution. * The ZCatalog, more precisely, "UnTextIndex.__getitem__" still raises an "IndexError" exception, when one searches for a term that is not indexed. The result is "no data matches your query", even for an "or" query. I had already put a patch for this error in the collector for Zope 2.2.1, but apparently, DC decided not to look at it. Please discard my patch from yesterday. You may give the new patch (appended) a try. Dieter --- lib/python/SearchIndex/:GlobbingLexicon.py Mon Aug 28 19:30:06 2000 +++ lib/python/SearchIndex/GlobbingLexicon.py Sat Oct 14 11:54:24 2000 @@ -230,10 +230,22 @@ if ( (self.multi_wc in w) or (self.single_wc in w) ): wids = self.get(w) - for wid in wids: - if words: - words.append(Or) - words.append(self._inverseLex[wid]) + #for wid in wids: + # if words: + # words.append(Or) + # words.append(self._inverseLex[wid]) + if wids: + words.append(map(self._inverseLex.get,wids)) + else: + words.append('no_expansion_for_' + w) + # We do this here, as "UnTextIndex.evaluate" + # can not handle empty subqueries + # We use as expansion some expression that + # is likely not in the catalog but + # gives some indication to the problem + # in case "ResultList" does something + # with its "src" argument. + # This is a hack, though! else: words.append(w) --- lib/python/SearchIndex/:UnTextIndex.py Fri Oct 13 23:29:00 2000 +++ lib/python/SearchIndex/UnTextIndex.py Sat Oct 14 11:57:38 2000 @@ -347,8 +347,10 @@ if len(src) == 1: src=src[0] if src[:1]=='"' and src[-1:]=='"': return self[src] - r = self._index.get(self.getLexicon(self._lexicon).get(src)[0], - None) + codes= self.getLexicon(self._lexicon).get(src) + if codes: + r = self._index.get(codes[0], None) + else: r= None # maybe do something, if len(codes) > 1 if r is None: r = {} return ResultList(r, (src,), self) @@ -490,11 +492,11 @@ except IndexError: raise QueryError, "Malformed query" t=type(left) - if t is ListType: left = evaluate(left, self) + if t is ListType: left = self.evaluate(left) elif t is StringType: left=self[left] t=type(right) - if t is ListType: right = evaluate(right, self) + if t is ListType: right = self.evaluate(right) elif t is StringType: right=self[right] return (left, right) From matt.bion@eudoramail.com Sat Oct 14 12:53:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 00:53:40 +1300 Subject: [Zope] dtml-tree does weird things References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E84944.5A667EA5@eudoramail.com> Hi, I have the following in a dtmlDocument. the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand the tree node, I get a repeat of the original list of nodes, as if it is listing itself recursively, but not decending down the object hierachy. An when I roll over a node '+' of one of the documents is : http://localhost:8080/admin_test/some_tree_examples?tree-e=eJyLVneEAteqbFt1HQUEvzLZVj0WAIkQCHY#AAAAAAAAEyc= if I expand the tree and roll over the repeat entry I get the same link. What's happening? I am running 2.2.2 stable. By they way : the simple example in the user man doesn't return anyhthing on a folder that itself contains folders and dtml documents. I.e. any help would be greatly appretiated, Matt Bion From kthangavelu@earthlink.net Sat Oct 14 13:47:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 05:47:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E855E1.7C72FBCE@earthlink.net> Matt wrote: > > Can someone give me an example, either in dtml or external methods of > accessing or listing the properties of the current object I am calling a > method on. > > Or point me to a source > > Matt Bion you can ask an object what properties it has and retrieve them through dtml, like or if you want a reference, instead of a string if you want to examine the propertys of an object you can go iterate through its propertysheets (works for a zclass, the rest i'm not sure). You can reference the Zope Quick Reference for more info. Success Kapil From cvogel@fileheap.com Sat Oct 14 07:31:12 2000 From: cvogel@fileheap.com (Chad Vogel) Date: 14 Oct 00 01:31:12 -0500 Subject: [Zope] We would like to include your software Message-ID: <200010141825.NAA11794@s002> This is a multi-part message in MIME format. --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello I am Chad Vogel the Webmaster at FileHeap! I am contacting you because we would like to include your software in our website. FileHeap! is a software index that is targeted to residential and small business users. I would greatly appreciate your help. To add your software to our index go to http://www.fileheap.com and then "submit a file". Thank you, LyonL Inc. Chad Vogel, Webmaster cvogel@fileheap.com --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: application/octet-stream; name="Chad Vogel.msg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; inline 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAA AQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// ///////////////////////////////////////////9////BAAAAP7///8FAAAA BgAAAAgAAAAHAAAACQAAAAsAAAAKAAAADAAAAA4AAAANAAAADwAAABEAAAAQAAAA EgAAABQAAAATAAAAFQAAABcAAAAWAAAAGAAAABoAAAAZAAAAGwAAAB0AAAAcAAAA HgAAACAAAAAfAAAAIQAAACMAAAAiAAAAJAAAACUAAAD+////JgAAACcAAAD+//// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// /////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////82AAAA Cw0CAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAJB2KIyiNcABAwAAAAAeAAAAAAAA XwBfAG4AYQBtAGUAaQBkAF8AdgBlAHIAcwBpAG8AbgAxAC4AMAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACgAAQH//////////wkAAAAAAAAAAAAAAAAAAAAAAAAA AAAAALCtF4yiNcABkEEcjKI1wAEAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwADAAMAAyADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAwAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADMA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBAgAAAAQAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAADABAAAAAAAA /v///wIAAAADAAAABAAAAAUAAAD+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7///8tAAAA/v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v///1AAAAD+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v///18AAABgAAAA YQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAA bQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAD+//// //////////////////////////////////////////8IIAYAAAAAAMAAAAAAAABG BCAGAAAAAADAAAAAAAAARoEyhMGFBdARspAAqgA89nYAAAAAAAAAAAAAAAAAAAAA A4UAAAYAAAAQhQAABgABAFKFAAAGAAIAVIUAAAYAAwCChQAABgAEAEaAAAAIAAUA SYAAAAgABgBIgAAACAAHAEeAAAAIAAgARYAAAAgACQArgAAACAAKAGGAAAAIAAsA goAAAAgADACDgAAACAANAISAAAAIAA4AhYAAAAgADwCSgAAACAAQAJOAAAAIABEA lIAAAAgAEgApgAAACAATACiAAAAIABQABoAAAAgAFQAFgAAACAAWACKAAAAIABcA G4AAAAgAGAAOhQAABgAZACWAAAAIABoAEYUAAAYAGwAYhQAABgAcACaAAAAIAB0A AYAAAAoAHgAGhQAABgAfAAGFAAAGACAAhoUAAAYAIQAngAAACAAiAA6AAAAIACMA EIAAAAgAJAAHgAAACAAlAAAAAAAAAAAAAAAAAAAAAACSgAAACAAQAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA EIUAAAYAAQBShQAABgACAJOAAAAIABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADQA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAA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AAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMABFADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABEAAAAQAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAwAEYA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIADwAAABMAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEAMAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgH///////////////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAATAAAAIAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMQAxADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACARIAAAAVAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABQAAAAgAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAxADIA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEANAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgAUAAAAFgAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAWAAAACAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXw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4ADYAGAAAAFAAAAAMAAAAeAA6ABgAAABQAAAADAAAA AgEPgAYAAABFAAAAAwDRAB4AEIAGAAAAAQAAAAMAAAAeABGABgAAAAEAAAADAAAA HgASgAYAAAABAAAAAwAAAAMAE4AGAAAAAQAAAAAAAAADEBSABgAAAAQAAAADANEA AwAVgAYAAAAXgAAAAAAAAB4AFoAGAAAADAAAAAMAAAADABeABgAAAAIAAAAAAAAA HgAYgAYAAAAtAAAAAwAAAAsAGYAGAAAAAAAAAAAAAAALABqABgAAAAAAAAAAAAAA AwAbgAYAAAAAAAAAAAAAAAMAHIAGAAAAAAAAAAAAAAADEB2ABgAAABQAAAADANEA HgAegAYAAAAnAAAAAwAAAAsAH4AGAAAAAAAAAAAAAAADACCABgAAAAAAAAAAAAAA HgAhgAYAAAABAAAAAwAAAAMQIoAGAAAADAAAAAMA0QAeACOABgAAAAEAAAADAAAA HgAkgAYAAAABAAAAAwAAAAMQJYAGAAAAGAAAAAMA0QAeAD0ABgAAAAIAAAADAAAA HgAdDgIAAAALAAAAAwADRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA== --__966EC2E011D4A19BD000A787A9505DB7__-- From leedm@state.mi.us Sat Oct 14 20:11:44 2000 From: leedm@state.mi.us (Darin Lee) Date: Sat, 14 Oct 2000 15:11:44 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sat Oct 14 21:43:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 09:43:40 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8C57C.6C3277E9@eudoramail.com> Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the which followed the . If I used instead, then I always got back only two strings, "default" and "webdav". So I guess it is picking something else up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to have what I thought would be the simple ability to loop through properties of an object without knowing what they were before. thanks Matt Bion Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From dieter@handshake.de Sat Oct 14 22:01:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:01:52 +0200 (CEST) Subject: [Zope] date comparison In-Reply-To: <120753917@toto.iv> Message-ID: <14824.51495.681497.642199@lindm.dm> michael angelo ruberto writes: > i had tried something similar already without success. here is the error > your script caused: > ... > Error Type: TypeError > Error Value: unsubscriptable object > > for some reason Zope just doesn't want to compare ZopeTime with > bobobase_modification_time. "bobobase_modification_time" is a method (at least for folder), not a value. Use "_['bobobase_modification_time']" instead. Dieter From dieter@handshake.de Sat Oct 14 21:50:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 22:50:33 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <15263697@toto.iv> Message-ID: <14824.50658.712135.693406@lindm.dm> Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From dieter@handshake.de Sat Oct 14 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] dtml-tree does weird things In-Reply-To: <37629070@toto.iv> Message-ID: <14824.52117.989069.735915@lindm.dm> Matt writes: > > > > > the folder folder_of_things contains numerous things, including some > documents and folders. The problem seems to be that each time I expand the > tree node, I get a repeat of the original list of nodes, as if it is > listing itself recursively, but not decending down the object hierachy. You have read the description for "branches_expr" carefully? It is the expression used by Zope to find the branches of the current object. In your case, the expression is independent from the current object. Therefore, it returns always the same branches (as you observe). Try: .... Dieter From matt.bion@eudoramail.com Sat Oct 14 23:56:14 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 11:56:14 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8E48E.17172D7B@eudoramail.com> I tried a few things and found the following useful : Property ids of are Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From erik@pacific-shores.com Sat Oct 14 23:59:29 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 15:59:29 -0700 Subject: [Zope] trouble compiling DCOracle Message-ID: I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am using the latest DCOracle 1.3.2 and python 1.5.2. I used the included Setup-8.1.5 file with the addition of one library to the *ORACLE_Includes* list: -I$(ORACLE_HOME)/rdbms/public The output from *make* had a number of errors, but compiled the shared objects: gcc -fPIC -I/oradisk01/app/oracle/product/8.1.6/rdbms/demo -I/oradisk01/app/oracle/product/8.1.6/rdbms/public -I/oradisk01/app/oracle/product/8.1.6/network/public -I/oradisk01/app/oracle/product/8.1.6/plsql/public -DDCORACLE8 -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./oci_.c In file included from ./oci_.c:566: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static ./oci_.c: In function `_wrap_odescr': ./oci_.c:2599: warning: assignment from incompatible pointer type gcc -shared oci_.o -L/oradisk01/app/oracle/product/8.1.6/lib/ -L/oradisk01/app/oracle/product/8.1.6/rdbms/lib /oradisk01/app/oracle/product/8.1.6/rdbms/lib/defopt.o -o oci_.so gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./Buffer.c In file included from ./Buffer.c:60: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static gcc -shared Buffer.o -o Buffer.so Testing the created shared object files went something like this: [sweetrig@shamalama src]# python DCOracle_test.py Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: libclntsh.so.8.0: cannot open shared object file: No such file or directory I have tried a number of setup files that were on this list for Oracle 8.1.6 and all have produced errors. Any help appreciated. -- Erik Myllymaki erik@pacific-shores.com From cba@mediaone.net Sun Oct 15 01:38:01 2000 From: cba@mediaone.net (Craig Allen) Date: Sat, 14 Oct 2000 20:38:01 -0400 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8E48E.17172D7B@eudoramail.com> Message-ID: <39E8FC69.AFEEDA2D@mediaone.net> Matt wrote: > > I tried a few things and found the following useful : > > Property ids of are > And of you want to actually see property values, you could try which generates id/property tuples. Craig -- Craig Allen - Managing Partner - Mutual Alchemy Web Architecture - http://alchemy.nu From kthangavelu@earthlink.net Sat Oct 14 21:50:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 13:50:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8C57C.6C3277E9@eudoramail.com> Message-ID: <39E8C715.4BCEC766@earthlink.net> Matt wrote: > > Thanks for your response. I tried your methods on a normal folder that > contains some other folders, dtmldocuments, and images, but it failed on the > which followed the "propertysheets.items()">. i made a simple error. this code is tested and works properly (i had set PropList to a string instead of a list) This will show all the properties of an object (zclass, folders, documents, etc). > If I used instead, then I always got back only > two strings, "default" and "webdav". these are the names of the propertysheets of the folder. > So I guess it is picking something else > up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to > have what I thought would be the simple ability to loop through properties of > an object without knowing what they were before. you mentioned above that you tried this in a folder with a couple of other folders and images in it, if what you're trying to do is iterate over them than you're not looking for object properties but subobjects (attrs) which can be iterated through using also check out objectItems, objectValues. or using the ZDOM methods. regardless the http://www.zope.org/Members/ZQR is always your friend. Cheers Kapil From ergul@ccs.neu.edu Sun Oct 15 03:30:16 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Sat, 14 Oct 2000 22:30:16 -0400 (EDT) Subject: [Zope] trouble compiling DCOracle Message-ID: > The output from *make* had a number of errors, but compiled the shared > objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath and move on. > Testing the created shared object files went something like this: > > [sweetrig@shamalama src]# python DCOracle_test.py > Traceback (innermost last): > File "DCOracle_test.py", line 1, in ? > import Buffer, oci_, sys > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > file or directory Make sure your ORACLE_HOME environment var is properly set before running the test script. You'll probably want to put it in your zope start script too. Ayhan Ergul From knight@righteous.net Sun Oct 15 05:14:40 2000 From: knight@righteous.net (knight) Date: Sat, 14 Oct 2000 21:14:40 -0700 (PDT) Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) In-Reply-To: Message-ID: May I ask what the relevance this post was to the list? Regards, Knight knight@phunc.com On Sat, 14 Oct 2000, Darin Lee wrote: > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sun Oct 15 05:57:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 17:57:46 +1300 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th) References: Message-ID: <39E93949.94788D11@eudoramail.com> Just be lucky he only gets the digest ... it looks like an automated reply to me. While I am here, thanks for the replies to my questions, they were very helpful. knight wrote: > May I ask what the relevance this post was to the list? > > Regards, > > Knight > knight@phunc.com > > On Sat, 14 Oct 2000, Darin Lee wrote: > > > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > _______________________________________________ > 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 ) From erik@pacific-shores.com Sun Oct 15 06:29:53 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 22:29:53 -0700 Subject: [Zope] re: trouble compiling DCOracle Message-ID: --- In zope@egroups.com, Ayhan Ergul wrote: > > The output from *make* had a number of errors, but compiled the shared > > objects: > > Warnings from C compilers are always part of the fun! They say something > can potentially be/go wrong, but not necessarily so. Take a deep breath > and move on. > > > Testing the created shared object files went something like this: > > > > [sweetrig@shamalama src]# python DCOracle_test.py > > Traceback (innermost last): > > File "DCOracle_test.py", line 1, in ? > > import Buffer, oci_, sys > > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > > file or directory > > > Make sure your ORACLE_HOME environment var is properly set before running > the test script. You'll probably want to put it in your zope start script > too. > > > Ayhan Ergul So I tried a different Setup script that I got from a post on the zopesite: ######## START SETUP Script ########## *shared* # Setup file for Oracle 8.1.6 (Tested for Linux on Intel). # # Unfortunately, the libraries needed to link Oracle change from revision # to revision. # # Oracle provides a make file for building "demo" programs in # $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. I have been unable to # use this make file to build Python extensions. Adapting it is # not adequate, because it may change for new Oracle revs. # My approach is to use demo_rdbms.mk to build one of the # demo programs, look at the libraries linked, and start from there. :-( # ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public ORACLE_L=-lJNLSLib3 -lgslsg8 -lnsslb8 -lserver8 -lJNLSTool -lgslssb8 -lntcp8 \ -lsgsl_s8 -lagent8 -lgslssf8 -lntcps8 -lskgxp8 -lgx8 -lntns8 \ -lskgxpd -lnus8 -lslax8 -lclient8 -lldapclnt8 -lnzjs8 \ -lslpm -lclntsh -lmm -locijdbc8 -lsql8 -lcommon8 -ln8 -locijdbc8_g \ -lsqlplus -lcore8 -lnbeq8 -lordim8 -lsvrmgrl -lnent8 -lordim8 \ -ltrace8 -lctx8 -lnhost8 -lordsdo8 -ltracefe8 -lctxc8 -lnjni8 -lordts8 \ -ltracept8 -lctxs8 -lordvirt8 -ldbicx8 -lnl8 -lowm2 \ -lvppdc -lgeneric8 -lnldap8 -lplc8 -lvsn8 -lgslavl8 -lnls8 -lplp8 \ -lwtc8 -lgslber_s8 -lnoname8 -lpls8 -lzx8 -lgsldb8 -lnro8 -lpsa8 -lgslr8 \ -lnsgr8 -lqsmashr ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L) $(ORACLE_L) oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8 Buffer Buffer.c ######## END of SETUP Script ########## This time the error is a little different: Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: ./oci_.so: undefined symbol: kpumfs I tried the trick in the README - got a list of all symbols in the Oracle libs and it turns out kpumfs is in four, all of which are included in the setup file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 00000140 libclntsh.so: kpumfs T 0018eb10 libclntsh.so.8.0: kpumfs T 0018eb10 libvppdc.so: kpumfs T 000e2a40 I'm at a bit of a loose end here... Thanks again, Erik Myllymaki From Alexander Chelnokov Sun Oct 15 19:20:45 2000 From: Alexander Chelnokov (Alexander Chelnokov) Date: Mon, 16 Oct 2000 00:20:45 +0600 Subject: [Zope] List from another list in DTML? In-Reply-To: <0720.001015@inbox.ru> References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> Message-ID: <13413660806.20001016002045@orto.unets.ru> Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which contains only data fields? Is it possible with DTML only? -- Best regards, Alexander N. Chelnokov Ural Scientific Institute of Traumatology and Orthopaedics 7, Bankovsky str. Ekaterinburg 620014 Russia ICQ: 25640913 From leedm@state.mi.us Sun Oct 15 20:09:51 2000 From: leedm@state.mi.us (Darin Lee) Date: Sun, 15 Oct 2000 15:09:51 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1017 - 17 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Noah@noah.org Sun Oct 15 20:23:06 2000 From: Noah@noah.org (Noah) Date: Sun, 15 Oct 2000 12:23:06 -0700 Subject: [Zope] ZClass derrived from Image does not call "view" from within Message-ID: <009401c036dd$58de4d50$e21ac73f@wingw> Hi, I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work similar to an Image, but the user can insert it directly in DTML using and it will get expanded into HTML (with formatting, tag, caption, etc.) This may be long and complicated, but I thought that #4 below was interesting because it demonstrates how to get at base class methods even if you have overridden them. OK, here's the situation: 1. I created a ZClass derived from Image. 2. I overloaded the index_html to add spit out some HTML instead of the image. 3. If I call an instance of the ZClass directly I get the expected results. The index_html is called and I get back some HTML. Here: http://63.199.26.229:8080/c/gato 4. To get to the image I created an External Method that calls the index_html method of the my base class (Image): # I create an External Method called IMG that calls this Python method: def super_index_html (self): for classy in self.__class__.__bases__: if classy.__name__ == 'Image': return classy.index_html (self, self.REQUEST,\ self.REQUEST.RESPONSE) Example: http://63.199.26.229:8080/c/gato/IMG So far, so good! Now all I want to do is insert my ZClass in some DTML. Here's what happens: 1. I try to insert in instance of my ZClass into a DTML Method using: 2. The Publisher does not call the view method (index_html) of the object! Instead it calls str() which is __str__ in Image and that calls Image.tag(). I can't overload __str__ because Zope does not allow a method to start with _ underscore. I ran this in the debugger, Publish.publish() (line 173) has this code: if result is not response: response.setBody(result) This is where the trouble begins. setBody() calls str() function on the object. How do I insert my ZClass into DTML now? Yours, Noah From matt.bion@eudoramail.com Mon Oct 16 01:18:47 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 13:18:47 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime Message-ID: <39EA4967.222C1D43@eudoramail.com> I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt "paris" is the ID of an image I uploaded into a node inherited when I action this dtml document, so there are no key errors or similar. The result in the email I get is : Feedback from : Matt Comments: Hello there, this is a sample email message for testing. Content-Type: multipart/mixed; boundary="127.0.0.1.500.953.971655250.628.16056" --127.0.0.1.500.953.971655250.628.16056 Content-Type: image/jpeg Content-Transfer-Encoding: 7bit paris --127.0.0.1.500.953.971655250.628.16056-- I understand that the dtml-mime tag is modifying the action of dtml-var that follows it, but what I want is the actual text coded binary to be dumped and not a source tag ... i.e. it's an email, not a webpage. I thought of embedding that in an external method that returns the text coded binary w.r.t the encoding type placed in the attributes, but was wondering if there was a method like this already available, and maybe not just image centric. Matt Bion From p@state-of-mind.de Mon Oct 16 01:59:43 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Mon, 16 Oct 2000 02:59:43 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: Hi, I've been through the Guides, How-Tos and also some of the list-archives. Though I am not a programmer I finally decided to ask that question to all of you... I want to give Users the possibility to add documents in a folder ;-). so far so good ... Then I want to control the IDs simply by assigning an ID to their Form. I found a few articles generating either randomIDs or calculating IDs from ZopeTime(). What is it that I want to do? I want to evaluate the highest ID (all are 'int') within the folder and assign the next highest. I'm sure this is easy to you... If there's a RTFM-document I'd be glad to read that. thanks, p@rick From jensebaer@hotmail.com Mon Oct 16 03:00:13 2000 From: jensebaer@hotmail.com (jensebaer) Date: Mon, 16 Oct 2000 04:00:13 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: Hi, it is not tested but may it works = newid"> Your new id is: may you have to use _.string.atoi(id) instead _.int(id) Viel Glück Jens ----- Original Message ----- From: "Patrick Koetter" To: Sent: Monday, October 16, 2000 2:59 AM Subject: [Zope] NEWBIE: assign next free ID automatically > Hi, > > I've been through the Guides, How-Tos and also some of the list-archives. > Though I am not a programmer I finally decided to ask that question to all > of you... > > I want to give Users the possibility to add documents in a folder > ;-). > so far so good ... Then I want to control the IDs simply by assigning an ID > to their Form. > I found a few articles generating either randomIDs or calculating IDs from > ZopeTime(). > > What is it that I want to do? > I want to evaluate the highest ID (all are 'int') within the folder and > assign the next highest. > I'm sure this is easy to you... > > If there's a RTFM-document I'd be glad to read that. > > thanks, > > p@rick > > > _______________________________________________ > 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 ) > > From kthangavelu@earthlink.net Mon Oct 16 02:35:05 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:35:05 -0700 Subject: [Zope] List from another list in DTML? References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> <13413660806.20001016002045@orto.unets.ru> Message-ID: <39EA5B49.11EBEEB6@earthlink.net> Alexander Chelnokov wrote: > > Hello All, > > A form contains data items ['firstname','secondname','dofb' etc] > and some "service" fields ['submit','sid','form','nform']. > With REQUEST.form.items() all these fields are included in a single > list. How can another list be created from the list which contains > only data fields? Is it possible with DTML only? form is an instance of the python cgi FieldStorage the docs included with your python distro will give you more info. try (untested) REQUEST.form.values() > -- > Best regards, > Alexander N. Chelnokov > Ural Scientific Institute of Traumatology and Orthopaedics > 7, Bankovsky str. Ekaterinburg 620014 Russia > ICQ: 25640913 > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Mon Oct 16 02:46:03 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:46:03 -0700 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: <39EA5DDB.7231C9A2@earthlink.net> ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a dtml-let doc_id=sequence-item to evaluate in pythonish "" dtml although the code below makes it obvious it should also be stated that ids are strings. one caveat, i wouldn't count on the id naming sequence to nesc reflect the order of the items, as an item maybe deleted etc and have new ones created which replace them. if you've not going to be deleting items, another possibility is another caveat, in a heavily hit site you're going to be generating id errors(both methods) because one thread will commit a new doc while the other tries a moment later to commit with the same id. hence the reason why i would just use a random int like kapil jensebaer wrote: > > Hi, > > it is not tested but may it works > > > = newid"> > > > > > Your new id is: > > may you have to use _.string.atoi(id) instead _.int(id) > > Viel Glück > > Jens > > ----- Original Message ----- > From: "Patrick Koetter" > To: > Sent: Monday, October 16, 2000 2:59 AM > Subject: [Zope] NEWBIE: assign next free ID automatically > > > Hi, > > > > I've been through the Guides, How-Tos and also some of the list-archives. > > Though I am not a programmer I finally decided to ask that question to all > > of you... > > > > I want to give Users the possibility to add documents in a folder > > ;-). > > so far so good ... Then I want to control the IDs simply by assigning an > ID > > to their Form. > > I found a few articles generating either randomIDs or calculating IDs from > > ZopeTime(). > > > > What is it that I want to do? > > I want to evaluate the highest ID (all are 'int') within the folder and > > assign the next highest. > > I'm sure this is easy to you... > > > > If there's a RTFM-document I'd be glad to read that. > > > > thanks, > > > > p@rick > > > > > > _______________________________________________ > > 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 ) From anthony@interlink.com.au Mon Oct 16 18:11:21 2000 From: anthony@interlink.com.au (Anthony Baxter) Date: Mon, 16 Oct 2000 17:11:21 +0000 Subject: [Zope] bunch patches for zopeshell uploaded to sourceforge... Message-ID: <200010161711.EAA02996@mbuna.arbhome.com.au> FWIW, I just posted a series of patches for ZopeShell, and a few other bits, that add: editing of PythonMethods and Z SQL Methods (also enables ZSQL through FTP) Add host:port to the prompt Add a 'login' command to switch to a different Zope Server Don't upload the file if the temp file's mtime hasn't changed. Prompt for username and password if not given. see the patch tracker at http://sourceforge.net/projects/zopeshell/ They're patches 101923 - 101927 in the patch tracker. I'll copy the relevant Zope patches into the Collector... Anthony From kthangavelu@earthlink.net Mon Oct 16 03:08:08 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:08:08 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA6308.46157D09@earthlink.net> Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. i don't have much experience with the mime-tags but, if you're problem seems to be that you want the binary data of the image. when the dtml tag renders its just dropping a string link to the Image. what you want here is (i think) the binary data that represents the image. hmmm... looking through the source of Image.py i don't see a web accessible manner to get this info:( another option is to set the mime on the email to text/html and send the image as a link. Kapil From kthangavelu@earthlink.net Mon Oct 16 03:09:31 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:09:31 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA635B.9807E529@earthlink.net> spoke to soon.. replace with Kapil Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. > > Matt Bion > > _______________________________________________ > 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 ) From matt.bion@eudoramail.com Mon Oct 16 09:05:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 21:05:46 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> <39EA635B.9807E529@earthlink.net> Message-ID: <39EAB6DA.C11E0E56@eudoramail.com> Thanks Kapil, that works brilliantly, I didn't see a 'data' member in the quick reference and certainly didn't see a data() method which I was expecting. I guess I should be looking at the source. The following is what I ended up with To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Giving the mime tag a name and setting encoding to base64 made it a nicer experience at the other end. thanks Matt Bion Kapil Thangavelu wrote: > spoke to soon.. > > replace > with > > Kapil > > Matt wrote: > > > > I have benn having a problem with attaching images to a dtml-sendmail. > > The following is my dtml code : > > > > > > To: Feedback Recipient > > From: Zope Feedback Form > > Subject: Feedback from the web > > > > Feedback from : Matt > > > > > > > > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > > action this dtml document, so there are no key errors or similar. > > > > The result in the email I get is : > > > > Feedback from : Matt Comments: > > Hello there, this is a sample email message for testing. > > > > Content-Type: multipart/mixed; > > boundary="127.0.0.1.500.953.971655250.628.16056" > > > > --127.0.0.1.500.953.971655250.628.16056 > > Content-Type: image/jpeg > > Content-Transfer-Encoding: 7bit > > > > paris > height="630" width="472" border="0"> > > > > --127.0.0.1.500.953.971655250.628.16056-- > > > > I understand that the dtml-mime tag is modifying the action of dtml-var > > that follows it, but what I want is the actual text coded binary to be > > dumped and not a source tag ... i.e. it's an email, not a webpage. > > > > I thought of embedding that in an external method that returns the text > > coded binary w.r.t the encoding type placed in the attributes, but was > > wondering if there was a method like this already available, and maybe > > not just image centric. > > > > Matt Bion > > > > _______________________________________________ > > 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 ) From brabander@fsw.LeidenUniv.nl Mon Oct 16 09:07:59 2000 From: brabander@fsw.LeidenUniv.nl (Cornelis J. de Brabander) Date: Mon, 16 Oct 2000 10:07:59 +0200 Subject: [Zope] backing up In-Reply-To: <00101417011207.01314@localhost.localdomain> Message-ID: <01JVEGCR0TW2C8V7Z1@FSW.LEIDENUNIV.NL> You can export specific folders and save the resulting file either to the server or to your local machine (in the management interface view the content of a folder, choose the import/export tab and click export) cb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of matt > Sent: zaterdag 14 oktober 2000 5:59 > To: zope@zope.org > Subject: [Zope] backing up > > > Is there a nice way to backup dtml documents and methods from a > certain point > in the object tree onwards without having to save all the other > objects too? > > regards > Matt > > > _______________________________________________ > 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 ) > > From stefan@epy.co.at Mon Oct 16 09:40:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 16 Oct 2000 10:40:17 +0200 (CEST) Subject: [Zope] ZClass derrived from Image does not call "view" from within In-Reply-To: <009401c036dd$58de4d50$e21ac73f@wingw> Message-ID: On Sun, 15 Oct 2000, Noah wrote: > I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work > similar to an Image, but the user can insert it directly in DTML using > and it will get expanded into HTML (with formatting, tag, caption, etc.) FWIW the Image object does exactly that already. > 2. The Publisher does not call the view method (index_html) of the object! > Instead it calls str() which is __str__ in Image and that calls Image.tag(). > I can't overload __str__ because Zope does not allow a method to start > with _ underscore. This is the way it works! For creating ZClasses that render on __str__ see http://www.zope.org/Members/lalo/Renderable-ZClass HTH Stefan From soren@roug.org Mon Oct 16 10:39:39 2000 From: soren@roug.org (Soren Roug) Date: Mon, 16 Oct 2000 11:39:39 +0200 Subject: [Zope] I want to use html_quote as a function Message-ID: <39EACCDB.403786A7@roug.org> Hi, I can render text that potentially has html in it safely with but what if I want to assign the quoted result to another variable. I tried It didn't work. How do I solve this problem? Sincerely yours, Soren Roug From chrisw@nipltd.com Mon Oct 16 10:57:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 16 Oct 2000 10:57:23 +0100 Subject: [Zope] Distribution Tab References: Message-ID: <39EAD103.E12F18DA@nipltd.com> Seb Bacon wrote: > > In the Zope PTK there are a couple of products that have been packaged as > product.dats. > What format are these? How do I do it? If you go into any of your TTW products in the Control Panel, you'll see a 'Distribution' management tab. That'll let you create your own distributions... cheers, Chris From richard@dcs.co.uk Mon Oct 16 10:47:32 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 10:47:32 +0100 Subject: [Zope] MySQL and Zope struggles Message-ID: <4.3.2.7.2.20001016103331.023a3370@195.60.12.162> I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk From administrator@consotec.de Mon Oct 16 12:10:54 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 16 Oct 00 11:10:54 UT Subject: [Zope] MySQL and Zope struggles Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes =3D > where note_id =3D > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id =3D 23; > update note set notes =3D 'asdasda' where note-id =3D note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --------------1DD2510B41FE-- From jonathan@home-all.org.uk Mon Oct 16 14:08:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 14:08:17 +0100 Subject: [Zope] How to use the date fmt's Message-ID: <39EAFDC1.F1160B04@home-all.org.uk> Hi all, in the various docs it shows various fmt= to display different date types etc. It also shows some date formats that seem more like methods themselves, ie IsCurrentMonth returns true if etc. How can I use these in expressions? Jonathan From PHarris@jimbeam.co.uk Mon Oct 16 14:52:58 2000 From: PHarris@jimbeam.co.uk (Harris Peter) Date: Mon, 16 Oct 2000 14:52:58 +0100 Subject: [Zope] Manipulating acl_users with DTML methods Message-ID: <05BFCA312976D111B3B10060B06B14F286C2B3@UKDH-SV-0003> Hi I am new to this, and probably trying to do things the wrong way but: I have a PostgreSQL table of users for my Zope application, and ZSQL methods for inserting, updating and deleting users from the table. The only reason I am doing this is to associate their real name and email address with their user id. Is it possible to do some kind of dtml-call to insert, update or delete Zope users? I don't want the administrator of the application to have to maintain user information in 2 places. Also, is there some way for a user to change their own password, without them having permissions to manage other users? Peter Harris **************************************************************************** This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee. If you have received this communication in error, please delete the message and notify JBB (Greater Europe) Plc immediately on 0141-249-6285. The views expressed in this email are not necessarily the views of JBB (Greater Europe) PLC. As it has been transmitted over a public network, JBB (Greater Europe) PLC makes no representation nor accepts any liability for the email's accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify JBB (Greater Europe) Plc immediately on 0141-249-6285. **************************************************************************** From tony.mcdonald@ncl.ac.uk Mon Oct 16 15:08:43 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Mon, 16 Oct 2000 15:08:43 +0100 Subject: [Zope] How to use the date fmt's In-Reply-To: <39EAFDC1.F1160B04@home-all.org.uk> References: <39EAFDC1.F1160B04@home-all.org.uk> Message-ID: At 2:08 pm +0100 16/10/00, Jonathan Cheyne wrote: >Hi all, in the various docs it shows various fmt= to display different >date types etc. It also shows some date formats that seem more like >methods themselves, ie IsCurrentMonth returns true if etc. > try this http://www.zope.org/Members/AlexR/CustomDateFormats tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From jonathan@home-all.org.uk Mon Oct 16 15:39:07 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 15:39:07 +0100 Subject: [Zope] Need help with date comparisons Message-ID: <39EB130B.E72DC80A@home-all.org.uk> Hi all again. I have a blank in my mind where I hoped the answer might be to this probably straightforward exercise. I have a zclass containing a date property called event_date. I want a page that loops through the months of the year, starting with the current month, and in each loop displays all the instances from the catalog with an event_date within the month in question. I just get stuck, completely stuck, trying to get the month value from the event_date and to compare it with the current month value. Anyone done this or something like this? Is this hard or am I a bit, you know, dense? thanks Jonathan From jatwood@bwanazulia.com Mon Oct 16 16:33:09 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 11:33:09 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com Message-ID: http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope &number=10&DaysPrune=60&LastLogin= I found this awhile ago and it has been pretty inactive (until last week when I started posting.. :) ). It would be great to see some of the list subscribers here and other members of the Zope community get involved. It is something that I think is much needed on Zope.org (A bulletin board system... I am SURE that I could suggest one!) as it helps Newbies and provides a more solid, long lasting and manageable discussion. Maybe something for ZDP if not for Zope.org. Comments? Suggestions? Thanks, J From 444@hiretechs.com Mon Oct 16 07:34:21 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:34:21 GMT Subject: [Zope] Need help with date comparisons In-Reply-To: <39EB130B.E72DC80A@home-all.org.uk> References: <39EB130B.E72DC80A@home-all.org.uk> Message-ID: <20001016063421.13022.qmail@mail.hiretechs.com> Jonathan: You can try: The source for DateTime() is pretty easy to follow. You can look for you format's there. All my best, > Hi all again. > > I have a blank in my mind where I hoped the answer might be to this > probably straightforward exercise. > > I have a zclass containing a date property called event_date. > > I want a page that loops through the months of the year, starting with > the current month, and in each loop displays all the instances from the > catalog with an event_date within the month in question. > > I just get stuck, completely stuck, trying to get the month value from > the event_date and to compare it with the current month value. > > Anyone done this or something like this? Is this hard or am I a bit, you > know, dense? > > thanks > > Jonathan > > > > > _______________________________________________ > 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 ) > 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. From ecolmar@uswest.net Mon Oct 16 16:49:10 2000 From: ecolmar@uswest.net (ed colmar) Date: Mon, 16 Oct 2000 09:49:10 -0600 Subject: [Zope] LoginManager - With SQL Message-ID: <002501c03788$a0d57ec0$0400000a@caliber> Thanks for the tips everyone! I keep going between UserDb and LoginManager to try to get this to work. UserDb gives me weird errors, and isn't really current, so I'm focusing on LM. I feel like I'm getting closer to a solution, but I'm still having difficuties... I followed jPenny's how to regarding accessing SQL method variables from within python, and wrapped the retrieveItem result in a User Class. It seems like it is at least running my code now, but no authentication... Am I close? Can Anyone working with LoginManager offer any insight into this? Thanks! -e- Here's the code I have in UserSources.py class User(BasicUser): """ A wrapper for the basic user class """ icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class PGCryptUserSource(BasicUserSource): """ A sql based encrypted user source """ meta_type="PG Crypt User Source" __plugin_kind__="User Source" def retrieveItem(self, name): try: res=self.getuserbyusername(username=name) except: return None fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] username=res[0][fields2index['username']] password=res[0][fields2index['password']] roles=res[0][fields2index['roles']] domains=res[0][fields2index['domains']] return User(username, password, roles, domains) def rolesForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] roles=res[0][fields2index['roles']] return roles def domainsForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] domains=res[0][fields2index['domains']] return domains def authenticateUser(self, user, password, request): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] passwd=res[0][fields2index['password']] if crypt.crypt(password,'ab')==passwd: return 1 else: return 0 Here's one of the tracebacks that I get: Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 108, in validate (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/LoginMethods.py, line 235, in findLogin (Object: PlugInBase) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 65, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/ZPatterns/Rack.py, line 60, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 522, in retrieveItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 485, in __init__ TypeError: (see above) From 444@hiretechs.com Mon Oct 16 07:50:02 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:50:02 GMT Subject: [Zope] Creating Recursive Folders In-Reply-To: <14824.51816.369709.647151@lindm.dm> References: <14824.51816.369709.647151@lindm.dm> Message-ID: <20001016065002.13406.qmail@mail.hiretechs.com> Dieter: Perhaps you misunderstood me. THis is an example of how convuluted DTML can get, but if you have an example of how to do it clearly, I'd love to see it. > Jason Spisak writes: > > > > > 1).manage_addFolder(_.str(_['sequence-item']), > > _.str(_['sequence-item']))"> > > Throws an unathorized no matter who I am. How can I get 3 levels of > > recursion. I tried using 'let' to stand for the object, with no luck. > That's the just penalty for writing weird code ;-) > Actually, that's the penalty for using DTML. There's a difference. > When you would introduce names for destination folder > and id, you could use the same pattern for *all* levels. I don't understand what you are getting at here. > You and other persons would understand what you do > and you would not accidentally use the attribute "_". > I personally, don't like using the "_" attribute at all. But in situation like this, I don't see another way. Please enlighten me. Jason Spisak 444@hiretechs.com From Marcin.Kasperski@softax.com.pl Mon Oct 16 17:00:21 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Mon, 16 Oct 2000 18:00:21 +0200 Subject: [Zope] Using ProxyPass and SiteRoot References: <14822.16511.306738.502938@localhost.localdomain> Message-ID: <39EB2615.CCADC175@softax.com.pl> "\"Geoffrey L. Wright\" > > knight writes: > > > Timothy, > > > > Without going into too much detail, you are going to want to set up a > > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > > that virtual host you will want to add your ProxyPass lines similar to my > > example: > > [...] > > And just for reference, here's another working example with ProxyPass: > > NameVirtualHost 172.17.10.13 > > > ServerName syslog.integritysi.com > ServerAdmin geoff@integritysi.com > ProxyPass / http://vishnu.integritysi.com:8080/syslog/ > ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ > ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ > ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ > ErrorLog logs/syslog.integritysi.com > TransferLog logs/syslog.integritysi.com > > > Good luck, and don't forget to enable the ProxyPass module. > Some remarks: 1) If you use custom product which contain images, it is useful to add sth like ProxyPass /Control_Panel/Products/Mycustomproduct http://localhost:9673/Control_Panel/Products/Mycustomproduct (otherwise you will not see the images which belong to the product - in my case I couldn't see the product icons on management screens). Reverse pass for this purpose is not needed. 2) ZCatalog does not work with SiteRoot. Smaller problem: the URLs returned are incorrect (you can parse them with dtml). Greater problem: attempt to find new items fails (the only solution I found is to remove SiteRoot, find/update ZCatalog, add SiteRoot again). 3) You loose original IP address (you can use mod_proxy_add_forward custom Apache module to preserve it in the custom X-Forwarded-For header, so far I have not managed to recover original addresses in zope log and for logging verification). -- http://www.mk.w.pl / Marcin.Kasperski | Poradnik dla kupuj±cych mieszkanie: @softax.com.pl | http://www.kupmieszkanie.prv.pl @bigfoot.com \ From rdolense@globalcrossing.com Mon Oct 16 17:01:18 2000 From: rdolense@globalcrossing.com (Ryan M. Dolensek) Date: Mon, 16 Oct 2000 11:01:18 -0500 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> Message-ID: <39EB264E.5F1CFE62@globalcrossing.com> try... ryan Soren Roug wrote: > Hi, > > I can render text that potentially has html in it safely with > > > > but what if I want to assign the quoted result to another variable. > > I tried > > > > It didn't work. How do I solve this problem? > > Sincerely yours, > > Soren Roug > > _______________________________________________ > 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 ) -- Ryan Dolensek Software Engineer Global Crossing (920)405-4812 rdolense@globalcrossing.com From fred@ontosys.com Mon Oct 16 17:06:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 11:06:53 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <20001016110653.A4476@enteract.com> I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions? If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Eric@Walstads.net Mon Oct 16 16:49:51 2000 From: Eric@Walstads.net (Eric Walstad) Date: Mon, 16 Oct 2000 08:49:51 -0700 Subject: [Zope] HELP! Permissions problem, ZClass Message-ID: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new instance of the ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't helping. Any pointers? Thanks, Eric. Here's the traceback: Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access CNewsItem. Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: buildNews) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: buildNews) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: manage_addProduct['NewsItem']) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: CNewsItem_add(_.None, _, NoRedir=1)) (Info: _) File , line 0, in ? File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) (Info: CNewsItem) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: buildNews) File /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate Unauthorized: (see above) From Robert_J_Roberts@rl.gov Mon Oct 16 17:27:48 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 16 Oct 2000 09:27:48 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> I do pretty much the same things myself. I assign sys.stderr = sys.stdout, then I create my own log file object from a module I wrote a few years ago, and then assign something like sys.stderr = self.logObj. That works well for any errors that occur after those assignments have occurred but doesn't do much for anything that happens earlier. I also run the python code outside of Zope to get it all working. It's just a pain when I have to make some minor change in the Zope to External Method logic and it breaks. That's where I start to lose it some in the debugging. Using something like: import sys, traceback, string try: trysomething() except: type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb ...helps, but even with that I seem to get errors that I just can't seem to catch and report properly. I'm not sure what you are referring to with "...the Python debugger "pdb"...". I've never used it. Thanks for your help, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, October 14, 2000 1:51 PM To: Robert_J_Roberts@rl.gov Cc: zope@zope.org Subject: Re: [Zope] Help Debugging External Methods Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From Morton@dennisinter.com Mon Oct 16 17:27:53 2000 From: Morton@dennisinter.com (Damien Morton) Date: Mon, 16 Oct 2000 12:27:53 -0400 Subject: [Zope] Microsoft Zope Message-ID: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/DesignKMS ols.htm Looks like MS has embraced the Zope way of doing things From jatwood@bwanazulia.com Mon Oct 16 18:05:34 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 13:05:34 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com> Message-ID: You could just upload them into Zope and point to them. http://www.gotschool.com (see flash demos). It uploads as a "application/octet-stream" I am sure you are talking about much more interaction. J > From: Fred Yankowski > Date: Mon, 16 Oct 2000 11:06:53 -0500 > To: zope@zope.org > Subject: [Zope] how to include Flash/SWF objects in Zope website? > > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From dale.w.lance@mail.sprint.com Mon Oct 16 17:40:29 2000 From: dale.w.lance@mail.sprint.com (dale.w.lance@mail.sprint.com) Date: Mon, 16 Oct 2000 11:40:29 -0500 Subject: [Zope] MySQL and Zope struggles Message-ID: --openmail-part-2b1fc156-00000001 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline ;Creation-Date="Mon, 16 Oct 2000 11:40:29 -0500" Content-Transfer-Encoding: 7bit Or you could renormalize your data to have: --------- ----------- | Artist | | Note | |---------|-------|-----------| | id | | id | --------- | artist_id | | note_str | ----------- you now have a list of notes by artist_id. You typically won't have a screen that doesn't have an Artist context to be adding a note to. (or to remove all notes from). Of course this means more work to migrate :-( And I don't know all possible scenarios for which you would need the structure you gave, but it is another way around this. It probably doesn't solve real complex scenarios either. JAT Dale -----Original Message----- From: administrator [mailto:administrator@consotec.de] Sent: Monday, October 16, 2000 6:11 AM To: zope Cc: administrator Subject: Re: [Zope] MySQL and Zope struggles I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes = > where note_id = > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id = 23; > update note set notes = 'asdasda' where note-id = note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --openmail-part-2b1fc156-00000001-- From cvasco@netadvisors-ec.com Mon Oct 16 12:48:04 2000 From: cvasco@netadvisors-ec.com (Carlos Vasconez) Date: Mon, 16 Oct 2000 12:48:04 +0100 Subject: [Zope] Question! Message-ID: <001b01c03766$f3aa25a0$0b0a64be@orbiscorp> This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I am read about zope.
Question?
I can use Zope with NT Server, IIS 4 = and SQLServer=20 ?
I have a Database in = SQLServer
 
Thanks
 
Carlos
---------
------=_NextPart_000_0018_01C0376F.5371AC30-- From jwashin@vt.edu Mon Oct 16 19:10:03 2000 From: jwashin@vt.edu (Jim Washington) Date: Mon, 16 Oct 2000 14:10:03 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? References: Message-ID: <39EB447B.4060801@vt.edu> N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects. -- Jim Washington J. Atwood wrote: > You could just upload them into Zope and point to them. > > http://www.gotschool.com (see flash demos). > > It uploads as a "application/octet-stream" > > I am sure you are talking about much more interaction. > > J > From richard@dcs.co.uk Mon Oct 16 19:10:10 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 19:10:10 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: Message-ID: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Nice idea. Trouble is the note table is used to hold notes for many different reasons, so it looks like this - ----------- ------------ -------- | Artist | | Recording | | Label | etc. ----------- ------------ -------- | artist_id | |recording_id| |label_id| | note_id | |note_id | |note_id | ----------- ------------ -------- | | | | | --------------------------------------------------------- | ---------- | Note | ---------- | note_id | | notes | ---------- It looks as if there wasn't anything I was missing - I'm just going to have to break the code up into separate SQL Methods. The example I gave was quite simple compared to some of the updates I have to deal with. Thanks anyway. At 17:40 16/10/00, you wrote: >Or you could renormalize your data to have: > > --------- ----------- >| Artist | | Note | >|---------|-------|-----------| >| id | | id | > --------- | artist_id | > | note_str | > ----------- > >you now have a list of notes by artist_id. >You typically won't have a screen that doesn't have an Artist context >to be adding a note to. (or to remove all notes from). >Of course this means more work to migrate :-( >And I don't know all possible scenarios for which you would >need the structure you gave, but it is another way around this. >It probably doesn't solve real complex scenarios either. > >JAT > >Dale Richard Moon richard@dcs.co.uk From troy.farrell@wilcom.com Mon Oct 16 20:04:30 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Mon, 16 Oct 2000 14:04:30 -0500 Subject: [Zope] Question! Message-ID: Yes you can. You will need ZODBC to connect to the SQLServer. Make sure that SQL server is available as a "System DSN" on it's host. You will also need a username and password to connect. Zope will ask you for this in the DSN string. Best of luck to you. Troy Troy Farrell Video Operations Technician III Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:troy.farrell@wilcom.com http://www.williams.com -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 6:48 AM To: zope@zope.org Subject: [Zope] Question! Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- From mj@digicool.com Mon Oct 16 20:04:48 2000 From: mj@digicool.com (Martijn Pieters) Date: Mon, 16 Oct 2000 21:04:48 +0200 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com>; from fred@ontosys.com on Mon, Oct 16, 2000 at 11:06:53AM -0500 References: <20001016110653.A4476@enteract.com> Message-ID: <20001016210448.B12837@zopatista.com> On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote: > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. I once hacked together a simple 'Flash' object in a Python based Product. It was just a class derived from the File object, which behaved very much like the Image object. If called by DTML, it would return the appropriate HTML to include the Flash animation in the page, whcih could be customized with a special method very much like the '.image()' method on Image objects. Alas, the class was written for a previous employer, and never released as Open Source. But it was dead easy to create. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From fred@ontosys.com Mon Oct 16 20:21:02 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 14:21:02 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <39EB447B.4060801@vt.edu> References: <39EB447B.4060801@vt.edu> Message-ID: <20001016142102.A17053@enteract.com> Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: + create File object with id "foo_swf". + upload my local foo.swf file into foo_swf. + create DTML Method object "foo_flash" to provide all the HTML OBJECT and EMBED elements needed to wrap the flash object, referring to that flash object as '' and 'src="foo_swf"', respectively. + use '' to display the flash object in a DTML Document. On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote: > N.B. You probably should add your Flash/SWF objects as "File" objects. > DTML Method/Document objects can do amusing things with binary data, > which is why there are "File" objects. > > -- Jim Washington > > J. Atwood wrote: > > > You could just upload them into Zope and point to them. > > > > http://www.gotschool.com (see flash demos). > > > > It uploads as a "application/octet-stream" > > > > I am sure you are talking about much more interaction. > > > > J -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From leedm@state.mi.us Mon Oct 16 20:25:55 2000 From: leedm@state.mi.us (Darin Lee) Date: Mon, 16 Oct 2000 15:25:55 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1018 - 39 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Oliver Sturm" Hi, is there any information available about the general usability of ZEO? Mainly stability is interesting to me, feature completeness is not so important. MfG, Oliver Sturm -- Who is General Failure and why is he reading my disk? -- Oliver Sturm / Key ID: 71D86996 Fingerprint: 8085 5C52 60B8 EFBD DAD0 78B8 CE7F 38D7 71D8 6996 From peter@grenna.net Mon Oct 16 20:19:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Mon, 16 Oct 2000 20:19:09 +0100 Subject: [Zope] Zope Discussion Forum @ DevShed.com References: Message-ID: <007301c037a8$89a1a740$01d4a8c0@peppe> here here! I definitly agree! Forum's are much easier to categorize and browse for answers than the mailing list. Categorization should be per subject, not per experience. If Zope.org doesn't want to set one up, then let the best man win. (i.e. make it fast) > http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope > &number=10&DaysPrune=60&LastLogin= > > I found this awhile ago and it has been pretty inactive (until last week > when I started posting.. :) ). It would be great to see some of the list > subscribers here and other members of the Zope community get involved. It is > something that I think is much needed on Zope.org (A bulletin board > system... I am SURE that I could suggest one!) as it helps Newbies and > provides a more solid, long lasting and manageable discussion. > > Maybe something for ZDP if not for Zope.org. > > Comments? Suggestions? > > Thanks, > J > > > > > _______________________________________________ > 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 ) > From karl@digicool.com Mon Oct 16 21:18:50 2000 From: karl@digicool.com (Karl Anderson) Date: 16 Oct 2000 13:18:50 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Terry Kerr's message of "Fri, 13 Oct 2000 09:45:14 +1100" References: <39E63EFA.FE2BF947@adroit.net> Message-ID: Terry Kerr writes: > I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. > > terry Actually, the advantage of the monitor is that it runs in the same process as your server, so you can track resource issues. Mounting the database separately avoids this. -- Karl Anderson karl@digicool.com From bobc@p-wave.com Mon Oct 16 08:50:23 2000 From: bobc@p-wave.com (Bob Corriher) Date: Mon, 16 Oct 2000 03:50:23 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <39EAB33F.50AC6DFB@p-wave.com> Hi Fred, We use Flash in most of the sites we develop with Zope. We just upload the swf file into a File object and call it from the index_html method as follows: splashpage
The File object is named splaspage.swf, but the extension is not necessary. It could have been called splashpage or anything else. Hope this helps. Bob Corriher P-Wave Inc. From jatwood@bwanazulia.com Mon Oct 16 20:50:06 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 15:50:06 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: <007301c037a8$89a1a740$01d4a8c0@peppe> Message-ID: I am more than happy to set up a ZUBB somewhere as well. A sort of Zope starter, question and/answer forum. Is this something that the community is generally interested in or not? J > From: "Peter Bengtsson" > Date: Mon, 16 Oct 2000 20:19:09 +0100 > To: "J. Atwood" > Cc: > Subject: Re: [Zope] Zope Discussion Forum @ DevShed.com > > here here! > > I definitly agree! Forum's are much easier to categorize and browse for > answers than the mailing list. > Categorization should be per subject, not per experience. > > If Zope.org doesn't want to set one up, then let the best man win. (i.e. make > it fast) > > > >> http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope >> &number=10&DaysPrune=60&LastLogin= >> >> I found this awhile ago and it has been pretty inactive (until last week >> when I started posting.. :) ). It would be great to see some of the list >> subscribers here and other members of the Zope community get involved. It is >> something that I think is much needed on Zope.org (A bulletin board >> system... I am SURE that I could suggest one!) as it helps Newbies and >> provides a more solid, long lasting and manageable discussion. >> >> Maybe something for ZDP if not for Zope.org. >> >> Comments? Suggestions? >> >> Thanks, >> J >> >> >> >> >> _______________________________________________ >> 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 ) >> > > From aschneider@cmpweb-dns0.web.cerf.net Mon Oct 16 21:40:28 2000 From: aschneider@cmpweb-dns0.web.cerf.net (aschneider) Date: Mon, 16 Oct 2000 13:40:28 -0700 (PDT) Subject: [Zope] About your ShareWare Message-ID: <200010162040.NAA07202@cmpweb-devel0.web.cerf.net> As a Shareware Author, you should be listing your files on FileMine... it's fast, easy and free! This Week's Most Popular file, Bugtoaster 1.0.00.2710 BETA, has been downloaded 17331 times! There's no reason this can't be your file - use the link below to add it now: http://www.filemine.com/AddYourFiles (This is a one time email and serves as a reminder only. You will not receive any further emails from us or anyone affiliated with us again.) From zope@grewen.de Tue Oct 17 01:28:47 2000 From: zope@grewen.de (Jens Grewen) Date: Tue, 17 Oct 2000 02:28:47 +0200 Subject: [Zope] test Message-ID: <001001c037d1$376607e0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_000D_01C037E1.FA3F5E00-- From bak@nstp.com.my Tue Oct 17 03:02:26 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Tue, 17 Oct 2000 10:02:26 +0800 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: References: Message-ID: <00101710022602.04363@tokey.kedai.com.my> On Tuesday 17 October 2000 09:57, J. Atwood wrote: > I am more than happy to set up a ZUBB somewhere as well. A sort of Zope > starter, question and/answer forum. Is this something that the community is > generally interested in or not? > > J > i would think that having a forum at Zope.org or zdp.org is great. this way we can really show how zope scales, and improve and show zope products. if the board is at zope.org/zdp, then i would think most zopistas will be around to answer. forum is unlike mailing lists. you need that extra click to go to a forum. my .02 -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From kthangavelu@earthlink.net Mon Oct 16 22:34:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Mon, 16 Oct 2000 14:34:58 -0700 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> <39EB264E.5F1CFE62@globalcrossing.com> Message-ID: <39EB7482.451B73CD@earthlink.net> Hello, "Ryan M. Dolensek" wrote: > > try... > > "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))"> huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about it? > ryan > > Soren Roug wrote: > > > Hi, > > > > I can render text that potentially has html in it safely with > > > > > > > > but what if I want to assign the quoted result to another variable. > > > > I tried > > > > > > > > It didn't work. How do I solve this problem? the html_quote of dtml-var is done on rendering so you really can't capture the variable in a transformed state. the solution is to roll your own pythonmethod. here's one to the trick. html_encode ttw python method PARAMETERS: text BODY string = _.string character_entities={"'&'":"&","<":"<", "'>'":">","\213": '<', "\233":'>','"':"""} text=str(text) for re,name in character_entities.items(): if string.find(text, re) >= 0: text=string.join(string.split(text,re),name) return text /END BODY so for your example you would do qualifying description if you need to. cheers kapil From jfarr@speakeasy.org Tue Oct 17 05:32:10 2000 From: jfarr@speakeasy.org (Jonothan Farr) Date: Mon, 16 Oct 2000 21:32:10 -0700 Subject: [Zope] new LocalFS release: 0.9.6 Message-ID: <009201c037f3$381429c0$0200000a@dreaming.jfarr.org> Changes v0.9.6 - Fixed saving large File and Image objects. - Added ZCatalog support. http://www.zope.org/Members/jfarr/Products/LocalFS/ --jfarr From amador@alomega.com Tue Oct 17 05:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:49:47 -0500 Subject: [Zope] Newbie question : ZopeTime & permissions References: Message-ID: <39EBDA6B.A3262C87@alomega.com> --------------A9875BC7D53E5CDA03940B55 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information I guess. Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A9875BC7D53E5CDA03940B55 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information
I guess.

Aaron Straup Cope wrote:

Hi,

My name is Aaron.

I am trying to set up zope with (atleast) three roles : manager, admin,
user.

I'd like to give the last two the bare minimum Security permissions
possible and adding them as needed later on.

My problem is that I can't seem to figure out, specifically, which
permissions to give a user that will allow them to read ZopeTime().

(see below)

For the admin user, I have set the Access content information and View *
options globally. I've tried guessing at some others, but there are alot
of possible combinations to try so I thought maybe I would just ask.

Related, is there a detailed description of the default Security
settings? I've checked the mailing lists and the Zope docs and if it's
there, I guess I missed it.

Thanks,

<dtml-call "REQUEST.set('ts', ZopeTime())">
<dtml-call "REQUEST.set('foo',_.str(_.int(ts)))">

<dtml-var foo>

Traceback (innermost last):
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: test)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: test)
  File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in
__call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line
528, in __call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object: REQUEST.set('ts', ZopeTime()))
    (Info: REQUEST)
  File <string>, line 0, in ?
NameError: (see above)

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

-- 
Manuel Amador (Rudd-O)
  --------------A9875BC7D53E5CDA03940B55-- From amador@alomega.com Tue Oct 17 06:12:16 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:12:16 -0500 Subject: [Zope] DTML Method not working References: <39E0D1F2.B7C30E8D@hal-pc.org> <003801c0309e$93e8afc0$d183bcd4@harrisf4scs8le> Message-ID: <39EBDFB0.C979F996@alomega.com> --------------0D43265D657296791815E7E1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Phil Harris wrote: > Is the code you used in a DTML Method or a DTML Document? > > Is it in a DTML Method being called from a DTML Document? > > If the answer to either of these is 'yes' then it's doing as you ask! > > The thing that gets most new zope users is that a DTML Document is itself a > container. This means that anytime you use code similar to yours or when > using a it will probably return a blank, as the DTML > Dopcument has no children(?!?). > > Solutions: > > 1. Try moving the code into a DTML Method. > 2. Use a dtml-with around it. > > The second one works most places but if in the root then it's slightly more > difficult as the top object is hard to reference (please someone tell me I'm > wrong here). > > You could try something like: > > >
    > >

  • >
    >
>
> > The resolve_url(BASE0+'/') should give you a reference to the top Zope > object (root). > > hth > > Phil > phil.harris@zweb.co.uk > > ----- Original Message ----- > From: "Ronald L. Chichester" > To: > Sent: Sunday, October 08, 2000 8:58 PM > Subject: [Zope] DTML Method not working > > > I took some code that was in the (work-in-progress) O'Riley book on > > Zope. In that example, then had a DTML Method used for identifying > > folders and hyperlinking to them. The code is as follows: > > > >
    > > > >

  • > >
    > >
> > > > The problem is, it doesn't work. I know the method is being invoked > > because there is some other text that is indeed being inserted. > > Moreover, there are sub-folders in the folder that calls the method. > > > > Does anyone know what the problem is? Is it a permission issue. The > > standard_html_header and _footer, show up just fine, along with logos > > and such. The only part that isn't showing up is the stuff that was > > supposed to be generated by the block. > > > > Any hints? > > > > Thanks in advance. > > > > Ron > > ./. > > > > > > _______________________________________________ > > 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 ) -- Manuel Amador (Rudd-O) --------------0D43265D657296791815E7E1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <dtml-with "PARENT[0]">
<dtml-tree>

Phil Harris wrote:

Is the code you used in a DTML Method or a DTML Document?

Is it in a DTML Method being called from a DTML Document?

If the answer to either of these is 'yes' then it's doing as you ask!

The thing that gets most new zope users is that a DTML Document is itself a
container.  This means that anytime you use code similar to yours or when
using a <dtml-tree ...> it will probably return a blank, as the DTML
Dopcument has no children(?!?).

Solutions:

1.    Try moving the code into a DTML Method.
2.    Use a dtml-with around it.

The second one works most places but if in the root then it's slightly more
difficult as the top object is hard to reference (please someone tell me I'm
wrong here).

You could try something like:

<dtml-with expr="resolve_url(BASE0+'/')">
<ul>
<dtml-in expr="objectValues('Folder')">
 <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
</dtml-in>
</ul>
</dtml-with>

The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).

hth

Phil
phil.harris@zweb.co.uk

----- Original Message -----
From: "Ronald L. Chichester" <complaw@hal-pc.org>
To: <zope@zope.org>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working

> I took some code that was in the (work-in-progress) O'Riley book on
> Zope.  In that example, then had a DTML Method used for identifying
> folders and hyperlinking to them.  The code is as follows:
>
> <ul>
> <dtml-in expr="objectValues('Folder')">
>  <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
> </dtml-in>
> </ul>
>
> The problem is, it doesn't work.  I know the method is being invoked
> because there is some other text that is indeed being inserted.
> Moreover, there are sub-folders in the folder that calls the method.
>
> Does anyone know what the problem is?  Is it a permission issue.  The
> standard_html_header and _footer, show up just fine, along with logos
> and such.  The only part that isn't showing up is the stuff that was
> supposed to be generated by the <dtml-in> block.
>
> Any hints?
>
> Thanks in advance.
>
> Ron
>  ./.
>
>
> _______________________________________________
> 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 )

-- 
Manuel Amador (Rudd-O)
  --------------0D43265D657296791815E7E1-- From amador@alomega.com Tue Oct 17 06:17:53 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:17:53 -0500 Subject: [Zope] Socket.error problem References: <39E00FC8.CEF8A9D0@hal-pc.org> Message-ID: <39EBE100.7BBBB410@alomega.com> --------------3F0FD8D006732218DB5BA327 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit user processes cannot bind to ports lower than 1024. Never forget dat. "Ronald L. Chichester" wrote: > I'm getting the exact same socket.error message that appeared on this > list in March, 2000. (See the attached problem.txt file.) > Specifically, this is the error message that I get when I start zope. > The person who kindly identified the problem didn't provide a solution. > I have my netstat -a results attached as netstat.txt. Could someone > tell me how I can resolve this port conflict? > > Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration. > > Thanks in advance, > > Ron > ./. > > This is the reply that was provided to the first person who encountered > this problem (and submitted it to the list): > > > > You have another process that is "bind" to port 98... > > this is the registered port for "tacnews". > > try "netstat -a" under the shell... > > ----- Message d'origine ----- > De : Ulf Byskov > À : > Envoyé : lundi 13 mars 2000 11:28 > Objet : [Zope] socket problem > > > When I try to start Z Server i get the following error messages: > > > > File > > > "/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a > > syncore.py", > > line 205, in bind > > return self.socket.bind (addr) > > socket.error: (98, 'Address already in use') > > > > > > I don't use the number 98 in any address or port (http=80, ftp='' and > > monitor='') > > so what could this error be about ? > > > > > > > > > > ------------------------------------------------------------------------ > [nobody@localhost Zope-2.2.2-linux2-x86]$ ./start > ------ > 2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt 8 00:31:03 2000 > Hostname: localhost.localdomain > Port:8080 > > Traceback (innermost last): > File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ? > logger_object=lg) > File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__ > apply(ftp_server.__init__, (self, None) + args, kw) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in __init__ self.bind ((self.ip, self.port)) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind return self.socket.bind (addr) > socket.error: (98, ?Address already in use?) > > ------------------------------------------------------------------------ > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp 0 0 *:6000 *:* LISTEN > tcp 0 0 *:3053 *:* LISTEN > tcp 0 0 *:8021 *:* LISTEN > tcp 0 0 *:postgres *:* LISTEN > tcp 0 0 *:www *:* LISTEN > tcp 0 0 *:smtp *:* LISTEN > tcp 0 0 *:printer *:* LISTEN > tcp 0 0 *:pop3 *:* LISTEN > tcp 0 0 *:telnet *:* LISTEN > tcp 0 0 *:ftp *:* LISTEN > tcp 0 0 *:auth *:* LISTEN > tcp 0 0 *:sunrpc *:* LISTEN > udp 0 0 *:xdmcp *:* > udp 0 0 *:sunrpc *:* > raw 0 0 *:icmp *:* 7 > raw 0 0 *:tcp *:* 7 > Active UNIX domain sockets (servers and established) > Proto RefCnt Flags Type State I-Node Path > unix 1 [ ] STREAM CONNECTED 26342 @000000d9 > unix 0 [ ACC ] STREAM LISTENING 1402 public/showq > unix 0 [ ACC ] STREAM LISTENING 1398 private/smtp > unix 0 [ ACC ] STREAM LISTENING 1389 private/bounce > unix 0 [ ] STREAM CONNECTED 194 @0000001d > unix 1 [ ] STREAM CONNECTED 26259 @000000cb > unix 0 [ ACC ] STREAM LISTENING 2816 /var/run/pcgi.soc > unix 0 [ ACC ] STREAM LISTENING 1406 private/error > unix 9 [ ] DGRAM 382 /dev/log > unix 0 [ ACC ] STREAM LISTENING 2792 /tmp/.font-unix/fs-1 > unix 0 [ ACC ] STREAM LISTENING 1687 /dev/gpmctl > unix 0 [ ACC ] STREAM LISTENING 1410 private/local > unix 0 [ ACC ] STREAM LISTENING 1414 private/cyrus > unix 1 [ ] STREAM CONNECTED 26267 @000000ce > unix 1 [ ] STREAM CONNECTED 26253 @000000c8 > unix 0 [ ACC ] STREAM LISTENING 2848 /tmp/.X11-unix/X0 > unix 0 [ ACC ] STREAM LISTENING 1418 private/uucp > unix 1 [ ] STREAM CONNECTED 26269 @000000cf > unix 0 [ ACC ] STREAM LISTENING 1422 private/ifmail > unix 1 [ ] STREAM CONNECTED 26263 @000000cc > unix 0 [ ACC ] STREAM LISTENING 1427 private/bsmtp > unix 1 [ ] STREAM CONNECTED 26265 @000000cd > unix 1 [ N ] STREAM CONNECTED 26277 @000000d1 > unix 0 [ ACC ] STREAM LISTENING 473 /dev/printer > unix 1 [ ] STREAM CONNECTED 26292 @000000d2 > unix 0 [ ACC ] STREAM LISTENING 26275 /tmp//kfm_501_1753localhost.localdomain_0 > unix 1 [ ] STREAM CONNECTED 26247 @000000c6 > unix 1 [ ] STREAM CONNECTED 26177 @000000b5 > unix 1 [ N ] STREAM CONNECTED 26271 @000000d0 > unix 1 [ ] STREAM CONNECTED 26180 @000000b6 > unix 0 [ ACC ] STREAM LISTENING 1378 private/cleanup > unix 1 [ ] STREAM CONNECTED 26312 @000000d5 > unix 0 [ ACC ] STREAM LISTENING 1385 private/rewrite > unix 0 [ ACC ] STREAM LISTENING 26273 /tmp//kio_501_1753localhost.localdomain_0 > unix 0 [ ACC ] STREAM LISTENING 2749 /tmp/.s.PGSQL.5432 > unix 0 [ ACC ] STREAM LISTENING 1393 private/defer > unix 0 [ ] DGRAM 26354 > unix 1 [ ] STREAM CONNECTED 26343 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26313 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26293 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26278 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26272 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26270 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26268 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26266 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26264 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26260 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26254 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26248 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26181 /tmp/.font-unix/fs-1 > unix 1 [ ] STREAM CONNECTED 26182 /tmp/.X11-unix/X0 > unix 0 [ ] DGRAM 2813 > unix 0 [ ] DGRAM 2812 > unix 0 [ ] DGRAM 1464 > unix 1 [ ] STREAM CONNECTED 1430 > unix 1 [ ] STREAM CONNECTED 1429 > unix 1 [ ] STREAM CONNECTED 1425 > unix 1 [ ] STREAM CONNECTED 1424 > unix 1 [ ] STREAM CONNECTED 1421 > unix 1 [ ] STREAM CONNECTED 1420 > unix 1 [ ] STREAM CONNECTED 1417 > unix 1 [ ] STREAM CONNECTED 1416 > unix 1 [ ] STREAM CONNECTED 1413 > unix 1 [ ] STREAM CONNECTED 1412 > unix 1 [ ] STREAM CONNECTED 1409 > unix 1 [ ] STREAM CONNECTED 1408 > unix 1 [ ] STREAM CONNECTED 1405 > unix 1 [ ] STREAM CONNECTED 1404 > unix 1 [ ] STREAM CONNECTED 1401 > unix 1 [ ] STREAM CONNECTED 1400 > unix 1 [ ] STREAM CONNECTED 1396 > unix 1 [ ] STREAM CONNECTED 1395 > unix 1 [ ] STREAM CONNECTED 1392 > unix 1 [ ] STREAM CONNECTED 1391 > unix 1 [ ] STREAM CONNECTED 1388 > unix 1 [ ] STREAM CONNECTED 1387 > unix 1 [ ] STREAM CONNECTED 1384 > unix 1 [ ] STREAM CONNECTED 1383 > unix 1 [ ] STREAM CONNECTED 1381 > unix 1 [ ] STREAM CONNECTED 1380 > unix 1 [ ] STREAM CONNECTED 1377 > unix 1 [ ] STREAM CONNECTED 1376 > unix 1 [ ] STREAM CONNECTED 1374 > unix 1 [ ] STREAM CONNECTED 1373 > unix 0 [ ] DGRAM 1355 > unix 0 [ ] DGRAM 486 > unix 0 [ ] DGRAM 469 > unix 0 [ ] DGRAM 403 > unix 0 [ ] DGRAM 392 -- Manuel Amador (Rudd-O) --------------3F0FD8D006732218DB5BA327 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit user processes cannot bind to ports lower than 1024.  Never forget dat.

"Ronald L. Chichester" wrote:

I'm getting the exact same socket.error message that appeared on this
list in March, 2000.  (See the attached problem.txt file.)
Specifically, this is the error message that I get when I start zope.
The person who kindly identified the problem didn't provide a solution.
I have my netstat -a results attached as netstat.txt.  Could someone
tell me how I can resolve this port conflict?

Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.

Thanks in advance,

Ron
 ./.

This is the reply that was provided to the first person who encountered
this problem (and submitted it to the list):

<MESSAGE>

You have another process that is "bind" to port 98...

this is the registered port for "tacnews".

try "netstat -a" under the shell...

----- Message d'origine -----
De : Ulf Byskov <ulf.byskov@comptel.com>
À : <zope@zope.org>
Envoyé : lundi 13 mars 2000 11:28
Objet : [Zope] socket problem

> When I try to start Z Server i get the following error messages:
>
>     File
>
"/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a

syncore.py",
> line 205, in bind
>     return self.socket.bind (addr)
>     socket.error: (98, 'Address already in use')
>
>
> I don't use the number 98 in any address or port (http=80, ftp='' and
> monitor='')
> so what could this error be about ?
>
>
>

</MESSAGE>

  ------------------------------------------------------------------------
[nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
------
2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
------
2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt  8 00:31:03 2000
        Hostname: localhost.localdomain
        Port:8080

Traceback (innermost last):
        File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ?
                logger_object=lg)
        File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__
                apply(ftp_server.__init__, (self, None) + args, kw)
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in              __init__ self.bind ((self.ip, self.port))
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind           return self.socket.bind (addr)
socket.error: (98, ?Address already in use?)

  ------------------------------------------------------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:6000                  *:*                     LISTEN
tcp        0      0 *:3053                  *:*                     LISTEN
tcp        0      0 *:8021                  *:*                     LISTEN
tcp        0      0 *:postgres              *:*                     LISTEN
tcp        0      0 *:www                   *:*                     LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 *:printer               *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
tcp        0      0 *:telnet                *:*                     LISTEN
tcp        0      0 *:ftp                   *:*                     LISTEN
tcp        0      0 *:auth                  *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
udp        0      0 *:xdmcp                 *:*
udp        0      0 *:sunrpc                *:*
raw        0      0 *:icmp                  *:*                     7
raw        0      0 *:tcp                   *:*                     7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         STREAM     CONNECTED     26342  @000000d9
unix  0      [ ACC ]     STREAM     LISTENING     1402   public/showq
unix  0      [ ACC ]     STREAM     LISTENING     1398   private/smtp
unix  0      [ ACC ]     STREAM     LISTENING     1389   private/bounce
unix  0      [ ]         STREAM     CONNECTED     194    @0000001d
unix  1      [ ]         STREAM     CONNECTED     26259  @000000cb
unix  0      [ ACC ]     STREAM     LISTENING     2816   /var/run/pcgi.soc
unix  0      [ ACC ]     STREAM     LISTENING     1406   private/error
unix  9      [ ]         DGRAM                    382    /dev/log
unix  0      [ ACC ]     STREAM     LISTENING     2792   /tmp/.font-unix/fs-1
unix  0      [ ACC ]     STREAM     LISTENING     1687   /dev/gpmctl
unix  0      [ ACC ]     STREAM     LISTENING     1410   private/local
unix  0      [ ACC ]     STREAM     LISTENING     1414   private/cyrus
unix  1      [ ]         STREAM     CONNECTED     26267  @000000ce
unix  1      [ ]         STREAM     CONNECTED     26253  @000000c8
unix  0      [ ACC ]     STREAM     LISTENING     2848   /tmp/.X11-unix/X0
unix  0      [ ACC ]     STREAM     LISTENING     1418   private/uucp
unix  1      [ ]         STREAM     CONNECTED     26269  @000000cf
unix  0      [ ACC ]     STREAM     LISTENING     1422   private/ifmail
unix  1      [ ]         STREAM     CONNECTED     26263  @000000cc
unix  0      [ ACC ]     STREAM     LISTENING     1427   private/bsmtp
unix  1      [ ]         STREAM     CONNECTED     26265  @000000cd
unix  1      [ N ]       STREAM     CONNECTED     26277  @000000d1
unix  0      [ ACC ]     STREAM     LISTENING     473    /dev/printer
unix  1      [ ]         STREAM     CONNECTED     26292  @000000d2
unix  0      [ ACC ]     STREAM     LISTENING     26275  /tmp//kfm_501_1753localhost.localdomain_0
unix  1      [ ]         STREAM     CONNECTED     26247  @000000c6
unix  1      [ ]         STREAM     CONNECTED     26177  @000000b5
unix  1      [ N ]       STREAM     CONNECTED     26271  @000000d0
unix  1      [ ]         STREAM     CONNECTED     26180  @000000b6
unix  0      [ ACC ]     STREAM     LISTENING     1378   private/cleanup
unix  1      [ ]         STREAM     CONNECTED     26312  @000000d5
unix  0      [ ACC ]     STREAM     LISTENING     1385   private/rewrite
unix  0      [ ACC ]     STREAM     LISTENING     26273  /tmp//kio_501_1753localhost.localdomain_0
unix  0      [ ACC ]     STREAM     LISTENING     2749   /tmp/.s.PGSQL.5432
unix  0      [ ACC ]     STREAM     LISTENING     1393   private/defer
unix  0      [ ]         DGRAM                    26354
unix  1      [ ]         STREAM     CONNECTED     26343  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26313  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26293  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26278  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26272  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26270  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26268  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26266  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26264  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26260  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26254  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26248  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26181  /tmp/.font-unix/fs-1
unix  1      [ ]         STREAM     CONNECTED     26182  /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    2813
unix  0      [ ]         DGRAM                    2812
unix  0      [ ]         DGRAM                    1464
unix  1      [ ]         STREAM     CONNECTED     1430
unix  1      [ ]         STREAM     CONNECTED     1429
unix  1      [ ]         STREAM     CONNECTED     1425
unix  1      [ ]         STREAM     CONNECTED     1424
unix  1      [ ]         STREAM     CONNECTED     1421
unix  1      [ ]         STREAM     CONNECTED     1420
unix  1      [ ]         STREAM     CONNECTED     1417
unix  1      [ ]         STREAM     CONNECTED     1416
unix  1      [ ]         STREAM     CONNECTED     1413
unix  1      [ ]         STREAM     CONNECTED     1412
unix  1      [ ]         STREAM     CONNECTED     1409
unix  1      [ ]         STREAM     CONNECTED     1408
unix  1      [ ]         STREAM     CONNECTED     1405
unix  1      [ ]         STREAM     CONNECTED     1404
unix  1      [ ]         STREAM     CONNECTED     1401
unix  1      [ ]         STREAM     CONNECTED     1400
unix  1      [ ]         STREAM     CONNECTED     1396
unix  1      [ ]         STREAM     CONNECTED     1395
unix  1      [ ]         STREAM     CONNECTED     1392
unix  1      [ ]         STREAM     CONNECTED     1391
unix  1      [ ]         STREAM     CONNECTED     1388
unix  1      [ ]         STREAM     CONNECTED     1387
unix  1      [ ]         STREAM     CONNECTED     1384
unix  1      [ ]         STREAM     CONNECTED     1383
unix  1      [ ]         STREAM     CONNECTED     1381
unix  1      [ ]         STREAM     CONNECTED     1380
unix  1      [ ]         STREAM     CONNECTED     1377
unix  1      [ ]         STREAM     CONNECTED     1376
unix  1      [ ]         STREAM     CONNECTED     1374
unix  1      [ ]         STREAM     CONNECTED     1373
unix  0      [ ]         DGRAM                    1355
unix  0      [ ]         DGRAM                    486
unix  0      [ ]         DGRAM                    469
unix  0      [ ]         DGRAM                    403
unix  0      [ ]         DGRAM                    392

-- 
Manuel Amador (Rudd-O)
  --------------3F0FD8D006732218DB5BA327-- From amador@alomega.com Tue Oct 17 05:55:46 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:55:46 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <39EBDBD2.B1E59A2D@alomega.com> --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit which publications? it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying. knight wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > > ;-) > > Especially to all Linux supporters for the badwill of the emails title. > > > > I would really be interested in its correct results. > > > > Cheers everyone > > Especially with all this press I've seen in publications over the last > month or two regarding Windows 2000 is outperforming *nix. (over my dead > _dead_ body) > > Knight > > > > > > > Failed requests: 137 > > > > > > No - look at your results. Every request failed on the win32 > > > box (and they all succeeded on linux). You have some sort of > > > problem in your windows setup, and you'll always get higher > > > throughput for errors than you can for completed requests... > > > > > > > > > Brian Lloyd brian@digicool.com > > > Software Engineer 540.371.6909 > > > Digital Creations http://www.digicool.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 ) > > > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit which publications?

it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying.

knight wrote:

> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly?
> ;-)
> Especially to all Linux supporters for the badwill of the emails title.
>
> I would really be interested in its correct results.
>
> Cheers everyone

Especially with all this press I've seen in publications over the last
month or two regarding Windows 2000 is outperforming *nix. (over my dead
_dead_ body)

Knight

>
> > > Failed requests:        137
> >
> > No - look at your results. Every request failed on the win32
> > box (and they all succeeded on linux). You have some sort of
> > problem in your windows setup, and you'll always get higher
> > throughput for errors than you can for completed requests...
> >
> >
> > Brian Lloyd        brian@digicool.com
> > Software Engineer  540.371.6909
> > Digital Creations  http://www.digicool.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 )
>
>

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

-- 
Manuel Amador (Rudd-O)
  --------------4EB930CA3D0F8F5E5A659AB0-- From amador@alomega.com Tue Oct 17 06:31:32 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:31:32 -0500 Subject: [Zope] security quickie References: Message-ID: <39EBE434.24853F76@alomega.com> --------------4E918131C9B66C86068C1D92 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff. It so happens that I have this setup rootfolder + myfolderobjects + inheritedstuff i have an user X in root folder. Roles are so that anonymous doesn't have permission for anything. Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff. He now can see index_html. I proxy-role index_html to the User role so i can that is into myfolderobjects, being somestuff a DTMLmethod. It works. X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects BUT, if I try to , it won't work. Note that the User role does have permission to run SQL methods. That's in my point of view, a mistake in Zope's security policy. If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy. Please help or tip. Thanks =) Seb Bacon wrote: > Does Zope security provide a way of restricting what objects are listed to > an authenticated user inside the Zope 'manage' interface? I'm getting my > head all twisted up over this security / proxy roles /local roles lark. > > Thanks, seb > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4E918131C9B66C86068C1D92 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff.

It so happens that I have this setup

rootfolder
+   myfolderobjects
      +    inheritedstuff

i have an user X in root folder.  Roles are so that anonymous doesn't have permission for anything.   Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff.  He now can see index_html.  I proxy-role index_html to the User role
so i can <dtml-var somestuff> that is into myfolderobjects, being somestuff a DTMLmethod.

It works.  X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects
 

BUT, if I try to <dtmlvar somesqlmethod>, it won't work.  Note that the User role does have permission to run SQL methods.

That's in my point of view, a mistake in Zope's security policy.  If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy.

Please help or tip.  Thanks =)
 

Seb Bacon wrote:

Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface?  I'm getting my
head all twisted up over this security / proxy roles /local roles lark.

Thanks, seb

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

-- 
Manuel Amador (Rudd-O)
  --------------4E918131C9B66C86068C1D92-- From amador@alomega.com Tue Oct 17 06:34:05 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:34:05 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <39EBE4CD.57CFF596@alomega.com> --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux. a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux. Toby Dickenson wrote: > On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" > wrote: > > >Definitely, yea! > > > >> I would really be interested in its correct results. > > We have been stress testing our Zope application on NT and Linux. Our > conclusion is that OS is not a factor in Zope performance. > > Toby Dickenson > tdickenson@geminidataloggers.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 ) -- Manuel Amador (Rudd-O) --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux.  a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux.
 

Toby Dickenson wrote:

On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
<konermann@inf.tu-dresden.de> wrote:

>Definitely, yea!
>
>> I would really be interested in its correct results.

We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.

Toby Dickenson
tdickenson@geminidataloggers.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 )

-- 
Manuel Amador (Rudd-O)
  --------------5A9018FBEE797DA68B4E7AFC-- From amador@alomega.com Tue Oct 17 06:38:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:38:47 -0500 Subject: [Zope] Animated GIFs References: <39DDE0B0.B461CE18@debis.com> <002f01c02feb$c4940970$01d4a8c0@peppe> <39E1B0D1.3A7C21C8@debis.com> Message-ID: <39EBE5E7.E972E7F5@alomega.com> --------------16F0CA6E3F92DF034E590278 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file. that means zope is mangling the file. try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case. Lars Heber wrote: > Peter Bengtsson schrieb: > > > [Just checking.] > > Have you tried to acctually _use_ the animated gif in context with other HTML? > > I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab. > > > > Excuse the childish suggestion. > > Any help is appreciated!!! > > I tried your suggestion. The animGif works fine with every kind of HTML. > I really think it's a Zope problem. > Also the gif downloaded from Zope works with HTML outside Zope. > The following doesn't work as well: > Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem... > > > the title > > > > I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem! > > Any more ideas, please? > > Thanks. > > Lars > > > ----- Original Message ----- > > From: "Lars Heber" > > To: > > Sent: Friday, October 06, 2000 3:24 PM > > Subject: [Zope] Animated GIFs > > > > > Hi there, > > > > > > I've got a strange problem. > > > > > > I want to upload an animated GIF to my Zope, but when I want to view it, > > > > > > animation stops at the last frame instead of looping indefinitely. > > > > > > When not uploaded to Zope, the animation works fine, > > > also, when I download the GIF by rightclick from a Zope site and view > > > it again outside Zope, it works perfectly! > > > > > > What's going on here??? Any ideas? > > > > > > PS.: The content_type is image/gif. > > > Do animGifs have another one? Just an idea... > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------16F0CA6E3F92DF034E590278 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file.  that means zope is mangling the file.

try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case.
 

Lars Heber wrote:

Peter Bengtsson schrieb:

> [Just checking.]
> Have you tried to acctually _use_ the animated gif in context with other HTML?
> I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab.
>
> Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem...

<html>
<head><title>the title</title></head>
<body><img src="http://localhost:8080/animGif"></body>
</html>

I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem!

Any more ideas, please?

Thanks.

Lars

> ----- Original Message -----
> From: "Lars Heber" <lheber@debis.com>
> To: <zope@zope.org>
> Sent: Friday, October 06, 2000 3:24 PM
> Subject: [Zope] Animated GIFs
>
> > Hi there,
> >
> > I've got a strange problem.
> >
> > I want to upload an animated GIF to my Zope, but when I want to view it,
> >
> > animation stops at the last frame instead of looping indefinitely.
> >
> > When not uploaded to Zope, the animation works fine,
> > also, when I download the GIF by rightclick from a Zope site and view
> > it again outside Zope, it works perfectly!
> >
> > What's going on here??? Any ideas?
> >
> > PS.: The content_type is image/gif.
> >         Do animGifs have another one? Just an idea...
>

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

-- 
Manuel Amador (Rudd-O)
  --------------16F0CA6E3F92DF034E590278-- From amador@alomega.com Tue Oct 17 06:48:44 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:48:44 -0500 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39EBE83C.68B62F16@alomega.com> --------------354AC2F22E5025E283A14E15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods. I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form. Heymann William wrote: > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. > > Thanks > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------354AC2F22E5025E283A14E15 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods.  I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form.

Heymann William wrote:

I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be assigned to the varialbe
if a valid object can not by found. I don't really have a problem if this
involves python coding I just need a place to start.

Thanks

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

-- 
Manuel Amador (Rudd-O)
  --------------354AC2F22E5025E283A14E15-- From amador@alomega.com Tue Oct 17 06:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:49:47 -0500 Subject: [Zope] zope 2.2.2 not compiling References: <007b01c03288$138ad2e0$0102a8c0@rokmil.ee> Message-ID: <39EBE87B.3B4454A7@alomega.com> --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment. Or there is a zip around, called UnxUtils.zip. do a google search and get it. Lace its contents into a folder in your PATH. Roland Tepp wrote: > Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on > WinNT to run without pcgi and it fails (console output following this letter). > > I tried to track down the problem but I don't seem to make any progress. > Could You help me please... > > ------------------------------------------------------------------------------ > Compiling python modules > > ------------------------------------------------------------------------------ > Building extension modules > > ------------------------------------------------ > Compiling extensions in lib/python > cp D:\Python/lib/python/config/Makefile.pre.in . > The name specified is not recognized as an > internal or external command, operable program or batch file. > Traceback (innermost last): > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ? > if __name__=='__main__': main(sys.argv[0]) > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main > import build_extensions > File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ? > make('lib','python') > File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make > do("cp %s ." % wheres_Makefile_pre_in()) > File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do > if i and picky: raise SystemError, i > SystemError: 1 > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment.  Or there is a zip around, called UnxUtils.zip.  do a google search and get it.  Lace its contents into a folder in your PATH.

Roland Tepp wrote:

Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
WinNT to run without pcgi and it fails (console output following this letter).

I tried to track down the problem but I don't seem to make any progress.
Could You help me please...

------------------------------------------------------------------------------
Compiling python modules

------------------------------------------------------------------------------
Building extension modules

------------------------------------------------
Compiling extensions in lib/python
cp D:\Python/lib/python/config/Makefile.pre.in .
The name specified is not recognized as an
internal or external command, operable program or batch file.
Traceback (innermost last):
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main
    import build_extensions
  File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ?
    make('lib','python')
  File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make
    do("cp %s ." % wheres_Makefile_pre_in())
  File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 1

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

-- 
Manuel Amador (Rudd-O)
  --------------A96A99DD5F1A869E4BA9CBAB-- From amador@alomega.com Tue Oct 17 06:53:09 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:53:09 -0500 Subject: [Zope] REQUEST.set size References: <39E2DDF0.5D1924@oratrix.com> Message-ID: <39EBE945.9E472ACF@alomega.com> --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: > Hi all, > > I am new to Zope but worked for 2 years in a dev-env called Uniface so > Im fairly up to speed on Zope quickly. But I am having a problem writing > data through a REQUEST.set that is larger than its apparent limit. > (sorry can remember the exact error i get from Zope) > > What I am trying to do is collect in a field a large list of emails that > are gathered in a dtml-in statement with a REQUEST.set('all', all + > email) nested in the loop. While appending the namespace to store the > data in PGSQL, i always get the size error which i assume is coming from > the publisher saying that a the request can only have a byte size of > 1800 bytes or so. > > Im not so hot with straight SQL because Uniface had its own methods, so > Im not sure if I can append data directly to a stored field or if I need > to continue trying to use the REQUEST.set. After the hundreth occurence > in the IN, the namespace I use to store the appended data, so I cannot > fully make a list of 2000 occurences. Any ideas? > > Sorry, no code to show what Im doing but it should be pretty easy to > understand for all you veterans out there... > > TIA, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary.  Anyone can help with the syntax?  I can't remember... =)
Paul Zwarts wrote:
Hi all,

I am new to Zope but worked for 2 years in a dev-env called Uniface so
Im fairly up to speed on Zope quickly. But I am having a problem writing
data through a REQUEST.set that is larger than its apparent limit.
(sorry can remember the exact error i get from Zope)

What I am trying to do is collect in a field a large list of emails that
are gathered in a dtml-in statement with a REQUEST.set('all', all +
email) nested in the loop. While appending the namespace to store the
data in PGSQL, i always get the size error which i assume is coming from
the publisher saying that a the request can only have a byte size of
1800 bytes or so.

Im not so hot with straight SQL because Uniface had its own methods, so
Im not sure if I can append data directly to a stored field or if I need
to continue trying to use the REQUEST.set. After the hundreth occurence
in the IN, the namespace I use to store the appended data, so I cannot
fully make a list of 2000 occurences. Any ideas?

Sorry, no code to show what Im doing but it should be pretty easy to
understand for all you veterans out there...

TIA,

--
Paz
Oratrix Development BV
http://www.oratrix.com
GRiNS SMIL Editor
-

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

-- 
Manuel Amador (Rudd-O)
  --------------245C6E38D0EACB6D5EC5D549-- From jacintha.menezes@wipro.com Tue Oct 17 07:43:54 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 17 Oct 2000 12:13:54 +0530 Subject: [Zope] urgent Message-ID: <018901c03805$9df75d40$f5dea8c0@wipro.com> hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha From roos@stanford.edu Tue Oct 17 07:48:02 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Mon, 16 Oct 2000 23:48:02 -0700 (PDT) Subject: [Zope] (no subject) Message-ID: I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: manage_addProperty(name='foo', value='bar', type='string') The 's don't get an error, so I must be popping namespaces on properly. But the manage_addProperty always results in: invalid attribute name, "manage_addproperty(name", for tag , on line 10 of makeSched =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about housing for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From ws@gmd.de Tue Oct 17 08:51:09 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 09:51:09 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: Message-ID: <39EC210D.10012.52485E5@localhost> On 16 Oct 2000, 12:27 Damien Morton wrote: > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > ignKMS ols.htm > > Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From paul.zwarts@oratrix.com Tue Oct 17 09:06:51 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 10:06:51 +0200 Subject: [Zope] Upgrade from 201 to 222 Message-ID: <39EC089B.DB715904@oratrix.com> Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both verisons, but before I was able to export an entire folder and then import it. Now from old to new, I get an error Error Type: TypeError Error Value: ('len() of unsized object', , None) What does this mean? I can still import single objects, but it is a major pain to import one by one, as there so many. Using an XML type doesnt work either because you cannot seem to apply that to a folder of objects either. Does anyone know about any issues that deal with this problem or am I missing something? Cheers and TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From leedm@state.mi.us Tue Oct 17 09:34:03 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 04:34:03 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From grizel@mouli.net Tue Oct 17 09:38:18 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Tue, 17 Oct 2000 10:38:18 +0200 Subject: [Zope] [OT ?... HTTP ?...] redirect W/ POST data Message-ID: <39EC0FFA.65A792CF@mouli.net> Hi, [This message may be off-topic.... Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=value&so_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed RESPONSE.headers with such data - although I'm not sure of it - but is there a better way (if there is a way...) to do this ?... Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From odeckmyn.list@teaser.fr Tue Oct 17 09:51:58 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Tue, 17 Oct 2000 10:51:58 +0200 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) References: Message-ID: <018d01c03817$82023580$0d00000a@ODECKMYN2K> Ok...No problem...We will... ----- Original Message ----- From: "Darin Lee" To: Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > > > > > > _______________________________________________ > 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 ) > > From mtaylor@goldridge.net Tue Oct 17 11:37:49 2000 From: mtaylor@goldridge.net (Monty Taylor) Date: Tue, 17 Oct 2000 12:37:49 +0200 Subject: [Zope] MySQL and Zope struggles References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <39EC2BFD.175F7DDA@goldridge.net> You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select note_id, notes from foo; This does assume that the note_id is unique. You may also need to explicitly drop foo, because it goes away when you disconnect, but of course Zope holds connections open. !!! However -- now that I think of it... you can just do: replace into Note select note_id, "New Note" from Artist where artist_id=23; Of couse, this will change all notes for an artist, so it assumes the artist_id is unique as well. (Which I would assume it is from your model.) If you need more complex things, look into temporary tables, but the MySQL extension (like replace) do allow you to do fun things. Hope this helps, Monty Richard Moon wrote: > Nice idea. Trouble is the note table is used to hold notes for many > different reasons, so it looks like this - > > ----------- ------------ -------- > | Artist | | Recording | | Label | etc. > ----------- ------------ -------- > | artist_id | |recording_id| |label_id| > | note_id | |note_id | |note_id | > ----------- ------------ -------- > | | | | | > --------------------------------------------------------- > | > ---------- > | Note | > ---------- > | note_id | > | notes | > ---------- > > It looks as if there wasn't anything I was missing - I'm just going to have > to break the code up into separate SQL Methods. > > The example I gave was quite simple compared to some of the updates I have > to deal with. > > Thanks anyway. > > At 17:40 16/10/00, you wrote: > >Or you could renormalize your data to have: > > > > --------- ----------- > >| Artist | | Note | > >|---------|-------|-----------| > >| id | | id | > > --------- | artist_id | > > | note_str | > > ----------- > > > >you now have a list of notes by artist_id. > >You typically won't have a screen that doesn't have an Artist context > >to be adding a note to. (or to remove all notes from). > >Of course this means more work to migrate :-( > >And I don't know all possible scenarios for which you would > >need the structure you gave, but it is another way around this. > >It probably doesn't solve real complex scenarios either. > > > >JAT > > > >Dale > > Richard Moon > richard@dcs.co.uk > > _______________________________________________ > 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 ) From tony.mcdonald@ncl.ac.uk Tue Oct 17 10:11:56 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 17 Oct 2000 10:11:56 +0100 Subject: [Zope] Medusa Monitor In-Reply-To: References: <39E63EFA.FE2BF947@adroit.net> Message-ID: At 1:18 pm -0700 16/10/00, Karl Anderson wrote: >Terry Kerr writes: > >> I don't think the monitor gives you any advantage? I have never >>used a ptyhon prompt before...I will have to give it a go. >> >> terry > >Actually, the advantage of the monitor is that it runs in the same >process as your server, so you can track resource issues. Mounting >the database separately avoids this. > >-- >Karl Anderson karl@digicool.com Karl, Is there anywhere documented that describes how to track resource issues? I regularly have Zope processes that hit 150 Megs of RAM and would like to know if I'm doing anything dopey. cheers tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hamish_lawson@yahoo.co.uk Tue Oct 17 12:10:52 2000 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Tue, 17 Oct 2000 12:10:52 +0100 (BST) Subject: [Zope] Roles as members of other roles? Message-ID: <20001017111052.73778.qmail@web218.mail.yahoo.com> I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish Lawson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From stefan@epy.co.at Tue Oct 17 12:15:26 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Tue, 17 Oct 2000 13:15:26 +0200 (CEST) Subject: [Zope] Force DTML evaluation? Message-ID: I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could use like like ? My second try was to derive from DTMLDocument but I could for the heck of it not figure out how to call the baseclass' methods. In python I would use baseclassname.method() but this seems impossible in ZClasses... Any insights appreciated, Stefan From chrisw@nipltd.com Tue Oct 17 12:49:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:49:39 +0100 Subject: [Zope] Name lookup emulation with a Product References: <39DC53E3.5D0FAC8E@mouli.net> <39DC55FA.1140FD89@nipltd.com> <39DC5A0D.CFB95BC3@mouli.net> <39DC5F71.D7FAA2F8@nipltd.com> <39DC6173.CAC3FD3A@mouli.net> Message-ID: <39EC3CD3.57D93BD1@nipltd.com> Pierre-Julien Grizel wrote: > > I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) > and, if I must, I can replace m1 and m2 with a __call__ method taking > another parameter specifying what kind of action it has to do. > Well, there's another little gem which got covered in a later bit of that thread. Try defining your method like: m1isDocTemp=1 def m1(self,ignored,md): # Your method here Also, check out the code in: which is really helpful in this area. In fact, a FunctionTemplate may be exactly what you're looking for... HTH, Chris From mdanaii@yahoo.com Tue Oct 17 12:51:43 2000 From: mdanaii@yahoo.com (Marc DANAI) Date: Tue, 17 Oct 2000 04:51:43 -0700 (PDT) Subject: [Zope] Question about Managed Meeting and ZopePTK Message-ID: <20001017115143.5072.qmail@web4005.mail.yahoo.com> Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any suggestion? Thank's __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From complaw@hal-pc.org Tue Oct 17 12:45:00 2000 From: complaw@hal-pc.org (Ronald L. Chichester) Date: Tue, 17 Oct 2000 06:45:00 -0500 Subject: [Zope] DUMB NEWBIE QUESTION References: <"38692F84.AAC1.045E.000*/c=us/admd= /prmd=or.gov/o=MB/ou=gwise/s=Curtis/g=David/"@MHS> Message-ID: <39EC3BBC.905D5ACD@hal-pc.org> I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works for RedHat and Mandrake. Should also work for Turbo Linux and may work for others. That should get you started. Hope that helps. Ron ./. CURTIS David wrote: > Friends of Zope, > > I am trying to get MySQL database connection installed. I was told that I need to use source Zope instead of RPM's ! Fine with me but how do I install Zope source over RPM. I tried unpacking Zope Source and installing but it creates a new directory tar -xvf Zope-2.1 instead of creating a /var/zope. Also zope starts automatically. Are there techniques to work around this??? > > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 17 12:53:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:53:22 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> Message-ID: <39EC3DB2.9474C606@nipltd.com> Michael Bernstein wrote: > On a slightly different note, I think that the permissions > list should be viewable in two more ways: A view where > permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for me :-) cheers, Chris From chrisw@nipltd.com Tue Oct 17 12:58:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:58:19 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: Message-ID: <39EC3EDB.229D6181@nipltd.com> Seb Bacon wrote: > edit a document through webDAV but *not* TTW. In my mind, you're either > authenticated to do a task, or you're not. It doesn't matter *how* you do > it. That's why 'listable' or something like it would be a better name for > the permission than 'URL Traversable', IMHO (although they both sound > *ugly*). Very good points :-) Chris From chrisw@nipltd.com Tue Oct 17 13:01:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:01:06 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14818.55701.154156.292890@lindm.dm> <14819.25118.478651.799581@lindm.dm> Message-ID: <39EC3F82.A23EEF1@nipltd.com> Dieter Maurer wrote: > Management, however, would be more difficult, as there are no > good defaults for the "URL Traversable" permission. > It is not easy, to determine (e.g.) for a DTML method/document > whether it is only used as a component (such as > "standard_html_header") or is a full grown presentation method. The defaults should be as it is now, ie: everything is visible/travesable unless you tell it not to be... cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:03:18 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:03:18 +0100 Subject: [Zope] Re: Quoting References: <14818.56839.467717.988389@lindm.dm> <39E2F3F7.FCC24885@nipltd.com> <14819.24453.263795.850378@lindm.dm> Message-ID: <39EC4006.AF926BCE@nipltd.com> Dieter Maurer wrote: > Where would you use this "id_quote"? > The only useful place might be the action of an object creation > or renaming. Exactly... > However, I am not sure, that I would prefer to get a strangely > encoded id rather than an exception that tells me some characters > are not allowed in Id's. But if you're automatically creating ids from text people have typed in (and they'll never need to know the id's) it seems nicer to me for the id to be automatically mangled to what it needs to be ratehr than throwing a confusign error (which doesn't actually tell you which character(s) are not allowed, IIRC) cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:06:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:06:03 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14821.36358.972286.290879@lindm.dm> <14823.24484.984596.626290@lindm.dm> Message-ID: <39EC40AB.CE6395E3@nipltd.com> Dieter Maurer wrote: > My primary concern (and maybe Chris') is, how can we prevent > these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris From neeloy_saha@infy.com Tue Oct 17 13:12:00 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Tue, 17 Oct 2000 17:42:00 +0530 Subject: [Zope] Searching a LocalFS through Zope Message-ID: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -----Original Message----- From: Guido van Rossum [mailto:guido@python.org] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; 'webmaster@pythonlabs.com' Subject: Re: Migrating website to zope..... Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) > Subject: Migrating website to zope..... > From: neeloy_saha > To: "'pythoneers@beopen.com'" > Cc: "'info@beopen.com'" , > "'webmaster@pythonlabs.com'" > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > Hi all, > > Sorry if u receive this mail multiple times.....I need help desperately. > > I am working in a migration project where I am trying to reenginer my > website from the html/cgi based thing to zope.[something like urs > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy > static html documents which I want to use "as it is". So I have taken help > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used > it to serve the html documents. > > Now I am facing a tricky issue of how to do a search on those files ( html > )as i do not find any patch which makes them a part of the Zcatalog. I am > using the Zcatalog to do the search on other contents of my site. > > I guess u might have faced the same issue and implemented the search. I > desperately need help on this issue. any pointers/code/patches/contact > person /how u went abt it!! would be welcome. > > Thx in advance. > > -neeloy > India From leedm@state.mi.us Tue Oct 17 13:40:49 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 08:40:49 -0400 Subject: [Zope] Away Message (Apologies) Message-ID: Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department of Environmental Quality Office of Automation Coordination Phone: (517) 241-5214 Fax: (517) 241-8379 From praveen_katiyar@infy.com Tue Oct 17 14:45:53 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 17 Oct 2000 19:15:53 +0530 Subject: [Zope] Searching through the contents of Pdf/Word/latex Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77CF@TWRMSG01> Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of pdf/doc/latex files. I have looked into HowTo's and the documentation. But being a zope newbie I am finding it difficult to find a way out. I guess that somewhere while making the catalog one has to use converters(pdftotext....and its like) and probably then use that to index those documents. Has anyone done this before. Regards, Praveen Katiyar From nichols@tradingconnections.com Tue Oct 17 15:08:51 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 17 Oct 2000 09:08:51 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016142102.A17053@enteract.com> References: <39EB447B.4060801@vt.edu> <39EB447B.4060801@vt.edu> Message-ID: <4.3.2.7.2.20001017090501.00dbad60@tradingconnections.com> At 10/16/00 02:21 PM, Fred Yankowski wrote: >Thank you both for the help. File objects are just the ticket (but it >turns out that Image objects work nearly as well). For the record, >here's what I did: In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols nichols@tradingconnections.com From dsergent@imexpert.com Tue Oct 17 15:52:41 2000 From: dsergent@imexpert.com (dsergent@imexpert.com) Date: Tue, 17 Oct 2000 16:52:41 +0200 Subject: [Zope] dtml-in Message-ID: Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot for your answer. david From mail@okstudio.com.au Tue Oct 17 17:00:16 2000 From: mail@okstudio.com.au (George Osvald) Date: Wed, 18 Oct 2000 02:00:16 +1000 Subject: [Zope] ZSQL question Message-ID: <000001c03853$57c8eac0$95f438cb@gosvald> I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George From chrisw@nipltd.com Tue Oct 17 16:00:56 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 16:00:56 +0100 Subject: [Zope] dtml-in References: Message-ID: <39EC69A8.85755C71@nipltd.com> dsergent@imexpert.com wrote: > But I was only able to print the name of the dtml document, how can I > execute the script write in the dtml document ? The following should do it: cheers, Chris From drusch@globalcrossing.com Tue Oct 17 16:12:10 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 17 Oct 2000 10:12:10 -0500 Subject: [Zope] urgent References: <018901c03805$9df75d40$f5dea8c0@wipro.com> Message-ID: <39EC6C4A.9137897F@globalcrossing.com> To: From: Subject: PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote: > > hi, > i am using zope(2.2.1) for sending mails, but it is not possible to send > attachment. > kindly let me know the reason have made use of mime to send attachment. > thanks, > jacintha > > _______________________________________________ > 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 ) From alexander@limi.net Tue Oct 17 16:20:27 2000 From: alexander@limi.net (Alexander Limi) Date: Tue, 17 Oct 2000 17:20:27 +0200 (CEST) Subject: [Zope] Message exchange between distributed python code Message-ID: Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore the post to this list :), but in essence this is not directly Zope related as much as a Python decision. One of my prerequisites is that the messaging should be as portable as possible. The message format will likely end up being XML-based, but what I want to know is what kind of message exchange methods are there that are portable and easy to move to another programming language if need be? You see, I am prototyping this thing in python, but some parts may be rewritten in C later on. All POSIX features will be available, so maybe I can use some of that? The suggestions I've gotten so far is: -SMTP (use SMTP to transfer a mail to the other machine containing the message, handle the mail with procmail and write it to a file that the other program can read) -XML-RPC (is this lightweight enough? and is it easy to handle, and does it take care of the transport of the message too? What about C clients/servers?) I think what I want is maybe something like Java's RMI, but it should work with both Python and C. Being able to send messages between programs without too much hassle or overhead while still remaining portable is my goal. Any advice appreciated. And please CC me, as I'm not on the list at the moment. -- Alexander Limi alexander@limi.net From Eric@Walstads.net Tue Oct 17 16:25:39 2000 From: Eric@Walstads.net (Eric Walstad) Date: Tue, 17 Oct 2000 08:25:39 -0700 Subject: [Zope] (no subject) In-Reply-To: Message-ID: Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: Hope it helps. Eric. // I want to create a large number of properties for a Zclass. // My Zclass has a propertysheet named Schedule. // // I've tried stuff like this: // // // // // manage_addProperty(name='foo', value='bar', type='string') // // // // // // The 's don't get an error, so I must be popping namespaces on // properly. But the manage_addProperty always results in: // // invalid attribute name, "manage_addproperty(name", for tag , on // line 10 of makeSched // // // =Rob====== // ====J===== // =====Roos= From paul.zwarts@oratrix.com Tue Oct 17 16:39:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 17:39:07 +0200 Subject: [Zope] ZSQL question References: <000001c03853$57c8eac0$95f438cb@gosvald> Message-ID: <39EC729B.A087D4FD@oratrix.com> > I have a table with lots of data in my Gadfly database. I would like to add > a couple of new columns to that table. Is it at all possible to add columns > to existing table or do I have to create a new table all together? > Nope, ALTER TABLE ADD i think should do it... Let me check ALTER TABLE memberlist ADD name VARCHAR Yep... that does it. Although I had tested this in PGSQL, Im sure it works for GadFly also. Since you are also inserting a new column you may want to initialize all current reocrds with a value, but I cant remember what it was... If you really need it, let me know, I'll dig in for you. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From apancani@topgroup.com.ar Tue Oct 17 17:28:08 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 13:28:08 -0300 Subject: [Zope] Stored Procedures Message-ID: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> This is a multi-part message in MIME format. ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 I=B4m using Zope with an Informix Database conected with ZODBC Product = and I need some information about how to call a STORED PROCEDURE I=B4m trying to call a STORED PROCEDURE that executes a simple query. I = do it using a ZSQL method, but when i try to test it, i receive the = error message "empty column name". Does anybody have any information = about that problem? ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
I=B4m using Zope with an Informix = Database conected=20 with ZODBC Product and I need some information about how to call a = STORED=20 PROCEDURE
I=B4m trying to call a STORED PROCEDURE = that executes=20 a simple query. I do it using a ZSQL method, but when i try to test = it, i=20 receive the error message "empty column name". Does anybody have = any=20 information about that problem?
------=_NextPart_000_00EB_01C0383E.16C7E220-- From chrisw@nipltd.com Tue Oct 17 17:51:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 17:51:39 +0100 Subject: [Zope] Re: =?iso-8859-1?Q?R=E9f?= . : Re: [ Zope ] dtml-in References: Message-ID: <39EC839B.A9E22C@nipltd.com> (keep copying to the list so other people can jump in and help) dsergent@imexpert.com wrote: > > thks a lot for your answer. It works, but I've a lot of dtml documents in > my folder, and it's tooooooooooooooooooo slow with the sequence-item tag > (less than one seconde with , and more than 10 secondes, with > . Do you know any explaination about that ??? Of course ;-) is rendering a single string. goes through and renders each whole document, which takes a lot longer... cheers, Chris From ws@gmd.de Tue Oct 17 18:16:51 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:16:51 +0200 Subject: [Zope] Stored Procedures In-Reply-To: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> Message-ID: <39ECA5A3.18247.72A6D78@localhost> Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/plain; > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From evan@4-am.com Tue Oct 17 18:36:07 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 17 Oct 2000 13:36:07 -0400 Subject: [Zope] Message exchange between distributed python code References: Message-ID: <009d01c03860$bb67c5d0$3e48a4d8@digicool.com> From: Alexander Limi > -XML-RPC > (is this lightweight enough? and is it easy to handle, and does it take > care of the transport of the message too? What about C clients/servers?) > > I think what I want is maybe something like Java's RMI, but it should work > with both Python and C. Being able to send messages between programs > without too much hassle or overhead while still remaining portable is my > goal. XML-RPC is fairly lightweight, but lightweight enough? No idea. It's a fairly simple XML-ish marshalling scheme that uses HTTP for transport, and URLs for method addressing. If all you want to send is lists and dicts containing simple types (lists, dicts, strings, numbers) it works great. There are Java libraries, and probably C/C++ as well. Cheers, Evan @ digicool & 4-am From scott@launchpoint.net Tue Oct 17 18:36:12 2000 From: scott@launchpoint.net (Scott Burton) Date: Tue, 17 Oct 2000 10:36:12 -0700 Subject: [Zope] __len__ Errors Message-ID: > 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. --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I seem to be getting __len__ errors: Error type: exceptions.AttributeError Error value: __len__ When accessing any method with an loop. I am running 2.1.6, with the current hot fixes. It seems to have started after installing the hot fixes. I can replicate it with a simple loop in a method. I read somewhere about the hotfix changing objects ownerships. Could this be causing this? If so, how do I remove a hotfix? It has rendered my discussion groups useless. TIA Scott --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable __len__ Errors I seem to be getting __len__ errors: Error type: exceptions.AttributeError
Error value: __len__
When accessing any method with an <dtml-in > loop.
I am running 2.1.6, with the current hot fixes. It seems to have started af= ter installing the hot fixes.
I can replicate it with a simple <dtml-in> loop in a method. I read s= omewhere about the hotfix changing objects ownerships. Could this be causing= this? If so, how do I remove a hotfix? It has rendered my discussion groups= useless.

TIA

Scott
--MS_Mac_OE_3054623773_59425_MIME_Part-- From ws@gmd.de Tue Oct 17 18:45:48 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:45:48 +0200 Subject: [Zope] bobobase_modification_time and .zexp Message-ID: <39ECAC6C.4299.744F0A7@localhost> import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? From asc@vineyard.net Tue Oct 17 19:04:12 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 17 Oct 2000 14:04:12 -0400 (EDT) Subject: [Zope] Determining permissions in a Product Message-ID: Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with the minimum set of permissions. If I understand the docs correctly, I have enabled the right flags but still I get prompted for a username/password when I try to add an item. Obviously, I would like to solve this problem I would be very interested to hear about more general approaches to problem solving products. Thanks, From apancani@topgroup.com.ar Tue Oct 17 19:08:47 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 15:08:47 -0300 Subject: [Zope] STORED PROCEDURES Message-ID: <013c01c03865$4bf873c0$8901a8c0@topgroup.com.ar> Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty column name". Does anybody have any information about that problem? From Marcin.Kasperski@softax.com.pl Tue Oct 17 19:18:52 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Tue, 17 Oct 2000 20:18:52 +0200 Subject: [Zope] bobobase_modification_time and .zexp References: <39ECAC6C.4299.744F0A7@localhost> Message-ID: <39EC980C.3C49C228@softax.com.pl> Wolfgang Strobl wrote: > > import/export obviously doesn't preserve time stamps (i.e. > bobobase_modification_time). This is unfortunate for any content > which depends on those timestamps. How do you people out there > solve this problem when it comes to moving content from different > Zope installations into a single one? > I just developed custom document ZClass which basically: - inherits from CatalogAware and DTML Document - contains custom property sheet which contains creationTime attribute (and some others, like meta_keywords or meta_summary) - constains constructor method which sets creationTime to current time. Wherever I need information when the page has been created, I use my creationTime attribute. I do not know how to implement 'modificationTime' attribute (or better: how to change it whenever someone edits or uploads the document). -- http://www.mk.w.pl / Marcin.Kasperski | O kredytach mieszkaniowych: @softax.com.pl | http://www.kupmieszkanie.w.pl/mieszkanie_kredyt @bigfoot.com \ From jburton@scw.org Tue Oct 17 19:21:59 2000 From: jburton@scw.org (Joel Burton) Date: Tue, 17 Oct 2000 14:21:59 -0400 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? Message-ID: <39EC6087.17333.FA79B38@localhost> I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: ... ... However, this requires lots of code. I'm trying to do it like this: Sorted by &dtml-sortby; () I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org) From jfarr@real.com Tue Oct 17 20:25:21 2000 From: jfarr@real.com (Jonothan Farr) Date: Tue, 17 Oct 2000 12:25:21 -0700 Subject: [Zope] Searching a LocalFS through Zope References: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Message-ID: <113401c03870$196e5e50$416917ac@poly> Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope > Hi all, > > Well I had sent this earlier but i want to resend this again!! I have not > yet received a reply back. > > Can anyone suggest me a way out ??? > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to **load the data.fs**. Now. I am running into > search problems. How do i do a search the filesystem file? and also ensure > that the search results come from both the filesystem files and the portal > zcatalog.?? > > I guess there are two ways ?? > ** attach a search engine to index on the filesystem files and let zcatalog > take care of the rest. > ** or make all those html files zcatalog aware.But then u cant look inside > pdf/latex/word docs or do u??. > > I guess I would prefer the first one !! gut feel probably that would require > less effort and I can support different file formats . Has anyone used a > FREE external search engine ith zope before.If so which one is it ??? > > -neeloy > > -----Original Message----- > From: Guido van Rossum [mailto:guido@python.org] > Sent: Monday, October 16, 2000 7:53 PM > To: neeloy_saha > Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; > 'webmaster@pythonlabs.com' > Subject: Re: Migrating website to zope..... > > > Strange though it seems, we are *not* Zope experts (yet). We used an > external volunteer to set up our site. I recommend that you post your > question to one of the Zope mailing lists -- see www.zope.org for > pointers. > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > Subject: Migrating website to zope..... > > From: neeloy_saha > > To: "'pythoneers@beopen.com'" > > Cc: "'info@beopen.com'" , > > "'webmaster@pythonlabs.com'" > > > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > > > Hi all, > > > > Sorry if u receive this mail multiple times.....I need help desperately. > > > > I am working in a migration project where I am trying to reenginer my > > website from the html/cgi based thing to zope.[something like urs > > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of > legacy > > static html documents which I want to use "as it is". So I have taken help > > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and > used > > it to serve the html documents. > > > > Now I am facing a tricky issue of how to do a search on those files ( > html > > )as i do not find any patch which makes them a part of the Zcatalog. I am > > using the Zcatalog to do the search on other contents of my site. > > > > I guess u might have faced the same issue and implemented the search. I > > desperately need help on this issue. any pointers/code/patches/contact > > person /how u went abt it!! would be welcome. > > > > Thx in advance. > > > > -neeloy > > India > > _______________________________________________ > 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 ) > From ws@gmd.de Tue Oct 17 20:25:18 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 21:25:18 +0200 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39EC980C.3C49C228@softax.com.pl> Message-ID: <39ECC3BE.15125.7A005BC@localhost> On 17 Oct 2000, 20:18 Marcin Kasperski wrote: > Wolfgang Strobl wrote: > > > > import/export obviously doesn't preserve time stamps (i.e. > > bobobase_modification_time). This is unfortunate for any content > > which depends on those timestamps. How do you people out there solve > > this problem when it comes to moving content from different Zope > > installations into a single one? > > > > I just developed custom document ZClass which basically: > - inherits from CatalogAware and DTML Document > - contains custom property sheet which contains creationTime attribute > (and some others, like meta_keywords or meta_summary) - constains > constructor method which sets creationTime to current time. > > Wherever I need information when the page has been created, I use my > creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? > > I do not know how to implement 'modificationTime' attribute (or > better: how to change it whenever someone edits or uploads the > document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From mj@digicool.com Tue Oct 17 20:51:12 2000 From: mj@digicool.com (Martijn Pieters) Date: Tue, 17 Oct 2000 21:51:12 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: <39EC210D.10012.52485E5@localhost>; from ws@gmd.de on Tue, Oct 17, 2000 at 09:51:09AM +0200 References: <39EC210D.10012.52485E5@localhost> Message-ID: <20001017215112.A25689@zopatista.com> On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: > On 16 Oct 2000, 12:27 Damien Morton wrote: > > > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > > ignKMS ols.htm > > > > Looks like MS has embraced the Zope way of doing things > > "You must have scripting enabled in order to view this site. Please modify > your browser's settings accordingly. " > Eeek. Try http://msdn.microsoft.com/library/techart/DesignKMSols.htm -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Tue Oct 17 20:51:21 2000 From: sebbacon@email.com (Seb Bacon) Date: Tue, 17 Oct 2000 20:51:21 +0100 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? In-Reply-To: <39EC6087.17333.FA79B38@localhost> Message-ID: I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was I'll dig out the patches as send them to you. seb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > Burton > Sent: 17 October 2000 19:22 > To: zope@zope.org > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > I'd like to create a DTML method that lists objects, sorting either by > name or modified-date. I know I can do this by: > > > > ... > > > ... > > > > However, this requires lots of code. I'm trying to do it like this: > > > Sorted by &dtml-sortby; > > > () > > > > I have a property, sortby, of the enclosing folder set to > "bobobase_modification_time"; when this method is called, it > dutifully reports that sortby=b_m_t; however, it doesn't sort things > this way (I can't tell exactly how it is sorting them, and when I > refresh, the order occasionally changes.) > > Any ideas? > > -- > Joel Burton, Director of Information Systems -*- jburton@scw.org > Support Center of Washington (www.scw.org) > > _______________________________________________ > 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 ) > From shervan@urbanlink.net Tue Oct 17 21:39:10 2000 From: shervan@urbanlink.net (Shervan Agard) Date: Tue, 17 Oct 2000 16:39:10 -0400 Subject: [Zope] Web Mail & Account creation. Message-ID: <39ECB8ED.7482F5D1@urbanlink.net> Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... From CwJohnso@bindview.com Tue Oct 17 21:29:28 2000 From: CwJohnso@bindview.com (Johnson, Chris) Date: Tue, 17 Oct 2000 15:29:28 -0500 Subject: [Zope] non oreilly zope book Message-ID: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj From andym@ActiveState.com Tue Oct 17 21:33:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:33:20 -0700 Subject: [Zope] IIS and PCGI Message-ID: <002001c03879$7cc09cd0$ae03a8c0@fork> Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for example http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope 2.2.1. Anyone encountered this and know the solution? Thanks. -- Andy McKay, Developer. ActiveState. From andym@ActiveState.com Tue Oct 17 21:39:49 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:39:49 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> Message-ID: <037301c0387a$64dd6390$ae03a8c0@fork> Is the same one that got cancelled? > Josh Zeidner wrote: > > > > WROX contacted me a while back saying they wanted to do a Zope book as > > well. Does anyone know anything about this? > > > > -josh > > Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming ----- Original Message ----- From: "Johnson, Chris" To: Sent: Tuesday, October 17, 2000 1:29 PM Subject: [Zope] non oreilly zope book > http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref > =aps_sr_b_1_3/104-9172912-5316749 > > > Take a look at wrox press december publish date for a Zope book. > > > > cj > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 17 21:41:46 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:41:46 -0700 Subject: [Zope] Web Mail & Account creation. References: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: <037901c0387a$aabd1d60$ae03a8c0@fork> There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... ----- Original Message ----- From: "Shervan Agard" To: Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail & Account creation. > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From rik.hoekstra@inghist.nl Tue Oct 17 21:51:35 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 17 Oct 2000 22:51:35 +0200 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> Message-ID: <011901c0387c$0ac8b600$fe5da182@michieltje> > Is the same one that got cancelled? > the very same Rik From zope@engelhaupt.com Tue Oct 17 22:00:09 2000 From: zope@engelhaupt.com (zope@engelhaupt.com) Date: Tue, 17 Oct 2000 21:00:09 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010172100.QAA30719@dawn.digitaldawn.com> I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin From andym@ActiveState.com Tue Oct 17 22:55:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 14:55:28 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> <011901c0387c$0ac8b600$fe5da182@michieltje> Message-ID: <0df901c03884$f68e66e0$ae03a8c0@fork> I wont rush out and get a copy then :P ----- Original Message ----- From: "Rik Hoekstra" To: "Andy McKay" ; "Johnson, Chris" ; Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book > > Is the same one that got cancelled? > > > > the very same > > Rik > > > _______________________________________________ > 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 ) > From Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" Tue Oct 17 23:01:48 2000 From: Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" (Rudd-O) Date: Tue, 17 Oct 2000 17:01:48 -0500 Subject: [Zope] Two questions regarding SQL Message-ID: <200010172201.RAA30311@zeus.usm.edu.ec> Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil From zope@grewen.de Tue Oct 17 23:01:36 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 18 Oct 2000 00:01:36 +0200 Subject: [Zope] Web Mail & Account creation. Message-ID: <002c01c03885$d23d1c40$0300a8c0@windows> > Take a look at http://demo.worldpilot.com:8080/site/. > > It´s a Zope product. > > Jens > > > ----- Original Message ----- > From: "Shervan Agard" > To: > Sent: Tuesday, October 17, 2000 10:39 PM > Subject: [Zope] Web Mail & Account creation. > > > > Is it possible to create a hotmail-like web email server using zope? > > Where users create their own account. > > > > I'd like some insight how-to's or any assistant. > > > > > > Thanks... > > Sherv... > > > > > > > > _______________________________________________ > > 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 ) > > > From neves@samba-choro.com.br Wed Oct 18 00:20:54 2000 From: neves@samba-choro.com.br (Paulo Eduardo Neves) Date: Tue, 17 Oct 2000 20:20:54 -0300 Subject: [Zope] GUF and IE friendly error messages Message-ID: <39ECDED6.3FAA7A2E@samba-choro.com.br> Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user friendly error page. If the user is told to change the IE configuration for not showing friendly errors, the login screen appears. It is not easy to setup for unexperienced users. When the http status is 400 (not found) IE shows the friendly error just for pages smaller than 512 bytes. Unfortunately, it doesn't work when the error status is 500 (server error). I've tried to change http status with RESPONSE.setStatus(200) in the standard_html_error, but it doesn't work. Is it possible to change the http status after an exception is raised? Can someone suggest a solution or workaround for this problem? Thanks in advance for any help, -- Paulo Eduardo Neves http://www.samba-choro.com.br From p@state-of-mind.de Tue Oct 17 23:56:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 18 Oct 2000 00:56:18 +0200 Subject: [Zope] AW: [Zope] Web Mail & Account creation. In-Reply-To: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify the /etc/passwd if I wanted to fullfill the points a), b) and c). Since I don't want anyone to touch that beside of root ;-) I am aiming to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice in connection with zope if you are willing to write something that emulates the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might write some python script to get ridd of 'cyradm'. After creating new users you can log them in using WorldPilot. p@rick > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Shervan Agard > Gesendet: Dienstag, 17. Oktober 2000 22:39 > An: zope@zope.org > Betreff: [Zope] Web Mail & Account creation. > > > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From jprettyman@acm.org Wed Oct 18 00:46:37 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 17 Oct 2000 16:46:37 -0700 Subject: [Zope] Want to access ZClass Instance from external program Message-ID: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon From michel@digicool.com Wed Oct 18 01:51:40 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 17 Oct 2000 17:51:40 -0700 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> Message-ID: <39ECF41C.744A05C7@digicool.com> Chris Withers wrote: > > Michael Bernstein wrote: > > On a slightly different note, I think that the permissions > > list should be viewable in two more ways: A view where > > permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit from super class permissions, so permission could be laid out in a heirarchical fasion. Permission Add Add Foos Edit Edit Bars Delete Delete Bobs View etc... we've thought about this before. implementation makes my brain hurt. -Michel From erik@pacific-shores.com Wed Oct 18 02:11:35 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 17 Oct 2000 18:11:35 -0700 Subject: [Zope] strange problem Message-ID: This is a DTML_Method I call from my standard_error_message: To: Webmaster <> From: ZopeServer <> Subject: Problem at Error Type: Error Value: Error Msg: : I call it like this: The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: : ...it works well. Thanks for you help. -- Erik Myllymaki erik@pacific-shores.com From kthangavelu@earthlink.net Tue Oct 17 23:00:44 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 15:00:44 -0700 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 References: <200010172100.QAA30719@dawn.digitaldawn.com> Message-ID: <39ECCC0C.D05B6916@earthlink.net> hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) >which python they probably aren't the same. just edit the start script accordingly. kapil zope@engelhaupt.com wrote: > > I have a working install of Zope 2.2.2. I installed the python module PoPy > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > README said to run a configure script but there was none. So I just moved the > ZPoPyDA directory it created into the lib/python/Products directory in my zope > home. > > Now for the strange part. When I start zope, I get the following: > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > Traceback (innermost last): > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > (Object: string) > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > ImportError: No module named PoPy > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > on my own. I created a file with the following line: > > import PoPy > > I ran 'python test' and no errors. I added the line: > > import bla > > And then ran 'python test' again just to be sure and it did die saying no such > module bla. I even typed 'import PoPy' in the python interactive shell and > nothing. So outside of zope, python seems to be able to import PoPy, but when > zope tries to import ZPoPyDA it claims there is no PoPy module. > > Any ideas? > > Thanks in advance, > Dustin > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:14:54 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:14:54 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: Message-ID: <39ECDD6E.BA8FD958@earthlink.net> Jon Prettyman wrote: > > I have a folder containing a bunch of ZClass instances that I want to > access from an external (non-web) python application. > > I need to be able to read the values of the instance properties. > > Is there a way to do this with the ZClient stuff? If not, what can I > use. If yes, any pointers? > > -jon its easiest to it with (IMO) xml-rpc and find your zclasses with calls to objectids and query the propertysheets directly for property info. check out http://www.zope.org/Members/Amos/xmlrpclib.py you'll need to fix a base class and an import. www.xml-rpc.com www.xml.com search for amos and zope.org for howtos on xmlrpc Cheers Kapil From kthangavelu@earthlink.net Wed Oct 18 00:16:13 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:16:13 -0700 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? References: Message-ID: <39ECDDBD.771622A1@earthlink.net> i believe these patches are in the collector on zope.org Seb Bacon wrote: > > I needed to do this a while back and a kind fellow sent me some patches to > do just this. Unfortunately my old email is unavailable at the moment, so > I've forgotten who it was. > > The syntax was > > I'll dig out the patches as send them to you. > > seb > > > -----Original Message----- > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > > Burton > > Sent: 17 October 2000 19:22 > > To: zope@zope.org > > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > > > > I'd like to create a DTML method that lists objects, sorting either by > > name or modified-date. I know I can do this by: > > > > > > > > ... > > > > > > ... > > > > > > > > However, this requires lots of code. I'm trying to do it like this: > > > > > > Sorted by &dtml-sortby; > > > > > > () > > > > > > > > I have a property, sortby, of the enclosing folder set to > > "bobobase_modification_time"; when this method is called, it > > dutifully reports that sortby=b_m_t; however, it doesn't sort things > > this way (I can't tell exactly how it is sorting them, and when I > > refresh, the order occasionally changes.) > > > > Any ideas? > > > > -- > > Joel Burton, Director of Information Systems -*- jburton@scw.org > > Support Center of Washington (www.scw.org) > > > > _______________________________________________ > > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:26:33 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:26:33 -0700 Subject: [Zope] strange problem References: Message-ID: <39ECE029.DD9A6C9A@earthlink.net> Erik Myllymaki wrote: > > This is a DTML_Method I call from my standard_error_message: > > > To: Webmaster <> > From: ZopeServer <> > Subject: Problem at > > Error Type: > Error Value: > Error Msg: > > > : > > > > I call it like this: > > The mail is sent appropriately including all the REQUEST items, but the page > that is calling this DTML_Method never finishes downloading. > > It seems that the loop through the REQUEST items causes page rendering to > hang? After several minutes, stopping the page download brings up a > *transfer interupted* message and only then do I see the bottom of the page. > > If I leave this out: > > > : > > > ...it works well. > > Thanks for you help. probably because the response is part of the request object, so you loop... do a request.keys() to see whats there literally and a request variables in dtml are in request.other request variables passed in through dtml are in request.form cheers kapil > > -- > Erik Myllymaki > erik@pacific-shores.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 ) From nspurrier@bluelight.com Wed Oct 18 02:52:57 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 17 Oct 2000 18:52:57 -0700 Subject: [Zope] Bypass ZODB and use File System Message-ID: Hi, Is there an easy way that I can get Zope to use the local file system instead of ZODB? I basically want to make it share the local file system with Apache. Will the LocalFS product do what I want? http://yyy.zope.org/Members/jfarr/Products/LocalFS I looked at it, and so far it seems to do the trick. I'm not sure what limitations I might encounter. So far I can't move files between a real Zope directory and a LocalFS directory. I guess I'm just looking for advice to see if I'm on the right track. What we really want to do is to provide a second view to /var/www/htdocs for Apache. I understand that Apache won't serve up our dynamic content, but that's not important. Zope is just viewed as a better solution for managing our static documents. The problem we have in my organization is that there is a lot of resistance to my prototype Zope document management system due to the fact that everything is stored in ZODB. We think this risky -- possibly a data prison. Also people don't want to change from their current habits of editing files via NFS or Samba mounted directories. My original plan was to allow them some sort of syncronization process, but now I think that would be crazy. Yours, Noah From kthangavelu@earthlink.net Wed Oct 18 05:05:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 21:05:29 -0700 Subject: [Zope] Help Debugging External Methods References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <39ED2189.48CEE0BF@earthlink.net> Robert_J_Roberts@rl.gov wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > robert_j_roberts@rl.gov > > -----Original Message----- > From: Dieter Maurer [mailto:dieter@handshake.de] > Sent: Saturday, October 14, 2000 1:51 PM > To: Robert_J_Roberts@rl.gov > Cc: zope@zope.org > Subject: Re: [Zope] Help Debugging External Methods > > Robert_J_Roberts@rl.gov writes: > > What are my options for debugging External Methods in Zope running on > > Windows NT? > I work under Unix. Maybe my technics are not applicable for NT. > > Usually, I use "print" statements for debugging purposes. > Under Unix, I can redirect "stdout" to a file and > view the output (be sure to flush stdout after "print"). > > You can also use "zLog" (may be spelled differently!). > This writes log entries into the log file. > The advantages: will work under Windows, contains a timestamp. > > If the external method does not need too many Zope infrastructure, > I test it outside of Zope and integrate only, when it works > properly. > > When everything else does not work, I use "Test.py" and > the Python debugger "pdb". > > Dieter > > _______________________________________________ > 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 ) From chrisw@nipltd.com Wed Oct 18 10:15:14 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:15:14 +0100 Subject: [Zope] Determining permissions in a Product References: Message-ID: <39ED6A22.F3A73506@nipltd.com> Aaron Straup Cope wrote: > > Obviously, I would like to solve this problem I would be very interested > to hear about more general approaches to problem solving products. When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what needs fixing. Incidnetally, I think this is a bit of a security hole. You shouldn't get told what you're not allowed to see, especially if it's 'cos you got your password wrong. If you see what I mean ;-) cheers, Chris From chrisw@nipltd.com Wed Oct 18 10:48:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:48:58 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> <39ECF41C.744A05C7@digicool.com> Message-ID: <39ED720A.68C4A244@nipltd.com> Michel Pelletier wrote: > > Chris Withers wrote: > > > > Michael Bernstein wrote: > > > On a slightly different note, I think that the permissions > > > list should be viewable in two more ways: A view where > > > permissions are grouped into 'subjects', (for example all > > Perhaps a better idea is that Permissions are classes that inherit from > super class permissions, so permission could be laid out in a > heirarchical fasion. I dunno, I'd prefer to see something like: Role | Manager |\/| (dropdown list ;-) DTML Method [] Add [] View ...etc... Squishdot Site [] Add [] View [] Moderate ...etc... rather than the current list where you can have something like: Use [] [] [] ...where someone has carelessly named a permission and you have no idea what product it relates to. cheers, Chris From tdickenson@geminidataloggers.com Wed Oct 18 11:10:51 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 18 Oct 2000 11:10:51 +0100 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39ECC3BE.15125.7A005BC@localhost> References: <39EC980C.3C49C228@softax.com.pl> <39ECC3BE.15125.7A005BC@localhost> Message-ID: On Tue, 17 Oct 2000 21:25:18 +0200, "Wolfgang Strobl" wrote: >> Wherever I need information when the page has been created, I use my >> creationTime attribute. > >Sure. For your own creations it's somewhat easier, just create your >own timestamps. But what about existing content. Say: what if you >have a Yihawdirectory which has grown for a while, plus a >collection of Zwikis scattered over various Zopes, which I want to >move into a a single new, but already existing on a bigger, greater >and better server? Zopes existing 'find' mechanism lets you apply an operation to all the objects that it matches - use that to patch your existing objects to the new schema. >> I do not know how to implement 'modificationTime' attribute (or >> better: how to change it whenever someone edits or uploads the >> document). > >Well, for a moment I considered hacking ExportImport.py, but it's >not obvious. That's why I'm asking whether somebody perhaps >already has solved the problem. > >There is the option of stripping all the various data.fs and combining >them via mounting, but this is far from elegant, if it works at all. bobobase_modification_time returns the timestamp of the transaction containing the most recent copy of the object. timestamping is fundamental to ZODB. For this alone to work you will need to keep the objects in separate data.fs files forever. Toby Dickenson tdickenson@geminidataloggers.com From sabaini@niil.at Wed Oct 18 12:37:41 2000 From: sabaini@niil.at (Peter Sabaini) Date: Wed, 18 Oct 2000 13:37:41 +0200 (CEST) Subject: [Zope] DCOracle + LOB Message-ID: hi all, i have this shiny brand new oracle 8i server and now read (on the mailinglist) that there's no lob support for oracle 8i in dcoracle 1.3.2, and indeed it does not appear to work. is that true? i need lob support! is there any workaround? through stored procedures maybe? thanks a lot! peter. -- _________________________________________________ peter sabaini, mailto: sabaini@niil.at ------------------------------------------------- From richard@dcs.co.uk Wed Oct 18 12:20:06 2000 From: richard@dcs.co.uk (Richard Moon) Date: Wed, 18 Oct 2000 12:20:06 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: <39EC2BFD.175F7DDA@goldridge.net> References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <4.3.2.7.2.20001018121331.024ceef0@195.60.12.162> Thanks Monty, I did try the temporary table route - problem is that Zope keeps the connection open so the temporary table stays there. Of course you can explicitly drop the temporary table after you've used it. However if the update fails for any reason the temporary table will still exist so next time in the SQL method fails because its trying to create a temporary table that is already there. I know this shouldn't happen etc but I don't like code that has that kind of potential problem in it - it isn't 'fail-safe'. I decided better to use a permanent table. The SQL method locks it, deletes everything in it then writes the data it needs to store. That way its fail safe and I would expect more efficient than creating and dropping tables. However I hadn't appreciate the REPLACE command. That's a real hidden gem. I'm off to see if I can use it - thanks. Richard At 11:37 17/10/00, you wrote: >You can do it with temporary tables. > >Like this- > >create temporary table foo ( > note_id int, > notes varchar >); >insert into foo select Note.note_id, Note.notes from Note, Artist > where Note.note_id=Artist.note_id and Artist.artist_id=23; >update foo set notes="asdlfna"; >replace into Note select note_id, notes from foo; > >This does assume that the note_id is unique. >You may also need to explicitly drop foo, because it goes away when you >disconnect, but of course Zope holds connections open. > >!!! However -- now that I think of it... you can just do: >replace into Note select note_id, "New Note" from Artist where artist_id=23; > >Of couse, this will change all notes for an artist, so it assumes the >artist_id is unique as well. (Which I would assume it is from your model.) > >If you need more complex things, look into temporary tables, but the MySQL >extension (like replace) do allow you to do fun things. > >Hope this helps, >Monty > >Richard Moon wrote: > > > Nice idea. Trouble is the note table is used to hold notes for many > > different reasons, so it looks like this - > > > > ----------- ------------ -------- > > | Artist | | Recording | | Label | etc. > > ----------- ------------ -------- > > | artist_id | |recording_id| |label_id| > > | note_id | |note_id | |note_id | > > ----------- ------------ -------- > > | | | | | > > --------------------------------------------------------- > > | > > ---------- > > | Note | > > ---------- > > | note_id | > > | notes | > > ---------- > > > > It looks as if there wasn't anything I was missing - I'm just going to have > > to break the code up into separate SQL Methods. > > > > The example I gave was quite simple compared to some of the updates I have > > to deal with. > > > > Thanks anyway. > > > > At 17:40 16/10/00, you wrote: > > >Or you could renormalize your data to have: > > > > > > --------- ----------- > > >| Artist | | Note | > > >|---------|-------|-----------| > > >| id | | id | > > > --------- | artist_id | > > > | note_str | > > > ----------- > > > > > >you now have a list of notes by artist_id. > > >You typically won't have a screen that doesn't have an Artist context > > >to be adding a note to. (or to remove all notes from). > > >Of course this means more work to migrate :-( > > >And I don't know all possible scenarios for which you would > > >need the structure you gave, but it is another way around this. > > >It probably doesn't solve real complex scenarios either. > > > > > >JAT > > > > > >Dale > > > > Richard Moon > > richard@dcs.co.uk > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From brocken22@gmx.de Wed Oct 18 13:05:47 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Wed, 18 Oct 2000 14:05:47 +0200 (MEST) Subject: [Zope] Mozilla->back button Message-ID: <5288.971870747@www26.gmx.net> To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? -- Sent through GMX FreeMail - http://www.gmx.net From fjesteban@uco.es Wed Oct 18 13:11:05 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 18 Oct 2000 14:11:05 +0200 Subject: [Zope] DCOracle + LOB References: Message-ID: <39ED9359.264E4CF@uco.es> If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully to insert/select text into/from a clob column. Peter Sabaini escribió: > hi all, > > i have this shiny brand new oracle 8i server and now read (on the > mailinglist) that there's no lob support for oracle 8i in dcoracle > 1.3.2, and indeed it does not appear to work. > > is that true? i need lob support! is there any workaround? through > stored procedures maybe? > > thanks a lot! > > peter. > > -- > > _________________________________________________ > peter sabaini, mailto: sabaini@niil.at > ------------------------------------------------- > > _______________________________________________ > 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 ) From ssmith6@bigpond.net.au Wed Oct 18 13:19:25 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Wed, 18 Oct 2000 22:19:25 +1000 Subject: [Zope] SQL cursor error Message-ID: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Anyone know what this means? Error Type: sql.error Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor state' I get this when I try to submit a form which passes control to a dtml method. that method in turn makes a dtml-call to another, which calls a SQL method. Regards Steve Smith From chrism@digicool.com Wed Oct 18 05:44:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Wed, 18 Oct 2000 00:44:41 -0400 Subject: [Zope] transactions howto released Message-ID: <000301c03908$4698bb30$1f48a4d8@kurtz> Hi. There's a short howto describing the semantics of ZODB transactions at http://www.zope.org/Members/mcdonc/HowTos/transaction. Enjoy! From ecolmar@uswest.net Wed Oct 18 14:40:05 2000 From: ecolmar@uswest.net (ed colmar) Date: Wed, 18 Oct 2000 07:40:05 -0600 Subject: [Zope] UserDb - Please just WORK Message-ID: <004401c03908$ec509700$0400000a@caliber> Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the specified user does not exist". Arrggg this task is so simple but REALLY FRUSTRATING... Thank you, thank you, thank you... (to anyone who can help) Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in validate (Object: RoleManager) File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in validate (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in getUsers (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in __init__ TypeError: (see above) From cobrien@Radix.Net Wed Oct 18 14:36:13 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? Message-ID: <200010181336.JAA26776@saltmine.radix.net> Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out might see all these seemingly useful things and get frustrated when they dont work. Arrrggg. I just want a bulletin board that works! I know what you are going to say, so I'll start digging through the python code before you yell at me... -- cary From kthangavelu@earthlink.net Wed Oct 18 09:35:27 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:35:27 -0700 Subject: [Zope] Mozilla->back button References: <5288.971870747@www26.gmx.net> Message-ID: <39ED60CF.82677F@earthlink.net> brocken22@gmx.de wrote: > > To support Mozilla I'd like to switch to M18, but in the > Zope-Management-Interface the back-button doesn't seems to work. > What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil From kthangavelu@earthlink.net Wed Oct 18 09:57:10 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:57:10 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181336.JAA26776@saltmine.radix.net> Message-ID: <39ED65E6.523E77EF@earthlink.net> Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! perhaps you want to check out ZUBB... kapil From johanc@torped.se Wed Oct 18 15:21:43 2000 From: johanc@torped.se (Johan Carlsson) Date: Wed, 18 Oct 2000 16:21:43 +0200 Subject: [Zope] INSTANCE_HOME breaks cross products import Message-ID: <013c01c0390e$c164ada0$ac0aa8c0@tor.torped.se> Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import anything from the ZPattern module. 2000-10-17T21:59:14 ERROR(200) Zope Couldn't import Products.LoginManager Traceback (innermost last): File /bigshare/zopeservers/Zope-2.2.2-base/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /bigshare/zopeservers/unitedrings/Products/LoginManager/__init__.py, line 1, in ? File /bigshare/zopeservers/unitedrings/Products/LoginManager/LoginManager.py, line 9, in ? ImportError: cannot import name SheetProviderContainer Now this works fine if I start Zope from the base Zope installation. So what goes wrong and why? Does I do anything wrong or should/could this be fixed in the product? If so I guess it would be practical to document som product author guidelines. Regards, Johan Carlsson From phil.harris@zope.co.uk Wed Oct 18 15:29:46 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Wed, 18 Oct 2000 15:29:46 +0100 Subject: [Zope] UserDb - Please just WORK References: <004401c03908$ec509700$0400000a@caliber> Message-ID: <01dd01c0390f$e026dd70$5c773fc1@media1> ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be something like : select username, "PASSWORD",domains,roles from users Note the quotation marks around 'password'. Another solution involves editing UserDB.py, I can't remember the exact place, but you need to tell it to use a different name for the password field, I chose 'password_' at one time, which also fixed the problem. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "ed colmar" To: Sent: Wednesday, October 18, 2000 2:40 PM Subject: [Zope] UserDb - Please just WORK > Since Login Manager isn't doing the trick, I've been trying User DB to > authenticate to my postgresql DB. > > I get some strange errors, like when I try to view a page that is > 'protected' by UserDb, I get the error message below. Also, when I click a > user in the management screen, it says "the specified user does not exist". > > Arrggg this task is so simple but REALLY FRUSTRATING... > > Thank you, thank you, thank you... (to anyone who can help) > > Error Type: TypeError > Error Value: argument 1: expected read-only character buffer, None found > > Traceback (innermost last): > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in > publish > File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in > traverse > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in > getUsers > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in > __init__ > TypeError: (see above) > > > > > _______________________________________________ > 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 ) From knight@righteous.net Wed Oct 18 15:24:03 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:24:03 -0700 (PDT) Subject: [Zope] SQL cursor error In-Reply-To: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Message-ID: The first problem is your are running Microsoft. Just kidding. On Wed, 18 Oct 2000, steve smith wrote: > Anyone know what this means? > > Error Type: sql.error > Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor > state' > I get this when I try to submit a form which passes control to a dtml > method. that method in turn makes a dtml-call to another, which calls a SQL > method. > > > Regards > Steve Smith > > > _______________________________________________ > 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 ) > > From knight@righteous.net Wed Oct 18 15:26:04 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:26:04 -0700 (PDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: Cary, I've written some code that requires ZSQL Methods that I've been heavily considering porting over to a Product sometime in the near future. It has been more of a "is there enough demand for a forum product" than anything really. Take a look at http://www.phunc.com/Forums and tell me if it looks any bit appealing to you. If I see enough demand, I'll productize it, otherwise, tough luck ;] Knight knight@phunc.com On Wed, 18 Oct 2000, Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From fred@ontosys.com Wed Oct 18 15:39:20 2000 From: fred@ontosys.com (Fred Yankowski) Date: Wed, 18 Oct 2000 09:39:20 -0500 Subject: [Zope] Help Debugging External Methods In-Reply-To: <39ED2189.48CEE0BF@earthlink.net> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> <39ED2189.48CEE0BF@earthlink.net> Message-ID: <20001018093920.A2884@enteract.com> On Tue, Oct 17, 2000 at 09:05:29PM -0700, Kapil Thangavelu wrote: > The Debugger is your friend > http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend That's a useful page -- thanks for the link. It's interesting that the example fooMethod() function has a major flaw, contrary to what the HowTo says: "There's actually nothing wrong with this method to debug". I would have replied directly to the author, 'michel', but his email address does not appear on that HowTo page or any of the pages that I scanned under http://www.zope.org/Members/michel. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From jatwood@bwanazulia.com Wed Oct 18 15:50:25 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 10:50:25 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > To: zope@zope.org > Subject: [Zope] How about removing broken things like Confera and > ZDiscussions? > > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From jason_zope@yahoo.com Wed Oct 18 16:57:33 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 18 Oct 2000 08:57:33 -0700 (PDT) Subject: [Zope] GUF, ZODB, and 2.2.2 Message-ID: <20001018155733.22225.qmail@web4601.mail.yahoo.com> Has anyone had luck getting GUF to work using ZODB to store the user info, and Zope version 2.2.2 (no hot fixes)? I had some code working fine in 2.2.1, but in 2.2.2 I am having lots of trouble getting GUF to work. The current implementation I have places a folder in the acl_users (GUF) folder and that is where I've put my own ZClass (representing each user) inside that folder. In a vain attempt to get it working I have made sure that there are no aquired rights in acl_users, and that anonymous has the Can Login, and Access contents rights. I've also changed all of the hooks I have and made them proxy as root. I've had trouble in the past with GUF but I've always gotten it working. Not so here. Has anyone tried this type of setup and gotten it working? __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jprettyman@acm.org Wed Oct 18 17:01:09 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 09:01:09 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Kapil Thangavelu's message of "Tue, 17 Oct 2000 16:14:54 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com" ) print server for k,v in server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): print "%-15s: %s" % (k, v) My ZClass has a propertysheet named ``common'' The error I get is: -2 Unexpected Zope Error Value and a bunch of HTML which boils down to: Resource not found -jon Kapil Thangavelu writes: > its easiest to it with (IMO) > > xml-rpc > > and find your zclasses with calls to objectids and query the > propertysheets directly for property info. > > > check out > > http://www.zope.org/Members/Amos/xmlrpclib.py > you'll need to fix a base class and an import. > > www.xml-rpc.com > > www.xml.com search for amos > > and zope.org for howtos on xmlrpc > > Cheers > > Kapil > > _______________________________________________ > 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 ) From zope@snoman.com Wed Oct 18 17:16:15 2000 From: zope@snoman.com (Dustin) Date: Wed, 18 Oct 2000 16:16:15 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010181616.LAA00374@dawn.digitaldawn.com> Thanks for the help Kapil. That was the problem, but what I did instead was copied the PoPymodule.so from the system python lib folder to /zope_home/lib/python. That did the trick. Dustin Kapil Thangavelu said: > > hi dustin > > your probably not running the same python interpreters. > > check your start shell script and see which python interpreter its using > and compare > it to (i'm kinda of assuming your're on a *nix system) > > >which python > > they probably aren't the same. just edit the start script accordingly. > > kapil > > zope@engelhaupt.com wrote: > > > > I have a working install of Zope 2.2.2. I installed the python module PoPy > > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > > README said to run a configure script but there was none. So I just moved the > > ZPoPyDA directory it created into the lib/python/Products directory in my zope > > home. > > > > Now for the strange part. When I start zope, I get the following: > > > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > > Traceback (innermost last): > > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > > (Object: string) > > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > > ImportError: No module named PoPy > > > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > > on my own. I created a file with the following line: > > > > import PoPy > > > > I ran 'python test' and no errors. I added the line: > > > > import bla > > > > And then ran 'python test' again just to be sure and it did die saying no such > > module bla. I even typed 'import PoPy' in the python interactive shell and > > nothing. So outside of zope, python seems to be able to import PoPy, but when > > zope tries to import ZPoPyDA it claims there is no PoPy module. > > > > Any ideas? > > > > Thanks in advance, > > Dustin > > > > _______________________________________________ > > 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 ) > From chrisw@nipltd.com Wed Oct 18 17:21:41 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:21:41 +0100 Subject: [Zope] __len__ Errors References: Message-ID: <39EDCE15.EBC8C92C@nipltd.com> Nope, the list might benefit from seeing the traceback though... cheers, Chris Scott Burton wrote: > > They are ZDiscussion based. I might have figured out why. I added my custom > properties to the discussion items. I did not know ZD was python-based and > not entirely ZClassed. > > I have been moving my products over to 2.2 on my server with the exception > of ZDiscussion which seems to be giving me a strange error when I try to > import the ZDiscussion.zexp. It is an A pickle error. I could give you the > trace back it has some strange errors in it regarding other product???. > > I will try some more this evening. > > Thanks, > > Scott > > > From: Chris Withers > > Organization: New Information Paradigms > > Date: Wed, 18 Oct 2000 10:16:34 +0100 > > To: Scott Burton > > Subject: Re: [Zope] __len__ Errors > > > > Scott: No HTML mail! ;-) > > > > Are the discussions groups Squishdot-based? > > > > Any reason you can't upgrade to 2.2.2? > > > > cheers, > > > > Chris > > > > Scott Burton wrote: > >> > >> I seem to be getting __len__ errors: Error type: > >> exceptions.AttributeError > >> Error value: __len__ > >> When accessing any method with an loop. > >> I am running 2.1.6, with the current hot fixes. It seems to have > >> started after installing the hot fixes. > >> I can replicate it with a simple loop in a method. I read > >> somewhere about the hotfix changing objects ownerships. Could this be > >> causing this? If so, how do I remove a hotfix? It has rendered my > >> discussion groups useless. > >> > >> TIA > >> > >> Scott > > From aboulang@ldeo.columbia.edu Wed Oct 18 17:26:28 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Wed, 18 Oct 2000 12:26:28 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: Message-ID: <200010181626.MAA20584@ox.ldgo.columbia.edu> There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a more formal declaration of the dependencies on versions of products relied upon at the download pages -- for some products this has become a tricky and madning process to make sure all the versions are correct for a product to run. This is natural in the progress of Zope and Zope products and will become even more and issue as Zope matures even further. This can be formalized. I do like the way SGI does some of this. Just my cents (sense). Regards, Albert Boulanger aboulanger@vpatch.com From chrisw@nipltd.com Wed Oct 18 17:29:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:29:31 +0100 Subject: [Zope] Discussions References: <200010181336.JAA26776@saltmine.radix.net> <39ED65E6.523E77EF@earthlink.net> Message-ID: <39EDCFEB.5BB3F2BB@nipltd.com> Kapil Thangavelu wrote: > > Cary O'Brien wrote: > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > perhaps you want to check out ZUBB... Or Squishdot ;-) Who's maintaining ZUBB nowadays? cheers, Chris From cobrien@Radix.Net Wed Oct 18 17:32:14 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:32:14 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181626.MAA20584@ox.ldgo.columbia.edu> from albert boulanger at "Oct 18, 2000 12:26:28 pm" Message-ID: <200010181632.MAA17485@saltmine.radix.net> > > > There is a ZDiscussions that works. It is called ZUBB. > > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > > Might be better to have a more formal declaration of the dependencies > on versions of products relied upon at the download pages -- for some > products this has become a tricky and madning process to make sure all > the versions are correct for a product to run. This is natural in the > progress of Zope and Zope products and will become even more and issue > as Zope matures even further. This can be formalized. I do like the > way SGI does some of this. > Bangs head. Doh! Why the heck don't products have explicit requirements the "package require n.m" in TCL. Heck, python ought to. Import Fred(1.2) from Bedrock Or something like that. -- cary From mvmendes@emdata.com.br Wed Oct 18 15:39:15 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Wed, 18 Oct 2000 14:39:15 +0000 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39EDB613.E94E2A65@emdata.com.br> Take a look at Security View of its ZClass. Give permissions to anonymous users. Marcus Mendes Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From andym@ActiveState.com Wed Oct 18 17:41:09 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 18 Oct 2000 09:41:09 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181632.MAA17485@saltmine.radix.net> Message-ID: <013b01c03922$38697300$50f47118@cr582427a> How about a tested with version x field on Products? ----- Original Message ----- From: "Cary O'Brien" To: Cc: Sent: Wednesday, October 18, 2000 9:32 AM Subject: Re: [Zope] How about removing broken things like Confera and ZDiscussions? > > > > > > There is a ZDiscussions that works. It is called ZUBB. > > > > http://www.zope.org/Members/BwanaZulia/ZUBB > > > > But, I agree, old product that have been left behind (the old version of > > ZDiscussions/Confera) should be marked and or archived. > > > > J > > > > > > > > Might be better to have a more formal declaration of the dependencies > > on versions of products relied upon at the download pages -- for some > > products this has become a tricky and madning process to make sure all > > the versions are correct for a product to run. This is natural in the > > progress of Zope and Zope products and will become even more and issue > > as Zope matures even further. This can be formalized. I do like the > > way SGI does some of this. > > > > Bangs head. Doh! > > Why the heck don't products have explicit requirements the "package require n.m" > in TCL. Heck, python ought to. > > Import Fred(1.2) from Bedrock > > Or something like that. > > -- cary > > _______________________________________________ > 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 ) > From cobrien@Radix.Net Wed Oct 18 17:41:59 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: from "J. Atwood" at "Oct 18, 2000 10:50:25 am" Message-ID: <200010181641.MAA18455@saltmine.radix.net> > There is a ZDiscussions that works. It is called ZUBB. > But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Arrg. -- cary > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > From: "Cary O'Brien" > > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > > To: zope@zope.org > > Subject: [Zope] How about removing broken things like Confera and > > ZDiscussions? > > > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > > > I know what you are going to say, so I'll start digging > > through the python code before you yell at me... > > > > -- cary > > > > > > _______________________________________________ > > 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 ) > > > > > From jatwood@bwanazulia.com Wed Oct 18 17:51:59 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:51:59 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181641.MAA18455@saltmine.radix.net> Message-ID: So... add attachments. Not really a big deal. No one product is going to do it all out of the box. That is why it is Open Source.. you open it and provide your own source of code. :) J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) > To: jatwood@bwanazulia.com (J. Atwood) > Cc: cobrien@radix.net, zope@zope.org > Subject: Re: [Zope] How about removing broken things like Confera and > ZDiscussions? > >> There is a ZDiscussions that works. It is called ZUBB. >> > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. > > Arrg. > > -- cary > > >> http://www.zope.org/Members/BwanaZulia/ZUBB >> >> But, I agree, old product that have been left behind (the old version of >> ZDiscussions/Confera) should be marked and or archived. >> >> J >> >>> From: "Cary O'Brien" >>> Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) >>> To: zope@zope.org >>> Subject: [Zope] How about removing broken things like Confera and >>> ZDiscussions? >>> >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >>> >>> I know what you are going to say, so I'll start digging >>> through the python code before you yell at me... >>> >>> -- cary >>> >>> >>> _______________________________________________ >>> 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 ) >>> >>> >> > > From jatwood@bwanazulia.com Wed Oct 18 17:54:22 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:54:22 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDCFEB.5BB3F2BB@nipltd.com> Message-ID: Yes, Squishdot is a very good option as well. ZUBB, it would seem, it being maintained by little ole me. Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 17:29:31 +0100 > To: Kapil Thangavelu > Cc: "Cary O'Brien" , zope@zope.org > Subject: Re: [Zope] Discussions > > Kapil Thangavelu wrote: >> >> Cary O'Brien wrote: >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >> >> perhaps you want to check out ZUBB... > > Or Squishdot ;-) > > Who's maintaining ZUBB nowadays? > > 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 ) > > From chrisw@nipltd.com Wed Oct 18 18:04:54 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:04:54 +0100 Subject: [Zope] Squish it References: <200010181641.MAA18455@saltmine.radix.net> Message-ID: <39EDD836.C90CA6A1@nipltd.com> Cary O'Brien wrote: > > > There is a ZDiscussions that works. It is called ZUBB. > > > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. Squishdot does attachments ;-) Chris PS: It was originally based on ZDConfera, btu has grown a bit since then ;-) From chrisw@nipltd.com Wed Oct 18 18:05:55 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:05:55 +0100 Subject: [Zope] Discussions References: Message-ID: <39EDD873.83FA3B7B@nipltd.com> "J. Atwood" wrote: > > Maybe I should write a little "Differences between ZUBB and Squishdot" so > people can figure out where to use one or the other. I'd love to read it :-) Chris From kthangavelu@earthlink.net Wed Oct 18 13:35:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 05:35:12 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: <39ED9900.5219EA03@earthlink.net> Jon Prettyman wrote: > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > server. So far I can retrieve objectIds and retrieve objects via an > objectid, but I can't figure out how to get to the property sheets. > > Here's what I've got: > > server = Server( "http://jonprettyman.com" ) > > print server > > for k,v in > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > print "%-15s: %s" % (k, v) > > My ZClass has a propertysheet named ``common'' > > The error I get is: > -2 Unexpected Zope Error Value > > and a bunch of HTML which boils down to: > > Resource not found > > -jon hmmm... try and take it a step back and query the propertysheet container for names of propertysheets it contains. you'll need to check out the ZQR for the syntax, i think its propertyIds(). you might also want to check that your authenticating with a user that has the proper security roles to query this info. if you're still having problems tell me and i'll play with it once i get back from work. Cheers Kapil From jatwood@bwanazulia.com Wed Oct 18 19:43:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 14:43:57 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDD873.83FA3B7B@nipltd.com> Message-ID: No problem... I have to go look at Squishdot again though. Forgetting some of the features. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 18:05:55 +0100 > To: "J. Atwood" > Cc: Kapil Thangavelu , Cary O'Brien > , zope@zope.org > Subject: Re: [Zope] Discussions > > "J. Atwood" wrote: >> >> Maybe I should write a little "Differences between ZUBB and Squishdot" so >> people can figure out where to use one or the other. > > I'd love to read it :-) > > Chris > From jprettyman@acm.org Wed Oct 18 19:38:22 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 11:38:22 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 05:35:12 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: Adding: try: for k in server.EBQ.id_company_apply_html.propertysheets.propertyIds(): print "%-15s:" % (k) except Error, v: print server print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are properties of server.EBQ. -jon Ender writes: > Jon Prettyman wrote: > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > server. So far I can retrieve objectIds and retrieve objects via an > > objectid, but I can't figure out how to get to the property sheets. > > > > Here's what I've got: > > > > server = Server( "http://jonprettyman.com" ) > > > > print server > > > > for k,v in > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > print "%-15s: %s" % (k, v) > > -jon > > hmmm... > > try and take it a step back and query the propertysheet container for > names of propertysheets it contains. you'll need to check out the ZQR > for the syntax, i think its propertyIds(). > > > you might also want to check that your authenticating with a user > that has the proper security roles to query this info. > > > if you're still having problems tell me and i'll play with it once i get > back from work. > > Cheers > > Kapil > > _______________________________________________ > 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 ) From DBaker@CHW.edu Wed Oct 18 22:44:39 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:44:39 -0700 Subject: [Zope] MySQL and Zope struggles Message-ID: What about one sql method: select @noteid:=note_id from artist where update note set notes = where note_id = @noteid -----Original Message----- From: Richard Moon [mailto:richard@dcs.co.uk] Sent: Monday, October 16, 2000 2:48 AM To: zope@zope.org Subject: [Zope] MySQL and Zope struggles I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk _______________________________________________ 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 ) From DBaker@CHW.edu Wed Oct 18 22:46:22 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:46:22 -0700 Subject: [Zope] Two questions regarding SQL Message-ID: Dunno if someone replied to this, but try GUF. Let's you roll your own authentication. There is a howto out there for using GUF with an SQL server. -----Original Message----- From: //www.alomega.com/ [mailto:amadorm@usm.edu.ec] Sent: Tuesday, October 17, 2000 3:02 PM To: zope@zope.org Subject: [Zope] Two questions regarding SQL Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil _______________________________________________ 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 ) From asc@vineyard.net Wed Oct 18 22:54:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 17:54:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER Message-ID: Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping that I'm not staring right past the problem. Can anyone point out what it is I am doing wrong? Thanks, a) DTML Document : foo b) ZSQL Method : people.lookup_by_username select * from people where username = "" From jprettyman@acm.org Wed Oct 18 23:18:17 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 15:18:17 -0700 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Aaron Straup Cope's message of "Wed, 18 Oct 2000 17:54:57 -0400 (EDT)" References: Message-ID: I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From asc@vineyard.net Thu Oct 19 00:20:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 19:20:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: > I'm pretty sure that all variables have to be passed in explicitly > with SQLMethods. Namespaces are not passed in. > > Try specifying username as an argument in the ZSQLMethods edit form > and pass it in like this: > "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()"> > > (Untested....) > > -jon > > Aaron Straup Cope writes: > > > Hi, > > > > I'm trying to perform a simple MySQL lookup based on the > > AUTHENTICATED_USER. When I test the ZSQL method from the management > > interface, everything works fine. However, when I try to call the method > > from a DTML document, [it] returns nothing. > > > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > > right past the problem. Can anyone point out what it is I am doing > > wrong? Thanks, > > > > a) DTML Document : foo > > > > > > > > > > > > > > > > b) ZSQL Method : people.lookup_by_username > > > > select * from people where username = " > "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > > > > > _______________________________________________ > > 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 ) > > From ssmith6@bigpond.net.au Thu Oct 19 00:19:48 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Thu, 19 Oct 2000 09:19:48 +1000 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: <000501c03959$e9c75040$be348490@vic.bigpond.net.au> I have an approach that works for me, but it may be a bit awkward. I have a SQL method (dbGetUserID) which takes AUTHENTICATED_USER as an argument and finds the value from the "userid" field in the database: select userid from users where shortname = When I need to perform database ops on the user, I just call this method and use the resulting id, eg, insert into sometable (userid, otherfield) values (, ) I have AUTHENTICATED_USER in the parameter list for this SQL method as well, though it may not need to be... Steve -----Original Message----- From: jjp@wacko.pdx.net [mailto:jjp@wacko.pdx.net]On Behalf Of Jon Prettyman Sent: Thursday, 19 October 2000 8:18 To: zope@zope.org Subject: Re: [Zope] ZSQL Method & AUTHENTICATED_USER I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From curtis@cardgate.net Thu Oct 19 01:11:05 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 19 Oct 2000 11:11:05 +1100 Subject: [Zope] A clarity problem... Message-ID: <00101911110507.01234@localhost.localdomain> Green things, After seeing yet another problem caused by the 'shorthand' of zope (using "foo" to mean expr="foo") I was wondering just how difficult it would be to REMOVE this useful, but confusing, feature. Personally, I don't have a problem with it, any more. But it seems a sizable portion of traffic on this list is because of people who do. (True, it seems to have dropped off in recent weeks... is this because there is better doco, or have newbie numbers dropped?) Even if it were a build time option or something... just rambling... Curtis Maloney From andreas@ahit.de Thu Oct 19 01:56:29 2000 From: andreas@ahit.de (Andreas) Date: Thu, 19 Oct 2000 02:56:29 +0200 Subject: [Zope] OT: Zope/ReportLab/PDF generate left aligned tables Message-ID: <39EE46BD.69FECE79@ahit.de> Hi, Is anybody out there using ReportLab PDF library ? I successfully installed ReportLab and PIL to serve out pdf files with Zope. Now I'm in trouble with reportlab.platypus.SimpleDocTemplate ,Table. I can't figure out how to draw a table left aligned on a PageTemplate. I can set several styles of table cells but wehrer can I set the alignment of a table within it's frame? ################## # myZopeTable.py # ################## import string from reportlab.platypus import Image,Table, TableStyle, SimpleDocTemplate from reportlab.lib.units import inch, cm from reportlab.lib import colors from reportlab.pdfgen.canvas import Canvas from reportlab.lib.pagesizes import A4, landscape from reportlab.pdfgen.textobject import PDFTextObject from types import * class buffer: def __init__(self): self._buffer = [] self._size = 0 def write(self,line): self._buffer.append(str(line)) def read(self): data = string.join(self._buffer, '') return data def tell(self): return len(self._buffer) def myPage(canvas,doc): canvas.saveState() canvas.setPageCompression(1) canvas.setFont('Times-Roman',9) canvas.setAuthor('andreas@aHit.de') canvas.drawRightString(doc.leftMargin+doc.width,10,"Page %d" % doc.page) canvas.restoreState() def helloworld(self,req): stream = buffer() res=self.SqlWizardQuery() # ZSQLMethod data=[] for i in range(len(res)): row=res[i] items=[] items.append(req.sq+i) for j in range(len(row)): items.append(row[j]) data.append(items) t=Table(data) t.setStyle(TableStyle([('INNERGRID',(0,0),(-1,-1),0.25,colors.black), ('BOX',(0,0),(-1,-1),2.0,colors.black), ('ALIGN',(0,0),(-1,0),'CENTER'), ('ALIGN',(0,1),(0,-1),'RIGHT'), ('FONTSIZE',(0,0),(-1,0),8), ])) lst = [] lst.append(t) doc = SimpleDocTemplate(stream, pagesize=landscape(A4), leftMargin=2*cm, rightMargin=2*cm, topMargin=2.5*cm, bottomMargin=2*cm ,showBoundary=1) doc.build(lst,myPage,myPage) return stream.read() -- _________________________________________________________ Andreas Heckel andreas@aHIT.de From mvmendes@emdata.com.br Thu Oct 19 03:03:08 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 00:03:08 -0200 Subject: [Zope] ZopeTime Question Message-ID: <39EE565C.10E56169@emdata.com.br> Hello, Why the ZopeTime puts the differents values in the code bellow? The first give me todays date; the second give me the tomorrow date!! How can I obtain the todays date using fmt=%A sintaxe? Thanks in advance. Marcus Mendes From akm@mail.theinternet.com.au Thu Oct 19 02:19:13 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Thu, 19 Oct 2000 11:19:13 +1000 Subject: [Zope] ZopeTime Question In-Reply-To: <39EE565C.10E56169@emdata.com.br>; from Marcus Mendes on Thu, Oct 19, 2000 at 12:03:08AM -0200 References: <39EE565C.10E56169@emdata.com.br> Message-ID: <20001019111913.W11738@zeus.theinternet.com.au> +-------[ Marcus Mendes ]---------------------- | Hello, | | Why the ZopeTime puts the differents values in the code bellow? | | | | | | | The first give me todays date; | the second give me the tomorrow date!! | | How can I obtain the todays date using fmt=%A sintaxe? Explicitly pass your TimeZone into ZopeTime as well. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From homewerk@pacbell.net Thu Oct 19 02:40:47 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Wed, 18 Oct 2000 18:40:47 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 Message-ID: <39EE511F.7B02C0C8@pacbell.net> I currently have Zope and Python installed from the source code from the excellent instructions by JShell. But there is one little problem....CPU Utilization shoots above 97% as soon as I access the management screen. If anybody has any ideas or solutions. Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh 320Mb......G4 Thanks Jeff Jeffy.spamtrap.@.spamtrap2.myrealbox.com From kthangavelu@earthlink.net Wed Oct 18 21:38:29 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 13:38:29 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: <39EE0A45.422DD031@earthlink.net> Sorry Jon, i've lead you down a slippery slope... unlike ttw dtml-methods and the rest of zope which relies on the security context soley, for a filesys python method to be exposed through the web via xml-rpc it must have a doc string as well as have proper credentials. looking through propertysheets there is no 'proper' way to do this... but i lead you down the path, so here is a way back out... there are a couple of options. the easiest is to have dtml_method for this zclass that functions as a helper method, like dtml method -- external_helper and in the client x = root.subfolder.zclass.external_helper() meta_info=eval(x) print meta_info ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) or if external_helper returned propertyItems() [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] if you're working with DateTime values in your propertysheets this will be trickier as you'll need to either retrieve the property you want independently or import Zope's DateTime module. also remember to set the security on the helper method so its not helping somebody hack your site. the rest of the ways are exercises in wasting time... IMO hope that helps out Cheers Kapil Jon Prettyman wrote: > > Adding: > try: > for k in > server.EBQ.id_company_apply_html.propertysheets.propertyIds(): > print "%-15s:" % (k) > except Error, v: > print server > print "ERROR", v > > Gives me output, although I'm pretty shure it's not the right thing. > Output: > title > base > > Both of these are properties of server.EBQ. > > -jon > > Ender writes: > > > Jon Prettyman wrote: > > > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > > server. So far I can retrieve objectIds and retrieve objects via an > > > objectid, but I can't figure out how to get to the property sheets. > > > > > > Here's what I've got: > > > > > > server = Server( "http://jonprettyman.com" ) > > > > > > print server > > > > > > for k,v in > > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > > print "%-15s: %s" % (k, v) > > > -jon > > > > hmmm... > > > > try and take it a step back and query the propertysheet container for > > names of propertysheets it contains. you'll need to check out the ZQR > > for the syntax, i think its propertyIds(). > > > > > > you might also want to check that your authenticating with a user > > that has the proper security roles to query this info. > > > > > > if you're still having problems tell me and i'll play with it once i get > > back from work. > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) From terry@adroit.net Thu Oct 19 05:10:06 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 19 Oct 2000 15:10:06 +1100 Subject: [Zope] OT: documentation systems. Message-ID: <39EE741E.5D1B438E@adroit.net> Hi, What documentation systems to people use for developing offline hardcopy and online user documentation for applications that they develop? I am writing an extensive application using zope, and it needs a lot of user documentation. The system I use won't necessarily have to be web based...I just wants something that is effect. terry -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From Riku.Voipio@tietoenator.com Thu Oct 19 08:07:57 2000 From: Riku.Voipio@tietoenator.com (Riku Voipio) Date: Thu, 19 Oct 2000 10:07:57 +0300 Subject: [Zope] debugging zope? Message-ID: <20001019100757.A1254@samncd.tsd.tieto.com> Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio riku.voipio@tietoenator.com 09-862 60764 From mail@okstudio.com.au Thu Oct 19 11:18:13 2000 From: mail@okstudio.com.au (George Osvald) Date: Thu, 19 Oct 2000 20:18:13 +1000 Subject: [Zope] Z2.log question Message-ID: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George From gchiu@compkarori.co.nz Thu Oct 19 10:50:21 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Thu, 19 Oct 2000 22:50:21 +1300 Subject: [Zope] Tiny tables In-Reply-To: <20001013194008.A15613@corrada.com> Message-ID: On Fri, 13 Oct 2000 19:40:08 -0400 andres@corrada.com wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as such. One > quick way to get around this is to quote your field value > - > > "criteria:tokens" Hi, I tried this, and the tinytables just discarded the column. As a temporary fix, I've just created a ZClass to hold the tokens. What I would like to do now is feed the tokens into a sqlmethod, which then populates a tinytable with new values. My zclass has a string attribute called p_tinytable which holds the name of the tinytable to be changed. However, if I call the function as follows: I get: Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' or I get: Error Type: AttributeError Error Value: manage_editData -- Graham Chiu From jatwood@bwanazulia.com Thu Oct 19 11:18:27 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 19 Oct 2000 06:18:27 -0400 Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> References: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > From bill@carbonecho.com Thu Oct 19 12:40:21 2000 From: bill@carbonecho.com (Bill Welch) Date: Thu, 19 Oct 2000 11:40:21 +0000 (GMT) Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? From Oliver Sturm Thu Oct 19 13:08:40 2000 From: Oliver Sturm (Oliver Sturm) Date: Thu, 19 Oct 2000 14:08:40 +0200 Subject: [Zope] Python/Perl methods? Message-ID: <4615697541.20001019140840@oliver-sturm.de> Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver mailto:sturm@oliver-sturm.de From mvmendes@emdata.com.br Thu Oct 19 23:19:00 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 22:19:00 +0000 Subject: [Zope] ZopeTime Questions Message-ID: <39EF7354.3A1DA3D9@emdata.com.br> Hello, ->>>> I'm using the following code. ->>>> I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always !!!! ->>> I'm starting my Zope with option -L pt_BR. Any comments or help? Thanks in advance. Marcus Mendes From asc@vineyard.net Thu Oct 19 14:01:58 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Thu, 19 Oct 2000 09:01:58 -0400 (EDT) Subject: [Zope] OT: documentation systems. In-Reply-To: <39EE741E.5D1B438E@adroit.net> Message-ID: I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com There's alreast atleast one XML stylesheet for the outline documents : http://www.whump.com/www/xmlone/source/outline/outline.xsl On Thu, 19 Oct 2000, Terry Kerr wrote: > Hi, > > What documentation systems to people use for developing offline hardcopy > and online user documentation for applications that they develop? I am > writing an extensive application using zope, and it needs a lot of user > documentation. The system I use won't necessarily have to be web > based...I just wants something that is effect. > > terry > > > -- > Terry Kerr (terry@adroit.net) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 708 124 > ICQ: 79303381 > > > > > _______________________________________________ > 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 ) > > From cobrien@Radix.Net Thu Oct 19 14:15:20 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Thu, 19 Oct 2000 09:15:20 -0400 (EDT) Subject: [Zope] ZDiscussions for Zope 2.2.2 Message-ID: <200010191315.JAA08209@saltmine.radix.net> Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a few places. 3) Fix a check for "Cancel" 4) fix the size of __ac_permissions__ I uploaded it to www.zope.org (never done that before, it is pretty nice!). I left the RCS files in place in case anyone wants to critique my um-er work. http://www.zope.org/Members/cobrien/ZDiscussions_zope22 You may be happier with ZUBB or Squishdot. -- cary From taco@scargo.nl Thu Oct 19 14:26:25 2000 From: taco@scargo.nl (Taco Scargo) Date: Thu, 19 Oct 2000 15:26:25 +0200 Subject: [Zope] Help needed with news articles Message-ID: <001501c039d0$2df5d400$53001f0a@TACOTOSHIBA> Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From steve@spvi.com Thu Oct 19 15:14:17 2000 From: steve@spvi.com (Steve Spicklemire) Date: Thu, 19 Oct 2000 09:14:17 -0500 (EST) Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 In-Reply-To: <39EE511F.7B02C0C8@pacbell.net> (message from Jeff Forsyth on Wed, 18 Oct 2000 18:40:47 -0700) References: <39EE511F.7B02C0C8@pacbell.net> Message-ID: <200010191414.JAA58313@mercury.spvi.com> Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve >>>>> "Jeff" == Jeff Forsyth writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions by JShell. But there is one little Jeff> problem....CPU Utilization shoots above 97% as soon as I Jeff> access the management screen. If anybody has any ideas or Jeff> solutions. Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Jeff> Rights Reserved. Power Macintosh Jeff> 320Mb......G4 Jeff> Thanks Jeff Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com Jeff> _______________________________________________ Zope Jeff> maillist - Zope@zope.org Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross Jeff> posts or HTML encoding! ** (Related lists - Jeff> http://lists.zope.org/mailman/listinfo/zope-announce Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From fred@ontosys.com Thu Oct 19 15:15:16 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 19 Oct 2000 09:15:16 -0500 Subject: [Zope] OT: documentation systems. In-Reply-To: References: <39EE741E.5D1B438E@adroit.net> Message-ID: <20001019091515.A36316@enteract.com> Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/license.html) prohibits use starting one year after the first commercial release. On Thu, Oct 19, 2000 at 09:01:58AM -0400, Aaron Straup Cope wrote: > I've been using the RadioUserland (nee Frontier) outliner to document the > Zope system I am building. It saves the outline files as XML documents so > I get to have a full-featured outliner to organzie my thoughts and a > (sort of) universal file format to share with people. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From webmaven@lvcm.com Thu Oct 19 15:30:04 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:30:04 -0700 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> Message-ID: <39EF056B.C74E25B7@lvcm.com> Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if it's 'cos you got > your password wrong. If you see what I mean ;-) I see what you mean here, Chris, but wouldn't this come under the heading of a 'security through obscurity' hole? ie. you're saying that the system isn't obscure enough? Michael. From webmaven@lvcm.com Thu Oct 19 15:59:53 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:59:53 -0700 Subject: [Zope] Bypass ZODB and use File System References: Message-ID: <39EF0C69.7EBC82EC@lvcm.com> Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my organization is > that there is a lot of resistance to my prototype Zope > document management system due to the fact that everything is > stored in ZODB. We think this risky -- possibly a data prison. The way my organization does it, is to manage the content within Zope, and to regularly run 'wget' on the server to replicate it all to static files, which are then served by Apache on another server. Doing that, plus regular backups of the Data.fs file (you're already making regular backups of your Apache based system, right?), and you should be guarded against any but the most catastrophicly unlikely disaster scenarios (you do have a disaster recovery plan, right?). wget is really a very easy way to get documents back out of Zope, and if your system is designed to do this as a matter of course (perhaps by using 'cron'), it should silence those particular criticisms. > Also people don't want to change from their current habits of > editing files via NFS or Samba mounted directories. My original > plan was to allow them some sort of syncronization process, > but now I think that would be crazy. Hmm. I guess it depends on what percentage of your users want to keep doing this. You can certainly combine LocalFS with the approach that I outlined above. I would make it a special case. Keep the CMS server separate from the Apache server, and only allow the mounted directories on the CMS server. I've found that people appreciate being able to manage their content from anywhere through a browser, and they tend to gravitate toward that as a matter of course, once it's there, if they're not forced to do it. In short, give people options, and see which ones they actually use. HTH, Michael Bernstein. From homewerk@pacbell.net Thu Oct 19 16:25:19 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Thu, 19 Oct 2000 08:25:19 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 References: <39EE511F.7B02C0C8@pacbell.net> <200010191414.JAA58313@mercury.spvi.com> Message-ID: <39EF125F.CC8103D4@pacbell.net> I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production. Would upgrading Python to 1.6 or 2.0 solve some problems on MacOS X Server (Rhapsody)? Steve Spicklemire wrote: > Hmmm.. I'm running Zope on mosxb and it works fine... > > http://www.zope.org/Members/sspickle/MacOSXBHFS > > -steve > > >>>>> "Jeff" == Jeff Forsyth writes: > > Jeff> I currently have Zope and Python installed from the source > Jeff> code from the > > Jeff> excellent instructions by JShell. But there is one little > Jeff> problem....CPU Utilization shoots above 97% as soon as I > Jeff> access the management screen. If anybody has any ideas or > Jeff> solutions. > > Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST > Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC > Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All > Jeff> Rights Reserved. Power Macintosh > > Jeff> 320Mb......G4 > > Jeff> Thanks Jeff > > Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com > > Jeff> _______________________________________________ Zope > Jeff> maillist - Zope@zope.org > Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jeff> posts or HTML encoding! ** (Related lists - > Jeff> http://lists.zope.org/mailman/listinfo/zope-announce > Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From Jerry.Spicklemire@IFLYATA.COM Thu Oct 19 16:22:43 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 19 Oct 2000 10:22:43 -0500 Subject: [Zope] Python/Perl methods? Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338DF@innt-73.ata.com> Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope Book is being compiled as a draft of a document to be delivered in the future. Some of the stuff refered to isn't really "there yet", in terms of inclusion as a standard part of the Zope download package. Python Methods are available, but as an add-on. Perl methods too, but they are even newer, as in less mature / stable / all those positive adjectives. So if you really want to try Python Methods, look here: http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal download from here: http://www.zope.org/Members/4am/PythonMethod and for Perl Methods look here: http://www.zope.org/Wikis/zope-perl/FrontPage and download from here: ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz Later, Jerry S. From troy.farrell@wilcom.com Thu Oct 19 17:16:11 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Thu, 19 Oct 2000 11:16:11 -0500 Subject: [Zope] Question! Message-ID: Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server name. Let me know what else you need to know. Troy -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the database Can you help me? Thanks Carlos ------- ----- Original Message ----- From: Farrell, Troy To: 'Carlos Vasconez' ; Sent: Monday, October 16, 2000 8:04 PM Subject: RE: [Zope] Question! > Yes you can. You will need ZODBC to connect to the SQLServer. Make sure > that SQL server is available as a "System DSN" on it's host. You will also > need a username and password to connect. Zope will ask you for this in the > DSN string. Best of luck to you. > > Troy > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:troy.farrell@wilcom.com > http://www.williams.com > > > -----Original Message----- > From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] > Sent: Monday, October 16, 2000 6:48 AM > To: zope@zope.org > Subject: [Zope] Question! > > > Hi > > I am read about zope. > Question? > I can use Zope with NT Server, IIS 4 and SQLServer ? > I have a Database in SQLServer > > Thanks > > Carlos > --------- > From zope@grewen.de Thu Oct 19 18:09:06 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 19 Oct 2000 19:09:06 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <000a01c039ef$8d2a4ae0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
------=_NextPart_000_0007_01C03A00.0D95B560-- From jeffrey@Digicool.com Thu Oct 19 18:18:49 2000 From: jeffrey@Digicool.com (Jeffrey P Shell) Date: Thu, 19 Oct 2000 13:18:49 -0400 Subject: [Zope] WriteLocking Project Initialized Message-ID: WriteLocking became a full fledged Fishbowl Project this week, and I've been spending the past couple of days getting the initial Artifacts and structure of the Project site together. The current structure should stand through elaboration. There is no planned schedule yet as the Risks themselves are still being scoped out and the UseCases haven't even been started on yet, but it is currently planned to get the proposed functionality into Zope 2.3. The main pages of interest right now are: VisionStatement (what the project is about, from the original proposal) RecentChanges CurrentStatus (I really will work on keeping this up to date) There are other pages outlining o RiskFactors (this is the one most actively being worked on right now), o TargetClients (LOCKing WebDAV clients we're planning to test against), o ProjectGlossary (Terms and definitions) And the general ProjectDiscussion page at I ask that if you make comments on the proposal to either do them on the ProjectDiscussion page or on the zope-dev@zope.org list. Please read the Scope section of the VisionStatement first, which outlines both what the intended goals Are and Are Not. Remember that the project is still in the early stages of Elaboration, and some of the artifacts are incomplete. In light of this election season, I pledge to you I will try my hardest to go to work 50+ miles south of Washington and fight to keep the information flowing through the Wiki updated and available to ALL Zope people, everywhere. No fuzzy math in these parts! From turhan.arun@superonline.net Thu Oct 19 18:20:09 2000 From: turhan.arun@superonline.net (Turhan Arun) Date: Thu, 19 Oct 2000 20:20:09 +0300 Subject: [Zope] Solaris,iPlanet,Oracle and Zope Message-ID: <802691ADD49ED411AD220008C74C9B2619FB62@postman.superonline.net> Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring these? I am having problems and you are my only source. Thanks in advance... turhan From jprettyman@acm.org Thu Oct 19 18:53:43 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 19 Oct 2000 10:53:43 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 13:38:29 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> <39EE0A45.422DD031@earthlink.net> Message-ID: This works like a charm. Thanks much for the help. -jon Ender writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the web via xml-rpc it must have a doc string as well as have > proper credentials. > > looking through propertysheets there is no 'proper' way to do this... > but i lead you down the path, so here is a way back out... > > there are a couple of options. > > the easiest is to have dtml_method for this zclass that functions as a > helper method, > like > > dtml method -- external_helper > > > > and in the client > > x = root.subfolder.zclass.external_helper() > meta_info=eval(x) > print meta_info > ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', > 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': > 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', > 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, > 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) > > or if external_helper returned propertyItems() > > [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), > ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] > > > if you're working with DateTime values in your propertysheets this will > be trickier as you'll need to either retrieve the property you want > independently or import Zope's DateTime module. also remember to set the > security on the helper method so its not helping somebody hack your > site. > From meden@ccpace.com Thu Oct 19 19:20:39 2000 From: meden@ccpace.com (meden@ccpace.com) Date: Thu, 19 Oct 2000 18:20:39 -0000 Subject: [Zope] pcgi authentication Message-ID: <8sne1n+ie87@eGroups.com> We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "allow anonymous" and "challenge response" through IIS. When we try to access the root level "manage" screen in Zope we are getting the manage_menu page in the left frame, but we are getting the index_html document in the right frame instead of the mnage_workspace page. From aem@byu.edu Thu Oct 19 21:34:09 2000 From: aem@byu.edu (Adrian Madrid) Date: Thu, 19 Oct 2000 13:34:09 -0700 (PDT) Subject: [Zope] Roxen & Zope, not working Message-ID: <20001019203410.18523.qmail@web515.mail.yahoo.com> --0-327254586-971987649=:16564 Content-Type: text/plain; charset=us-ascii I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what I get when I try mysite.com: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Error: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET / HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  * And this is what I get when I try mysite.com/Zope.cgi: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Zope.cgiError: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET /Zope.cgi HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  Any ideas? Anybody running both Zope and Roxen on a Windows machine? Adrian Madrid --------------------------------- Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564 Content-Type: text/html; charset=us-ascii

I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get:

* This is what I get when I try mysite.com:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: / Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET / HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

* And this is what I get when I try mysite.com/Zope.cgi:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: /Zope.cgi Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET /Zope.cgi HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

Any ideas? Anybody running both Zope and Roxen on a Windows machine?

Adrian Madrid



Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564-- From terry@lambton.on.ca Thu Oct 19 21:37:02 2000 From: terry@lambton.on.ca (Terry Babbey) Date: Thu, 19 Oct 2000 16:37:02 -0400 Subject: [Zope] dtml-if problem Message-ID: <39EF5B6E.1E4EECD@lambton.on.ca> The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________ From andym@ActiveState.com Thu Oct 19 21:46:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 19 Oct 2000 13:46:25 -0700 Subject: [Zope] dtml-if problem References: <39EF5B6E.1E4EECD@lambton.on.ca> Message-ID: <034d01c03a0d$a5de2980$ae03a8c0@fork> Could be that you are not evaluting the string of Area try: ----- Original Message ----- From: "Terry Babbey" To: Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. > > > > Area is a variable I am passing to my method and I want to check to > see if the variable is set to BIS, but it never returns true even > though a displays BIS. > > Confused as always, > Terry > > -- > __________________________________________________________________ > Terry Babbey > Technical Support Specialist > Lambton College, Sarnia, Ontario, Canada > __________________________________________________________________ > > > > _______________________________________________ > 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 ) > From ewalstad@energywright.com Thu Oct 19 22:17:45 2000 From: ewalstad@energywright.com (Eric Walstad) Date: Thu, 19 Oct 2000 14:17:45 -0700 (PDT) Subject: [Zope] dtml-if problem Message-ID: <20001019211745.26715.qmail@web1804.mail.yahoo.com> Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is:
Length of the 'strip'ped value of Area is:
If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you have either white space in your Area variable or a linefeed charater, or... If that's the case, here's a working if statement: You could also try: 0"> which will search for an instance of 'BIS' in the value of the Area variable Hope it helps, Eric. // -----Original Message----- // From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Terry // Babbey // Sent: Thursday, October 19, 2000 1:37 PM // To: zope@zope.org // Subject: [Zope] dtml-if problem // // // The following will not evaluate true and I am stumped again. // // // // Area is a variable I am passing to my method and I want to check to // see if the variable is set to BIS, but it never returns true even // though a displays BIS. // // Confused as always, // Terry // // -- // __________________________________________________________________ // Terry Babbey // Technical Support Specialist // Lambton College, Sarnia, Ontario, Canada // __________________________________________________________________ // // // // _______________________________________________ // 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 ) // __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jfarr@real.com Fri Oct 20 00:35:47 2000 From: jfarr@real.com (Jonothan Farr) Date: Thu, 19 Oct 2000 16:35:47 -0700 Subject: [Zope] Bypass ZODB and use File System References: <39EF0C69.7EBC82EC@lvcm.com> Message-ID: <054f01c03a25$4ebfd690$416917ac@poly> As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, not even as much as a 'title' property. If you need that ability then LocalFS is not the way to go. I don't see how Michael's wget solution will help you there either, though. --jfarr ----- Original Message ----- From: "Michael Bernstein" To: Cc: Sent: Thursday, October 19, 2000 7:59 AM Subject: Re: [Zope] Bypass ZODB and use File System > Noah wrote: > > > > What we really want to do is to provide a second view to > > /var/www/htdocs for Apache. I understand that Apache won't > > serve up our dynamic content, but that's not important. > > Zope is just viewed as a better solution for managing our > > static documents. The problem we have in my organization is > > that there is a lot of resistance to my prototype Zope > > document management system due to the fact that everything is > > stored in ZODB. We think this risky -- possibly a data prison. > > The way my organization does it, is to manage the content > within Zope, and to regularly run 'wget' on the server to > replicate it all to static files, which are then served by > Apache on another server. Doing that, plus regular backups > of the Data.fs file (you're already making regular backups > of your Apache based system, right?), and you should be > guarded against any but the most catastrophicly unlikely > disaster scenarios (you do have a disaster recovery plan, > right?). > > wget is really a very easy way to get documents back out of > Zope, and if your system is designed to do this as a matter > of course (perhaps by using 'cron'), it should silence those > particular criticisms. > > > Also people don't want to change from their current habits of > > editing files via NFS or Samba mounted directories. My original > > plan was to allow them some sort of syncronization process, > > but now I think that would be crazy. > > Hmm. I guess it depends on what percentage of your users > want to keep doing this. You can certainly combine LocalFS > with the approach that I outlined above. I would make it a > special case. Keep the CMS server separate from the Apache > server, and only allow the mounted directories on the CMS > server. I've found that people appreciate being able to > manage their content from anywhere through a browser, and > they tend to gravitate toward that as a matter of course, > once it's there, if they're not forced to do it. > > In short, give people options, and see which ones they > actually use. > > HTH, > > Michael Bernstein. > > _______________________________________________ > 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 ) > From gchiu@compkarori.co.nz Fri Oct 20 00:51:40 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 12:51:40 +1300 Subject: [Zope] Why doesn't this method work? Message-ID: I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu From curtis@cardgate.net Fri Oct 20 01:30:46 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 11:30:46 +1100 Subject: [Zope] Why doesn't this method work? In-Reply-To: References: Message-ID: <0010201130460D.01234@localhost.localdomain> On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeError > Error Value: 'string' object has no attribute > 'manage_editData' > This error is the giveaway. table is a "string", not a "tiny table". > -- > Graham Chiu Have a better one, Curtis Maloney. From gchiu@compkarori.co.nz Fri Oct 20 02:06:38 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 14:06:38 +1300 Subject: [Zope] Why doesn't this method work? In-Reply-To: <0010201130460D.01234@localhost.localdomain> Message-ID: On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doesn't use the getitem() function. -- Graham Chiu From jkinsley@horus.bticc.net Fri Oct 20 02:05:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Thu, 19 Oct 2000 21:05:54 -0400 (EDT) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? Message-ID: I am probably missing something simple here, however I can not get this to work properly.... Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? .... .... This returns: Errot Type: ValueError Error Value: unsupported format character 'a' (0x61) If i drop the %a from the fmt string as follows: .... .... I get the following Zope Error: Error Type: Type Error Error Value: illegal argument type for built-in operation Mtime was initially declared as a string in the ZSQL Method arguments list, and changing it to date had no effect. I have searched the documentation and all examples I have found that use strftime formatting indicate that this should work. I have successfully been able to change the format using the to_char(mtime) PostgreSQL function, but then order by mtime does not work properly and besides, I would like to make the format style customizable from within Zope instead of on the SQL server. Thanks in advance for any suggestions.... Regards, Jarrod Kinsley From vtwiddy@senet.com.au Fri Oct 20 04:31:10 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 13:01:10 +0930 (CST) Subject: [Zope] dtml-sqlvar quote Message-ID: Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this ..... group by foo,blah order by thanks mark From curtis@cardgate.net Fri Oct 20 04:55:47 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 14:55:47 +1100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: References: Message-ID: <0010201455470J.01234@localhost.localdomain> On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > ..... > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one, Curtis Maloney From vtwiddy@senet.com.au Fri Oct 20 06:40:37 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 15:10:37 +0930 (CST) Subject: [Zope] submit buttons Message-ID: Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example thanks again Mark From brad@netarchitects.com.au Fri Oct 20 07:58:12 2000 From: brad@netarchitects.com.au (Brad Moulton) Date: Fri, 20 Oct 2000 16:58:12 +1000 Subject: [Zope] submit buttons In-Reply-To: Message-ID: -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: zope@zope.org Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example hope this helps ---------------------------------------------------- ----------------------------------------------------- thanks again Mark _______________________________________________ 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 ) From tony.mcdonald@ncl.ac.uk Fri Oct 20 08:17:29 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Fri, 20 Oct 2000 08:17:29 +0100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: > >Hi all > >How can i pass a string to a sql method that won't be quoted. > >i.e so i can do somthing like this > >..... >group by foo,blah >order by > > >thanks mark > don't quote it? ... order by I use this all the time for things like select * from data where like '%%' tone From stephan.goeldi@datacomm.ch Fri Oct 20 09:20:45 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 20 Oct 2000 08:20:45 GMT Subject: [Zope] Newsletter in Zope Message-ID: I am looking for a way to enable a Newsletter in Zope. I want the visitors to subscribe to the newsletter. Then they receive a mail to verify the subscription. Later I can write and send a Newsletter to all subscripted visitors. Is there already a solution in Zope for that? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From vtwiddy@senet.com.au Fri Oct 20 09:21:32 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 17:51:32 +0930 (CST) Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) > From chrisw@nipltd.com Fri Oct 20 09:25:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:25:19 +0100 Subject: [Zope] IIS and Zope share same problem :-S Message-ID: <39F0016F.B62F6D@nipltd.com> > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > by Dave Murphy, member@itrain.org > > Microsoft is scrambling to repair damage caused by a > security hole in its IIS 4 & 5 webserver that runs on > Windows NT/2000. Microsoft claims over four million > IIS websites, and each one of them is at risk of > releasing sensitive data through the security hole. > Called the "Web Server Folder Traversal" error, the > flaw allows users to execute files on an IIS website by > requesting a specific web address. http://www.zope.org/standard_html_header for example ;-) http://www.zope.org/objectIds as another... > The bug allows access to any file on the webserver via > a specified URL. Like all webservers, IIS is supposed > to prevent access to files that aren't intended to be > part of the website. Maybe Zope should too.... > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > Live well, do good, > > --Dave Murphy cheers, Chris From akm@mail.theinternet.com.au Fri Oct 20 09:30:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Fri, 20 Oct 2000 18:30:44 +1000 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0016F.B62F6D@nipltd.com>; from Chris Withers on Fri, Oct 20, 2000 at 09:25:19AM +0100 References: <39F0016F.B62F6D@nipltd.com> Message-ID: <20001020183043.B88131@zeus.theinternet.com.au> +-------[ Chris Withers ]---------------------- | > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE | > by Dave Murphy, member@itrain.org | > | > Microsoft is scrambling to repair damage caused by a | > security hole in its IIS 4 & 5 webserver that runs on | > Windows NT/2000. Microsoft claims over four million | > IIS websites, and each one of them is at risk of | > releasing sensitive data through the security hole. | > Called the "Web Server Folder Traversal" error, the | > flaw allows users to execute files on an IIS website by | > requesting a specific web address. | | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... | http://www.zope.org/objectIds as another... To be fair this is not the same as the bug described below. | | > The bug allows access to any file on the webserver via | > a specified URL. Like all webservers, IIS is supposed | > to prevent access to files that aren't intended to be | > part of the website. Knowing the file is there is not the same as accessing it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From stefan@epy.co.at Fri Oct 20 09:48:40 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 10:48:40 +0200 (CEST) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? In-Reply-To: Message-ID: On Thu, 19 Oct 2000, J Kinsley wrote: > Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how > do I get the following to work without errors? > > > .... > > .... > > > This returns: > Errot Type: ValueError > Error Value: unsupported format character 'a' (0x61) AFAIK the fmt cannot be used like that What I usually do is create a DateTime object and then use the DateTime's methods and string formatting e.g. Modify the above for your needs. A list of DateTime's methods can be found in the appendix of the DTML Users Guide HTH, Stefan From chrisw@nipltd.com Fri Oct 20 09:49:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:49:33 +0100 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> Message-ID: <39F0071D.10C767F3@nipltd.com> Andrew Kenneth Milton wrote: > > | > | http://www.zope.org/standard_html_header for example ;-) > > Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally do something to solve it. ...and yes, there are discussions about this on Zope-dev right now, which will hopefully produce a solution :-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:36:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:36:00 +0100 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> <39EF056B.C74E25B7@lvcm.com> Message-ID: <39F01200.9E714E33@nipltd.com> Michael Bernstein wrote: > > Chris Withers wrote: > > > > Incidnetally, I think this is a bit of a security hole. You shouldn't > > get told what you're not allowed to see, especially if it's 'cos you got > > your password wrong. If you see what I mean ;-) > > I see what you mean here, Chris, but wouldn't this come > under the heading of a 'security through obscurity' hole? > ie. you're saying that the system isn't obscure enough? Not really... I'm saying it shouldn't tell you stuff you _never_ need to know, like where on your file system the Zope files live. A lot of this comes from standard_error_message not being used for authorizaion errors, and Zope's insistence of tacking the traceback onto error pages it returns, even in production mode :-S Might have to have a look at this some time ;-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:41:24 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:41:24 +0100 Subject: [Zope] ZDiscussions for Zope 2.2.2 References: <200010191315.JAA08209@saltmine.radix.net> Message-ID: <39F01344.FED0450C@nipltd.com> Cary O'Brien wrote: > 2) add __allow_access_to_unprotected_subobjects__ in > a few places. That's not good :-S But hey, I had to do it to get Squishdot to work with Zope 2.2 as well :-( cheers, Chris From grizel@mouli.net Fri Oct 20 11:04:49 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Fri, 20 Oct 2000 12:04:49 +0200 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> Message-ID: <39F018C1.E230AA8F@mouli.net> Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with something quite secure & secret. P.-J. Chris Withers wrote: > > > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > > by Dave Murphy, member@itrain.org > > > > Microsoft is scrambling to repair damage caused by a > > security hole in its IIS 4 & 5 webserver that runs on > > Windows NT/2000. Microsoft claims over four million > > IIS websites, and each one of them is at risk of > > releasing sensitive data through the security hole. > > Called the "Web Server Folder Traversal" error, the > > flaw allows users to execute files on an IIS website by > > requesting a specific web address. > > http://www.zope.org/standard_html_header for example ;-) > http://www.zope.org/objectIds as another... > > > The bug allows access to any file on the webserver via > > a specified URL. Like all webservers, IIS is supposed > > to prevent access to files that aren't intended to be > > part of the website. > > Maybe Zope should too.... > > > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > > > Live well, do good, > > > > --Dave Murphy > > 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 ) -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From rbeer@uni-goettingen.de Fri Oct 20 12:47:23 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 13:47:23 +0200 Subject: [Zope] ZMySQL and MySQLdb Versions Message-ID: Howdy! When I go to the download section on zope.org looking for a way to connect Zope and MySQL I can find the following: - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) Now how should anybody new to Zope know what to use? Especially when ZMySQLDA goes up to at least version 2.0.0 (I tried to look it up but couldn't connect to starship.python.net) and MySQLdb at least to version 0.2.1. I'm still using ZMySQLDA 1.1.3 with MySQLdb 0.1.3 which can't be found in the download section. Confusing, isn't it? What could we possibly do about it? Ragnar From zope@grewen.de Fri Oct 20 13:07:57 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 14:07:57 +0200 Subject: [Zope] Re: [Zope-dev] Problems with offline MS IE 5 References: <4.3.2.7.0.20001019230055.00b5e7d8@pop.mindspring.com> Message-ID: <002c01c03a8e$6a7392a0$0300a8c0@windows> I was fighting with the same problem and I thought it depends on my proxy setting. But now I thing it depends on the Browser version because I installed IE5.5 and the problem was gone. (ocularly same settings). ----- Original Message ----- From: "Ross Boylan" To: Sent: Friday, October 20, 2000 8:09 AM Subject: [Zope-dev] Problems with offline MS IE 5 > I recently tried doing some Zope development on a laptop and ran into a > problem: when I updated a product the updates did not "take." In > particular, when I edited the text in a .dtml file and restarted Zope, I > still saw the old text when I got to the appropriate point (the file was > wrapped in an HTMLFile() and used for creating a new instance of one of the > products in the package). > > I think I checked all of the following: > * the file was getting updated > * all instances of explorer were shut down > * MSIE options set to "Check for newer version of stored page on every > visit to the page" > > A notable peculiarity was that whenever I tried to access my local zope, I > would get a "you are offline, do you wish to go online" message (I even > used localhost as the machine name!). I would say yes, it would say it > couldn't connect and ask if I wanted to try again. I said yes, but then I > ran into the problems described above. > > Zope 2.2.2 on MS W2K with MS IE 5.0. > > Does this ring any bells with anyone? Is it an IE problem? a Zope > problem? an interaction? > > > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > From rbeer@uni-goettingen.de Fri Oct 20 13:14:04 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 14:14:04 +0200 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: As I already suggested ages ;) ago (and still didn't put into practice) it would here again be best to deny everything that isn't explicitly allowed (e.g. allow whatever ends with _html or .html and deny everything else) but then I would have to go over the whole website and make bazillions of changes ... I fixed the problem temporarily by adding some "FilesMatch/LocationMatch + deny from all" in my httpd.conf. But what else do I have to deny apart from objectIds? Ragnar >Andrew Kenneth Milton wrote: >> >> | >> | http://www.zope.org/standard_html_header for example ;-) >> >> Not that old chestnut again... > >Yes, that old chestnut again. If it's considered a serious security flaw >by Microsoft, maybe the Zope community should finally do something to >solve it. > >...and yes, there are discussions about this on Zope-dev right now, >which will hopefully produce a solution :-) > >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 ) From stefan@epy.co.at Fri Oct 20 13:47:01 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 14:47:01 +0200 (CEST) Subject: [Zope] ZMySQL and MySQLdb Versions In-Reply-To: Message-ID: On Fri, 20 Oct 2000, Ragnar Beer wrote: > - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) > - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) > - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) I recently got confused myself about even which of the above I am using on my system and in the process complained to Andy Dustman about a (small) bug in mordred's adapter... ;) MySQLdb is a python wrapper, designed to be used from plain python. But some of it's components are *used* (and required) by mordred's DA. To add to the fuzz the IMHO lates and greates ZMySQLDA (2.0.0a1) is on Andy Dustmans website and AFAIK *not* linked from zope.org http://dustman.net/andy/python/ HTH, Stefan From zope@grewen.de Fri Oct 20 17:03:33 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 18:03:33 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <001801c03aaf$4d10ac40$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
 
------=_NextPart_000_0015_01C03AC0.0FD011C0-- From troy.farrell@wilcom.com Fri Oct 20 18:59:14 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 12:59:14 -0500 Subject: [Zope] dtml-sqlvar quote Message-ID: It is not safe if you have malicious users. You will need to pass your through a filter. This will help. A better example is a user taking advantage of an insert method: insert into data values (, , ) where the user has found the Zsqlmethod by looking at http://yourzopehost/objectIds and calls it like this: http://yourzopehost/sqlADDUSER?value_3=randomvalue);SELECT%20*%20FROM%20secr etpasswordtable/ Fortunately, Zope responds with a "testing the sql method" form if you are authorized. Troy -----Original Message----- From: Mark Twiddy [mailto:vtwiddy@senet.com.au] Sent: Friday, October 20, 2000 3:22 AM To: zope@zope.org Subject: Re: [Zope] dtml-sqlvar quote Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) From roos@stanford.edu Fri Oct 20 19:38:23 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 11:38:23 -0700 (PDT) Subject: [Zope] Recursively creating folders in python Message-ID: This is something I need to have done yesterday... iterates over a list, and adds namespaces, but how do I recursively enter INTO a folder, creating objects within that folder from *it's* point of view? Is this even possible in dtml, or do i need to use raw python? If so, do you have any hints about doing it in python? =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From andym@ActiveState.com Fri Oct 20 19:44:14 2000 From: andym@ActiveState.com (Andy McKay) Date: Fri, 20 Oct 2000 11:44:14 -0700 Subject: [Zope] IIS and PCGI References: <002001c03879$7cc09cd0$ae03a8c0@fork> Message-ID: <004201c03ac5$be40cce0$ae03a8c0@fork> Well I fixed this using a ISAPI filter which I will release soon (once I have some time) that takes a url /a/b/c/x.pcgi/f/g/h, and passes /a/b/c/x.pcgi to IIS so the file will run and /f/g/h to Zope. My next question is has anyone succeeded in getting this to work to another box over a mapped or shared win32 drive? I mapped g:\ to my zope host, and then specified PCGI_PUBLISHER=g:\pcgi\pcgi_publisher.py in my pcgi file. The problem seems to pcgi-wrapper.exe which does not like a mapped drive. (line 485 of parseinfo.c keeps spitting out missing publisher)... Thanks in advance and apologies for the cross post to zope-dev but it is more of a zope-dev question. ----- Original Message ----- From: "Andy McKay" To: Sent: Tuesday, October 17, 2000 1:33 PM Subject: [Zope] IIS and PCGI > Im fiddling with IIS and PCGI, I've looked at > (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server > to work correctly in that http://127.0.0.1/zope.pcgi is the same as > http://127.0.0.1:8080/ > > However it doesnt seem to be carrying through the trailing path info (or / > 's) for example > http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope > 2.2.1. > > Anyone encountered this and know the solution? > > Thanks. > -- > Andy McKay, Developer. > ActiveState. > > > _______________________________________________ > 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 ) > From roos@stanford.edu Fri Oct 20 20:21:39 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 12:21:39 -0700 (PDT) Subject: [Zope] How to type check OR better list selector ways Message-ID: causes a name error, while other python builtins like _.string(some_int) work fine. What gives? Is there some other "zopist" way to type-check? More generally, is there a better way to deal with the annoying fact that multiple selectors return a list UNLESS there are <=1 items selected, in which case they return a single item or None? (rather than a list with only one member, in the case of 1 object selected, or an empty list, in the case of none, which would SEEM to be the consistant way to do things, since wouldn't choke.) =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From kworth@engin.umich.edu Fri Oct 20 20:28:05 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Fri, 20 Oct 2000 15:28:05 -0400 Subject: [Zope] unauthorized error Message-ID: Upon upgrading from 2.1.3 to 2.2.2, I have run into a strange problem. I have a couple of custom products (developed here, but not by me, so I'm not sure of the specifics, but i can find them out. I can edit current instances of the product, but I cannot add new ones because give me an unauthorized error. No matter what username/password I provide, it fails. I import these from my previous installation (the 2.1.3 version) I assume this has to do with the change in the way security is handled in zope 2.2.x, but I haven't figured out how to fix it. A traceback looks like this: Traceback (innermost last): File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in publish File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in publish File H:\MSEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File H:\MSEWEB~1\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob (Object: rev) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_With.py, line 146, in render (Object: sequence-item) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 194, in validate (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\AccessControl\SecurityManager.py, line 139, in validate File H:\MSEWEB~1\lib\python\AccessControl\ZopeSecurityPolicy.py, line 159, in validate Unauthorized: id Any help would be appreciated. -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From haonan@stat.wisc.edu Fri Oct 20 20:49:35 2000 From: haonan@stat.wisc.edu (Haonan Tan) Date: Fri, 20 Oct 2000 14:49:35 -0500 Subject: [Zope] Server Access Control Message-ID: <39F0A1CF.6ED3B55@stat.wisc.edu> How to enforce access control on client IP or host name in the same way that Apache .htaccess does it. Or are there better ways doing it in Zope? Many thanx. Haonan Tan From Dmitry Slusarchuk" I'm new to Zope development but I have already encountered such a problem: from dtml document generates the following: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: __call__ this problem disappears when I do smth like from dtml method. what should I do? In addition I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. Thanks to ev'body for a HELP! From richard@folwell.com Fri Oct 20 20:53:23 2000 From: richard@folwell.com (Richard Folwell) Date: Fri, 20 Oct 2000 20:53:23 +0100 Subject: [Zope] dtml-in loop to capture records In-Reply-To: <39E5C987.3D0D7D1F@oratrix.com> Message-ID: <001401c03acf$67cb6c80$1002a8c0@ente.riverside.uk.net> > Okay, this works fine, in MOST of my forms, but I have other forms where > this doesnt work at all and I get errors saying that the ITEM is a bad > request. I dont get it, what am I missing here that this works some > places and in other places with almost identical syntax, it falls over. I came across this error today. (The problem may not be the same.) In our case it occurred because the SQL, whilst well-formed and valid, violated a database constraint - was trying to put zero length strings into fields of a table where this was not allowed. The problem was tracked down by firstly displaying the request data using: then trying to input the same data manually. HTH, Richard From troy.farrell@wilcom.com Fri Oct 20 21:04:24 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 15:04:24 -0500 Subject: [Zope] Problems with mysql and sql methode Message-ID: You may try: SELECT pyname, pyprice FROM payment WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid I have a feeling mysql is not liking you for not selecting results from table MERCHANTPAYMENT becuase you said you would. Troy -----Original Message----- From: Jens Grewen [mailto:zope@grewen.de] Sent: Friday, October 20, 2000 11:04 AM To: Zope Maillist Subject: [Zope] Problems with mysql and sql methode Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the correct resut but under zope sql methode I get no result. (There was no data matching) Any ideas Jens Grewen From jwashin@vt.edu Fri Oct 20 21:05:56 2000 From: jwashin@vt.edu (Jim Washington) Date: Fri, 20 Oct 2000 16:05:56 -0400 Subject: [Zope] How to type check OR better list selector ways References: Message-ID: <39F0A5A4.17646BAF@vt.edu> Hi, Robert BTW, this is a FAQ, but: use the :list extension in your html. e.g., Works for checkboxes, too! -- Jim Washington Robert Joseph Roos wrote: > > > > causes a name error, while other python builtins > like _.string(some_int) work fine. What gives? > Is there some other "zopist" way to type-check? > > More generally, is there a better way to deal with the annoying > fact that multiple selectors return a list UNLESS there are > <=1 items selected, in which case they return a single item or None? > > (rather than a list with only one member, in the case of 1 object > selected, or an empty list, in the case of none, > which would SEEM to be the consistant way to do things, > since wouldn't choke.) From michel@digicool.com Fri Oct 20 21:09:03 2000 From: michel@digicool.com (Michel Pelletier) Date: Fri, 20 Oct 2000 13:09:03 -0700 Subject: [Zope] O'Reilly Book Tecnical Reviewers Message-ID: <39F0A65F.45EC4326@digicool.com> Greetings, O'Reilly is looking for 4 or 5 technical reviewers for the book. http://www.zope.org/Members/michel/ZB/ Technical reviewers get paid either a small honorarium or get free copies of the book (I am unaware of the exact details). I'm sure this message will elicit a *flood* of candidates, and I'm afraid we can't accept them all (of course, that doesn't mean you can't do it for free ;). Further, this will be a time consuming task, requiring you to scrutinize all details, try examples, etc. You will probably give more effort than you are monitarily compensated with, but you will also get unending glory and mucho zen master points from your zopista peers. So please consider this opertunity to work directly with us to make a great book. If you are interested in the sweat and the glory, please send an email to docs@digicool.com with the subject "I Wanna Be A Technical Reviewer", and maybe a brief bio about you, your Zope experience and (bonus points) if you've every technically reviewed a book before. Thanks! -Michel From zope@grewen.de Fri Oct 20 21:52:16 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 22:52:16 +0200 Subject: [Zope] Problems with mysql and sql methode References: Message-ID: <000001c03ad7$bbb8bd40$0300a8c0@windows> Ok know I get this problem Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in where clause") ---------------------------------------------------------------------------- ---- SQL used: select PYNAME, PYPRICE from PAYMENT where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID other ideas? Thanks Jens Grewen ----- Original Message ----- From: "Farrell, Troy" To: "'Jens Grewen'" ; "Zope Maillist" Sent: Friday, October 20, 2000 10:04 PM Subject: RE: [Zope] Problems with mysql and sql methode > You may try: > > SELECT pyname, pyprice > FROM payment > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > I have a feeling mysql is not liking you for not selecting results from > table MERCHANTPAYMENT becuase you said you would. > > Troy > > -----Original Message----- > From: Jens Grewen [mailto:zope@grewen.de] > Sent: Friday, October 20, 2000 11:04 AM > To: Zope Maillist > Subject: [Zope] Problems with mysql and sql methode > > > Hi, > > I have a problem with an SQL Methode with the this sql statement > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > from MERCHANTPAYMENT, PAYMENT > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > on the following tables: > > > MERCHANTPAYMENT > --------------------------------- > MPID int(30) > MEID int(30) > PYID int(30) > --------------------------------- > > PAYMENT > --------------------------------- > PYID int(30) > PYNAME varchar(50) > PYPRICE varchar(50) > --------------------------------- > > the statement runs under MS ACCESS (link over myODBC) and I get the correct > resut but under zope sql methode I get no result. (There was no data > matching) > > Any ideas > > Jens Grewen > > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:20:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:20:54 -0500 Subject: [Zope] Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Hi Zope Fans, I ran into an odd quirk today, and I'm hoping someone has an insight to share. There is a simple text string stored as a DTML Method, with ID = "set_table_0", e.g.: 'border="0" cellpadding="0" cellspacing="0"' When set_table_0 is in the Zope root folder, it isn't discovered through normal acquisition, but no error occurs. creates a table with defaults, e.g. border is visible. However, when set_table_0 is moved to a subfolder of the Zope root folder, with the name "table_settings", and the reference is made like so:
the DTML Method is found successfully, and the table border isn't displayed. The question is, why is the folder "table_settings" found in the Zope Root Folder, but not the method? Does Acquisition give higher preference to folders (container), objects than a DTML Method? Thanks, Jerry S. From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:41:33 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:41:33 -0500 Subject: [Zope] Acquisitiver and Acquisitiver Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F0@innt-73.ata.com> OK, now I'm really confused. I stumbled on a way to make the DTML Method work, that is, the one that wasn't being found before, via Acquisition. All I have to do is forget to add the terminating ';' in :
so that it looks like so:
Any guesses? Thanks again, Jerry S. From cesar@rotnet.com.br Sat Oct 21 02:45:09 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Fri, 20 Oct 2000 23:45:09 -0200 Subject: [Zope] GUF error: Unauthorized... Message-ID: <39F0F525.C8A49178@rotnet.com.br> Hi! I have created a GUFTest folder. It runs perfectly with the user 'jorge', provided with the GUF. After I have changed the acl to use a SQL connection, I'm getting the error bellow (in the log of the system): GUF[7909]: http://localhost.localdomain:8080/GUFTest/acl_users/userAuthenticate raised an exception (('Unauthorized', 'crypt', )) The source of the HTML page contains (I don't know if it's correct, because I suspect that Netscape reloads the page when you ask it to show the source of the page): What is wrong? I have created a local role called 'Usuario'. This role have the rights to: /GUFTest: Access contents information Can Login an Logout Use database methods View /GUFTest/acl_users: Access contents information Can Login an Logout Use database methods View The Anonymous role have the rights: /GUFTest: _no_roles_ /GUFTest/acl_users: Access contents information Can Login and Logout The userAuthenticate, userDomains, userList, adn userRoles DTML Methods are configurated to proxy the Manager role. I'm using Zope 2.2.1, on a Conectiva Linux 5.0 (Linux i386 2.2.14, python 1.5.2, glibc 2.1.3). TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is generally understood. Indeed, the world is ruled by little else. -- John Maynard Keyes From robert@redcor.ch Sat Oct 21 11:28:53 2000 From: robert@redcor.ch (robert) Date: Sat, 21 Oct 2000 12:28:53 +0200 Subject: [Zope] I wonder how to access a zope siet Message-ID: <001101c03b49$b7fd8330$0a01a8c0@Stravinsky> Hi there, I started to work through the Zope tutorial as layed out in the Content Manager Guide. I came across a coupple of problems I am seeking help for: 1. Stan (the tutorial avatar) is told to create a ZAcme folder in his root folder. Where is Stans root folder? If it is just the folder which is accessed when Stan logs in why is it not displayed in any of the screenshots in the tutorial. I have the impression the rest of the screenshots are very "acurate". 2. How do I access any of the folders from outside the management screen? I tried to use Http://localhost/ZAcme for the tutorial site, but only get an accesserror thrown at me by IE5. 3.Do I have to create the tutorialals pages in Stans root folder or in the ZAcme folder? Thank you for helping a newby of a great product. regards Robert From steve@spvi.com Sat Oct 21 14:09:21 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 08:09:21 -0500 (EST) Subject: [Zope] Acquisitive In-Reply-To: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Message-ID: <200010211309.IAA71276@mercury.spvi.com> Hi Jerry, I'm guessing the the problem is that &dtml-xxx; does an implicit "html_quote" format on whatever expression you provide.. so
should produce:
Which the browser doesn't grok.... try:
> -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> I ran into an odd quirk today, and I'm hoping someone has an JS> insight to share. There is a simple text string stored as a JS> DTML Method, with ID = "set_table_0", e.g.: JS> 'border="0" cellpadding="0" cellspacing="0"' JS> When set_table_0 is in the Zope root folder, it isn't JS> discovered through normal acquisition, but no error occurs. JS>
JS> creates a table with defaults, e.g. border is visible. JS> However, when set_table_0 is moved to a subfolder of the Zope JS> root folder, with the name "table_settings", and the reference JS> is made like so: JS>
JS> the DTML Method is found successfully, and the table border JS> isn't displayed. JS> The question is, why is the folder "table_settings" found in JS> the Zope Root Folder, but not the method? JS> Does Acquisition give higher preference to folders JS> (container), objects than a DTML Method? JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From swallace@trilobyte.net Sat Oct 21 19:38:49 2000 From: swallace@trilobyte.net (swallace@trilobyte.net) Date: Sat, 21 Oct 2000 11:38:49 -0700 Subject: [Zope] Strings, Names and dtml-var Message-ID: <200010211737.LAA19596@trilobyte.net> Ok, Being fairly new at Zope, I am really confused, I think I have looked through all the FAQs, How to's, examples, and what ever, but I still can not get the right combination to get this to work (many combinations tried :-)...). The basic intent is to easily change a property "color_source" in a directory that will cause the "color1" property to be looked up from a different directory. The directory name "default" could be one of many that holds different color themes. Thanks in advance. ***************************Code This does not work: get_color method This works: which renders #FFFFFF ***************************Key get_color = a method, /Business/Base/get_color color_selection = a property in the current directory containing the string "default" without quotes Colors = a folder, /Business/Colors default = a folder, /Business/Colors/default color1 = is a property under default containing the string "#FFFFFF" without quotes Zope = 2.2.2 OS = Win98 ***************************Error Message Error Type: KeyError Error Value: Colors.default.color1 Troubleshooting Suggestions This resource may be trying to reference a nonexistent object or variable Colors.default.color1. The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. From taco@scargo.nl Sat Oct 21 22:08:00 2000 From: taco@scargo.nl (Taco Scargo) Date: Sat, 21 Oct 2000 14:08:00 -0700 Subject: [Zope] Help needed with news articles Message-ID: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Unfortunately nobody responded, so I am reposting this question again. I just need a link to an example or explanation. Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From kthangavelu@earthlink.net Sat Oct 21 17:08:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Sat, 21 Oct 2000 09:08:12 -0700 Subject: [Zope] Strings, Names and dtml-var References: <200010211737.LAA19596@trilobyte.net> Message-ID: <39F1BF6C.C3F8B2B3@earthlink.net> swallace@trilobyte.net wrote: tested > > Ok, Being fairly new at Zope, I am really confused, I think I have > looked through all the FAQs, How to's, examples, and what ever, but > I still can not get the right combination to get this to work (many > combinations tried :-)...). The basic intent is to easily change a > property "color_source" in a directory that will cause the "color1" > property to be looked up from a different directory. The directory > name "default" could be one of many that holds different color > themes. Thanks in advance. > ***************************Code > This does not work: get_color method > > > > This works: > which renders #FFFFFF > ***************************Key > get_color = a method, /Business/Base/get_color > color_selection = a property in the current directory containing > the string "default" without quotes > Colors = a folder, /Business/Colors > default = a folder, /Business/Colors/default > color1 = is a property under default containing the string > "#FFFFFF" without quotes > Zope = 2.2.2 > OS = Win98 > ***************************Error Message > Error Type: KeyError > Error Value: Colors.default.color1 > > Troubleshooting Suggestions > This resource may be trying to reference a nonexistent object > or variable Colors.default.color1. > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering > an error. > > _______________________________________________ > 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 ) From steve@spvi.com Sun Oct 22 01:05:44 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 19:05:44 -0500 (EST) Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: <200010220005.TAA72971@mercury.spvi.com> Hi Taco, How about something like this: >>>>> "Taco" == Taco Scargo writes: Taco> Unfortunately nobody responded, so I am reposting this Taco> question again. I just need a link to an example or Taco> explanation. Taco> Basically I want to create a page listing the last 4 Taco> articles from a Zope folder. The articles need a publish Taco> from/to field, title and (dtml) text. I somehow need to be Taco> able to find and display the article from another dtml Taco> document. I read many FAQs and tried working with zcatalogs, Taco> but somehow I am not getting there. It is probably not so Taco> difficult. If there is somebody how can help me or give me a Taco> link to a clear explanation or example I would be very very Taco> grateful. Thanks ! Taco> Taco Taco> _______________________________________________ Zope Taco> maillist - Zope@zope.org Taco> http://lists.zope.org/mailman/listinfo/zope ** No cross Taco> posts or HTML encoding! ** (Related lists - Taco> http://lists.zope.org/mailman/listinfo/zope-announce Taco> http://lists.zope.org/mailman/listinfo/zope-dev ) From dcinege@psychosis.com Sun Oct 22 04:56:59 2000 From: dcinege@psychosis.com (Dave Cinege) Date: Sat, 21 Oct 2000 23:56:59 -0400 Subject: [Zope] Request for donation of site. Linux Router Project Message-ID: <39F2658B.DF50796B@psychosis.com> I'm lead dev for the Linux Router Project. (LRP is a powerful thin-server OS that taks up less then 2MB of boot space) As you can see http://www.linuxrouter.org/ is not exactly what you would call an amazing site. I've played with zope a little bit and really like it, but I lack both the time to learn zope, and any general artistic ability. : > The project has become quite large and yet we lack a 'professional' web pressence, as well as disorganized documentation. I'd like to see the LRP site 'zopified' with a portal flare. Some thing that would really have is devs (and users) being able to build up a FAQ's and docs online. The more extensive the better, but I'd be happy if someone stepped forward with something 'nice'. (IE basic zopification plus a touch up on graphics) Any person/company willing to take on this endeavor will recieve a plug on the LRP sponsors page if they so desire. Hey it may even look good on resume. Please mail me personally if you're interested. Dave From richard@dcs.co.uk Sun Oct 22 12:19:35 2000 From: richard@dcs.co.uk (Richard Moon) Date: Sun, 22 Oct 2000 12:19:35 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <000001c03ad7$bbb8bd40$0300a8c0@windows> References: Message-ID: <4.3.2.7.2.20001022121642.00e78370@195.60.12.162> MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the same as merchantpayment. Other databases (Postgresql, Informix) are not. Perhaps the Access/ODBC interface hides the case-sensitivity while the direct ZMySQLDA does not ? Richard At 21:52 20/10/00, you wrote: >Ok know I get this problem >Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in >where clause") >---------------------------------------------------------------------------- >---- >SQL used: > >select PYNAME, PYPRICE >from PAYMENT >where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID > >other ideas? > >Thanks > >Jens Grewen > >----- Original Message ----- >From: "Farrell, Troy" >To: "'Jens Grewen'" ; "Zope Maillist" >Sent: Friday, October 20, 2000 10:04 PM >Subject: RE: [Zope] Problems with mysql and sql methode > > > > You may try: > > > > SELECT pyname, pyprice > > FROM payment > > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > > > I have a feeling mysql is not liking you for not selecting results from > > table MERCHANTPAYMENT becuase you said you would. > > > > Troy > > > > -----Original Message----- > > From: Jens Grewen [mailto:zope@grewen.de] > > Sent: Friday, October 20, 2000 11:04 AM > > To: Zope Maillist > > Subject: [Zope] Problems with mysql and sql methode > > > > > > Hi, > > > > I have a problem with an SQL Methode with the this sql statement > > > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > > from MERCHANTPAYMENT, PAYMENT > > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > > > on the following tables: > > > > > > MERCHANTPAYMENT > > --------------------------------- > > MPID int(30) > > MEID int(30) > > PYID int(30) > > --------------------------------- > > > > PAYMENT > > --------------------------------- > > PYID int(30) > > PYNAME varchar(50) > > PYPRICE varchar(50) > > --------------------------------- > > > > the statement runs under MS ACCESS (link over myODBC) and I get the >correct > > resut but under zope sql methode I get no result. (There was no data > > matching) > > > > Any ideas > > > > Jens Grewen > > > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From jonathan@home-all.org.uk Sun Oct 22 15:02:08 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Sun, 22 Oct 2000 15:02:08 +0100 (BST) Subject: [Zope] date off by one day per year cummulative Message-ID: Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding or not. Not good. Quite grim, actually. It only happens when you use the fmt="xyz" to reformat the dates into UK dd/mm/yy (from the default yy/mm/dd). Should I just work around for now, or is this likely to remain like this for a while. If so then zope gets mildly unusable outside the USA. cheers Jonathan From jatwood@bwanazulia.com Sun Oct 22 15:17:00 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:17:00 -0400 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: Hey Steve, Don't have any examples with SQL (although, in theory it is just a call to some data and is treated the same as any other data) but take a look at this. http://www.zope.org/Members/BwanaZulia/tell_a_friend/ Cheers, J At 10:01 PM +1000 1/22/2001, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Sun Oct 22 15:21:33 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:21:33 -0400 Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: Hey Taco, Try this... -

Mix in your own elements where 'news' is a folder with news documents/methods in it. Add new properties for the from to if you want. You also might want to check out the Yihaw Product which does and has code for all of this. http://www.zope.org/Members/Roug/Yihaw Cheers, J At 2:08 PM -0700 10/21/2000, Taco Scargo wrote: >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From kedai@kedai.com.my Sun Oct 22 16:10:04 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 22 Oct 2000 23:10:04 +0800 Subject: [Zope] Help needed with news articles Message-ID: <003601c03c3a$28ef1220$8530bcca@kedai> try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. (and other stuff/properties) the above code should be in a DTML Method -----Original Message----- From: Taco Scargo To: zope@zope.org Date: Sunday, October 22, 2000 5:23 AM Subject: [Zope] Help needed with news articles >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From chrism@digicool.com Sun Oct 22 18:29:20 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 22 Oct 2000 13:29:20 -0400 Subject: [Zope] date off by one day per year cummulative References: Message-ID: <038c01c03c4d$9d656470$63c48ad0@kurtz> Jonathan, Would you be kind enough to put this bug into the collector on Zope.org? ----- Original Message ----- From: "Jonathan Cheyne" To: Sent: Sunday, October 22, 2000 10:02 AM Subject: [Zope] date off by one day per year cummulative > > Hi all, Zope 2.2.0, displaying a date property from a zclass has been out > by one day for a while, trick was just to +1 to the dtml. THought this > was fine til dates into 2001 needed to go on and hey, they become one > day too far now ... so now I need to add code to determine the year before > adding or not. > > Not good. Quite grim, actually. > > It only happens when you use the fmt="xyz" to reformat the dates into > UK dd/mm/yy (from the default yy/mm/dd). > > Should I just work around for now, or is this likely to remain like this > for a while. If so then zope gets mildly unusable outside the USA. > > cheers > > Jonathan > > > > _______________________________________________ > 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 ) > > From salvatore.didio@wanadoo.fr Sun Oct 22 21:31:07 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:31:07 +0200 Subject: [Zope] Help creating Object Message-ID: <39F34E8B.A5F496D7@wanadoo.fr> Hello, In the manage folder I can't create any object. I got a message telling that the object can not be owned by the superuser. (line 217 in file Owned.py). Can someone help me ? Thanks From Noah@noah.org Sun Oct 22 21:29:07 2000 From: Noah@noah.org (Noah) Date: Sun, 22 Oct 2000 13:29:07 -0700 Subject: [Zope] Multiple queries in a ZSQL method? Message-ID: <003901c03c66$c0a937e0$e21ac73f@wingw> Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the record that I just inserted. Something like this: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ); select LAST_INSERT_ID(); If I put this into two different methods then I'm afraid that I will have some threading problems due to the fact that another client might come in and do an insert using the database connection I was using. LAST_INSERT_ID is safe as long as you have an unshared connection. Zope does connection pooling, so I worry that using two separate ZSQL Methods may not always work. And WILL NOT work if Zope gives me a different connection for the second ZSQL call. Is there a better way to do this? Yours, Noah From salvatore.didio@wanadoo.fr Sun Oct 22 21:41:39 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:41:39 +0200 Subject: [Zope] Creating Object Message-ID: <39F35103.CE1D139@wanadoo.fr> Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much From kthangavelu@earthlink.net Sun Oct 22 16:56:43 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:56:43 -0700 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <39F30E3B.556097F2@earthlink.net> Salvatore DIDIO wrote: > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much i feel for you, in zope 2.2 and above the initial account, the superuser, isn't allowed to create/own objects. what you're supposed to do is create a new user in the acl_users of the root directory which will be your first working account. after you create a user in acl_users, logout by shutting down the browser and than try logging into the system with a new browser. you can escape shutting down the browser by editing one of the existing methods to have this section of code. when asked to reauthenticate type in the name of the new user. than click cancel and reload the /manage page, you should be able to login as the new user. Log out Cheers Kapil From kthangavelu@earthlink.net Sun Oct 22 16:57:27 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:57:27 -0700 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <39F30E67.83993A99@earthlink.net> multiple non-select statements (max 1 select) are done through the use of kapil Noah wrote: > > Hi, > > I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. > After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the > record that I just inserted. Something like this: > > insert into author > (id, name, sort_name, email, bio, initials) > values > (null, > , > , > , > , > ); > > select LAST_INSERT_ID(); > > If I put this into two different methods then I'm afraid that I will have some > threading problems due to the fact that another client might come in and > do an insert using the database connection I was using. LAST_INSERT_ID > is safe as long as you have an unshared connection. Zope does > connection pooling, so I worry that using two separate ZSQL Methods > may not always work. And WILL NOT work if Zope gives me a different connection > for the second ZSQL call. > > Is there a better way to do this? > > Yours, > Noah > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:02:02 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:02:02 +0100 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <00b801c03ba2$2c288e50$0202a8c0@typhoon> Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ) select LAST_INSERT_ID() hth Phil Phil.harris@zope.co.uk ----- Original Message ----- From: "Noah" To: Sent: Sunday, October 22, 2000 9:29 PM Subject: [Zope] Multiple queries in a ZSQL method? | Hi, | | I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. | After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the | record that I just inserted. Something like this: | | insert into author | (id, name, sort_name, email, bio, initials) | values | (null, | , | , | , | , | ); | | select LAST_INSERT_ID(); | | If I put this into two different methods then I'm afraid that I will have some | threading problems due to the fact that another client might come in and | do an insert using the database connection I was using. LAST_INSERT_ID | is safe as long as you have an unshared connection. Zope does | connection pooling, so I worry that using two separate ZSQL Methods | may not always work. And WILL NOT work if Zope gives me a different connection | for the second ZSQL call. | | Is there a better way to do this? | | Yours, | Noah | | | | | | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:05:20 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:05:20 +0100 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <00c001c03ba2$a3146f20$0202a8c0@typhoon> Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the possibles. hth Phil ----- Original Message ----- From: "Salvatore DIDIO" To: "Zope" Sent: Sunday, October 22, 2000 9:41 PM Subject: [Zope] Creating Object | Hello, | | I am new to Zope | I've just installed Zope on Linux. I just can't create any object !. | I receive the following message : | the object can not be owned by the superuser | (line 217 in file Owned.py) | Could someone help me ? | | Thank you very much | | | | _______________________________________________ | 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 ) From jatwood@bwanazulia.com Sun Oct 22 22:18:23 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 17:18:23 -0400 Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> References: <39F35103.CE1D139@wanadoo.fr> Message-ID: You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote: >Hello, > >I am new to Zope >I've just installed Zope on Linux. I just can't create any object !. >I receive the following message : > the object can not be owned by the superuser >(line 217 in file Owned.py) >Could someone help me ? > >Thank you very much > > > >_______________________________________________ >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 ) From mark@kaivo.com Sun Oct 22 22:28:48 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 15:28:48 -0600 (MDT) Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> from "Salvatore DIDIO" at Oct 22, 2000 10:41:39 PM Message-ID: <200010222128.PAA27072@CatInTheHat.kaivo.com> You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created. You should be able to create objects. Mark > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much > > > > _______________________________________________ > 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 ) > From bill@noreboots.com Sun Oct 22 22:09:18 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:09:18 -0600 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <39F3577E.8EF9D4BF@noreboots.com> Chris Withers wrote: > > Andrew Kenneth Milton wrote: > > > > | > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > which will hopefully produce a solution :-) > > cheers, As soon as you can tell us how to get Zope to go executing _files_ on the server (read, in the filesystem), as opposed to objects in the site.... I might accept it as the same bug. :^)= Then-again,-I-might-_use_-that-capability-if-I-could-ly y'rs Bill -- E PLURIBUS LINUX From bill@noreboots.com Sun Oct 22 22:11:22 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:11:22 -0600 Subject: [Zope] Roxen & Zope, not working References: <20001019203410.18523.qmail@web515.mail.yahoo.com> Message-ID: <39F357FA.B3E5BEB7@noreboots.com> Adrian Madrid wrote: > > I'm having problems running Zope on top of Roxen on a Win2k machine. > They both run just fine separate but I can't make it work together. I > followed the instructions from > http://www.zope.org/Members/magnus/Roxen but I never got it to see the > first page. Here are the tracebacks I get: > > * This is what I get when I try mysite.com: These are all Roxen tracebacks, try their lists for details (good luck). Bill (I run many sites just fine with Roxen/Zope, but that's on Linux) -- E PLURIBUS LINUX From taco@scargo.nl Sun Oct 22 22:56:21 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 14:56:21 -0700 Subject: [Zope] Problems with sequence-item Message-ID: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> I get errors when sequence-item is being called to list the contents of a folder E.g. correctly outputs 3 2 1 When I do it correctly outputs all ids in the folder. But will fail with an error Error Type: AttributeError Error Value: __call__ What am I doing wrong ? Thanks, Taco Scargo ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From curtis@cardgate.net Sun Oct 22 23:30:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:30:17 +1100 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <0010230930170K.01234@localhost.localdomain> On Fri, 20 Oct 2000, Chris Withers wrote: > Andrew Kenneth Milton wrote: > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > wwhich will hopefully produce a solution :-) > Now, I may be missing the point of the fine grained access control of ZOPE, but knowing an objects ID is not at all the same as being able to access it, or even invoke it correctly. The MS bug "allows access to any file on the webserver". Whilst in ZOPE you may be able to enter the URL and invoke the object to some degree, unless you have the permissions to do whatever it does, what harm can you do? To me, this seems like more of a "patch by sensible admin" problem than a security hole. > cheers, > > Chris > Have a better one, Curtis Maloney. From curtis@cardgate.net Sun Oct 22 23:41:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:41:56 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> References: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> Message-ID: <0010230941560L.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > Your problem appears to be in the using of objectValues(). This returns the actual objects. So, in the second loop () you are referencing the 'id' member of each object. Nothing wrong there. However, in the third loop () you are trying to render the object itself. This will 'call' each object, which some of them (obviously) object to. (No pun intended) If you want to render all the DTML Documents and DTML Methods in the folder , try something like: but this could get very messy with a large folder. (o8 > Thanks, > > Taco Scargo > Have a better one, Curtis Maloney From mark@kaivo.com Sun Oct 22 23:52:59 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 16:52:59 -0600 (MDT) Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> from "Taco Scargo" at Oct 22, 2000 02:56:21 PM Message-ID: <200010222252.QAA27926@CatInTheHat.kaivo.com> > > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > In this example, is actually trying to call the items in the folder. In this case, at least one of the items is not callable ( like another folder). If you did something like this: You would see the results of 'viewing' or calling every DTML Method in folder. Mark > Thanks, > > Taco Scargo > > > > > ________________________________________________________ > 1stUp.com - Free the Web > Get your free Internet access at http://www.1stUp.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 ) > From taco@scargo.nl Mon Oct 23 02:34:52 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:34:52 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> Message-ID: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. Fails with the error: Error Type: AttributeError Error Value: __call__ I am really clueless.... Thanks, Taco ----- Original Message ----- From: "Mark N. Gibson" To: "Taco Scargo" Cc: Sent: Sunday, October 22, 2000 3:52 PM Subject: Re: [Zope] Problems with sequence-item > In this example, is actually trying to call the items > in the folder. In this case, at least one of the items is not callable like > another folder). If you did something like this: > > > > > > You would see the results of 'viewing' or calling every DTML Method in folder. > > Mark From curtis@cardgate.net Mon Oct 23 02:57:50 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 12:57:50 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Message-ID: <0010231257500N.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > Had already tried that, but it doesn't work. > I have 8 DTML Documents in a folder called artikelen. > > > > > > Fails with the error: > Error Type: AttributeError > Error Value: __call__ > > I am really clueless.... > Any chance you could post the WHOLE traceback, so we might be able to see which object it's choking on? > Thanks, > > Taco Curtis. From taco@scargo.nl Mon Oct 23 02:54:42 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:54:42 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> Message-ID: <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Please feel free to look at it at http://www.gezondheidskrant.nl:8080/mainframe Taco ----- Original Message ----- From: "Curtis Maloney" To: "Taco Scargo" ; "Mark N. Gibson" ; Sent: Sunday, October 22, 2000 6:57 PM Subject: Re: [Zope] Problems with sequence-item > Any chance you could post the WHOLE traceback, so we might be able to see > which object it's choking on? From kthangavelu@earthlink.net Sun Oct 22 23:38:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:38:51 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Message-ID: <39F36C7B.906C48FC@earthlink.net> I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen document. zope renders these subtemplates slightly differently than a template called directly by the browser, when you're calling the addressen subobject from the document call it like this or in a if that doesn't solve it for you, than it would be helpful to have the relevant src of the document. i tried without success to duplicate the exact same error, but i'm pretty sure that the problem has something to do with this. Kapil Taco Scargo wrote: > > Please feel free to look at it at > > http://www.gezondheidskrant.nl:8080/mainframe > > Taco > ----- Original Message ----- > From: "Curtis Maloney" > To: "Taco Scargo" ; "Mark N. Gibson" ; > > Sent: Sunday, October 22, 2000 6:57 PM > Subject: Re: [Zope] Problems with sequence-item > > Any chance you could post the WHOLE traceback, so we might be able to see > > which object it's choking on? > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Sun Oct 22 23:43:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:43:02 -0700 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39F36D76.50D2C358@earthlink.net> trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From maxm@normik.dk Mon Oct 23 09:12:31 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 10:12:31 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: <7BD10B680501D411B9DF009027E06F32197A8D@exchange> This is untested, but an idea: It is still subject to failure if 2 or more processes are writing an article in the same time. Furthermore it has to find and sort all the items in the folder. That could take a long time if there are lots of them. Maybe you should somehow insert a dtml-try until you succed in writing the article. Another aproach would be to have the folder with your articles have a property "lastID" and let "nexID" be a method that automatically would increment lastID end return it. Maybe it is possible to lock the lastID property?? >From: Patrick Koetter [mailto:p@state-of-mind.de] >What is it that I want to do? >I want to evaluate the highest ID (all are 'int') within the folder and >assign the next highest. >I'm sure this is easy to you... From Oliver Bleutgen Mon Oct 23 09:41:27 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 10:41:27 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010230845.BAA02278@zope.codeit.com> > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > same as merchantpayment. > Other databases (Postgresql, Informix) are not. > Perhaps the Access/ODBC interface hides the case-sensitivity while the > direct ZMySQLDA does not ? Hmm, I'm not very clear about differences between handling of (table, column) names in sql-databases, but postgres IS case sensitive (in some sense). Few days ago I wrote to messages to this list describing my problems with postgres and capitals in column-names. The handling of these will render useless, because it doesn't quote the name of the vars. I that case postgres will not respect capital letter (will turn them lowercase) but also won't find the column which name is written uppercase. I think it would be usefull to collect the behaviour of different databases and try to find a solution which will work with all of them. The solution we have now clearly doesn't do that. cheers, oliver From brocken22@gmx.de Mon Oct 23 10:06:08 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 23 Oct 2000 11:06:08 +0200 (MEST) Subject: [Zope] Working with versions Message-ID: <4833.972291968@www32.gmx.net> Hallo, I've got a question concerning versions. The working with versions in the management screen is obvious to me, but what about hiding the management-screen and working with them. I want to add ZClasses programmatically but some users should only be able to add them after a Controller has checked that everything is o.k. What are the right methods to use??? -- Sent through GMX FreeMail - http://www.gmx.net From chrism@digicool.com Mon Oct 23 10:30:27 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 05:30:27 -0400 Subject: [Zope] Working with versions References: <4833.972291968@www32.gmx.net> Message-ID: <065101c03cd3$e2576c00$63c48ad0@kurtz> Hi... You need to open a versioned database connection manually. This is probably harder than it should be. For more info, see http://www.zope.org/Documentation/Developer/Models/ZODB and look under Architecture --> DB. ----- Original Message ----- From: To: Sent: Monday, October 23, 2000 5:06 AM Subject: [Zope] Working with versions > Hallo, > I've got a question concerning versions. > The working with versions in the management screen is obvious to me, but > what about hiding the management-screen and working with them. > I want to add ZClasses programmatically but some users should only be able > to add them after a Controller has checked that everything is o.k. > What are the right methods to use??? > > -- > Sent through GMX FreeMail - http://www.gmx.net > > > _______________________________________________ > 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 ) > > From Olivier Ricou Mon Oct 23 10:48:54 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 11:48:54 +0200 Subject: [Zope] newbie questions ? Message-ID: <20001023114854.E3390@hermes> Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. Here are two questions I did not find the answers : - how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory. - how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder. Thanks, Olivier. From sean@digitome.com Mon Oct 23 11:16:09 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 11:16:09 +0100 Subject: [Zope] GET requests in Medusa web server Message-ID: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Hello all, Why does the Medusa server in Zope not handle GET requests which specify a full URI? For example, if I have a web server running on web.mydomain.com, and I want to get a file called "file.html", doing a GET request of the form GET http://web.mydomain.com/file.html HTTP/1.1 gives me a 404. Doing a GET of the form GET /file.html HTTP/1.1 works fine. If I understand RFC 2068 correctly, a HTTP 1.1 compliant server is expected to handle both cases (5.1.12 of RFC 2068), although HTTP 1.1 clients are not supposed to generate these unless talking to a proxy. In our case, the software which generates the request is a WAP gateway (Ophelia, http://www.3ui.com), and it always assumes it is talking to a proxy server, and requires a code change to change it. I've tested Apache and IIS with this, and they handle both forms. Thanks in advance. From chrism@digicool.com Mon Oct 23 11:38:57 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:38:57 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> Message-ID: <002801c03cdd$72ac3020$1f48a4d8@kurtz> > Hi, > > I spent my week-end learning how to use Zope, it was a nice painful > experience. Nice thanks to Zope itself, painful because of the poor > docs. The How-Tos helped me a lot but it is a real mess. We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/. > Here are two questions I did not find the answers : > > - how to ask for authentification to see my web pages (not manage, just > see) ? In Apache one has to put a .htaccess file in the directory. This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > - how to limit the size a folder ? I want to give login to friends > so they can add photos in a folder but I don't want to receive > more than 200MB of data in this folder. There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size. From chrism@digicool.com Mon Oct 23 11:43:06 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:43:06 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> Message-ID: <003e01c03cde$070ea360$1f48a4d8@kurtz> And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) ----- Original Message ----- From: "Chris McDonough" To: "Olivier Ricou" ; Sent: Monday, October 23, 2000 6:38 AM Subject: Re: [Zope] newbie questions ? > > Hi, > > > > I spent my week-end learning how to use Zope, it was a nice painful > > experience. Nice thanks to Zope itself, painful because of the poor > > docs. The How-Tos helped me a lot but it is a real mess. > > We know. :-) Have you checked out the Zope book? > http://www.zope.org/Members/michel/ZB/. > > > Here are two questions I did not find the answers : > > > > - how to ask for authentification to see my web pages (not manage, just > > see) ? In Apache one has to put a .htaccess file in the directory. > > This answer is definitely in the Zope book. If it's not, there's the > (unfinished) chapter of the Zope Product Developer's Guide Security chapter > at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > > > - how to limit the size a folder ? I want to give login to friends > > so they can add photos in a folder but I don't want to receive > > more than 200MB of data in this folder. > > There is no quota support in Zope. You'd need to write code to enforce a > constraint on total upload size. > > > > _______________________________________________ > 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 ) > > From richard@dcs.co.uk Mon Oct 23 11:00:22 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 23 Oct 2000 11:00:22 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <200010230845.BAA02278@zope.codeit.com> Message-ID: <4.3.2.7.2.20001023103517.02359840@195.60.12.162> At 09:41 23/10/00, you wrote: > > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > > same as merchantpayment. > > > Other databases (Postgresql, Informix) are not. > > > Perhaps the Access/ODBC interface hides the case-sensitivity while the > > direct ZMySQLDA does not ? > >Hmm, I'm not very clear about differences between handling of (table, >column) names >in sql-databases, but postgres IS case sensitive (in some sense). Well I'm confused !!! I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both with the same schema. Both have a table 'artist'. The following SQL Method (Zope 2.2.1) works with both select a.artist_id,a.known_name,a.initials from artist a where Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where it still works with PostgreSQL but with MySQL I get "Table 'tunedb.ARTIST' doesn't exist" Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where Then it still works with PostgreSQL, provided you also change the argument to the SQL Method from surname to SURNAME. When you click on the Test tab of an SQL Method it shows the SQL generated and you can see, in the above example, that the uppercase words are passed through unchanged to the database viz. select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = 'Molloy' In what circumstances is PostgreSQL case-sensitive ? Richard >Few days ago I wrote to messages to this list describing my problems >with postgres and capitals in column-names. The handling of these will >render useless, because it doesn't quote the name of the >vars. I that case postgres will not respect capital letter (will turn them >lowercase) but also won't find the column which name is written uppercase. > >I think it would be usefull to collect the behaviour of different databases >and try to find a solution which will work with all of them. >The solution we have now clearly doesn't do that. > >cheers, >oliver > > > > > > > >_______________________________________________ >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 ) Richard Moon richard@dcs.co.uk From olpa@sybcom.de Mon Oct 23 11:48:06 2000 From: olpa@sybcom.de (olpa@sybcom.de) Date: Mon, 23 Oct 2000 12:48:06 +0200 (CEST) Subject: [Zope] ZCatalog question Message-ID: Hi Folks, i have a ZCatalog over a bunch of items with attributes A and B. Now I want to search all elements with attribute A set to value 1 and AT THE SAME TIME with attribute B set to value 2. So a sort of AND combination with two different attributes. How to do ? Regards oliver --- "All language designers are arrogant. Goes with the territory..." (By Larry Wall) --- Oliver Pabst .-------------------------. mailto:olpa@sybcom.de : : phone :+49 681 56600600 : project department : SYBCOM GmbH fax :+49 681 56600660 : : http://www.sybcom.de From hohage@muenster.de Mon Oct 23 13:38:13 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 13:38:13 +0100 Subject: [Zope] Working with versions Message-ID: <39F3CE19@muepubb> Hallo Chris, thank you for your reply, but I don't understand what I have to do. I looked into the documentation but it is obscure to me. Sven >===== Original Message From "Chris McDonough" ===== >Hi... > >You need to open a versioned database connection manually. This is probably >harder than it should be. For more info, see >http://www.zope.org/Documentation/Developer/Models/ZODB and look under >Architecture --> DB. > >----- Original Message ----- >From: >To: >Sent: Monday, October 23, 2000 5:06 AM >Subject: [Zope] Working with versions > > >> Hallo, >> I've got a question concerning versions. >> The working with versions in the management screen is obvious to me, but >> what about hiding the management-screen and working with them. >> I want to add ZClasses programmatically but some users should only be able >> to add them after a Controller has checked that everything is o.k. >> What are the right methods to use??? >> >> -- >> Sent through GMX FreeMail - http://www.gmx.net >> >> >> _______________________________________________ >> 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 ) >> >> From Oliver Bleutgen Mon Oct 23 12:41:59 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 13:41:59 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010231146.EAA08582@zope.codeit.com> > At 09:41 23/10/00, you wrote: >>Hmm, I'm not very clear about differences between handling of (table, >>column) names >>in sql-databases, but postgres IS case sensitive (in some sense). > Well I'm confused !!! > I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both > with > the same schema. Both have a table 'artist'. The following SQL Method > (Zope > 2.2.1) works with both > select a.artist_id,a.known_name,a.initials >>from artist a > where > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > it still works with PostgreSQL but with MySQL I get > "Table 'tunedb.ARTIST' doesn't exist" > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > Then it still works with PostgreSQL, provided you also change the argument > to the SQL Method from surname to SURNAME. > When you click on the Test tab of an SQL Method it shows the SQL generated > and you can see, in the above example, that the uppercase words are passed > through unchanged to the database > viz. > select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = > 'Molloy' > In what circumstances is PostgreSQL case-sensitive ? First, sorry for my (nearly) full-quote, but I think it makes this discussion more readable. To your question, from my testing (I did this with column names only, but I suspect the same behavior for table-names), postgres is case sensitive, but - as I wrote - in another sense. If you don't quote the column-names, they are converted to or interpreted as lowercased names. _But_ if the real name of the table/column is _uppercase_, it will not be matched by this lowercased name - in this sense postgres is case-sensitive. Postgres needs quoted names in sql-queries to respect capitalization (sp?) - and I couldn't get to generate them. This was a major problem for me, because I had to work with a bunch of tables which were exported from foxpro and dbase, and their names were uppercased in the process. cheers, oliver From taco@scargo.nl Mon Oct 23 12:59:35 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 04:59:35 -0700 Subject: [Zope] Almost there, but I am still having a little problem References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> <39F36C7B.906C48FC@earthlink.net> Message-ID: <009b01c03ce8$b7d5b850$7b231440@TACOTOSHIBA> Thank you all for helping me out. The hints got me almost there. I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From baehr@dfki.de Mon Oct 23 13:35:57 2000 From: baehr@dfki.de (Jan-Thies Baehr) Date: Mon, 23 Oct 2000 14:35:57 +0200 Subject: [Zope] again: install Zope under Solaris 8 Message-ID: <39F430AD.8084E944@dfki.uni-kl.de> Hi, I just want to resume a thread from september. Has anyone else encountered problems installing Zope (in our case 2.2.2) under Solaris 8? And more important: Do you know a solution? Python is unable to import the ExtensionClass. I tried it from commandline (python 1.5.2 (#1, Oct 19 2000, 13:55:34) [GCC 2.95.3 19991030 (prerelease)] on sunos5) also and got the same Import Error: --------------- command and traceback following ---------------------------- [~/Zope-2.2.2] ./start Traceback (innermost last): File "/...../Zope-2.2.2/z2.py", line 554, in exec "import "+MODULE in {} File "", line 1, in File "/...../Zope-2.2.2/lib/python/Zope/__init__.py", line 94, in import ZODB, ZODB.ZApplication, imp File "/...../Zope-2.2.2/lib/python/ZODB/__init__.py", line 85, in import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol not found ------------------------------------------------------------------------------ Thanks, Thies Bähr. -- ----------------------------------------------------------------------- Jan-Thies Bähr Intelligent Visualization & Simulation DFKI GmbH Email: baehr@dfki.uni-kl.de D-67608 Kaiserslautern (Germany) Phone: +49 (0) 631 205-4565 ----------------------------------------------------------------------- From arevalo@iam.unibe.ch Mon Oct 23 14:57:03 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 15:57:03 +0200 (MET DST) Subject: [Zope] a problem with 'start' command Message-ID: hi all, I am a starter with Zope and i have a simple question. I need to execute 'start' command to start the server again. when i tried to do it, it gives me the message: command not found I looked at the directory, i can find the start command, and the permissions are -rwx--x--x. Can somebody help me with this ? Thanks Gaby From ws@gmd.de Mon Oct 23 14:59:47 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Mon, 23 Oct 2000 15:59:47 +0200 Subject: [Zope] Zope 2.2.2 breaks YihawDirectory ? Message-ID: <39F46073.11918.12C6AEA@localhost> When installing the actual Version of YihawDirectory (http://www.zope.org/Members/Roug/Yihaw) by importing it into a 2.2.2 Zope, I got the following traceback. This happens both with and without the current hotfixes. Importing it into 2.2.1 equipped with the current hotfixes works without flaws. Any ideas what's going on here? I don't want to go back to 2.2.1 :-/ Zope has encountered an error while publishing this resource. Error Type: Could not load oid  5, pickled data in traceback info may contain clues Error Value: None Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 526, in manage_importObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 278, in _setObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 447, in setstate File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info:  5) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\0225', '(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq \002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012 U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U \007#ffffccq\021U\016contextMessageq\022U\011Event Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000 \000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0 30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03 2U\0013U\014titleFgColorq\033U\007#000000q\034U\011meta_type q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5 0D1IjExz+kMxPcyw==q U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\ 003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\ 000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00 3MWpq,ttq- QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01 5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add EventDocumentsq3)(U\007Managerq4tq5t(U\017Add EvDocAddersq6)h5t(U\016Add EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00 0\000\000\022Oq:(h\015U\003MWpq;ttq(h\015U\003MWpq?ttq@QU\ 014titleBgColorqAU\007#ffffccqBU\004iconqCU9Control_Panel/Prod ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0 22nobody@nowhere.comqFU\010nicknameqGU\011Event LogqHU\023docGridDisplayColorqIU\007#0000ccqJU\017mgmt_bat ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\ 000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\ 0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0 00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU \00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003 MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000 \022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\ 000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0 03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000 \022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0 13bordercolorqwU\007#000033qxU\012_p_changedqyK\001U\007__ doc__qzU\037Folder to contain event objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00 0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000 \000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00 0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l astDayOfMonthq\211(U\010\000\000\000\000\000\000\022cq\212(h\ 015U\003MWpq\213ttq\214QU\016headingBgColorq\215U\007#000 000q\216U\011thismonthq\217(U\010\000\000\000\000\000\000\022 Zq\220(h\015U\003MWpq\221ttq\222QU\024isPrincipiaFolderishq\2 23U\001YU\013bodyBgColorq\224U\007#ffffffq\225U\011pixel_gifq\2 26(U\010\000\000\000\000\000\000\022Xq\227(h\015U\003MWpq\23 0ttq\231QU\016undo_hook_linkq\232(U\010\000\000\000\000\000\0 00\022Iq\233(h\015U\003MWpq\234ttq\235QU\017newAddendumFo rmq\236(U\010\000\000\000\000\000\000\022`q\237(h\015U\003MW pq\240ttq\241QU\013subobjTypesq\242(U\010\000\000\000\000\000 \000\022aq\243(h\015U\003MWpq\244ttq\245QU\010newEventq\24 6(U\010\000\000\000\000\000\000\022bq\247(h\015U\003MWpq\250 ttq\251QU\011_p_serialq\252U\010\0036b\014\023S\230\273q\253U \011dateRangeq\254(U\010\000\000\000\000\000\000\022Yq\255(h\ 015U\003MWpq\256ttq\257QU\006go_gifq\260(U\010\000\000\000\0 00\000\000\022Tq\261(h\015U\003MWpq\262ttq\263QU\020AboutE ventFolderq\264(U\010\000\000\000\000\000\000\022dq\265(h\015U\ 003MWpq\266ttq\267QU\012meta_typesq\270(}q\271(U\012permiss ionq\272U\022Add EventDocumentsq\273U\004nameq\274U\016Event Documentq\275U\007productq\276U\013EventFolderq\277U\006acti onq\300U3manage_addProduct/EventFolder/EventDocument_factor yq\301utq\302U\013borderwidthq\303U\0012U\014subjectNamesq\3 04]q\305(U\007Generalq\306U\004Artsq\307U\007Theatreq\310U\00 6Sportsq\311U\012Governmentq\312U\005Clubsq\313U\006Schoolq \314U\011Religiousq\315eU\006prefixq\316U\000U\012whole_yearq\ 317(U\010\000\000\000\000\000\000\022eq\320(h\015U\003MWpq\3 21ttq\322QU\014showCalendarq\323(U\010\000\000\000\000\000\00 0\022fq\324(h\015U\003MWpq\325ttq\326QU\021filterHtmlInFormsq \327U\002onq\330U\016manage_optionsq\331(}q\332(U\005labelq\3 33U\010Contentsq\334U\004helpq\335(U\013EventFolderq\336U\01 0MainViewq\337tU\006actionq\340U\016neatManageViewq\341u}q\ 342(U\005labelq\343U\022Zope Contents Viewq\344U\004helpq\345(h\336U\020ZopeContentsViewq\346tU\00 6actionq\347U\013manage_mainq\350u}q\351(U\005labelq\352U\00 4Viewq\353U\006actionq\354U\014showCalendarq\355u}q\356(U\00 5labelq\357U\012Propertiesq\360h\345(h\336U\020FolderProperties q\361tU\006actionq\362U propertysheets/properties/manageq\363u}q\364(U\005labelq\365U\0 10Securityq\366U\006actionq\367U\015manage_accessq\370u}q\37 1(U\005labelq\372U\004Undoq\373U\006actionq\374U\016undo_hoo k_linkq\375u}q\376(U\005labelq\377U\006ReadMer\000\001\000\000 U\006actionr\001\001\000\000U\020AboutEventFolderr\002\001\000\ 000utr\003\001\000\000U\007xSearchr\004\001\000\000(U\010\000\ 000\000\000\000\000\022gr\005\001\000\000(h\015U\003MWpr\006\ 001\000\000ttr\007\001\000\000QU\012ziconImager\010\001\000\00 0(U\010\000\000\000\000\000\000\022\\r\011\001\000\000(U\011OF S.Imager\012\001\000\000U\005Imager\013\001\000\000ttr\014\001\ 000\000QU\014eventlog_gifr\015\001\000\000(U\010\000\000\000\00 0\000\000\022hr\016\001\000\000(h\015U\003MWpr\017\001\000\00 0ttr\020\001\000\000QU\013ctlsBgColorr\021\001\000\000U\007#ccf fccr\022\001\000\000U\006renderr\023\001\000\000(U\010\000\000\ 000\000\000\000\022ir\024\001\000\000(h\015U\003MWpr\025\001\ 000\000ttr\026\001\000\000QU\013bodyFgColorr\027\001\000\000U\ 007#000000r\030\001\000\000U\005titler\031\001\000\000U\011Eve nt Logr\032\001\000\000U\021wrapSearchResultsr\033\001\000\000(U\ 010\000\000\000\000\000\000\022kr\034\001\000\000(h\015U\003M Wpr\035\001\000\000tr\036\001\000\000tr\037\001\000\000QU\017li nkRelFontSizer \001\000\000U\002- 1r!\001\000\000U\016headingFgColorr"\001\000\000U\007#ffffffr#\001 \000\000utr$\001\000\000t.N.')) Could not load oid  5, pickled data in traceback info may contain clues: (see above) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From maxm@normik.dk Mon Oct 23 15:06:27 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 16:06:27 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> What am I doing wrong here ... please !! I am trying to make an autoincrementing counter for use in a diskussion forum. It's purpose is to autogenereate id's for new messages. It is important that the id's are in order, so I need to make them this way. I have a zClass (objectmanger) with a property called "lastID", on a propertysheet called "hidden". I have then written a dtml mehtod that should return the id incremented by 1 and then sets the lastID to this new id. the dtml for the "newID()" dtml method looks like this: ---------- ---------- When I try to get the property directly via the browser i get a result of "1" The default value for lastID=0 to begin with so this sounds plausible, but when I refresh the browser nothing happens. So I guess that lastID isn't updated in the above code. How do I do that? Also when I the try to insert "newID()" in my "mxm_comment_add" method in my zClass, to autogenerate numbers, like this: I get the following traceback: (And I would expect it to run at least 1 time with "1" as a new id.) Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\mxmZope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\mxmZope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File C:\mxmZope\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) (Info: newID) File <string>, line 0, in ? File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: REQUEST.set('new_id', lastID+1)) (Info: REQUEST) File <string>, line 0, in ? NameError: (see above) From ghaley@venaca.com Mon Oct 23 15:19:12 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 23 Oct 2000 10:19:12 -0400 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F448E0.C533E384@venaca.com> steve smith wrote: > > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > hi steve. one of the worst things with zope sendmail is that you cannot indent things the way you might with clean coding use. but, you can use some very nice sql calls within you sendmail, including appropriate indentation. below is a sendmail method that i use to read a string of email address from a mysql database, and the text of the email from a second database, which gets parsed via an external python script (to parse the string of text into lines of <= 75 chars, otherwise the text gets sent as single lines). also, it checks for non-existent email addresses or missing names (the database is a list of people and companies, whether connected to the net or not). it may not be the most efficient, but it works; and any suggestions as to making it more efficient will be most appreciated. ciao! greg. venaca.com ********************************** clip ************************************

''"> '' and primary_name <> ''"> To: <> From: Subject: To: <> From: Subject: From phil.harris@zope.co.uk Mon Oct 23 15:25:49 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 15:25:49 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <00f501c03cfd$26dddac0$5c773fc1@media1> Gaby, If you are in the Zope directory, since most uni(x)es don't have the current directory in the path, you need to start zope with './start'. hth Phil ----- Original Message ----- From: "Gabriela Arevalo" To: Sent: Monday, October 23, 2000 2:57 PM Subject: [Zope] a problem with 'start' command > hi all, > I am a starter with Zope and i have a simple question. > I need to execute 'start' command to start the server again. > when i tried to do it, it gives me the message: > command not found > I looked at the directory, i can find the start command, and the > permissions are -rwx--x--x. > > Can somebody help me with this ? > > Thanks > > Gaby > > > _______________________________________________ > 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 ) From Jerry.Spicklemire@IFLYATA.COM Mon Oct 23 15:33:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 23 Oct 2000 09:33:07 -0500 Subject: [Zope] RE: Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F5@innt-73.ata.com> Steve wrote: > I'm guessing the the problem is that > > &dtml-xxx; does an implicit "html_quote" format > on whatever expression you provide.. so > >

> > should produce: > >
> > Which the browser doesn't grok.... > > try: > >
> That works! It turned out that this was also complicated by some flakey behavior displaying nested tables, in MS IE. It seems that sometimes it doesn't matter what you specifiy for a table's properties, the parent tables properties take precedence. Thanks! Jerry S. From hohage@muenster.de Mon Oct 23 16:40:02 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 16:40:02 +0100 Subject: [Zope] Adding many instances at once Message-ID: <39F44BCE@muepubb> Hallo, how can you add many ZClass-instances at once. I mean with the correct content,title and other properties.The example(adding zclass to a zclass)is always adding one class.The next problem is how to deal with the properties in a form if you don't know how many items are added by the user?? User A is adding three news-items at once, the next is adding 5. From brian@digicool.com Mon Oct 23 15:42:02 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 23 Oct 2000 10:42:02 -0400 Subject: [Zope] GET requests in Medusa web server In-Reply-To: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: > Why does the Medusa server in Zope not handle GET requests which specify > a full URI? For example, if I have a web server running on > web.mydomain.com, > and I want to get a file called "file.html", doing a GET request > of the form > > GET http://web.mydomain.com/file.html HTTP/1.1 > > gives me a 404. Doing a GET of the form > > GET /file.html HTTP/1.1 > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > compliant server > is expected to handle both cases (5.1.12 of RFC 2068) > ... Hi Sean - What version of Zope are you seeing this with? I seem to remember fixing something along these lines fairly recently. Is it still the case in Zope 2.2.2? Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From arevalo@iam.unibe.ch Mon Oct 23 16:23:27 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 17:23:27 +0200 (MET DST) Subject: [Zope] a problem with 'start' command In-Reply-To: <00f501c03cfd$26dddac0$5c773fc1@media1> Message-ID: Phil, thanks for your suggestion, i understood it > If you are in the Zope directory, since most uni(x)es don't have the current > directory in the path, you need to start zope with './start'. but now when i execute the command i have the following message: ----------------------------------------------------------------------------- Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in ? zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", line 204, in run pf.close() IOError: [Errno 49] Disc quota exceeded aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname ------ 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct 23 17:18:55 2000 Hostname: aurora Port:8080 ------ 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 17:18:55 2000 Authorizer:None Hostname: aurora Port: 8021 ------ 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. ------ 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 17:18:55 2000 Unix socket: /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc ------ 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on port 8099 Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in ? pf.close() IOError: [Errno 49] Disc quota exceeded ------------------------------------------------------------------------------ what does this message mean ? what can i do ? in fact, my problem is when i tried to execute "localhost":8080/pecos/ where i have the information i need, there seems to have problems, because the connection is not possible. first thing i thought is just to try to start the server again, but i can not. thanks for any help have a nice evening. Gaby From brianw@hilgraeve.com Mon Oct 23 16:24:17 2000 From: brianw@hilgraeve.com (Brian Withun) Date: Mon, 23 Oct 2000 11:24:17 -0400 Subject: [Zope] argument type of list for ZSQL ? Message-ID: <000901c03d05$4f3ef230$ecdb5bcf@mikew> Is it possible to create a ZSQL Method which has a list-type as an argument? ..something that might support a call like this (or similar): where inside the ZSQL Method I might iterate over dept_members INSERT DepartmentMembers ( department_id, employee_id ) VALUES ( , ) If this can be written as shown (or similar) what would be the syntax used to populate the 'dept_members' field on the TEST view of the ZSQL Method? Would it just be: dept_member_ids: ----------------------- | [22,150,89] | ----------------------- or dept_member_ids: ----------------------- | "[22,150,89]" | ----------------------- or ... ? ------------ Brián Withun From bill.anderson@libc.org Mon Oct 23 16:02:18 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 09:02:18 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <39F452FA.969F6F7@libc.org> Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > it makes my skin crawl. :-) Amen. That and "...to adminstrate a server". :^)= Bill -- E PLURIBUS LINUX From andym@ActiveState.com Mon Oct 23 17:00:43 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 09:00:43 -0700 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <00d201c03d0a$660bf1c0$ae03a8c0@fork> [..] > When I try to get the property directly via the browser i get a result of > "1" The default value for lastID=0 to begin with so this sounds plausible, > but when I refresh the browser nothing happens. So I guess that lastID isn't > updated in the above code. I think this is a class - object problem. Each time you create an object based on your ZClass, the lastID becomes 0. Each object has its own lastID, rather than what you are expecting which is one instance of last id. My advice... download and install FSCounter from Zope.org (http://www.zope.org/Members/andym/FSCounter) Add an FSCounter, call it "Unique" and turn Cookie? to OFF (very important). This will generate and keep track of an incrementing value on the file system Then in your constructor add / change: That should work like a charm. From Olivier Ricou Mon Oct 23 17:01:52 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 18:01:52 +0200 Subject: [Zope] newbie questions ? In-Reply-To: <003e01c03cde$070ea360$1f48a4d8@kurtz>; from chrism@digicool.com on Mon, Oct 23, 2000 at 06:43:06AM -0400 References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <20001023180152.T3390@hermes> On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header Il faut un compte pour voir ces pages. and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account. Olivier. ps: the french sentence is useless since it never appears. From Robert_J_Roberts@rl.gov Mon Oct 23 17:22:02 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 23 Oct 2000 09:22:02 -0700 Subject: [Zope] Lost External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> I am running Zope 2.1.4 (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 I have several external methods. Just recently, they started to be good for one run only. The external methods run fine once. The next run, they error out with: "Could not execute external method: ExtMthdName" If I reload that method [Edit button it] it runs fine again for one run. Any suggestions? And... while I'm at it, is there a way in Zope to programmatically reload [Edit button] an external method (in case I can't get the problem to go away and just out of general curiosity)? Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From juliodinis@hotmail.com Mon Oct 23 18:53:16 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Mon, 23 Oct 2000 17:53:16 WEST Subject: [Zope] Request size limit Message-ID: Hi, Is there a place to define the max request size limit zserver can serve. Thanx, Julio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From sean@digitome.com Mon Oct 23 17:17:02 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 17:17:02 +0100 Subject: [Zope] GET requests in Medusa web server In-Reply-To: References: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: <4.3.2.7.0.20001023171545.00b7d760@mail.digitome.com> At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote: > > Why does the Medusa server in Zope not handle GET requests which specify > > a full URI? For example, if I have a web server running on > > web.mydomain.com, > > and I want to get a file called "file.html", doing a GET request > > of the form > > > > GET http://web.mydomain.com/file.html HTTP/1.1 > > > > gives me a 404. Doing a GET of the form > > > > GET /file.html HTTP/1.1 > > > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > > compliant server > > is expected to handle both cases (5.1.12 of RFC 2068) > > ... > >Hi Sean - > >What version of Zope are you seeing this with? I seem to >remember fixing something along these lines fairly recently. >Is it still the case in Zope 2.2.2? I am using Zope 2.1.6. regards, Sean http://www.pyxie.org - an Open Source XML Processing library for Python From andym@ActiveState.com Mon Oct 23 18:41:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 10:41:47 -0700 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <009a01c03d18$843a3310$ae03a8c0@fork> You could also do (and I would recommend it) by using the security system Zope give you. For example if you go to your root zope folder, click on security and deselect View for Anonymous User, this will have the same effect. ----- Original Message ----- From: "Olivier Ricou" To: Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ? > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) > > Here is the solution I found to do the .htaccess feature (I haven't found > where it is written) : I put in my standard_html_header > > > > Il faut un compte pour voir ces pages. > > > > and I add a new type of user with no rights in the acl_user folder. > Hence each person with want to see the site should have an account, > at least a no right account. > > Olivier. > > ps: the french sentence is useless since it never appears. > > _______________________________________________ > 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 ) > From robin@jessikat.fsnet.co.uk Mon Oct 23 19:09:37 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Mon, 23 Oct 2000 19:09:37 +0100 Subject: [Zope] overriding manage methods Message-ID: In my Z-Class I would like to hook various standard methods in a dtmlish way. The frame work would call my dtml method say manage_delObjects and within that method I would like to call the original manage_delObjects. I guess this must be a very standard requirement as I see that there are methods called afterAdd and beforeDelete etc in the object manager. I just don't know the proper namespace magic to override and eventually call these. -- Robin Becker From verzani@postbox.csi.cuny.edu Mon Oct 23 19:45:13 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 23 Oct 2000 13:45:13 -0500 Subject: [Zope] A ZClass for LaTeX documents Message-ID: Hi, I've been using a ZClass for LaTeX documents that I put together in a manner very similar to the one described in making a ZClass for STX documents at http://www.zope.org/Members/tseaver/STX_Document I like to mark things up in LaTeX as I can type it faster than HTML, I can create very nice printouts in PDF or PostScript and there is a nice renderer into HTML called tth. There are a few annoyances that I would like some help on. * I am using tth (http://hutchinson.belmont.ma.us/tth/) which can convert LaTeX into HTML quite well. In order to do so, when uploading the tex file or changing the tex file, I call tth and store the HTML along with the tex source. My DTML for this is Which if there is a new file upload stores it in body_tex, and then takes body tex and run tth on this to create the body_html. When I do this though, the tth is called on the old body_tex data, not the recently stored one. Because of this, I have to change the file twice. Any ideas as to why and how I can fix this? My guess is subtransactions, but I don't know how to fix that. * Ideally, I would like to be able to call the latex file this way (or even better just as ) where tth is a method which takes a latex document and returns HTML. I couldn't figure out how to do this though. How does one go about defining new format methods for ZClasses? I would imagine it isn't hard, I just need to know where to look. * If that isn't too hard, I would also like to know how to make this an option for markup in SquishDot. I have a math class using this as a discussion board, and it would be nice to let them use basic LaTeX for math markup. Thanks for any pointers. John Verzani -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From mindlace@digicool.com Mon Oct 23 16:09:05 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 11:09:05 -0400 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39F45491.580D28A9@digicool.com> Heymann William wrote: > > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. You're looking for the DirArg product: http://www.zope.org/Members/itsafire/releases/DirArg Found in http://www.zope.org/Products/Helpers -- -mindlace- Zopatista Community Liason From maxmcorp@worldonline.dk Mon Oct 23 20:58:21 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 23 Oct 2000 21:58:21 +0200 Subject: [Zope] A ZClass for LaTeX documents In-Reply-To: Message-ID: From: John Verzani >* Ideally, I would like to be able to call the latex file this way > > > (or even better just as ) Why not then just make an external method that can be called like: That isn't to ugly. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From rob@isso.org Mon Oct 23 21:14:34 2000 From: rob@isso.org (Robert Miller) Date: Mon, 23 Oct 2000 13:14:34 -0700 Subject: [Zope] Looking for short term Zope contractor Message-ID: <39F49C2A.8020705@isso.org> Hi, I'm looking for someone to work on a short (2-3 weeks long) Zope project. The details of the project are fairly straightforward; we have a relatively small database of information that is currently being injected into MySQL, and we'll need this database to be viewable/searchable from the web. The job is in San Francisco, and, while physical proximity is not absolutely necessary, preference will be given to those who are local. Interested parties should email a resume (text only, no attachments, please) to me at rob@isso.org. Thanks for your time and attention, and we now return you to your regularly scheduled zope@zope.org mailing list traffic. -rob -- +--------------------------------------------------+ Rob Miller Director of Systems Engineering International Space Sciences Organization rob@isso.org +--------------------------------------------------+ From phil.harris@zope.co.uk Sun Oct 22 21:27:36 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 22 Oct 2000 21:27:36 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <001101c03c66$888d5b70$0202a8c0@typhoon> Gaby, I'd say you need to get your disk quota extended. If your not the sysadmin then you need to speak to the relevant person about it. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Gabriela Arevalo" To: Cc: Sent: Monday, October 23, 2000 4:23 PM Subject: Re: [Zope] a problem with 'start' command | Phil, | | thanks for your suggestion, i understood it | | > If you are in the Zope directory, since most uni(x)es don't have the current | > directory in the path, you need to start zope with './start'. | | but now when i execute the command i have the following message: | | -------------------------------------------------------------------------- --- | | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in | ? | zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) | File | "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", | line 204, in run | pf.close() | IOError: [Errno 49] Disc quota exceeded | aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ | 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct | 23 17:18:55 2000 | Hostname: aurora | Port:8080 | | ------ | 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 | 17:18:55 2000 | Authorizer:None | Hostname: aurora | Port: 8021 | ------ | 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. | ------ | 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 | 17:18:55 2000 | Unix socket: | /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on | port 8099 | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in | ? | pf.close() | IOError: [Errno 49] Disc quota exceeded | | -------------------------------------------------------------------------- ---- | | what does this message mean ? what can i do ? | | in fact, my problem is when i tried to execute | "localhost":8080/pecos/ where i have the information i need, there seems | to have problems, because the connection is not possible. | first thing i thought is just to try to start the server again, but i can | not. | | thanks for any help | | have a nice evening. | | Gaby | | | _______________________________________________ | 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 ) From mindlace@digicool.com Mon Oct 23 17:44:20 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 12:44:20 -0400 Subject: [Zope] (no subject) References: Message-ID: <39F46AE4.D6816F3D@digicool.com> Robert Joseph Roos wrote: > invalid attribute name, "manage_addproperty(name", for tag manage_addProperty(name='foo', value='bar', type='string')>, on > line 10 of makeSched don't know if anybody helped you on this already, but any method call is an expression, and should be (pedantically) spelled: hope that helps, -- -mindlace- Zopatista Community Liason From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:48:35 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:48:35 +0200 (CEST) Subject: [Zope] Lost External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> Message-ID: On Mon, 23 Oct 2000 Robert_J_Roberts@rl.gov wrote: > And... while I'm at it, is there a way in Zope to programmatically reload > [Edit button] an external method (in case I can't get the problem to go away > and just out of general curiosity)? This code must have permission to do it, of course. (proxy roles) ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From dieter@handshake.de Mon Oct 23 21:31:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 23 Oct 2000 22:31:23 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <14836.40496.302287.33843@lindm.dm> .... the Python debugger "pdb".... It's a Python module used to debug Python programs. It can set breakpoints, single step and print expressions. It is activated automatically, when you start "ZPublisher/Test.py" with the "-D" option. Usually, I do not use it this way, however, as it takes too long, before I reach the interesting point. Instead, I use: import pdb; pdb.set_trace() at the point in Python code, where I want to get control. Then I use "Test.py" without "-D". Dieter From k_hester@bellsouth.net Mon Oct 23 23:08:52 2000 From: k_hester@bellsouth.net (Kathy Hester) Date: Mon, 23 Oct 2000 17:08:52 -0500 Subject: [Zope] newbie question Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello and thanks for your patience! I am beginning to learn zope. I am going through the tutorials in "the book". I have run into a problem creating an external method. I know I must be doing something stupid! I have my addEntry.py saved in the Extension folder in the Zope folder as it installed it (i'm in win 2k). I have the dtml method to call addEntry. When I try to add an external method id/function name/file name are all addEntry. (Supposedly to keep me from messing up...). I get this error message- "Zope has encountered an error while publishing this resource. Error Type: SyntaxError Error Value: invalid syntax Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. " There must be a simple solution. I have looked at the o'reilly book/on-line docs/how tos and I am still not seeing my error. Please feel free to e-mail me directly at k_hester@bellsouth.net . I thought I had found a work around by installing python method – but I am not sure what I need to put in the parameter list…. Any help would be greatly appreciated! ===== Kathy Hester to feel powerful often to act powerful sometimes to overpower others seldom to share power whenever possible - unknown ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello and thanks for your =
patience!<=
/pre>
 <=
/pre>
I am beginning to learn zope. I am going through the =
tutorials in "the book". I have run into a problem creating an =
external method.<=
/pre>
 <=
/pre>
I know I must be doing something stupid!<=
/pre>
 <=
/pre>
I have my addEntry.py saved in the Extension folder in the =
Zope folder as it installed it (i'm in win 2k). I have the dtml method =
to call addEntry.<=
/pre>
 <=
/pre>
When I try to add an external method id/function name/file =
name are all addEntry. (Supposedly to keep me from messing up...). =
<=
/pre>
 <=
/pre>
I get this error message- <=
/pre>
 <=
/pre>
"Zope has encountered an error while publishing this =
resource. <=
/pre>
 <=
/pre>
Error Type: SyntaxError<=
/pre>

Error Value: invalid =
syntax<=
/pre>
Troubleshooting Suggestions<=
/pre>
 <=
/pre>
The URL may be incorrect. <=
/pre>
The parameters passed to this resource may be incorrect. =
<=
/pre>
A resource that this resource relies on may be encountering =
an error. <=
/pre>
For more detailed information about the error, please refer =
to the HTML source for this page. <=
/pre>
 <=
/pre>
If the error persists please contact the site maintainer. =
Thank you for your patience. "<=
/pre>
 <=
/pre>
There must be a simple solution. I have looked at the =
o'reilly book/on-line docs/how tos and I am still not seeing my error. =
Please feel free to e-mail me directly at k_hester@=
bellsouth.net.<=
/pre>
 <=
/pre>
I thought I had found a work around by installing python =
method – but I am not sure what I need to put in the parameter =
list…. Any help would be greatly appreciated!<=
/pre>
 <=
/pre>
 <=
/pre>
=3D=3D=3D=3D=3D
Kathy Hester<=
/pre>
 <=
/pre>
to feel powerful often<=
/pre>
to act powerful sometimes<=
/pre>
to overpower others seldom<=
/pre>
to share power whenever possible<=
/pre>
-  =
unknown<=
/pre>

 

------=_NextPart_000_0033_01C03D13.EB30F0E0-- From Menard.Jean-Francois@hydro.qc.ca Mon Oct 23 17:28:51 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Mon, 23 Oct 2000 12:28:51 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D0147BCBD@msxvpti10.vpi.hydro.qc.ca> I developped a toggle button to let the users hide/show the menus. I use a cookie to store the current value. The code I use is: in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. Why??? I know I could use a session product, but I'm worried about session expiration. Could I set one of these products to expirate ***only*** when the browser is closed? And, why a session variable doesn't exist? It's the ONLY thing I miss from ASP... Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 From p@state-of-mind.de Tue Oct 24 00:14:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 01:14:18 +0200 Subject: [Zope] AW: [Zope] a problem with 'start' command In-Reply-To: Message-ID: Hi Gaby, I am not on of the zope-gods on this list, but there is something in the message that you sent that makes me stop and think: IOError: [Errno 49] Disc quota exceeded I believe the problem is not zope itself, but the amout of diskspace that you or the user 'pecos' is allowed to use in the dir /home/pecos/... Why this? Something, I presume it's the "quota daemon" of the "solaris-machin" that you are working on, tells your zope, that the 'Disc quota exceeded'. So what to do about that? 1. get rid of files you don't need anymore --> try to start zope 2. ask your sysadmin to give you more diskspace. this can be a hard one ;-) --> try to start zope I'm sure that after you've solved this problem, you are going to run into 'zope-problems' ;-) Try to go for the Zope Book online . gruezi ;-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Gabriela Arevalo > Gesendet: Montag, 23. Oktober 2000 17:23 > An: zope@zope.org > Cc: phil.harris@zope.ac.uk > Betreff: Re: [Zope] a problem with 'start' command > > > Phil, > > thanks for your suggestion, i understood it > > > If you are in the Zope directory, since most uni(x)es don't > have the current > > directory in the path, you need to start zope with './start'. > > but now when i execute the command i have the following message: > > ------------------------------------------------------------------ > ----------- > > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in > ? > zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) > File > "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", > line 204, in run > pf.close() > IOError: [Errno 49] Disc quota exceeded > aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ > 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct > 23 17:18:55 2000 > Hostname: aurora > Port:8080 > > ------ > 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 > 17:18:55 2000 > Authorizer:None > Hostname: aurora > Port: 8021 > ------ > 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. > ------ > 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 > 17:18:55 2000 > Unix socket: > /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on > port 8099 > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in > ? > pf.close() > IOError: [Errno 49] Disc quota exceeded > > ------------------------------------------------------------------ > ------------ > > what does this message mean ? what can i do ? > > in fact, my problem is when i tried to execute > "localhost":8080/pecos/ where i have the information i need, there seems > to have problems, because the connection is not possible. > first thing i thought is just to try to start the server again, but i can > not. > > thanks for any help > > have a nice evening. > > Gaby > > > _______________________________________________ > 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 ) > From michel@digicool.com Tue Oct 24 00:50:12 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 23 Oct 2000 16:50:12 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll Message-ID: <39F4CEB4.ACB6253B@digicool.com> We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations from the community. Please send me an email containing one or more candidate names. These names will be added to the list. No pre-screening will be done, so please exercise some discretion if your favorite name is more tounge-in-cheek than practical (you never know what the masses will decide though!). Later this week, I will create a web poll where you can vote for your favorite. thanks, -Michel From kthangavelu@earthlink.net Mon Oct 23 20:05:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:05:02 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> Message-ID: <39F48BDE.FDC8496@earthlink.net> Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: k_vertigo@yahoo.com kthangavelu@earthlink.net http://lostworld.imeme.net http://sindev.dhs.org 2445 E. Del Mar Apartment 238 Pasadena, CA 91107 (626) 405-9877 (home) Objective: To obtain a challenging position in which I can use my experience in creating community based web applications. Desired Job: Full-Time Employee Preferred Site Location: Pasadena, CA Education: College of William & Mary BS in Computer Science & History Graduated May 2000 Professional Skills: Areas of Expertise: - very skilled in Python, C, HTML, JavaScript - very skilled in Zope, Open Source Web Application Server and Oracle/ACS4/Aolserver - skilled in Java, Perl, C++, XML, TCL/TK - well-versed in underlying Internet Protocols: HTTP(S), TCP/IP, DNS/BIND, DHCP, SMTP, IMAP, POP Areas of Proficiency: - Strong Knowledge of Linux Kernel, multi-threaded programming, process management - RDBMS Design and SQL (PostGresSQL, ORACLE) - Skilled in Systems Adminstration - Redhat, Mandrake, Suse - Knowledgable of different Web Application Platforms: Enhydra, Servlets, Apache, AOLServer/ACS, Midguard Work Experience: OpenSource Developer - July - August 2000 Developing OpenSource Zope/Python Products. Product releases include a Mailman (www.list.org) search/archive, and a NewsSyndication Product based on RSS/OCS. BootCamp - ArsDigita.com - June - July 2000 Participated in the ArsDigita bootcamp. Acquired skills in Aolserver, Oracle, Tcl scripting and the ACS community system. Web Application Developer - ASTi February 2000 - May 2000 Hired by ASTi, member of the Python Consortium, to implement a prototype of their corporate intranet, designed to manage project workflow and production. Technologies used Zope/XML/Python/SQL. I talked with ASTi employees regarding site requirements and project management. I designed and implemented a working prototype to fufill those requirements and the workflow guidelines I was given. After the prototype was build, I turned over the project to their web master, and educated him regardings its construction and extensibility. Some of the things that I designed and implemented and integrated with the corporate intranet. * RDBMS schema for ASTi's parts and production components as well as installation and setup of RDBMS (PostgreSQL) * A validating xml-parser/dom interface for ASTi's internal project parts. The Product created subvendor orders based on a customer's product spec/purchase order. * A searchable email archive for communications between ASTi's sales engineer and clients. * A flexible user system, to allow for automatic messaging for various phases of workflow and presentation of intranet menus based on user roles. Director of Development - Information Technology @ College of William & Mary Fall 1999 - May 2000 www.sin.wm.edu Selected to be the architect of the next generation Student Information Network at the College, an information portal for students. I investigated various Web Application Platforms, before settling on Zope, Python , and PostgreSQL, to replace an aging code-base of mod_perl scripts. Taught the developers about Zope Architecture and Python and lead them in designing and implementing a new functionality and reimplementation. Designed and Implemented Session Management(cookie-less), IMAP authentication, Team Web Site for Distrvuted Development, Online Rideboard, Message Board, Housing Market, Local Jobs. Choice of tools, technology, and design/implementation focused on easy maintenance, rapid development, and extensibility. Skills Acquired - Management of the Software Life Cycle - Object Oriented esign - Team Managment Field Consultant - Technology Support Center @ College of William & mary Summer 1999 - Spring 2000 Assisted in training of on-call support specialist. Made field visits to various problem sites doing network troubleshooting (DHCP, SMB, TCP/IP), operating systems troubleshooting (Linux, WIN98), and application troubleshooting (Email Clients, MS Office). HTML -PERL/CGI Developer - Information Technology @ College of William & Mary Spring 1998- Spring 1999 Designed and Implemented Entertainment Section for the Student Information Network in Perl/HTML/CGI with a Unix DBM backend. This section of the site served as a repository of local entertainment, movies, and restaurants in the Williamsburg, VA area. Lab Technician: Computer Center @ College of William & Mary Fall 1997- Spring 1998 Worked for the Computer Center at the College of William & Mary maintaining and installing NT Workstation 4 and hardware troubleshooting new and broken components. Contact References and Code Samples for all Work Experiences are available to interested parties Affiliations: Member of the Python Software Activity. http://www.python.org/psa Last Modified: 2000/08/11 04:23:14.377 US/Pacific From kthangavelu@earthlink.net Mon Oct 23 20:28:31 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:28:31 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> <39F48BDE.FDC8496@earthlink.net> Message-ID: <39F4915F.88816024@earthlink.net> Doh!, i've gotten far to use to hitting reply all on my emails:) kapil From eileen@orbell.com Tue Oct 24 02:29:09 2000 From: eileen@orbell.com (Eileen Orbell) Date: Mon, 23 Oct 2000 21:29:09 -0400 Subject: [Zope] New to list & Zope Message-ID: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Hi, I run debian 2.2 and have Zope installed and apache. On bootup my Zope server starts automatic. I am wondering how I configure Zope with an Apache server? I am very very new to Zope so really want a little help in starting off. My network works fine by the way and I use cabke modem with a static IP for my website. Thanks for any help. Right now I only see Zope in my cgi-bin and thought I should have a file zope.cgi? As you can see I am a little lost :-) Eileen Orbell Software & Internet Applications Capitol College mailto:eileen@orbell.com Don't Fear the Penguin. From curtis@cardgate.net Tue Oct 24 02:40:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 24 Oct 2000 12:40:17 +1100 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <0010241240170R.01234@localhost.localdomain> On Tue, 24 Oct 2000, Eileen Orbell wrote: > Hi, Greetings, and welcome, new Zopista! > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. Always handy. (o8 > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost > :-) > The way we run it at work is to use ProxyPass in Apache. Check your Apache docs, or even easier is to search for ProxyPass on the Zope web site ( www.zope.com ) > > > Eileen Orbell > Software & Internet Applications > Capitol College > mailto:eileen@orbell.com > Don't Fear the Penguin. > Have a better one, Curtis Maloney Developer Cardgate.Net From bill.anderson@libc.org Tue Oct 24 02:38:01 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:38:01 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <39F4E7F9.1F08E0F3@libc.org> Olivier Ricou wrote: > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX From bill.anderson@libc.org Tue Oct 24 02:44:39 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:44:39 -0600 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <39F4E987.41C4FFF6@libc.org> Max Møller Rasmussen wrote: > > What am I doing wrong here ... please !! > > I am trying to make an autoincrementing counter for use in a diskussion > forum. It's purpose is to autogenereate id's for new messages. > > It is important that the id's are in order, so I need to make them this way. Is it more important that they be in an order, or that they be in a specific sequential list? For example, an id based upon time stamp would indeed provide IDs that re orderable (thus handling the in order part). While a list od IDs named 1,2,3,4... is more like a 'linked list', where you know what follows and what precedes a given id. However, by using objectIds, you can obtian a list of ids in a given object (folder), and thus provide one for yourself, if needed. FTR, I have implemented both ways of doing it. I am leaning towards the timestamp as being more effective, & simpler. -- E PLURIBUS LINUX From knight@righteous.net Tue Oct 24 03:14:43 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:14:43 -0700 (PDT) Subject: [Zope] New to list & Zope In-Reply-To: <0010241240170R.01234@localhost.localdomain> Message-ID: Greetings! Great to have yet another Zope follower; hopefully you will decide to stick with it... Just be patient, you will find out that after a solid month of using Zope that is has never ending power (thanks to python and the awesome coders at digital creations). You can use ProxyPass (mod_proxy) or Rewrite (mod_rewrite) to communicate with Zope from Apache. This basically creates a "tunnel" between Apache and Zope, and data gets exchanged between the two. Some people find that ProxyPass doesn't work for them, so Rewrite is great as well (I personally use Rewrite because it suits my site). Confer with www.zope.org, or come to #zope on irc.zope.net with an irc client. Regards, Knight On Tue, 24 Oct 2000, Curtis Maloney wrote: > On Tue, 24 Oct 2000, Eileen Orbell wrote: > > Hi, > > Greetings, and welcome, new Zopista! > > > > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > > server starts automatic. > > Always handy. (o8 > > > I am wondering how I configure Zope with an Apache server? I am very very > > new to Zope so really want a little help in starting off. My network works > > fine by the way and I use cabke modem with a static IP for my > > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > > thought I should have a file zope.cgi? As you can see I am a little lost > > :-) > > > > The way we run it at work is to use ProxyPass in Apache. Check your Apache > docs, or even easier is to search for ProxyPass on the Zope web site ( > www.zope.com ) > > > > > > > Eileen Orbell > > Software & Internet Applications > > Capitol College > > mailto:eileen@orbell.com > > Don't Fear the Penguin. > > > > Have a better one, > Curtis Maloney > Developer > Cardgate.Net > > _______________________________________________ > 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 ) > > From knight@righteous.net Tue Oct 24 03:18:07 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:18:07 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <39F4E7F9.1F08E0F3@libc.org> Message-ID: Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote: > Olivier Ricou wrote: > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > And by the way, it's "authentication". Every time I see "authentification", > > > > guess how we say in french :) > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > -- > E PLURIBUS LINUX > > > _______________________________________________ > 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 ) > > From chrism@digicool.com Tue Oct 24 04:02:07 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 23:02:07 -0400 Subject: [Zope] newbie questions ? References: Message-ID: <02db01c03d66$cbdb7690$63c48ad0@kurtz> That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) ----- Original Message ----- From: "knight" To: "Bill Anderson" Cc: Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? > Heh. authentification hah. > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > Check that out... same kind of humor. Grin. > > Knight > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > Olivier Ricou wrote: > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > And by the way, it's "authentication". Every time I see "authentification", > > > > > > guess how we say in french :) > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > -- > > E PLURIBUS LINUX > > > > > > _______________________________________________ > > 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 ) > > From knight@righteous.net Tue Oct 24 03:44:24 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:44:24 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: Uh oh, you got me ;] Probably related to the cold medicine. grin. On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From knight@righteous.net Tue Oct 24 03:46:08 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:46:08 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: http://www.phunc.com/Humor/Signs/ChineseRestaurant There. ;] On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From taco@scargo.nl Tue Oct 24 05:04:48 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 21:04:48 -0700 Subject: [Zope] One last request Message-ID: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : From kthangavelu@earthlink.net Tue Oct 24 00:45:54 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 16:45:54 -0700 Subject: [Zope] One last request References: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> Message-ID: <39F4CDB2.8ADDC0F3@earthlink.net> Taco Scargo wrote: > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > try this instead kapil From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:44:54 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:44:54 +0200 (CEST) Subject: [Zope] Updating auto incrementing counter in a propertysheet In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: On Mon, 23 Oct 2000, Max Møller Rasmussen wrote: > I have a zClass (objectmanger) with a property called "lastID", on a > propertysheet called "hidden". > > I have then written a dtml mehtod that should return the id incremented by 1 > and then sets the lastID to this new id. > > the dtml for the "newID()" dtml method looks like this: > ---------- > > In the above line --- do you want to set up new value for ZClass property, isn't it ? If so, you have to use manage_changeProperties method of property sheet. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From mark@kaivo.com Tue Oct 24 06:58:14 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Mon, 23 Oct 2000 23:58:14 -0600 (MDT) Subject: [Zope] One last request In-Reply-To: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> from "Taco Scargo" at Oct 23, 2000 09:04:48 PM Message-ID: <200010240558.XAA24351@CatInTheHat.kaivo.com> > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > > > instead, try this: THIS actually 'calls' sequence-item Mark > > _______________________________________________ > 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 ) > From jacintha.menezes@wipro.com Tue Oct 24 07:10:09 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 24 Oct 2000 11:40:09 +0530 Subject: [Zope] question In-Reply-To: <39F44071.604752C7@globalcrossing.com> Message-ID: <000f01c03d81$0fdd22c0$f5dea8c0@wipro.com> Hi, Two more questions for you: 1. kindly let me know how to export an output of any method to word ,msexcel etc from zope, where output may be a tree structure or tabular form data etc. 2. Let me also know how to send a report(output) to the printer. Thanks bye, jacintha From nspurrier@bluelight.com Tue Oct 24 08:24:17 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 24 Oct 2000 00:24:17 -0700 Subject: [Zope] Simple Question? Message-ID: This seems like a simple question. How do I include a Method in a different folder? I have two folders and two methods: /editor/ edit /mojo/art/ add_art_html In my file "add_art_html" I want to add this code: But when I try to view it I get a KeyError. I also tried: I tried some complicated things with and , but I couldn't get this to work; although, at least did not give a KeyError. Yours, Noah From maxm@normik.dk Tue Oct 24 08:30:50 2000 From: maxm@normik.dk (Max Moller Rasmussen) Date: Tue, 24 Oct 2000 09:30:50 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A93@exchange> From: Aleksander Salwa [mailto:ololo@zeus.polsl.gliwice.pl] >> >> >In the above line --- do you want to set up new value for ZClass property, >isn't it ? >If so, you have to use manage_changeProperties method of property sheet. Yes I am afraid that this is the problem. That seems like such a messy solution too. I will try and make a Python based product instead, for this particular solution. My current zClass solution allready seem to be a bit verbose for my liking. And the program logic isn't to nice in dtml either. Regards Max M From maxm@normik.dk Tue Oct 24 08:39:48 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 09:39:48 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A94@exchange> From: Bill Anderson [mailto:bill.anderson@libc.org] >Is it more important that they be in an order, or that they be in a >specific sequential list? Actually what is important is that they are integers and in a specific order. So the datestamp method isn't that feasible for me. (I'm trying to make a "fake tree" for a diskussion product.) It is really easy to implement and doesn't use recursion, so traversing the tree is done with a simple for loop. It uses a dictionary with tupples as keys to emulate the recursive structure. Simple example here if anybody cares. ------------------------- class fakeTree: def __init__(self): #create tree and insert root element self.treeKeys = {} self.treeKeys[0] = (0,) self.tree = {} self.tree[(0,)] = '' def insert(self, id, parent, value): # create new key keyList = list(self.treeKeys[parent]) newKeyList = keyList.append(id) newKeyTuple = tuple(newKeyList) self.treeKeys[id] = newKeyTuple # insert in tree with new tuple key self.tree[newKeyTuple] = value def print(self): sortedKeys = treeKeys.keys() sortedKeys.sort() spacesInIndent = 3 for key in sortedKeys: print key print spacesInIndent * len(key) * ' ' + treeKeys[key] tree = fakeTree() tree.insert(1, 0, 'max m') tree.insert(2, 0, 'gitte') tree.insert(3, 1, 'magnus') tree.print() From jornd@falch.net Tue Oct 24 09:39:18 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 10:39:18 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <87itqi7hvt.fsf@ranga.falch.net> Hi all! I am aware of , but I am looking for at way to make Apache serve Zope from the root URL. It is possible to make the apache front end be served by zope backend , but what really want is to make apache frontend be served by Zope, and still be able to serve static content from selected locations. Example: <- Zope w/Apache frontend <- Apache static Am I clear? Is it possible to do that without NameVirtualHost? -- Jørn Helge B. Dahl System Administrator http://falch.net From phil.harris@zope.co.uk Tue Oct 24 10:37:07 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 10:37:07 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net> Message-ID: <017501c03d9d$fadcad60$5c773fc1@media1> Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two ways to do it. 1. use the LocalFileSystem product, http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg z 2. use Apache to intercept calls to a specific dir before passing it onto Zope, e.g. use a RewriteRule. hth Phil ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 9:39 AM Subject: [Zope] Apache in front of ZServer > Hi all! > > I am aware of , > but I am looking for at way to make Apache serve Zope from the root URL. > > It is possible to make the apache front end > be served by zope backend > , but what really want is to make apache > frontend be served by Zope, and still be > able to serve static content from selected locations. Example: > > <- Zope w/Apache frontend > <- Apache static > > Am I clear? Is it possible to do that without NameVirtualHost? > -- > Jørn Helge B. Dahl > System Administrator > http://falch.net > > > _______________________________________________ > 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 ) From jornd@falch.net Tue Oct 24 10:49:47 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 11:49:47 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 10:37:07 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> Message-ID: <87aebu7emc.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | It's perfectly possible, you just need to do a little work ;) That's OK, that way it'll be more fun :-) | Your proxy pass will be something like this: | | ProxyPass / http://myserver.com:8080/ | ProxyPassReverse http://myserver.com:8080/ / I had that one already figured out. but I thought the ProxyPassReverse directive was to be the other way around: To be exactly like the ProxyPass directive? | for the other part of serving static content, it really depends what you | want but here are two ways to do it. | | 1. use the LocalFileSystem product, | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | z That I already do, so that one is okay. | 2. use Apache to intercept calls to a specific dir before passing it onto | Zope, e.g. use a RewriteRule. Yup, this is what I need. I think was being unclear about what I really -wanted: I want to still be able to use php and such thing, even if I serve Zope from root. So the RewriteRule does the trick? Thanks Phil, -- Jørn Helge B. Dahl System Administrator http://falch.net From tony.mcdonald@ncl.ac.uk Tue Oct 24 11:34:55 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 24 Oct 2000 11:34:55 +0100 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a
with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From zope@isp.lu Tue Oct 24 12:12:56 2000 From: zope@isp.lu (zope) Date: Tue, 24 Oct 2000 13:12:56 +0200 Subject: [Zope] ZGDChart product... Message-ID: <4.3.2.7.2.20001024130954.00b3b780@mail.isp.lu> Hi. This is really a great product. Unfortunately, I'm not able to create a chart with multiple columns using a ZSQL Data Method. Multiple columns with a DTML-Method works fine. Do I miss something. Any ideas? Thanks for any help. Regards, Marc Ludwig (zope@isp.lu) From ssmith6@bigpond.net.au Tue Oct 24 11:46:49 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Tue, 24 Oct 2000 20:46:49 +1000 Subject: [Zope] Sendmail examples In-Reply-To: Message-ID: <000001c03da7$b7228720$be348490@vic.bigpond.net.au> Hi Tony, Thanks for taking the time to answer. The "MailHost" object seems to be the key. I tried going around it (using the SMTPHost attribute, from memory), without much luck. Also learnt that one needs at least modest knowledge of SMTP syntax when forming the option lines! Thanks again, Steve -----Original Message----- From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk] Sent: Tuesday, 24 October 2000 8:35 To: ssmith6@bigpond.net.au; zope@zope.org Subject: Re: [Zope] Sendmail examples At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From kschut@avaya.com Tue Oct 24 12:33:55 2000 From: kschut@avaya.com (Schut, Koos (Koos)) Date: Tue, 24 Oct 2000 13:33:55 +0200 Subject: [Zope] Trying to follow tutorial Message-ID: Hi all, I am trying to follow the quick tutorial and immediately run into things I do not understand. I am trying to create a folder as explained in the docs. I get the error: Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is the example in which "Stan" needs to create a folder. Can anyone tell me what goes wrong and how to get it right? Cheers. J.J. Schut Integration Specialist Avaya The Former Enterprise Networks Group of Lucent Technologies tel. +31 (0)30 609 7835 fax. +31 (0)30 609 7650 email kschut@avaya.com From rik.hoekstra@inghist.nl Tue Oct 24 12:40:58 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 13:40:58 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F5754A.BA398125@inghist.nl> > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? This is related to the tutorial not being up to date with the current zope version, but is simply remedied. Go to the management interface and add a zope user in the acl_users folder. Give it Management rights. Shut you browser, reopen it and authenticate as the user you just entered. Get on with the tutorial... hth Rik From u.soni@cs.ucl.ac.uk Tue Oct 24 13:11:14 2000 From: u.soni@cs.ucl.ac.uk (Umesh Soni) Date: Tue, 24 Oct 2000 13:11:14 +0100 Subject: [Zope] serving java applet fails Message-ID: <200010241211.NAA29248@beluga.pacific.ocean> hi all, I'm having problems serving up the EIRC java chat-client from within zope. I have uploaded two java archives EIRC-gfx.jar and EIRC.jar as file objects via the management screen. Zope has recognised these as 'application/java-archive' content types. I am using the following dtml (which is in the same folder as the two java archives) to serve the applet

Eteria IRC Client

Sorry, but you need a Java 1.x enabled browser to use EIRC.

The applet loads (and runs) fine when served from from the filesystem with apache. When served from zope it appears to load ok and is even rendered within the browser -but at the last moment fails to run with the following browser error; Applet EIRC can't start: ERROR Any thoughts? umesh From maxm@normik.dk Tue Oct 24 13:07:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 14:07:34 +0200 Subject: [Zope] How do you guys/gals test Zope products from Python? Message-ID: <7BD10B680501D411B9DF009027E06F32197A98@exchange> I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly simple setup. My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in C:\Program Files\Python. usually when I write Python I just use PythonWin to edit and run my scripts. I then write test in the buttom of my file that shows that everything works. This works nicely, but when writing Zope products I get really frustrated. I cannot easily automate my tests. I put my products into C:\mxmZope\lib\python\Products\name and edit them from there, but trying to edit just a simple syntax error means a restart of Zope. That gets tired real fast. Especially when all you have to do to make mistakes is forgetting a comment under a method etc. I cannot run the program from my PythonWin or IDLE as they are set to the standard Python enviroment. Do other set os.path.append('ZopeDir') or something and the comment that out when running or what? The error messages I get that way are also rather lacking. Reloading the file in the browser, reading the source and getting a traceback like the one below, for a method I know exists. But dissapeared because of some, probably minor, typing mistake. --------- ... SNIP File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 162, in publish File C:\mxmZope\lib\python\ZPublisher\BaseRequest.py, line 380, in traverse File C:\mxmZope\lib\python\ZPublisher\HTTPResponse.py, line 529, in notFoundError NotFound: (see above) ---------- I am shure that there must be a better way, but what is it? How do you guys edit and test your products? Even .asp is far better than the way I am doing it now. At least I dont have to restart the server when I make a simple mistake, I can also easily put in testcode and Response.Writes to se what is happening. I love Python among other things because of the nice traceback and debugging features, but I feel that they are somewhat lost when developing Zope. Shurely it must be me being ignorant here. Regards Max M "There must be more than just this." - V-ger From jornd@falch.net Tue Oct 24 13:40:45 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 14:40:45 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: jornd@falch.net's message of "24 Oct 2000 11:49:47 +0200" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> Message-ID: <87n1fue7jm.fsf@ranga.falch.net> * jornd@falch.net (JXrn Helge B. Dahl) | | for the other part of serving static content, it really depends what you | | want but here are two ways to do it. | | | | 1. use the LocalFileSystem product, | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | | z | | That I already do, so that one is okay. | | | 2. use Apache to intercept calls to a specific dir before passing it onto | | Zope, e.g. use a RewriteRule. | | Yup, this is what I need. I think was being unclear about what I really | -wanted: I want to still be able to use php and such thing, even if I | serve Zope from root. So the RewriteRule does the trick? On a second thought: What I _really_ want (I think, unless someone tells me differently :-) ) is a conditional ProxyPass, to tell apache to redirect everything _unless_ the URI is /static (or something). But this is probably something for apache geeks. Thanks anyway. -- Jørn Helge B. Dahl http://falch.net From marc.breitenreicher@friatec.de Tue Oct 24 13:29:51 2000 From: marc.breitenreicher@friatec.de (Marc Breitenreicher) Date: Tue, 24 Oct 2000 14:29:51 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F580BF.4692A2AF@friatec.de> I suppose you've just installed Zope and you're logged in as "Superuser" And that's the problem. The superuser cannot own folder, files etc. Add a "User Folder" and add a new User in that folder. Then you have to restart Zope and log in as the new user. Now the new user can add as much folder as you want. Hope this helps Marc > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) From p@state-of-mind.de Tue Oct 24 13:41:37 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 14:41:37 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: Message-ID: Hi J.J., this problem is a result of the restrictions applied by zope. Nothing is wrong with that. It is just that it's not explained thouroughly or most people new to zope tend to overread that in the manual ;-) Here's what You do: 1. Login as the Superuser (the primary account provided after installing zope) and create a new user in path_to_zope/acl_users '(e.g. Koos). Provide Password when asked in the form and apply the role 'manager' to that user. 2. logout as superuser (e.g. close all browsers...) 3. login as the user you have just created 4. go on with the tutorial... This should help you to get going with zope. Besides that, working with zope is worth every minute of it :-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Schut, Koos (Koos) > Gesendet: Dienstag, 24. Oktober 2000 13:34 > An: 'zope@zope.org' > Betreff: [Zope] Trying to follow tutorial > > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) > From ytotty@atinucleus.com Tue Oct 24 14:06:18 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Tue, 24 Oct 2000 08:06:18 -0500 Subject: [Zope] Mass Mailing (newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi! I need to send out mass mailings from time to time (newsletters, announcements and the such). Is there an easy way to get this done? I already have the email addy's in the database. TIA, Yvonne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I=20 need to send out mass mailings from time to time
(newsletters, announcements and the=20 such).
 
Is=20 there an easy way to get this done? I already
have the email addy's in the=20 database.
 
TIA,
Yvonne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_000C_01C03D91.49C9FB60-- From phil.harris@zope.co.uk Tue Oct 24 14:08:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 14:08:03 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net><017501c03d9d$fadcad60$5c773fc1@media1><87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <021701c03dbb$729770c0$5c773fc1@media1> Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 1:40 PM Subject: Re: [Zope] Apache in front of ZServer > * jornd@falch.net (JXrn Helge B. Dahl) > > | | for the other part of serving static content, it really depends what you > | | want but here are two ways to do it. > | | > | | 1. use the LocalFileSystem product, > | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg > | | z > | > | That I already do, so that one is okay. > | > | | 2. use Apache to intercept calls to a specific dir before passing it onto > | | Zope, e.g. use a RewriteRule. > | > | Yup, this is what I need. I think was being unclear about what I really > | -wanted: I want to still be able to use php and such thing, even if I > | serve Zope from root. So the RewriteRule does the trick? > > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > > But this is probably something for apache geeks. > > Thanks anyway. > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) From rossini@blindglobe.net Tue Oct 24 14:29:14 2000 From: rossini@blindglobe.net (A.J. Rossini) Date: 24 Oct 2000 06:29:14 -0700 Subject: [Zope] Apache in front of ZServer In-Reply-To: <87n1fue7jm.fsf@ranga.falch.net> (JXrn Helge B. Dahl's message of "24 Oct 2000 14:40:45 +0200") References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <87g0lmcqqd.fsf@jeeves.blindglobe.net> >>>>> "JHBD" == JXrn Helge B Dahl writes: JHBD> On a second thought: What I _really_ want (I think, unless JHBD> someone tells me differently :-) ) is a conditional JHBD> ProxyPass, to tell apache to redirect everything _unless_ JHBD> the URI is /static (or something). The ugly solution, until you find a clean one, is to have a second apache process :-), and the first proxy-forwards to either Zope or the second Apache. (I'm doing something like that for our home server, so I'm intrigued as to whether you can provide a clean solution...). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax From jjunior@cidadei.com.br Tue Oct 24 15:38:53 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Tue, 24 Oct 2000 11:38:53 -0300 Subject: [Zope] redirect Message-ID: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> how to for that function REDIRECT understand a variable. ex. ')"> From rik.hoekstra@inghist.nl Tue Oct 24 14:56:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 15:56:54 +0200 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F59526.BD5C70EB@inghist.nl> > > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> You can't nest dmtl tags try : > Hi, > > I'm looking for someone to work on a short (2-3 weeks long) Zope > project. The details of the project are fairly straightforward; we have > a relatively small database of information that is currently being > injected into MySQL, and we'll need this database to be > viewable/searchable from the web. > > The job is in San Francisco, and, while physical proximity is not > absolutely necessary, preference will be given to those who are local. > Interested parties should email a resume (text only, no attachments, > please) to me at rob@isso.org. > > Thanks for your time and attention, and we now return you to your > regularly scheduled zope@zope.org mailing list traffic. > > -rob > > -- > +--------------------------------------------------+ > Rob Miller > Director of Systems Engineering > International Space Sciences Organization > rob@isso.org > +--------------------------------------------------+ > > _______________________________________________ > 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 ) From drusch@globalcrossing.com Tue Oct 24 15:04:09 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 24 Oct 2000 09:04:09 -0500 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F596D9.9E6E3054@globalcrossing.com> > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Tue Oct 24 15:20:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 15:20:09 +0100 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <025201c03dc5$84d38440$5c773fc1@media1> test>')"> > > _______________________________________________ > 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 ) From erik@pacific-shores.com Tue Oct 24 15:23:30 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 24 Oct 2000 07:23:30 -0700 Subject: [Zope] M2Crypto problem Message-ID: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki erik@pacific-shores.com From Oliver Bleutgen Tue Oct 24 15:18:47 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:18:47 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <200010241422.HAA00586@zope.codeit.com> > * jornd@falch.net (JXrn Helge B. Dahl) > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > But this is probably something for apache geeks. Jørn, I ain't no apache geek, but I took a look at two nice how-tos on zope.org. The first one http://www.zope.org/Members/anser/apache_zserver/ describes how to get apache to work with zope via proxypass etc., and the second one describes how to achieve what you describe above ... and I don't find it anymore on zope.org :( Anyway, this is what you want: RewriteEngine On RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://localhost:10080/my_host/$1 [P] The [L] stops the rewriting-process if and only if the uri is of the form http://yourhostname/local/ If not it goes on and passes the request to localhost port 10080, directory my_host, where zope resides (at least on my server). Combine that with virtual-host directive of apache and you are as flexibel as one can get. Naturally /local need not to be the only folder which isn't proxied to zope. The only problem is that apache doesn't care for zope's authentication machinery, I would love to have a module for apache which could enable that (nice dream...). But it may be solvable by using mysql/postgres as a userdatabase for zope & apache... cheers, oliver From Oliver Bleutgen Tue Oct 24 15:28:22 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:28:22 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial Message-ID: <200010241432.HAA00984@zope.codeit.com> > 2. logout as superuser (e.g. close all browsers...) Ha, I always wanted to bring in a IMNSHO better way to "logout" - it works at least in IE. try http://log:meout@yourzopehost.com So the cached login/password are overwritten by log/meout and zope (or every other server) brings up the login dialog (as long as log/meout are not valid ;)) Should also work handy as a link in html (untested). cheers, oliver From lehmann@catworkx.de Tue Oct 24 15:34:08 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 16:34:08 +0200 Subject: [Zope] MailHost: bcc broken ? Message-ID: <00102416340801.00590@cat-pc-holle> Hi all, I wanted to use bcc in a mail generated though a ... (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any ideas ? - Holger -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From ghaley@venaca.com Tue Oct 24 15:39:41 2000 From: ghaley@venaca.com (Gregory Haley) Date: Tue, 24 Oct 2000 10:39:41 -0400 Subject: [Zope] Mass Mailing (newbie) References: Message-ID: <39F59F2D.7E829047@venaca.com> hi yvonne, you can use the zope send mail method to pull data from a database. the problem is with pulling in the text. sendmail appears to send only literal text, i.e., it does not parse html markup. we are using a mysql database to pull text and a second to pull names and emails, etc. to prevent the text from coming out as a single string, i have an external python method that takes the string of text and writes out the lines as lines of <= 75 chars, it also reinserts double line breaks, as in between paragraphs. we use something like this: you will need the MailHost product, and you will need to add a sendmail method in your directory. ciao! greg. DBA/web programmer venaca.com *********************************************************************** To: <> From: Subject: "clean_content" is the name of the python external method. This may not be ALL of the code, as i am really chopping some things out of the actual dtml file for illustrative purposes. a couple of warnings, in case you haven't used dtml sendmail. you can use nice indented tags within a or but not other wise. the left margin is, in my experience anyway, fairly inviolable. as this is working now, if sendmail gets a bad address, it strangles everything from the point of the error forward. so, you should check to make sure your emails are exactly correct -- i was doing a bulk mailing of about 100 emails, and it died after the 6th one. i don't know how to put in a trap into the method so that the mail server catches the return mail but does not pass them to the zope mailhost. ciao! greg. > Yvonne Totty wrote: > > Hi! > > I need to send out mass mailings from time to time > (newsletters, announcements and the such). > > Is there an easy way to get this done? I already > have the email addy's in the database. > > TIA, > Yvonne > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > From chrisw@nipltd.com Tue Oct 24 15:49:11 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:49:11 +0100 Subject: [Zope] newbie question References: Message-ID: <39F5A167.8208B96C@nipltd.com> Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the problem goes away when you correct any mistakes. cheers, Chris PS: Please post only plain text to this list (Plain Text as opposed to MIME encoded should be an option on your mail program) as the message you posted came out pretty screwed up on Netscape Communicator ;-) From chrisw@nipltd.com Tue Oct 24 15:50:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:50:33 +0100 Subject: [Zope] SuperUser cannot own ;-) References: <39F580BF.4692A2AF@friatec.de> Message-ID: <39F5A1B9.BE164ECE@nipltd.com> Marc Breitenreicher wrote: > > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) *stir* *stir* Chris From kosh@home-dhcp3-127.Colorado.EDU Tue Oct 24 21:56:16 2000 From: kosh@home-dhcp3-127.Colorado.EDU (kosh) Date: Tue, 24 Oct 2000 14:56:16 -0600 (MDT) Subject: [Zope] Message-ID: What would be the correct dtml-if contrstruct for this behavior? I want to check and see if zope can resolve a url to a valid object. Ie does http://foo.com/bar/foo get you to a valid page or is it not found. I need something like that way I can know when to rewrite the url based on zope finding the object or not. Thanks Kosh From chrisw@nipltd.com Tue Oct 24 15:56:28 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:56:28 +0100 Subject: [Zope] Simple Question? References: Message-ID: <39F5A31C.FD33F62@nipltd.com> Noah wrote: > In my file "add_art_html" I want to add this code: > > But when I try to view it I get a KeyError. > I also tried: > If Steve A's patch ever makes it into the core, you could do: &dtml-/mojo/editor/edit; ...and it'd be great if the Traversal Interface could also be used to implement: ...but sadly, for now, you need to do: ...or, slightly more tasty: enjoy ;-) Chris From chrisw@nipltd.com Tue Oct 24 16:00:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 16:00:22 +0100 Subject: [Zope] Refreshing :-) References: <7BD10B680501D411B9DF009027E06F32197A98@exchange> Message-ID: <39F5A406.18EEE41B@nipltd.com> Max Møller Rasmussen wrote: > This works nicely, but when writing Zope products I get really frustrated. I > cannot easily automate my tests. > > I put my products into C:\mxmZope\lib\python\Products\name and edit them > from there, but trying to edit just a simple syntax error means a restart of > Zope. That gets tired real fast. Especially when all you have to do to make > mistakes is forgetting a comment under a method etc. Try Shane Hathaway's Refresh product: http://www.zope.org/Members/hathawsh/Refresh cheers, Chris From cs@comlounge.net Tue Oct 24 16:02:27 2000 From: cs@comlounge.net (Christian Scholz) Date: Tue, 24 Oct 2000 17:02:27 +0200 Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01>; from Joaldo Junior on Tue, Oct 24, 2000 at 11:38:53AM -0300 References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <20001024170227.C4058@central.comlounge.net> Hi! > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> use Message-ID: <39F5AB87.D41FC3A9@oratrix.com> Hi, Im using this: To: <> From: <> Subject: Hi, blah blah Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From maxmcorp@worldonline.dk Tue Oct 24 16:53:07 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 17:53:07 +0200 Subject: [Zope] SuperUser cannot own ;-) In-Reply-To: <39F5A1B9.BE164ECE@nipltd.com> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris Withers > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) Well I for one have accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan horses being executed by super. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From maxmcorp@worldonline.dk Tue Oct 24 17:03:11 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 18:03:11 +0200 Subject: [Zope] dtml-in returning null In-Reply-To: <0010241329040C.29903@belzebu.magicwebdesign.com.br> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time.... >There's a way to do that?? "> will probably suffice Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From lehmann@catworkx.de Tue Oct 24 17:19:50 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 18:19:50 +0200 Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F5AB87.D41FC3A9@oratrix.com> References: <00102416340801.00590@cat-pc-holle> <39F5AB87.D41FC3A9@oratrix.com> Message-ID: <0010241819500B.00590@cat-pc-holle> Hi Paul, Thanks for that response, but ..... I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a ... statement. I am thinking of the bcc: user1, user2, user3 .... user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host .... Holger Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts: > Hi, > > Im using this: > > > To: <> > From: <> > Subject: > > Hi, > > blah blah > > > > > Im supposing that the double brackets is due to the fact that the email > address itself is encapsulated with brackets as well as the variable being > passsed. > > Cheers, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From praveen_katiyar@infy.com Tue Oct 24 14:24:15 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 24 Oct 2000 18:54:15 +0530 Subject: [Zope] ZWiki on Zope.org Site Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77E4@TWRMSG01> Hi, I am a zope NewBie and am learning how to use Zwiki. Can any one Please mail me the Customised version of Zwiki which is in existence On Zope.org. I want to develop some thing same with some extra features. Existing Zwiki requires me to tweak some DTML code with which I am not much familiar. Thanking , Regards, Praveen Katiyar Infosys Towers,27, Bannerghatta Raod Bangalore-560076 Ph: 91-80-6588668 Xtn. 1288 E-mail: praveen_katiyar@infy.com Great minds have purposes, little minds have wishes > >Regards,Rrrrrr From tom.deprez@uz.kuleuven.ac.be Tue Oct 24 17:41:30 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 24 Oct 2000 18:41:30 +0200 Subject: [Zope] normal result with acquisition? Message-ID: <3.0.6.32.20001024184130.008e7ec0@poirot> Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code :
1) When you call this function from Folder1 : show_abc of folder1 is used 2) When you call this function from Folder2 : show_abc of folder1 is used --> what you wouldn't expect? However: 3) Removing the tag (and moving selectallcentres to folder1), Calling method_showdata in Folder2 : show_abc of folder2 is used. --> what you would expect Am I overlooking something of the acquisition here? Why does it uses in the second case (2) not show_abc? Thanks in advance, Tom. From mindlace@digicool.com Tue Oct 24 17:59:11 2000 From: mindlace@digicool.com (mindlace) Date: Tue, 24 Oct 2000 12:59:11 -0400 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> <39E57F98.5610C3B3@nipltd.com> Message-ID: <39F5BFDF.9A973CFD@digicool.com> Chris Withers wrote: > > Paul Winkler wrote: > > > > Hi, > > > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > > IIRC, zope.org's acl_users has about 11,000 people in it without too > many problems... We've found that it needed to become a btree folder. Half because btrees optimize some things and half because the UI for btrees cut the management page from 3mb to 300k. ~ethan From Menard.Jean-Francois@hydro.qc.ca Tue Oct 24 18:34:27 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Tue, 24 Oct 2000 13:34:27 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D01491BE8@msxvpti10.vpi.hydro.qc.ca> > I developped a toggle button to let the users hide/show the menus. > > I use a cookie to store the current value. The code I use is: > > > > > > > > > > in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. > Why??? > > I know I could use a session product, but I'm worried about session > expiration. Could I set one of these products to expirate ***only*** when > the browser is closed? > > And, why a session variable doesn't exist? It's the ONLY thing I miss > from ASP... > > Jean-François Ménard > Intranet DPAS > Pratiques d'affaires et orientations > * (514) 840-3000 poste 3939 > * (514) 840-5585 > * menard.jean-francois@hydro.qc.ca > * 855 Ste-Catherine est, 6e étage > Montréal, Qué. H2L 4P5 > From frazers@israelmail.com Tue Oct 24 18:40:37 2000 From: frazers@israelmail.com (Aharon) Date: Tue, 24 Oct 2000 19:40:37 +0200 Subject: [Zope] newbie inquiry about zope Message-ID: <004b01c03de1$88554740$07a1003e@webyeshiva> This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable I have just started looking at zope for the site I am developing. I was = wondering if anyone could tell me whether it sounds like an appropriate = tool to use. The basic idea of my site is to be a sort of multi-user-dimension for = text. Meaning, we'll have various books available in a database, and = people can log on and read a chapter or a whole book. The innovative = part is that we will track which users are reading which texts, and let = people interact with others reading the same text as them. We will also = provide some other features, including user customization of fonts and = colors, and the ability for users to write new texts to be included in = the content library. People will be able to read, write, and discuss = with each other. To enable serious literary analysis of diverse = documents, we will have a number of text-parsing tools available to = readers. One other important thing to mention is that we will have a lot = of text in non-Latin character sets, including right to left languages. My questions are: 1) Could Zope help me keep track of who is reading what and match people = up for discussion? 2) Could Zope help me personalize the fonts and other display settings = for each user? How about letting users create their own bookmarks within = the texts? 3) Could Zope help me manage user created content and the relations = between content and its creators? 4) Could Zope handle right to left text and non-Latin character sets? 5) What are the advantages/disadvantages to developing this site with = Zope as opposed to MySQL and PHP? 6) Could Zope help me make the same content available to ordinary web = browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream = voice between users and also stream pre-recorded voice. Any support for = that? 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site = if I want to use zope, or do I have to administrate my own server? Any input about any of these questions would be greatly appreciated. I = apologize for my ignorance. Thanks, Aharon ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
I have just started looking at zope for = the site I=20 am developing. I was wondering if anyone could tell me whether it sounds = like an=20 appropriate tool to use.
 
The basic idea of my site is to be a = sort of=20 multi-user-dimension for text. Meaning, we'll have various books = available in a=20 database, and people can log on and read a chapter or a whole book. The=20 innovative part is that we will track which users are reading which = texts, and=20 let people interact with others reading the same text as them. We will = also=20 provide some other features, including user customization of fonts and = colors,=20 and the ability for users to write new texts to be included in the = content=20 library. People will be able to read, write, and discuss with each = other. To=20 enable serious literary analysis of diverse documents, we will have a = number of=20 text-parsing tools available to readers. One other important thing to = mention is=20 that we will have a lot of text in non-Latin character sets, including = right to=20 left languages.
 
My questions are:
1) Could Zope help me keep track of who = is reading what and match people up for discussion?
2) Could Zope help me personalize the = fonts and=20 other display settings for each user? How about letting users create = their own=20 bookmarks within the texts?
3) Could Zope help me manage user = created content=20 and the relations between content and its creators?
4) Could Zope handle right to left text = and=20 non-Latin character sets?
5) What are the = advantages/disadvantages to=20 developing this site with Zope as opposed to MySQL and PHP?
6) Could Zope help me make the same = content=20 available to ordinary web browsers and wireless devices in different=20 formats?
7) Since we are going to be having = discussion, we=20 might want to stream voice between users and also stream pre-recorded = voice. Any=20 support for that?
8) Where can I find speed benchmark = information=20 about Zope?
9) Where can I find virtual server and = collocation=20 hosting for my site if I want to use zope, or do I have to administrate = my own=20 server?
 
Any input about any of these questions = would be=20 greatly appreciated. I apologize for my ignorance.
 
Thanks,
Aharon
------=_NextPart_000_0046_01C03DF2.4876D060-- From Danny@Adair.net Tue Oct 24 18:50:16 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 24 Oct 2000 19:50:16 +0200 Subject: [Zope] Calling objects by name Message-ID: How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From andym@ActiveState.com Tue Oct 24 19:35:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 24 Oct 2000 11:35:47 -0700 Subject: [Zope] newbie inquiry about zope References: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: <00c501c03de9$3a346340$ae03a8c0@fork> [..] My questions are: 1) Could Zope help me keep track of who is reading what and match people up for discussion? [..] 4) Could Zope handle right to left text and non-Latin character sets? Think of it this way: Zope can do anything you can program in python. Anything you cant program, have a look at Zope.org to see if somebody has done it before. 5) What are the advantages/disadvantages to developing this site with Zope as opposed to MySQL and PHP? You can use MySQL as a relational database and it makes sense for large amounts of content in certain formats. 6) Could Zope help me make the same content available to ordinary web browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream voice between users and also stream pre-recorded voice. Any support for that? See my first answer. 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site if I want to use zope, or do I have to administrate my own server? From sean@digitome.com Tue Oct 24 19:39:29 2000 From: sean@digitome.com (Sean McGrath) Date: Tue, 24 Oct 2000 19:39:29 +0100 Subject: [Zope] Modifiable local variables Message-ID: <4.3.0.20001024191012.00afa100@mail.digitome.com> Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is the recommended way to create modifiable variables using DTML, without using Zope? Thanks in advance From rlanham@speakeasy.net Tue Oct 24 20:38:43 2000 From: rlanham@speakeasy.net (Richard Lanham) Date: Tue, 24 Oct 2000 15:38:43 -0400 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install Message-ID: <002101c03df2$06bcf280$2460fed8@mydomain> This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable when I try to start zope on windows machine i get: problem(100) ZServer Computing local hostname then it says: ZServer Medusa (V1.16.4.3) started at... timestamp... hostname: dsl1254-096...isp.net Port:8080 then the FTP server starts: authorizer:none hostname: rlhome port:8021 the PCGI server starts: inet socket port: 8090 Monitor Server starts on port 8099 The dos window seems to hang after this. when I start a browser and goto http://localhost:8099/manage I get an = number, apparently an error: 972402587.52 back in the dos window, I see: ZServer uncaptured python exception, closing channel : Get/ manag = [c:\programfiles/home/zserver/medusa/asyncore.py|75] = [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] = [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] = [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
when I try to start zope on windows = machine i=20 get:
problem(100) ZServer Computing local hostname
 
then it says:
ZServer Medusa = (V1.16.4.3) started=20 at... timestamp...
 hostname:=20 dsl1254-096...isp.net
 Port:8080
 
then the FTP server=20 starts:
authorizer:none
hostname: rlhome
port:8021
 
the PCGI server starts:
inet socket = port:=20 8090
 
Monitor Server starts on port = 8099
 
The dos window seems to hang after=20 this.
 
when I start a browser and goto http://localhost:8099/manage I = get an=20 number, apparently an error:
972402587.52
 
back in the dos window, I = see:
ZServer=20 uncaptured python exception, closing channel <PCGIChannel at = 1307340>=20 <exceptions.ValueError:invalid literal for atio<>: Get/ manag=20 [c:\programfiles/home/zserver/medusa/asyncore.py|75]=20 [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327]=20 [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110]=20 [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]>
------=_NextPart_000_001E_01C03DD0.7DCDB8E0-- From ololo@zeus.polsl.gliwice.pl Tue Oct 24 21:31:20 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Tue, 24 Oct 2000 22:31:20 +0200 (CEST) Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> DTML tags can't be nested. Try: Message-ID: <002501c03d33$e9fa1100$0202a8c0@typhoon> Diego, Do you mean that you want at least one input tag appearing at all times? If so, try this: "> "> hth Phil ----- Original Message ----- From: "Diego Rodrigo Neufert" To: Sent: Tuesday, October 24, 2000 4:24 PM Subject: [Zope] dtml-in returning null | Hi... | | I want to do something like this... | | | "> | | But, if InMethod return nothing it display this tag one time.... | | There's a way to do that?? | | Thanks | -- | --------------------------- | Diego Rodrigo Neufert | -webmaster | --------------------------- | (Magic Web Design) | (email) (diego@magicwebdesign.com.br) | (curitiba) (pr) | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Mon Oct 23 21:59:53 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 21:59:53 +0100 Subject: [Zope] Calling objects by name References: Message-ID: <003701c03d34$3952b810$0202a8c0@typhoon> Danny, Try something like or hth Phil ----- Original Message ----- From: "Danny William Adair" To: Sent: Tuesday, October 24, 2000 6:50 PM Subject: [Zope] Calling objects by name | How can I render an object in DTML if I have its id as a string? | I would like to construct its name as a string and then call the object | variable by its name. | (Meaning I will have to make sure such an object exists) | | tia, | | CU+Prost, | | Danny | | | _______________________________________________ | 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 ) From p@state-of-mind.de Tue Oct 24 22:37:26 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 23:37:26 +0200 Subject: [Zope] AW: [Zope] newbie inquiry about zope In-Reply-To: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: Phew Aharon, many questions... Did you take a closer look at zope.org? I think many questions are answered within the site. But let's get going... >1) Could Zope help me keep track of who is reading what and match people up for discussion? You could track down people with cookies :-( or sessions :-) Both can be achieved with zope. I'd go for sessions - though I am not a programmer. From what I know and what I think your idea is aiming to sessions would help you to set up framework powerfull enough to reach your goals. Besides how to you deal with people who won't allow cookies? Then you could analyse the informatios gathered within the sessions and provide a "People who read this, also read that" ;-) >2) Could Zope help me personalize the fonts and other display settings for each user? How >about letting users create their own bookmarks within the texts? As for the bookmarks I don't know, but the fonts etc. could be done with 'skins'. I've seen a project on zope.org that promoted such functions. See also >3) Could Zope help me manage user created content and the relations between content and its >creators? yupp. >4) Could Zope handle right to left text and non-Latin character sets? Is that a job for zope? To me this seems to be a Browsers job e.g. in the section of the HTML that is sent to the Browser. Or am I missing something? >5) What are the advantages/disadvantages to developing this site with Zope as opposed to >MySQL and PHP? I can't comment on that, since I am not a programmer. For me it's a elaborated framework that provides functions needed for managing content e.g. versions, authentification ;-) etc. Get a closer insight at AFAIK you'd have to develop these basic functions from scratch if you use plain MySQL and PHP. >6) Could Zope help me make the same content available to ordinary web browsers and wireless >devices in different formats? Are you after WAP? There is code that does that... and then there's XML... :-) >7) Since we are going to be having discussion, we might want to stream voice between users >and also stream pre-recorded voice. Any support for that? Hmmm, do you mean something like 'Zope Streaming Server' AFAIK I haven't read about that... But why stream this from zope? There are other servers that are spezialised on that. I'd use a combination; zope as a frontend to provide the paths and the specific information bound to the stream >8) Where can I find speed benchmark information about Zope? What is it that you want to measure? Anyway: There was a benchmark a while ago in the news. I couldn't find it immediately which doesn't mean it's not there... >9) Where can I find virtual server and collocation hosting for my site if I want to use zope, >or do I have to administrate my own server? But let's think of your projects requirements first. What would you need to get the baby of the ground? Developing 1. If you use zope you will need zope :-| 2. You will have to develop a few Zope Products by yourself, either to implement features that aren't there yet or to customize and mingle other Products. That means you will need to have shell access to the machine you build your site on. 3. You will need at least ftp-access to your zope-dir in order to implement the new products. If you use only one machine, which I do not recommend, you are done with 2.) 4. ZODB (the Database zope runs on...) is a good database. Still many developers have their reasons to use a second DB mostly a relational Database e.g. Oracle or MySQL Serving 1. If your site hits the net and is a hit, you'll probably need: bandwidth and response time are needed. Reasonably for serving that starts from 2Mbps upwards. 2. If you go for ISPs they provide both: bandwitdh and short response times. Furthermore the offer features as backup (who does it regularly???) and probably better firewalling that you can do at your own. If you decide to take care of that by yourself, you will have to take care not only of the development but also of the above mentioned features plus a few more. Also if you want to stream media you'd be off good if you have a streaming proxy in order to take load of the machine that runs the server, when the going gets tough. Streaming proxys aren't cheap. ISPs can provide you with a solution that will serve not only your domain but also others. That makes it a lot cheaper and again you won't have to deal with the Streaming Proxy. So lets see, what I would do: I'd get two machines (bid + medium) that run the same OS; preferably Linux since it's cheap and there are enough people out there by now who really now their way around that OS. OTOH you'd should decide where to go first and decide on the ressources after that. I'd get an ISP that houses my big machine. Use the other machine to develop the project on. by, p@rick From kthangavelu@earthlink.net Tue Oct 24 18:47:24 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 10:47:24 -0700 Subject: [Zope] Modifiable local variables References: <4.3.0.20001024191012.00afa100@mail.digitome.com> Message-ID: <39F5CB2C.36C6A0C8@earthlink.net> Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is > the recommended way to create modifiable variables using DTML, without > using Zope? > > Thanks in advance i've used dtml outside of zope, but i tend to pass it most of the variables it needs and let it do the rendering. you should be able to pass an empty dict to the dtml as the mapping arguement and set variables inside of that, although you might have to wrap it with attributing setting methods so that it can be used from dtml. or you can use a dtml-let clause to create the proper variables. long live the pyxies:) kapil > > _______________________________________________ > 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 ) From bill.anderson@libc.org Wed Oct 25 00:28:09 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Tue, 24 Oct 2000 17:28:09 -0600 Subject: [Zope] SuperUser cannot own ;-) References: Message-ID: <39F61B09.AF24B67C@libc.org> Max M wrote: > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris > Withers > > > I suppose you've just installed Zope and you're logged in as "Superuser" > > And that's the problem. > > The superuser cannot own folder, files etc. > > ...and I'd still like to know why ;-) > > Well I for one have accidently removed view privilliges for administrators > in a folder, at that time I was very happy to be able to log in as super and > restore those proviliges, or else I would have had to remove the directory > and start fresh. And you can still do that. You just can't _create_ new items as 'bootstrap user'. > > Perhaps it is also to avoid trojan horses being executed by super. :^)= -- E PLURIBUS LINUX From zope@grewen.de Wed Oct 25 02:14:56 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 25 Oct 2000 03:14:56 +0200 Subject: [Zope] References: Message-ID: <009601c03e21$2a792840$0300a8c0@windows> Hi, I am not quite sure if this is what you want but may this helps do something This is not resolving the URL. If you found a solution let me know. Jens Grewen ----- Original Message ----- From: "kosh" To: Sent: Tuesday, October 24, 2000 10:56 PM Subject: [Zope] > What would be the correct dtml-if contrstruct for this behavior? > > I want to check and see if zope can resolve a url to a valid object. > > Ie does http://foo.com/bar/foo get you to a valid page or is it not > found. > > I need something like that way I can know > when to rewrite the url based on zope finding the object or not. > > Thanks > Kosh > > > _______________________________________________ > 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 ) > From p@state-of-mind.de Wed Oct 25 02:33:34 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 03:33:34 +0200 Subject: [Zope] dtml-var owner? author? editor? Message-ID: Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick From phil.harris@zope.co.uk Tue Oct 24 02:37:43 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 02:37:43 +0100 Subject: [Zope] References: <009601c03e21$2a792840$0300a8c0@windows> Message-ID: <001301c03d5b$02042c00$0202a8c0@typhoon> How about (sort of tested): ignore the error or otherwise report it hth Phil ----- Original Message ----- From: "Jens Grewen" To: "kosh" Cc: "Zope Maillist" Sent: Wednesday, October 25, 2000 2:14 AM Subject: Re: [Zope] | Hi, | | I am not quite sure if this is what you want but may this helps | | | | do something | | | | This is not resolving the URL. | If you found a solution let me know. | | Jens Grewen | | | ----- Original Message ----- | From: "kosh" | To: | Sent: Tuesday, October 24, 2000 10:56 PM | Subject: [Zope] | | | > What would be the correct dtml-if contrstruct for this behavior? | > | > I want to check and see if zope can resolve a url to a valid object. | > | > Ie does http://foo.com/bar/foo get you to a valid page or is it not | > found. | > | > I need something like that way I can know | > when to rewrite the url based on zope finding the object or not. | > | > Thanks | > Kosh | > | > | > _______________________________________________ | > 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 ) From bak@nstp.com.my Wed Oct 25 02:58:41 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 09:58:41 +0800 Subject: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102509584105.00837@tokey.kedai.com.my> On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: > Hi Zopistas, > > I want to include the owner (from acl_users) of a page in my HTML-output. > > Unfortunately I'm not able to produce what I want. > > Any hints? > > Thanks, > > p@rick > i would think that is what you want > _______________________________________________ > 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 ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain From webmaven@lvcm.com Wed Oct 25 03:19:07 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 24 Oct 2000 19:19:07 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll References: <39F4CEB4.ACB6253B@digicool.com> Message-ID: <39F6431B.B10EB8A2@lvcm.com> Michel Pelletier wrote: > > We will be conducting a community poll to decide what to call Python > (Perl, insert your language here) Methods. > [snip] > So, before the poll, we are calling for nominiations from the > community. Please send me an email containing one or more candidate > names. These names will be added to the list. No pre-screening will be > done, so please exercise some discretion if your favorite name is more > tounge-in-cheek than practical (you never know what the masses will > decide though!). > > Later this week, I will create a web poll where you can vote for your > favorite. I would like to suggest that instead of a plurality vote, we use a 'Borda count', also known as an 'preferential' or 'single-transferable' ballot. Those of you who followed the recent ICANN election should be familiar with it. It works like this: All votes consist of ranking the availble choices according to desireability (if there are six choices, you would number them 1-6, each choice must be uniquely ranked, not all choices must be ranked). All voters first choices are tallied. If, at this point, one choice has achieved over 50% of the vote, the vote is over. If no choice has achieved 50%, the choice with the fewest votes is removed, and the voters who voted for that choice have their second choice counted and distributed. If at this point one of the choices acheives 50%...etc. Lather, Rinse, Repeat. This method has the advantage of better representing peoples true choice, since no one is tempted to vote for a choice that they simply disapprove of less, because 'otherwise they're throwing away their vote'. In a five-way race for example, a plurality may consist of 25% of the vote, thereby ensuring that 75% of the voters will be pissed off. With a Borda count though, the winner could be everyone's second-favorite choice, thus better representing what people want. There's a few other wrinkles to this, such as situatuions where not all choices have been ranked. If a voter has only ranked four choices and a fifth runoff phase is neccessary, their ballot is discarded, and the 50% mark is recalculated for that phase to account for the reduced number of ballots. Cheers, Michael Bernstein. From jason_zope@yahoo.com Wed Oct 25 04:30:00 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Tue, 24 Oct 2000 20:30:00 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025033000.537.qmail@web4605.mail.yahoo.com> Does anyone have any LoginManager 0.8.8b1 example code? It almost looks like you can extend the system using plugins, but I don't know how that's done. Anyone else have luck doing this? If so then do you have any examples/suggestions? All I want is a simple ZODB/cookie based system, but I can't get the Generic User Source to work. Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From mwilbert@alum.mit.edu Wed Oct 25 05:23:09 2000 From: mwilbert@alum.mit.edu (Matthew Wilbert) Date: Tue, 24 Oct 2000 21:23:09 -0700 Subject: [Zope] using a dictionary returned from an external method Message-ID: <200010250419.VAA32656@zope.codeit.com> I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like . . . However, I need to do this for several keys, and I don't want to call externalMethod several times. Is there a way to assign the method result to another variable, or is it possible that DTML is smart enough not to do the call multiple times? Or is there some other approach that I am not even thinking of? Any suggestions will be greatly appreciated. Thanks, Matt Wilbert mwilbert@alum.mit.edu ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. From bak@nstp.com.my Wed Oct 25 06:36:11 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 13:36:11 +0800 Subject: [Zope] limiting tree Message-ID: <00102513361107.00837@tokey.kedai.com.my> hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! From dylan@btamail.net.cn Wed Oct 25 06:49:19 2000 From: dylan@btamail.net.cn (Dylan Chi) Date: Wed, 25 Oct 2000 13:49:19 +0800 Subject: [Zope] Help,I have a question.:( Message-ID: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a question about Squishdot. Error: Traceback (innermost last): File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 214, in publish_module File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 179, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line = 202, in zpublisher_exception_hook File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 169, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, = line 237, in commit File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line = 327, in commit (Info: (('Products.Squishdot.Squishdot', 'Article'), = '\000\000\000\000\000\000\242\032', '')) File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, = line 632, in store (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) OverflowError: (see above) ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a question about = Squishdot.
Error:
Traceback (innermost last):
  = File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 214, in=20 publish_module
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 179, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in=20 zpublisher_exception_hook
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 169, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, line 237, = in=20 commit
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line 327, = in=20 commit
    (Info: (('Products.Squishdot.Squishdot',=20 'Article'), '\000\000\000\000\000\000\242\032', ''))
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, line 632, = in=20 store
    (Object:=20 /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs)
OverflowError: (see=20 above)
------=_NextPart_000_00C3_01C03E8A.5F845190-- From morten@esol.no Wed Oct 25 06:59:09 2000 From: morten@esol.no (Morten W. Petersen) Date: 25 Oct 2000 07:59:09 +0200 Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? In-Reply-To: <20001025033000.537.qmail@web4605.mail.yahoo.com> References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: [Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManager instance, you should add four methods of some sort within the UserSource object. The four methods are: userAuthenticate userExists userRoles userDomains Here's the External methods I used just to make the logins work; you'll have to implement them to fit your system: def userAuthenticate(self, REQUEST, username, password): if username == 'morten' and password == 'morten': return 1 else: return 0 def userExists(self, REQUEST, username): return 1 def userRoles(self, REQUEST, username): return 'Manager', 'Owner' def userDomains(self, REQUEST, username): return [] | All I want is a simple ZODB/cookie based system, but I | can't get the Generic User Source to work. HTH then. =) -Morten From kthangavelu@earthlink.net Wed Oct 25 01:54:37 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 17:54:37 -0700 Subject: [Zope] using a dictionary returned from an external method References: <200010250419.VAA32656@zope.codeit.com> Message-ID: <39F62F4D.383C1C2A@earthlink.net> Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call externalMethod several times. Is there a > way to assign the method result to another variable, or > is it possible that DTML is smart enough not to do the > call multiple times? Or is there some other approach > that I am not even thinking of? i know dtml will cache results on the same method call in a single request which generally makes it efficient to do stuff like cheap skate;) and i'm guessing the same should apply to external methods. kapil From rik.hoekstra@inghist.nl Wed Oct 25 08:24:56 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 09:24:56 +0200 Subject: [Zope] Trying to follow tutorial References: <39F5754A.BA398125@inghist.nl> <20001024231024.E848@hermes> Message-ID: <39F68AC8.6777FC00@inghist.nl> Olivier Ricou wrote: > > On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote: > > Go to the management interface and add a zope user in the acl_users > > folder. Give it Management rights. Shut you browser, reopen it and > > authenticate as the user you just entered. Get on with the tutorial... > > BTW there is no easier way than to shut the browser and reopen it ? No easy sure way at least. That is, if you have basic authentication (which is always the case when you have Zope out of the box). It's reported that in some cases http://user:password@yoursite.com:whateverport may log you out/log you in differently, but afaik that won't work in all browsers and all platforms _and_ it may present you with an authorization box Rik From jason_zope@yahoo.com Wed Oct 25 08:34:12 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 25 Oct 2000 00:34:12 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025073412.23919.qmail@web4601.mail.yahoo.com> --- "Morten W. Petersen" wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you > | have any examples/suggestions? > > Yes. After adding your LoginManager instance, you > should add four > methods of some sort within the UserSource object. > > The four methods are: > > userAuthenticate > userExists > userRoles > userDomains > > > Here's the External methods I used just to make the > logins work; you'll > have to implement them to fit your system: > > def userAuthenticate(self, REQUEST, username, > password): > > if username == 'morten' and password == > 'morten': > > return 1 > > else: > > return 0 > > > def userExists(self, REQUEST, username): > > return 1 > > > def userRoles(self, REQUEST, username): > > return 'Manager', 'Owner' > > > def userDomains(self, REQUEST, username): > > return [] > > Hmmm, I tried implementing these functions before, but only as DTML methods: userAuthenticate userDomains userExists userRoles Yet this never seemed to work. Does it not work because they are DTMLMethods and not External Methods, or because I am returning the wrong values, or because of a proxy or security setting? The Methods are in the User Sources 'folder' and I am sure I chose "GUF" authentication from the list when I added the LoginManager. Jason __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From p@state-of-mind.de Wed Oct 25 08:47:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 09:47:18 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? In-Reply-To: <00102509584105.00837@tokey.kedai.com.my> Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From p@state-of-mind.de Wed Oct 25 09:14:08 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 10:14:08 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: <39F68AC8.6777FC00@inghist.nl> Message-ID: > > > > BTW there is no easier way than to shut the browser and reopen it ? > > No easy sure way at least. That is, if you have basic authentication > (which is always the case when you have Zope out of the box). It's > reported that in some cases > http://user:password@yoursite.com:whateverport may log you out/log you > in differently, but afaik that won't work in all browsers and all > platforms _and_ it may present you with an authorization box Another real dull way is: open NS and IE (or... or ...) and use them with different authorization. p@ From dvg@vet.uu.nl Wed Oct 25 09:42:00 2000 From: dvg@vet.uu.nl (Diny van Gool) Date: Wed, 25 Oct 2000 10:42:00 +0200 Subject: [Zope] How many houres do I need to manage a Zope site? Message-ID: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Hi, The management team wants to know how many hours are necessary to keep the faculty Zope site running. I have to make a summary of hours necessary for the technical system management such as software releases, database management, fixes etc. Developing or installing new features is not to be included. Configuration: Zope version: 2.2.2 Windows NT 4.0 Installed products: FSSession, LocalFS, Refresh, Squishdot, TinyTable, UserDB, XMLDocument, XMLWidgets, ZODBCDA, ZSQLMethods 1. How many Zope releases per year can I expect and how much time do I need per release? 2. How much time do I need for product releases and fixes? 3. How much time do I need for Zope database management? Besides a regular backup and packing the Data.fs are there other things necessary? Do I miss important tasks? Has anybody done this before? Thanks, Diny DIVA, Faculty of Veterinary Medicine Utrecht University, The Netherlands http://www.vet.uu.nl From arevalo@iam.unibe.ch Wed Oct 25 09:51:18 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Wed, 25 Oct 2000 10:51:18 +0200 (MET DST) Subject: [Zope] i can not see some graphic icons.. Message-ID: hi all, after starting Zope, everything seems to be ok, but i can not see some graphic icons in the web page. The Traceback after starting zope is the following one: Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in ? logger_object=lg) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/http_server.py", line 541, in __init__ self.bind ((ip, port)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/asyncore.py", line 242, in bind return self.socket.bind (addr) socket.error: (125, 'Address already in use') how can i solve it ? thanks in advance Gaby From jose@sferacarta.com Wed Oct 25 10:10:26 2000 From: jose@sferacarta.com (Jose Soares) Date: Wed, 25 Oct 2000 11:10:26 +0200 Subject: [Zope] getProperty() References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: <39F6A382.8EFC9546@sferacarta.com> Hi all, This is a newbie question. I'm trying to get the 'title' property of a SQLConnectionIDs. I can do this work using python but in zope I can't do it. I want to create an html SELECT object to display a list of all SQL Connections and I want to display the id and the title, like this: id title --------- --------------------------------------------- gadfly Gadfly_database_connection mysql MySQL_database_connection postgres PyGres_database_connection dbmaker DBMaker_database_connection I tryed the following: but sequence-key and sequence-item are equals. Thank for any help Jose' From bak@nstp.com.my Wed Oct 25 09:07:51 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 16:07:51 +0800 Subject: [Zope] Re: AW: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102516075100.14800@tokey.kedai.com.my> On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: > > > I want to include the owner (from acl_users) of a page in my > > > > HTML-output. > > > > > > is what you want > > Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? > What I want is: > 'Anonymous User' surfs to my site. She surfs trough the HTML output > generated by zope, while zope not only tells her the content provided, but > also the Name of the Zope-owner of the document (e.g patrick is owner of > index_html --> that info is also displayed to the anonymous user) > > Thanks for more help, > ok, i see what you want to do. i thought that you have a "author" property somewhere. i'm sorry to say that i can't be of any more help. i guess you can test for ownership of objects in zope since there exist a take ownership button. check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py tell us what you got :) > p@ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! From stefan@epy.co.at Wed Oct 25 10:42:23 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 11:42:23 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <0010241819500B.00590@cat-pc-holle> Message-ID: Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: > I can send single email with one recipient without problems. > I need to use a bcc: for about 4000 users. No way doing that halfway > performant with a ... statement. > > I am thinking of the > bcc: user1, user2, user3 .... user4000 > header. > It ought to get parsed in the MailHost product and sent directly to the > proper smtp-host .... From mike@geekteam.com Wed Oct 25 10:44:29 2000 From: mike@geekteam.com (Mike Bannister) Date: Wed, 25 Oct 2000 05:44:29 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents Message-ID: Hi, I'm working my way through the beta-book on zope.org and having a blast generally but I'm hoping someone can check my thinking here and tell me if I'm on the right track. Thanks in advance for any insight you can offer. In chapter 3, where DTML is first introduced, they have me create a Folder with some files in it and include something like this in a DTML Method:
Just for the heck of it I dropped that same code into a DTML Document in the same Folder and it didn't list the Files as I had expected. I understand pretty much the differences of Methods and Documents and I'm assuming the reason for this is related to the way the Documents exists in it's own namespace and the Method doesn't... so my best guess for this behavior is that the 'scope' of objectValues() is limited to the current namespace. Am I even close? If not can someone explain this to me? Thanks! Mike Bannister geekteam.com From jornd@falch.net Wed Oct 25 10:57:34 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 25 Oct 2000 11:57:34 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 14:08:03 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> <021701c03dbb$729770c0$5c773fc1@media1> Message-ID: <87itqhmeep.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | I'm no Apache GrandMaster but couldn't you use the [p] option of a | RewriteRule to make it proxy if the url matches a pattern: | | RewriteEngine on | RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] | | Or something along those lines. Looks promising. I will come back to the results later, when I have tested it. Thanks again. -- Jørn Helge B. Dahl http://falch.net From jatwood@bwanazulia.com Wed Oct 25 11:19:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 06:19:57 -0400 Subject: [Zope] How many houres do I need to manage a Zope site? In-Reply-To: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> References: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Message-ID: At 10:42 AM +0200 10/25/2000, Diny van Gool wrote: >1. How many Zope releases per year can I expect and how much time do I need >per release? One major, four or five minor and three or four hotfixes. Schedule a day for the major, half a day each for the rest. >2. How much time do I need for product releases and fixes? Each product will need to be tested and implemented so half a day for each major release. If you modify the products of course it will be longer. >3. How much time do I need for Zope database management? Besides a regular >backup and packing the Data.fs are there other things necessary? Very little. Pack it when it gets too big (once a week) or set a cron to do it... oh sorry, NT... set a AT command to do it. >Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days. :) J From matt.bion@eudoramail.com Wed Oct 25 11:57:49 2000 From: matt.bion@eudoramail.com (Matt) Date: Wed, 25 Oct 2000 23:57:49 +1300 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F6BCAD.EEB6A627@eudoramail.com> Here's on I particularly like, sorry it doesn't have a sql query. It sends an attached image file, contents and all, not just an IMG SRC reference. And do youself a favour by adding a Mailhost object somewhere above where you want to use it. To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Matt steve smith wrote: > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > > Ta! > > Steve > > _______________________________________________ > 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 ) From rik.hoekstra@inghist.nl Wed Oct 25 12:04:15 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 13:04:15 +0200 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: <39F6BE2F.58A5084F@inghist.nl> > > when I try to start zope on windows machine i get: > problem(100) ZServer Computing local hostname this is 'normal' and not a problem (though I always wonder what it really means) > The dos window seems to hang after this. nope, this is just the console window for the server. This is also normal. You only get output here if something strange happens (and in ftp sessions) > > when I start a browser and goto http://localhost:8099/manage I get an > number, apparently an error: > 972402587.52 > > back in the dos window, I see: > ZServer uncaptured python exception, closing channel 1307340> : Get/ manag > [c:\programfiles/home/zserver/medusa/asyncore.py|75] > [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] > [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] > [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> try accessing it via the http port. In your case http://localhost:8080 or http://localhost:8080/manage then it should work. hth Rik From tdickenson@geminidataloggers.com Wed Oct 25 12:21:28 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 25 Oct 2000 12:21:28 +0100 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install In-Reply-To: <002101c03df2$06bcf280$2460fed8@mydomain> References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham" wrote: >then it says: >ZServer Medusa (V1.16.4.3) started at... timestamp... > hostname: dsl1254-096...isp.net > Port:8080 your http server is on 8080 >Monitor Server starts on port 8099 and the monitor is on 8099 >http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson tdickenson@geminidataloggers.com From Dominique.Dutoit@cec.eu.int Wed Oct 25 12:56:50 2000 From: Dominique.Dutoit@cec.eu.int (Dominique.Dutoit@cec.eu.int) Date: Wed, 25 Oct 2000 13:56:50 +0200 Subject: [Zope] Zope on Mac OS X Message-ID: <51D6FF030F6ED411993000D0B7823C060108EF@EX2BEBREYMBX04> I'm trying to build Zope with the Apple developer tools but it didn't work. Python 2.0 seems easier to build and works well but Zope C source codes must be modified to get it build. The How-to note about Mac OS X server doesn't apply to the public beta. Does somebody have already tried to use Zope with Mac OS X public beta? From jonathan@home-all.org.uk Wed Oct 25 13:04:58 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 25 Oct 2000 13:04:58 +0100 Subject: [Zope] which python gets used ... ? Message-ID: <39F6CC6A.E972D3A7@home-all.org.uk> Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan From maxm@normik.dk Wed Oct 25 13:10:52 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 25 Oct 2000 14:10:52 +0200 Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with Message-ID: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> This is a question I guess has something to do with popping an object onto the namespace, or about me not understanding how stuff works. When I make a list of objects: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto the namespace.): But it isn't so. What do I need to do to make the objects namespace count in my traversal? (I'd like to keep the dtml as simple as possible.) -------------- If I make a list: theList = [1, 2, 3, 4] I can traverse it with: --------- and if it's a list if dicts: theList = [{'value':1},{'value':2},{'value':3},{'value':4}] I can traverse it like: From phd@phd.dada.ru Wed Oct 25 14:05:20 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Wed, 25 Oct 2000 13:05:20 +0000 (GMT) Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> Message-ID: On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > class simple: > def __init__(self, value): > self.value = value > > theList = [simple(1), simple(2), simple(3), simple(4)] > > I would expect to be able to traverse it like below (The objects namespace > would be popped onto the namespace.): > > > > Looks good... > But it isn't so. Why? What was the error? Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From stefan@epy.co.at Wed Oct 25 15:50:06 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 16:50:06 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F6E558.AA6260B5@venaca.com> Message-ID: On Wed, 25 Oct 2000, Gregory Haley wrote: > i was one of the participants in the recent discussion of zope bulk > mail. i'm wondering about the mechanics of sending the work of the mail > to the actual sendmail server outside of zope. would i do that by > creating an external method which is program/script that accepts the > data from zope and then passes them to the mail server? any suggestions > or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan From jhouchin@texoma.net Wed Oct 25 16:09:49 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 10:09:49 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? Message-ID: <39F6F7BD.713ECAD9@texoma.net> Just a few comments to throw into the naming convention. Any name chosen will require educating the user as to it's definition. Some names are already defined in other spaces. Some of which are heavily overloaded. There is also discussion as to the accuracy of various names in the context of the usage within Zope. It is apparent the choice isn't clear and easy. As Michel has posted that a vote will occur in the near future a determination will be made. Currently one of the terms in usage is External Methods. From my understanding of the future direction of the Python Methods (restricted and unrestricted) the term External will not be accurate as the code will be within the ZODB and the differentiation will be in the capability of the method. Due to this I think the usage of External not be included in the name. Likewise Internal. Regarding Safe and Power. I have no major problems with Safe, however I thing Power brings along a lot of connotations or implications which may or may not be accurate concerning the abilities of Safe. As others have noted why choose Safe when you can use Power. Why, will have to be a part of the educational process. However proper perspective and understanding can start by not using Power in the name. I believe Power is not the right choice. Unsafe has also been proposed. I do not like this either because it is not accurate. Simply because something dangerous, foolish or stupid can be done using this method type does not mean it will be. Are we to label all objects "unsafe" simply because of the capacity of harm? Safety is in the hands of the programer. You cannot stop someone with the capability from doing something harmful if they choose. I would prefer the term Unrestricted or something similar. It simply denotes capabilities without implying it is dangerous. It isn't dangerous, it can be used dangerously, there is a difference. It is like many tools which can be used or abused. Hope this helps. Jimmie Houchin From tom.deprez@uz.kuleuven.ac.be Wed Oct 25 16:20:13 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 25 Oct 2000 17:20:13 +0200 Subject: [Zope] expr Message-ID: <3.0.6.32.20001025172013.008feec0@poirot> I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. From chrisw@nipltd.com Wed Oct 25 16:27:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:27:39 +0100 Subject: [Zope] limiting tree References: <00102513361107.00837@tokey.kedai.com.my> Message-ID: <39F6FBEB.89212D04@nipltd.com> "Bak @ kedai" wrote: > > hi all > quickie: > if dtml-in, i can use size to limit the results rendered, what do i use in > dtml-tree? You don't, you run screaming for the hills ;-) I have a deep seated mistrust of the tag now after many bitter experiences. I'd recommend just writing an external methdo or python product that does exactly what you want... cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:30:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:30:19 +0100 Subject: [Zope] Never seen that before References: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> Message-ID: <39F6FC8B.CC9691FC@nipltd.com> Not so much a question as a traceback, and posted in HTML too... nice ;-) > I have a question about Squishdot. > Error: > Traceback (innermost last): > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 214, in publish_module > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 179, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line > 202, in zpublisher_exception_hook > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 169, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, > line 237, in commit > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, > line 327, in commit > (Info: (('Products.Squishdot.Squishdot', 'Article'), > '\000\000\000\000\000\000\242\032', '')) > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, > line 632, in store > (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) > OverflowError: (see above) I've never seen that one before. What version of Zope are you using? 2.1.6? Any patching? What version of Squishdot are you using? What platform are you running this on? Soem sort of *nix by the sound of it... Has the user running your Zope instance got enough quota on the disk all this is stored on? cheers, Chris From Danny@Adair.net Wed Oct 25 16:33:23 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 17:33:23 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks Message-ID: I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can help me. ************************************************************************** My TinyTablePlus instance: ************************************************************************** ID: Items Title: Items on Navigation Bar Columns: Position ShowItem Caption UseImage Image Service URL Data: "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- ************************************************************************** My code: (I want to create a configuration page for a navigation bar, which will have to change a table's rows depending on the contents of some form elements) ************************************************************************** -------------------------------------------------------------------------- ************************************************************************** My problem: ************************************************************************** Data afterwards: "1", NULL, "test", NULL, NULL, NULL, NULL "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny From chrisw@nipltd.com Wed Oct 25 16:35:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:35:22 +0100 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents References: Message-ID: <39F6FDBA.90BD8F5E@nipltd.com> Mike Bannister wrote: > Just for the heck of it I dropped that same code into a DTML Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? This is quite a thorny FAQ. The root of it is the binding of methods to objects/namespaces in DTML, which has had lots of press on zope-dev@zope.org recently. The short version is: -if that code is in a method, it is executed on the method's container (actualyl acquisition context, but don't worry abotu that too much ;-) -if the code was in a documents, it is executed on that document. Since documents can't really have things attached to them that would be returned by objectValues, you usually get an empty list back :-) HTH, Chris From chrisw@nipltd.com Wed Oct 25 16:37:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:37:17 +0100 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F6FE2D.6BB01D0D@nipltd.com> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? Can use either depending on whether you install the source or binary distribution... actually dunno if there is a binary distribution for *nix. > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:44:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:44:08 +0100 Subject: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with References: Message-ID: <39F6FFC8.D1476175@nipltd.com> Oleg Broytmann wrote: > > On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > > class simple: > > def __init__(self, value): > > self.value = value > > > > theList = [simple(1), simple(2), simple(3), simple(4)] > > > > I would expect to be able to traverse it like below (The objects namespace > > would be popped onto the namespace.): > > > > > > > > If you're getting security errors, try this new version (untested): class simple(Acquisition.Implicit) __ac__permissions__ = ( ('View', ('get_value','get_list'),('Manager','Anonymous')), ) def __init__(self,value): self.value=value def get_value(self): return value Globals.default__class_init__(simple) Now, hopefully, theList is being returned from within a class method, in which case: theList = [simple(1).__of__(self), simple(2)__of__(self), simple(3)__of__(self), simple(4)__of__(self)] return theList then: should work... hmmmm, Chris From kedai@kedai.com.my Wed Oct 25 16:49:00 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 23:49:00 +0800 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: <003601c03e9b$1f45e060$085a6acb@kedai> sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From brian@digicool.com Wed Oct 25 16:58:51 2000 From: brian@digicool.com (Brian Lloyd) Date: Wed, 25 Oct 2000 11:58:51 -0400 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? In-Reply-To: <39F6F7BD.713ECAD9@texoma.net> Message-ID: > > Unsafe has also been proposed. I do not like this either because it is > not accurate. Simply because something dangerous, foolish or stupid can > be done using this method type does not mean it will be. Are we to label > all objects "unsafe" simply because of the capacity of harm? Safety is > in the hands of the programer. I agree with this vehemently :) Would you want to use "unsafe C++" or "unsafe Java"? I think "restricted" and "unrestricted" are clear and concise. This is not about "safety" per se, but about capabilities. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From rbickers@logicetc.com Wed Oct 25 17:10:23 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Wed, 25 Oct 2000 12:10:23 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents In-Reply-To: Message-ID: > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mike > Bannister > Sent: Wednesday, October 25, 2000 5:44 AM > To: zope@zope.org > Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents > Just for the heck of it I dropped that same code into a DTML > Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? That's basically it, yes. I think of a method as being a function that works on the object it is "in", and a document as being an object that gets worked on. So objectValues() in a method will return objects from its container, whereas objectValues() in a document will always return objects from within that document. Acquisition plays a role too, since a method can work in different contexts. For example (given myMethod and myDocument that both use objectValues()) TestFolder1.myMethod will return objects in TestFolder1 TestFolder2.myMethod will return objects in TestFolder2 TestFolder1.myDocument will return objects in myDocument TestFolder2.myDocument will return objects in myDocument I hope this makes sense. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From jhouchin@texoma.net Wed Oct 25 17:13:27 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 11:13:27 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? References: <39F6F7BD.713ECAD9@texoma.net> Message-ID: <39F706A7.AE700DF6@texoma.net> Ooops! Wrong list. Sorry. Will post to Zope-dev. Jimmie Houchin Jimmie Houchin wrote: [snip] From alexander@limi.net Wed Oct 25 17:43:57 2000 From: alexander@limi.net (Alexander Limi) Date: Wed, 25 Oct 2000 18:43:57 +0200 Subject: [Zope] How small a box can zope run on? Message-ID: <005701c03ea2$cb7a5530$1e00010a@plym> Hi, Just a quick question: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users connected to Zope at once, so we don't need much performance in terms of page views per second :) Cheers, Alexander. From p@state-of-mind.de Wed Oct 25 17:38:11 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 18:38:11 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From hannu@tm.ee Wed Oct 25 19:48:24 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 25 Oct 2000 18:48:24 +0000 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> <39F6FE2D.6BB01D0D@nipltd.com> Message-ID: <39F72AF8.F82C9E3A@tm.ee> Chris Withers wrote: > > Jonathan Cheyne wrote: > > > > So the question is: can I run zope using the stock RH6.2 distributions' > > own copy of python? > > If it's Python 1.5.2, then yes... there's probably instructiosn for this > on Zope.org near the bits about insatlling Zope from source on Linux. IIRC there used to be subtle bugs, like batch processing in DTML giving wrong page numbers ----------- Hannu From troy.farrell@wilcom.com Wed Oct 25 18:12:34 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Wed, 25 Oct 2000 12:12:34 -0500 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They sit mostly idle with occasional light loads. They are P100/32MB/1.2GB old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack mount 4U units. Good, solid, slow hardware. They survive NT rather well. One is running 2 instances of Zope (one for dev) and has been for 15 days since last reboot. I will be looking for at least a 6 month uptime. They serve a departmental intranet application that I am writing. It's on NT because I need to use ODBC to get to a local MS Access Database. Bummer. Troy -----Original Message----- From: Bak @ kedai [mailto:kedai@kedai.com.my] Sent: Wednesday, October 25, 2000 10:49 AM To: Diny van Gool; zope@zope.org; J. Atwood Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Wed Oct 25 18:01:11 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 13:01:11 -0400 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually doing ok. Not quick, per se, but ok. J > From: "Alexander Limi" > Date: Wed, 25 Oct 2000 18:43:57 +0200 > To: > Subject: [Zope] How small a box can zope run on? > > Hi, > > Just a quick question: > > We are building some device controller software and to control those we have > a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > such a modest setup? There is only going to be one or two users connected to > Zope at once, so we don't need much performance in terms of page views per > second :) > > Cheers, > > > Alexander. > > > > > _______________________________________________ > 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 ) > > From Georg Rellensmann Wed Oct 25 18:58:56 2000 From: Georg Rellensmann (Georg Rellensmann) Date: Wed, 25 Oct 2000 19:58:56 +0200 Subject: [Zope] newbie: comparing dates? Message-ID: <10837870534.20001025195856@uni-muenster.de> Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. QUESTION 1: How do I compare dates in dtml code? QUESTION 2: How do I exclude empty values from processing? (I installed rapto´s null date-patch, seemed to work fine; for that patch see: http://www.zope.org/Members/rapto/nullDate?pp=1) regards, -georg.rellensmann- From scott@launchpoint.net Wed Oct 25 19:19:53 2000 From: scott@launchpoint.net (Scott Burton) Date: Wed, 25 Oct 2000 11:19:53 -0700 Subject: [Zope] deleting through iteration Message-ID: This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott From andres@corrada.com Wed Oct 25 19:24:13 2000 From: andres@corrada.com (andres@corrada.com) Date: Wed, 25 Oct 2000 14:24:13 -0400 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: ; from Danny William Adair on Wed, Oct 25, 2000 at 05:33:23PM +0200 References: Message-ID: <20001025142413.A5320@corrada.com> You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From Danny@Adair.net Wed Oct 25 19:26:47 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:26:47 +0200 Subject: [Zope] Calling form elements by name Message-ID: How can I render a REQUEST variable in DTML if I have its id as a string? I would like to construct its name as a string and then call the REQUEST variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From Danny@Adair.net Wed Oct 25 19:37:27 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:37:27 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: <20001025142413.A5320@corrada.com> Message-ID: worked like a charm, thank you very much! Danny -----Ursprungliche Nachricht----- Von: andres@corrada.com [mailto:andres@corrada.com] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; zope@zope.org Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From ws@gmd.de Wed Oct 25 20:13:32 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Wed, 25 Oct 2000 21:13:32 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <003601c03e9b$1f45e060$085a6acb@kedai> Message-ID: <39F74CFC.3122.C98619C@localhost> [...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From rik.hoekstra@inghist.nl Wed Oct 25 20:36:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 21:36:08 +0200 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? References: Message-ID: <009901c03eba$d4129280$fe5da182@michieltje> > My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They > sit mostly idle with occasional light loads. They are P100/32MB/1.2GB > old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack > mount 4U units. Good, solid, slow hardware. They survive NT rather well. > One is running 2 instances of Zope (one for dev) and has been for 15 days > since last reboot. I will be looking for at least a 6 month uptime. > They serve a departmental intranet application that I am writing. It's on > NT because I need to use ODBC to get to a local MS Access Database. Bummer. > > Troy > > -----Original Message----- > From: Bak @ kedai [mailto:kedai@kedai.com.my] > Sent: Wednesday, October 25, 2000 10:49 AM > To: Diny van Gool; zope@zope.org; J. Atwood > Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need > to manage a Zope) site? > > > > sorry if this is offtopic, but i see reference of rebooting every so often > with NT( and maybe W2K). is this real? or FUD? > i use linux myself and would like to confirm this from all you guys' > experience I have had a number of Zope sites running on NT with rather modest hardware. It performed reasonably to good and without troubles for months on an end, even with several people developing on it and a number of students accessing it. Mostly ODBC (SQL Server and even Access) will also work without trouble. It will also behind IIS. If something goes wrong it is usually an ODBC problem no Zope internal problem. The only real major problem is when SQL This is no pro NT argument, but just a reassurance that there is no reason not to use Zope on NT, though I would switch to Linux if I could... Rik From nspurrier@bluelight.com Wed Oct 25 20:47:48 2000 From: nspurrier@bluelight.com (Noah) Date: Wed, 25 Oct 2000 12:47:48 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): That does not work because FOO gets set to something like: I tried sticking this inside to get at the sequence-item, but I just ended up getting confused. Yours, Noah From cbeaumon@msri.org Wed Oct 25 20:50:52 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Wed, 25 Oct 2000 12:50:52 -0700 Subject: [Zope] Is there a tool for pretty-formatting/indenting DTML code? Message-ID: I've been working with Zope for a bit now and I love it. However, a few of the tools I'm used to having with other scripting tools are missing in the Zope realm.. One thing I would very much like to have is a script that could go through a long DTML document and pretty-format the code, not unlike the way I use BBEdit's formatting command on my Mac for HTML. Does such an animal exist, on any platform, or should I just try to adapt something I already have? I don't want to have to reinvent the wheel so to speak.. The big reason I need this is for indenting.. It makes the code much more readable and I have found myself spending a lot of time doing this by hand.. it just gets tedious.. Thank you.. Chris cbeaumon@msri.org From jatwood@bwanazulia.com Wed Oct 25 21:00:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 16:00:19 -0400 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: "Months without rebooting"? That is certainly not something to brag about. With three of my installations of Zope on Linux I have the machines at 194, 204 and 55 days of uptime (and the 55 was because of a bad powerstrip, the other others have been up since I brought them up). While NT can and does stay up for long periods of time, it still is a very poor server choice as anything you install leads to a reboot. I have installed countless things on the Linux boxes and never brought it down. That is the difference and makes all the difference when it comes to a website. J > From: "Wolfgang Strobl" > Organization: GMD > Date: Wed, 25 Oct 2000 21:13:32 +0200 > To: zope@zope.org > Subject: Re: [Zope] OT:NT and rebooting > > [...] To: trimmed to zope.org > > On 25 Oct 2000, 23:49 Bak @ kedai wrote: > >> >> sorry if this is offtopic, but i see reference of rebooting every so >> often with NT( and maybe W2K). is this real? or FUD? i use linux >> myself and would like to confirm this from all you guys' experience > > It's FUD. I'M running Zope on two NT servers here, which run many months > between reboots. I just checked - the Zope on the intranet server has an > uptime > of 34 days 8 hours 32 min 3 sec now. > > This tells us that I installed Zope 2.2.2 three days after it was released on > www.zope.org. :-) > >> >>>> Do I miss important tasks? Has anybody done this before? >>> >>> Yeah.. rebooting NT every 4 days. :) > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > > From Danny@Adair.net Wed Oct 25 21:00:25 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 22:00:25 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: Ok, works alright, even my longer (using a TinyTablePlus) ------------------------------------------------

------------------------------------------------ will work(as expected), BUT: ------------------------------------------------


------------------------------------------------ definitely won't, Key Error: File /.../lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: Items) File /.../lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: Prefix="'Service_'" thePos=Position nameAsAString="Prefix+thePos") File /.../lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[nameAsAString]) (Info: nameAsAString) File <string>, line 0, in ? File /.../lib/python/DocumentTemplate/DT_Util.py, line 163, in careful_getitem KeyError: (see above) The string's content seems okay to me, so why can't I look up the object? The namespace should be okay since I can call the request variables _directly_. What's wrong? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 21:08 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Danny > William Adair > Sent: Wednesday, October 25, 2000 1:27 PM > To: zope@zope.org > Subject: [Zope] Calling form elements by name > > > How can I render a REQUEST variable in DTML if I have its id as a string? > I would like to construct its name as a string and then call the REQUEST > variable by its name. > (Meaning I will have to make sure such an object exists) > > tia, > > CU+Prost, > > Danny > > _______________________________________________ > 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 ) > > From knapek@knapek.pvt.net Wed Oct 25 21:02:39 2000 From: knapek@knapek.pvt.net (Petr Knapek) Date: 25 Oct 2000 22:02:39 +0200 Subject: [Zope] Python product - inherittance Message-ID: <87itqgzo2o.fsf@knapek.pvt.net> Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an instance of classB. There is 'Error Type: AttributeError'. Does anybody know where the problem is? I use Zope 2.1.6 Thanks, Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: knapek@nextra.cz From rik.hoekstra@inghist.nl Wed Oct 25 21:06:43 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 22:06:43 +0200 Subject: [Zope] OT:NT and rebooting References: Message-ID: <01bf01c03ebf$1975cc80$fe5da182@michieltje> > "Months without rebooting"? > > That is certainly not something to brag about. With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. > Agreed, but that wasn't the point Rik From maxmcorp@worldonline.dk Wed Oct 25 21:10:04 2000 From: maxmcorp@worldonline.dk (Max M) Date: Wed, 25 Oct 2000 22:10:04 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of >It's FUD. I'M running Zope on two NT servers here, which run many months >between reboots. I just checked - the Zope on the intranet server has an uptime >of 34 days 8 hours 32 min 3 sec now. I must say that I agree. All in all for my current needs, NT is a better choice than Linux. Better user interface and reasonable software uptime. I am slowly migrating to Linux though. As I really do believe the open source philosophy is better. But like Zope it is a b**** of a learning curve. Something like Zope shows it in a smaller scale. I would be willing to start a business on Zope technology because coorporation on the toolset is the smartest thing for service companies to do, and this is not a closed source option. I have tried some of the closed source application servers and they are so poor. Funnily enough I see companies reinventing the weel with these application servers, doing a lousy job every time. Zope is still not great, but lightyears ahead of anything else I have experienced. Being a web house and not doing an open source app server is so futile. Furthermore the new KDE2.0 looks really sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M From matt@virtualspectator.com Wed Oct 25 21:22:51 2000 From: matt@virtualspectator.com (Matt) Date: Thu, 26 Oct 2000 09:22:51 +1300 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: <000b01c03ec1$59dc6480$1af8a7cb@matt> try -----Original Message----- From: Noah To: zope@zope.org Date: Thursday, 26 October 2000 09:01 Subject: [Zope] Not grocking RESQUEST.set syntax >I'm still not grocking the syntax for setting REQUEST fields. >I want to set a REQUEST field "filename" to be the value returned >by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > >That does not work because FOO gets set to something like: > >I tried sticking this inside to get >at the sequence-item, but I just ended up getting confused. > >Yours, >Noah > > >_______________________________________________ >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 ) From andym@ActiveState.com Wed Oct 25 21:31:03 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:31:03 -0700 Subject: [Zope] deleting through iteration References: Message-ID: <004b01c03ec2$7e8c5f00$ae03a8c0@fork> In a catalog, id is not the id of an object, data_record_id_ is. ----- Original Message ----- From: "Scott Burton" To: "Zope List" Sent: Wednesday, October 25, 2000 11:19 AM Subject: [Zope] deleting through iteration > This seems as if it would work to delete all objects of a certain meta-type > but it gives me an error. > > > > > The error is: > Error Type: BadRequest > Error Value: 971722944 does not exist > > Although, I know it does, I can see it in the ODB. > > TIA, > > Scott > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Wed Oct 25 21:33:59 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:33:59 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <005901c03ec2$e7acc150$ae03a8c0@fork> Attribute error means it can find some value. Without some more information it is impossible to say. ----- Original Message ----- From: "Petr Knapek" To: Sent: Wednesday, October 25, 2000 1:02 PM Subject: [Zope] Python product - inherittance > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 > > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) > From drusch@globalcrossing.com Wed Oct 25 21:33:43 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 25 Oct 2000 15:33:43 -0500 Subject: [Zope] [Fwd: [Zope] Not grocking RESQUEST.set syntax] Message-ID: <39F743A7.35961A81@globalcrossing.com> This is a multi-part message in MIME format. --------------A4F08EE34F11FE96757B67E0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------A4F08EE34F11FE96757B67E0 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <39F7436F.E6F1CD5B@globalcrossing.com> Date: Wed, 25 Oct 2000 15:32:47 -0500 From: Daniel Rusch X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Noah Subject: Re: [Zope] Not grocking RESQUEST.set syntax References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try: This assumes that MyFavoiteZSQLMethod returns the variable filename Dan Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > > _______________________________________________ > 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 ) --------------A4F08EE34F11FE96757B67E0-- From Jerry.Spicklemire@IFLYATA.COM Wed Oct 25 22:16:13 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Wed, 25 Oct 2000 16:16:13 -0500 Subject: [Zope] ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733909@innt-73.ata.com> Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog pops-up when a user attempts to edit a form, but the correct name and password are rejected. Has anyone found a little detail that needs tweking to get past this one? Thanks, Jerry S. From kthangavelu@earthlink.net Wed Oct 25 18:23:40 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:23:40 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <39F7171C.A0E657B6@earthlink.net> Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 its probably a security error. you need to either enable subobject access or explicitly register the method as part of the products permissions. something like this allow_access_to_unprotected_subobjects=1 this is not the recommended way to it as you'll open up the entire product to access. buts it useful to identify if its a security issue. kapil > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 25 18:29:55 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:29:55 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax References: Message-ID: <39F71893.9F269F08@earthlink.net> Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. thats because you're working on the results returned by a zsql method which is a result object, you want access to values within it. try this returns the list of dictionaries that represent rows in the table, with column names as keys and column values as values. you can reference lib/python/Shared/DC/ZRDB/Results.py for more info on the results object kapil From ws@mystrobl.de Wed Oct 25 23:50:26 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 00:50:26 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: References: <39F74CFC.3122.C98619C@localhost> Message-ID: <39F77FD2.29598.ACA84FE@localhost> On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. From cesar@rotnet.com.br Wed Oct 25 23:50:36 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Wed, 25 Oct 2000 20:50:36 -0200 Subject: [Zope] Filling Multiple Select Problem Message-ID: <39F763BC.4EC0DE21@rotnet.com.br> Hi! I'm using the example at the "Filling MULTIPLE SELECT OPTION's with database lists", and a little step doesn't works. I heve the following in the DTML Method that fills two SELECT in a Web Form: (...) (...) The code above runs. To verify that, I put a and a , that prints the contents of the lists above. The code that is not running is the one bellow: (...) The code above creates a SELECT list like the one bellow: but the part doesn't function. I have some of the values of "codigo" in the cadExportacao list, but the "SELECTED" corresponding code doesn't appears. Can someone tells me what is wrong? Sorry the bad english... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Any member introducing a dog into the Society's premises shall be liable to a fine of one pound. Any animal leading a blind person shall be deemed to be a cat. -- Rule 46, Oxford Union Society, London From bill.anderson@libc.org Wed Oct 25 23:50:58 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Wed, 25 Oct 2000 16:50:58 -0600 Subject: [Zope] OT:NT and rebooting References: <39F74CFC.3122.C98619C@localhost> <39F77FD2.29598.ACA84FE@localhost> Message-ID: <39F763D2.3C74036B@libc.org> Wolfgang Strobl wrote: > > On 25 Oct 2000, at 16:00, J. Atwood wrote: > > > "Months without rebooting"? > > > > That is certainly not something to brag about. > > Huh? Did anybody? Certainly not me. :-{ > > In case I didn't make myself clear: for running Zope; I don't care > much whether the OS needs a reboot every month, every year, or > every decade, when I have to upgrade and/or restart Zope for > installing Hotfixes and/or new products, every other month, > anyway. OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. If you are used to uptimes measured in years, or 'always on' environments, then NT's uptime rates are abject failures. That's not a slight, it is a statement of fact that even Mr. Gates himself agrees with and understands. If, on the other hand, you don't come from that background or need, and are not used to that type of environment, a few months to six months to nearly a year can mean something to you. So, this is *one* of the reasons we see these arguments about uptime from both sides of the windows vs everything else uptime wars. Some measure days, some months, and otehrs measure in terms of years. > >With three of my > > installations of Zope on Linux I have the machines at 194, 204 and 55 days > > of uptime (and the 55 was because of a bad powerstrip, the other others have > > been up since I brought them up). > > So what. I'm using an old 3.51 server on one of my companies > intranets here, serving as a backup domain controller plus a few > other, less important services, which is running for about half a > year now (power failure in the machine room, too). That machine > has begun life as a OS/2 Lanmanager server (ca '90), and has > been upgraded almost seamlessly again and again, both in > hardware and in software, since. And has been rebooted to perfrom those upgrades (software, the hardware is obvious), has it not? > > While NT can and does stay up for long > > periods of time, it still is a very poor server choice as anything you > > install leads to a reboot. > > Well, W2K certainly has more capabilities here, and Linux, for > example, is somewhat better in some (!) areas, but "anything" is > a gross exaggeration. While I agree that 'anything' is a poor choice of words, unless you are changing kernels and/or glibc, Linux does not require a reboot for install of any software (that I am aware of, and that is a high amount of software mind you). There is work in progress to alleviate that as well. Not quickly, as it is a rather complex undertaking, but it is ongoing. IIRC, kernel 2.4 will/does have support for hot swappable PCI devices on hardware that has it (yes, you can get Intel-compat hardware with that). Last I checked, if you try to hot-swap a keyboard or mouse, all versions minus 2k (haven't tried it there), will die. As far as 'lack of need to reboot' goes when concerning upgrades, Linux wins hands down.. So, the question regarding uptime is more a question of needs. Some of us need 24x7 availablility, and 5 nines. Some do not. For those of us needing 5 nines, we can use Unix/Linux to provide that. If you don't need it (and not everyone does), use other criteria more appropriate to your needs. -- E PLURIBUS LINUX From curtis@cardgate.net Thu Oct 26 00:38:31 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 10:38:31 +1100 Subject: [Zope] Not grocking RESQUEST.set syntax In-Reply-To: References: Message-ID: <00102610383105.00650@localhost.localdomain> On Thu, 26 Oct 2000, Noah wrote: > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > I think your simplest option is to use: All that _.Non, _ stuff is the namespace etc that Zope normally passes to your methods. (I don't fully understand it, I just know it works :) > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > Have a better one, Curtis. From nolan_d@bigfoot.com Thu Oct 26 01:05:13 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Wed, 25 Oct 2000 19:05:13 -0500 Subject: [Zope] Folder-specific metatypes? Message-ID: <20001025190513R.nolan@tiny> I'm working on a product in Python which implements a folder, but restricts the metatypes of the objects which can be added. How, exactly, do I go about doing this? I've tried overriding the filtered_meta_types method, but I'm returning a list, and it seems that I should return a list of dictionaries instead, but I'm not entirely sure how the metatype is converted into a dictionary. I also noticed the _product_meta_types variable, but rgreps of the zope code didn't reveal anything about this variable. Am I on the right track with these? Thanks. From vtwiddy@senet.com.au Thu Oct 26 02:14:14 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Thu, 26 Oct 2000 10:44:14 +0930 (CST) Subject: [Zope] Zope & python 2 Message-ID: Hi all Is anyone using or know the current state of Zope with python 2.0 ? Thanks Joe From etienne.alaurent@free.fr Thu Oct 26 02:22:20 2000 From: etienne.alaurent@free.fr (Etienne ALAURENT) Date: Thu, 26 Oct 2000 03:22:20 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <00102603294900.11535@localhost.localdomain> Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr From curtis@cardgate.net Thu Oct 26 02:47:49 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 12:47:49 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: Message-ID: <0010261247490E.00650@localhost.localdomain> On Thu, 26 Oct 2000, Mark Twiddy wrote: > Hi all > > Is anyone using or know the current state of Zope with python 2.0 ? > I've been somewhat curious about this myself. Will there need to be large changes now that strings are proper objects? (the string functions are now methods of strings). If so, will this mean the phasing out of _.string ? Will the new Unicode support, does this mean Zope is now a big step closer to i18n? And from the looks of things there are a large number of small changes that could be made to improve performance (such as the new 'augmented assignment' operators [ += *= /= and so on] ).... > Thanks > > Joe > watching closely, Curtis From ws@mystrobl.de Thu Oct 26 07:30:33 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 08:30:33 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F763D2.3C74036B@libc.org> Message-ID: <39F7EBA9.19102.C6FC591@localhost> On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl From administrator@consotec.de Thu Oct 26 07:50:20 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 26 Oct 00 06:50:20 UT Subject: [Zope] ZFormulator Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > --------------1DD2510B41FE-- From zope@isp.lu Thu Oct 26 08:08:26 2000 From: zope@isp.lu (zope) Date: Thu, 26 Oct 2000 09:08:26 +0200 Subject: [Zope] LDAP and zope2.2.2 Message-ID: <4.3.2.7.2.20001026081832.00b14100@mail.isp.lu> Hi. I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch. I have configured an LDAP filter method called searchperson qith the filter 'uid=*'. So, how can I access the attributes and its values? gives me the whole array. Unfortunately, I can't access the variable like But this worked well in zope 2.1.6. Any ideas? Marc Ludwig From maxm@normik.dk Thu Oct 26 08:04:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 09:04:34 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <7BD10B680501D411B9DF009027E06F32197AA0@exchange> There is no simple way of doing it. You would have to write a product that accepts an URL as a parameter like: http:www.yoursite.com/foreign?url=http.//www.othersite.com/somepage.htm Then your product should take all href's in the new document and rename them like the above. Image src's only need to be renamed to absolute paths. Forms need some special attention too. Even thinking about cookies, parameter passing and all the other stuff that can go on between the two sites is enough to make my head spin. Getting a single page from another site is somewhat easier though, but you still would need to make all the url's in the remote document absolute, including "img src's" and "forms action" , so that would take some html parsing. Regards Max M -----Original Message----- From: Etienne ALAURENT [mailto:etienne.alaurent@free.fr] Sent: Thursday, October 26, 2000 3:22 AM To: zope@zope.org Subject: [Zope] Access to an external site from zope site Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr _______________________________________________ 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 ) From Danny@Adair.net Thu Oct 26 08:53:34 2000 From: Danny@Adair.net (Danny William Adair) Date: Thu, 26 Oct 2000 09:53:34 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: I should have posted your version, it's more explicit: -------------------------------------------


------------------------------------------- does not work either. Anyone? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 22:24 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > > > thePos=Position > nameAsAString="Prefix+thePos"> >
>
>
>
> >
is Position a string? I'd try


> From matt.bion@eudoramail.com Thu Oct 26 10:06:01 2000 From: matt.bion@eudoramail.com (Matt) Date: Thu, 26 Oct 2000 22:06:01 +1300 Subject: [Zope] Cleaner stylr Message-ID: <39F7F3F8.831CA9AB@eudoramail.com> Hi I have the following in a method The idea here is that a few levels back I have a folder called text_repository. The method that the obove comes from is called by a form that sets the variable new_id. I have already created another folder in text_repository called text_container_new_id .... where new_id is variable, and there are many of them. The method above starts throwing namespaces on the stack and then creates an instance of a text ZClass that I have made. It all works nicely, but seems an rather nasty way to do it. What are preferred ways of doing this ? and is this really something that people feel is better in an external method as opposed to a dtml method. The reason why I am backtracking all over the place is because I tend to put my methods and forms into a sub folder, which may not be the best idea. I.e. the hierachy is somwhat as follows : text_main /text_methods/text_add_form_method text_main /text_methods/text_accept_method(which is where above snippet is from) text_main/text_repository/ text_main/text_repository/text_container_15562/ text_main/text_repository/text_container_15562/text_ZClass_instance1 text_main/text_repository/text_container_15562/text_ZClass_instance2 regards Matt From tdickenson@geminidataloggers.com Thu Oct 26 10:12:44 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:12:44 +0100 Subject: [Zope] Zope & python 2 In-Reply-To: <0010261247490E.00650@localhost.localdomain> References: <0010261247490E.00650@localhost.localdomain> Message-ID: >> Hi all >> >> Is anyone using or know the current state of Zope with python 2.0 ? > >I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a production server yet. (I would certainly recommend you dont if you allow untrusted users to write dtml) >Will there need to be large changes now that strings are proper objects? (the >string functions are now methods of strings). If so, will this mean the >phasing out of _.string ? _.string is unlikely to go away. String methods are currently inaccessible TTW. The security implications of opening this up have not yet been assessed. >Will the new Unicode support, does this mean Zope is now a big step closer to >i18n? My patches to give Zope full (full enough for me) unicode support are at http://www.zope.org/Members/htrd/wstring. >And from the looks of things there are a large number of small changes that >could be made to improve performance (such as the new 'augmented assignment' >operators [ += *= /= and so on] ).... It seems likely that they will not be available in dtml (for the same reasons as regular assignment). The case for PythonMethods has not yet been investigated >watching closely, Not closely enough ;-) Toby Dickenson tdickenson@geminidataloggers.com From tdickenson@geminidataloggers.com Thu Oct 26 10:15:48 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:15:48 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> References: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" wrote: >We are building some device controller software and to control those we have >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >such a modest setup? There is only going to be one or two users connected to >Zope at once, so we don't need much performance in terms of page views per >second :) Yes, Im using Zope in a similar scenario and it works well. I found a benefit in using a smaller number of publisher threads (I use -T 2 ). Each thread gets its own copy of the ODB, which is an unnecessary memory hog for the expected load. Toby Dickenson tdickenson@geminidataloggers.com From jornd@falch.net Thu Oct 26 11:28:32 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:28:32 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Stephan Goeldi"'s message of "Wed, 25 Oct 2000 13:06:53 GMT" References: Message-ID: <87snpj5227.fsf@ranga.falch.net> * "Stephan Goeldi" | >On a second thought: What I _really_ want (I think, unless someone | >tells me differently :-) ) is a conditional ProxyPass, to tell apache | >to redirect everything _unless_ the URI is /static (or something). | | When you ProxyPass so: | | ProxyPass /static/ http://www.website.com:80/static/ | ProxyPass / http://www.website.com:8080/ | | It should work as you want. Keep the order (root is last line). Seems simple enough. Thanks. Will try. -- Jørn Helge B. Dahl http://falch.net From jornd@falch.net Thu Oct 26 11:54:58 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:54:58 +0200 Subject: [Zope] Bug tracking tool Message-ID: <87k8av50u5.fsf@ranga.falch.net> Does anybody know of a bug tracking product for Zope which is free to try out? I found , which seemed to be nice, but I didn't see where to get it. -- Jørn Helge B. Dahl http://falch.net From maxm@normik.dk Thu Oct 26 12:49:02 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 13:49:02 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> I would have thought that the two examples below where equivalent but only the top one works like expected. (It renders the page.) The second one just shows the source of the vanilla dtml page. -- test = HTMLFile('vanilla', globals()) -- def test(self): "A simpe test method" return HTMLFile('vanilla', globals()) -- How do I execute the dtml file in a method. I have searched the documentation, but it is sketchy to say the least. I cannot use the first approach as I need to define the filename on the fly in my method. def test(self): "A simpe test method" return HTMLFile('skins/' + self.skin, globals()) self.skin is only available in my object, so naturally if I try to say: test = HTMLFile('skins/' + self.skin, globals()) I get an error. Regards Max M From ckant@fazenda.gov.br Thu Oct 26 13:52:53 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Thu, 26 Oct 2000 10:52:53 -0200 Subject: [Zope] ZClass and SQL Table Message-ID: <39F82925.50846FCD@fazenda.gov.br> Hi I have an old system based on a SQL database, and wanna to make a Web version of it. Are there any way to represent the SQL tables as ZClasses? I mean, the attributes of the ZClasses be stored in a SQL table? TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A long-forgotten loved one will appear soon. Buy the negatives at any price. From shevett@homeport.org Thu Oct 26 14:27:38 2000 From: shevett@homeport.org (Dave Belfer-Shevett) Date: Thu, 26 Oct 2000 09:27:38 -0400 (EDT) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage Message-ID: Hey there folks. I've just downloaded and installed these Products into my Zope instance. I'd talk to any of the support groups / lists / etc for these Products, but I can't find anythign aside from the author link, and a few small hints on the download page. I -think- I'm setting up an Album properly. Here are the steps, someone please tell me if this is not correct (There's an error that happens that I'll report in a moment...) 1) Install all the packages 2) Import ZPhotoAlbum via the Control panel 3) Go to whatever directory I want to run from 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) go into 'abc' folder (note the only thing in it right now is 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go into 'page1' folder 8) Add a ZPhoto Okay, here's where it gets fuzzy. My initial impression is "okay, tha'ts it. Just keep adding ZPhotos to populate the album". But when going to url.url.com/abc/ I just get the default 'index.html'. Tinkering, I found the 'Restore DTML' button up on the toolbar for the PhotoAlbum. So I click that, and get a lot more content in the folder in the management screen. Now when I go to url.url.com/abc/, I see my index, the AlbumPage, and the ZPhoto that I added. Here's where the problem happens. There are 2 buttons at the bottom of the page called 'fancy view' and 'explore view'. They should allow different views of the indexes. But when I click on one, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: defined_views here's the traceback: Traceback (innermost last): File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: CatalogAware) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/shevett/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: switch_view) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: switch_view) File /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: view not in defined_views or not view_id) (Info: defined_views) File , line 0, in ? NameError: (see above) Any suggestions? -------------------. Web-based problem management: www.stonekeep.com Dave Belfer-Shevett >----------------------------------------------------. shevett@pobox.com / I like you... I'll kill you last... (from 'Handy \ ------------------< work phrases') | \______________________________________________________/ From chrisw@nipltd.com Thu Oct 26 14:22:38 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:22:38 +0100 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <39F8301E.2746E20C@nipltd.com> You can get it out of the CVS repository at cvs.zope.org. If you can find it, I guess drop Ken a mail :-S cheers, Chris "JXrn Helge B. Dahl" wrote: > > Does anybody know of a bug tracking product for Zope which is free to > try out? I found , which > seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > _______________________________________________ > 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 ) From ytotty@atinucleus.com Thu Oct 26 14:22:47 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 08:22:47 -0500 Subject: [Zope] Z SQL Objects (Newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I=20 have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a = SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a call
specific to each team. I am passing in three=20 parameters,
two=20 of which go in the sql statement, the other goes in
the=20 if statement:
<:if "team=3D'S"'>
sql=20 statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It=20 tells me it doesn't like the syntax of the 'if' (I = have
stuff in the python file that lets me use ':' = in place=20 of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If=20 you guys know of another reference, please let me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_002A_01C03F25.EBF02E60-- From chrisw@nipltd.com Thu Oct 26 14:25:52 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:25:52 +0100 Subject: [Zope] How to render a HTMLFile in a method in a product References: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> Message-ID: <39F830E0.3C6C51E3@nipltd.com> Max Møller Rasmussen wrote: > def test(self): > "A simpe test method" > return HTMLFile('skins/' + self.skin, globals()) This is the closest. try the following: testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin, globals())(None,md) cheers, Chris From odeckmyn.list@teaser.fr Thu Oct 26 14:44:41 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 26 Oct 2000 15:44:41 +0200 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <00b301c03f52$e46a8c30$0d00000a@ODECKMYN2K> AFAIK, You have to get it through CVS... ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Thursday, October 26, 2000 12:54 PM Subject: [Zope] Bug tracking tool > Does anybody know of a bug tracking product for Zope which is free to > try out? I found seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) > > From maxm@normik.dk Thu Oct 26 14:42:13 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 15:42:13 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA7@exchange> From: Chris Withers [mailto:chrisw@nipltd.com] Thanks for the reply >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) Is this documented anywhere? I have a little trouble using code I don't understand. Pretty Please. Regards Max M From zope@grewen.de Thu Oct 26 14:51:08 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 26 Oct 2000 15:51:08 +0200 Subject: [Zope] Z SQL Objects (Newbie) References: Message-ID: <002401c03f53$f1f25580$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message -----=20 From: Yvonne Totty=20 To: zope@zope.org=20 Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in=20 the if statement: <:if "team=3D'S"'> sql statement <:elif "team=3D'C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=3D=3D'S'", "team=3DS", "team=3D=3DS", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects=20 (Newbie)

I=20 have the O'Reilly book, but can't seem to find = more
complete information on how to do 'if's' in = a SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a = call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other goes=20 in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if' (I=20 have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_0021_01C03F64.8EB0BA00-- From jjunior@cidadei.com.br Thu Oct 26 16:09:59 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Thu, 26 Oct 2000 12:09:59 -0300 Subject: [Zope] regex Message-ID: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> how to for use function regex in zope? please send examples. From ytotty@atinucleus.com Thu Oct 26 15:44:51 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 09:44:51 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Error message stuff: Expression (Python) Syntax error: invalid syntax , for tag <:if "team=='S'">, on line 23 of Traceback (innermost last): File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_edit) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_edit) File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, line 242, in manage_edit (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 383, in cook (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 228, in parse (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 292, in parse_block (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 126, in parse_error (Object: ) Document Template Parse Error: (see above) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Error message stuff:
Expression (Python) Syntax error: =
invalid syntax
, for tag <:if "team=3D=3D'S'">, on = line 23 of=20 <string>
Traceback (innermost last):
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, =
in publish_module
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
    (Object: manage_edit)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, =
in call_object
    (Object: manage_edit)
  File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, =
line 242, in manage_edit
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 383, in cook
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 228, in parse
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 292, in parse_block
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 126, in parse_error
    (Object: <string>)
Document Template Parse Error: (see above)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects = (Newbie)

I have the O'Reilly book, but can't seem = to find=20 more
complete information on how to do 'if's' = in a SQL=20 thing.
 
Here's the scenario:
I have three different 'teams' and want = to run a=20 call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other=20 goes in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if'=20 (I have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_005C_01C03F31.634E5800-- From tony.mcdonald@ncl.ac.uk Thu Oct 26 15:58:53 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 26 Oct 2000 15:58:53 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: At 10:15 am +0100 26/10/00, Toby Dickenson wrote: >On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > >>We are building some device controller software and to control those we have >>a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >>such a modest setup? There is only going to be one or two users connected to >>Zope at once, so we don't need much performance in terms of page views per >>second :) > >Yes, Im using Zope in a similar scenario and it works well. > >I found a benefit in using a smaller number of publisher threads (I >use -T 2 ). Each thread gets its own copy of the ODB, which is an >unnecessary memory hog for the expected load. ????!!! This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few things on our box here and it seems to pan out), then this explains large memory consumption on our servers (roughly 80 - 180 Mbyte RAM used per server). I shall be doing a sweep of our Zope servers and packing the databases (the ODBs that is). One thing though, is there a 'party line' on what number the -T parameter should be set to? Coming from an Apache background, I'm used to having dozens of httpd processes hanging around waiting for something to happen. I've always assumed that threads did much the same thing. Perhaps I'm wrong.... thoughts? Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From phil.harris@zope.co.uk Thu Oct 26 16:28:31 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 26 Oct 2000 16:28:31 +0100 Subject: [Zope] Z SQL Objects (Newbie) References: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: <022701c03f61$671411c0$5c773fc1@media1> Yvonne, The format of your 'if' is incorrect: You have <:if .....> it should be so the whole statement is as Jens says below. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: Jens Grewen To: ytotty@atinucleus.com Cc: Zope Maillist Sent: Thursday, October 26, 2000 2:51 PM Subject: Re: [Zope] Z SQL Objects (Newbie) Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? From ytotty@atinucleus.com Thu Oct 26 16:29:35 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:29:35 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <20001026112244.V16270@universal-fasteners.com> Message-ID: Jim, Nah, I thought of that, too and it didn't work 8(. I have been using <:sqlvar ...> inside my statements and those seem to be doing just fine. Yvonne 8) > > > Try it with the dtml-if syntax rather than :if. It made a difference for > me. If this works for you, please post a comment. it appears > that the newest > syntax did not filter into ZSQL methods. > > From ytotty@atinucleus.com Thu Oct 26 16:41:07 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:41:07 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <022701c03f61$671411c0$5c773fc1@media1> Message-ID: Well, I will be darned, it did work. I must have left out the quotes before when I tried it. That is weird, how, in the very same object, the <:sqlvar...> works, but <:if... > doesn't. Thanks so much!!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? > Yvonne, > > The format of your 'if' is incorrect: > > You have <:if .....> it should be > > so the whole statement is as Jens says below. > > hth > > Phil > phil.harris@zope.co.uk > > > ----- Original Message ----- > From: Jens Grewen > To: ytotty@atinucleus.com > Cc: Zope Maillist > Sent: Thursday, October 26, 2000 2:51 PM > Subject: Re: [Zope] Z SQL Objects (Newbie) > > > Hi, > > Arguments | team > > Query template > > > select * > from data > > select * > from data > > > this is normal > > but may it helps if you post the traceback of the error message > > Jens Grewen > > ----- Original Message ----- > From: Yvonne Totty > To: zope@zope.org > Sent: Thursday, October 26, 2000 3:22 PM > Subject: [Zope] Z SQL Objects (Newbie) > > > I have the O'Reilly book, but can't seem to find more > complete information on how to do 'if's' in a SQL thing. > > Here's the scenario: > I have three different 'teams' and want to run a call > specific to each team. I am passing in three parameters, > two of which go in the sql statement, the other goes in > the if statement: > <:if "team='S"'> > sql statement > <:elif "team='C'"> > blah, blah > > > It tells me it doesn't like the syntax of the 'if' (I have > stuff in the python file that lets me use ':' in place of > 'dtml-'). I have tried all the flavors: "team=='S'", > "team=S", "team==S", etc. and it doesn't like any of > them. > > If you guys know of another reference, please let me > know! > > TIA, > Yvonne 8) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > > From twcook@iswt.com Thu Oct 26 17:07:27 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 26 Oct 2000 11:07:27 -0500 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F856BF.A8B104CA@iswt.com> Tony McDonald wrote: > This is the first I've ever seen written on this subject. If it's > correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From andym@ActiveState.com Thu Oct 26 17:30:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:30:25 -0700 Subject: [Zope] regex References: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> Message-ID: <007301c03f6a$0bcb9af0$ae03a8c0@fork> Regex is not available in dtml. You have to use python and import it. ----- Original Message ----- From: "Joaldo Junior" To: Sent: Thursday, October 26, 2000 8:09 AM Subject: [Zope] regex > how to for use function regex in zope? > > please send examples. > > _______________________________________________ > 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 ) > From andym@ActiveState.com Thu Oct 26 17:39:33 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:39:33 -0700 Subject: [Zope] Re: Re:[Zope] ZFormulator References: Message-ID: <00ab01c03f6b$53715240$ae03a8c0@fork> There was a problem with the ODBC adapter under 2.2.0 where the permissions werent applied properly. There was a patch that was then incorporated into later releases 2.2.1 onwards. ----- Old Message ---- In case anyone else didnt read my thread there is an apparently known but not seemingly well documented problem with ODBC in Zope 2.2. The solution is here: Index: RDB.py =================================================================== RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v retrieving revision 1.24.32.1 retrieving revision 1.24.32.2 diff -c -r1.24.32.1 -r1.24.32.2 *** RDB.py 2000/07/12 17:38:03 1.24.32.1 --- RDB.py 2000/07/17 15:03:55 1.24.32.2 *************** *** 85,92 **** __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $''' ! __version__='$Revision: 1.24.32.1 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join --- 85,92 ---- __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $''' ! __version__='$Revision: 1.24.32.2 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join *************** *** 123,128 **** --- 123,132 ---- """Class for reading RDB files """ _index=None + + # We need to allow access to not-explicitly-protected + # individual record objects contained in the result. + __allow_access_to_unprotected_subobjects__=1 def __init__(self,file,brains=NoBrains, parent=None, zbrains=None): -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People _______________________________________________ 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 ) ----- Original Message ----- From: To: Sent: Wednesday, October 25, 2000 11:50 PM Subject: Re:[Zope] ZFormulator Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > From complaw@hal-pc.org Thu Oct 26 17:59:45 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 16:59:45 GMT Subject: [Zope] Reverse SendMail Question Message-ID: <200010261659.LAA23072@mail.hal-pc.org> Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc the project and all the e-mail could be viewed centrally. Any ideas? Ron ./. From p@state-of-mind.de Thu Oct 26 17:57:48 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Thu, 26 Oct 2000 18:57:48 +0200 Subject: [Zope] display owner [repost] Message-ID: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org code, took a look at the Owned.py etc. I just can't figure it out. Somebody help me? Thanks, p@ From jatwood@bwanazulia.com Thu Oct 26 18:20:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 13:20:19 -0400 Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: There is a product that does this.. of course, I cannot for the life of me remember its name. J > From: complaw@hal-pc.org > Date: Thu, 26 Oct 2000 16:59:45 GMT > To: zope@zope.org > Subject: [Zope] Reverse SendMail Question > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do > is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > > _______________________________________________ > 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 ) > > From grizel@mouli.net Thu Oct 26 18:22:31 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:22:31 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F86857.4BE7117D@mouli.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > _______________________________________________ > 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 ) What a good idea !! In fact, I think we should instead allow the sendmail program to serve HTTP requests !... ;-) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From grizel@mouli.net Thu Oct 26 18:28:04 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:28:04 +0200 Subject: [Zope] display owner [repost] References: Message-ID: <39F869A4.AB20ADF4@mouli.net> Patrick Koetter wrote: > > Hi all, > > I posted this the last days, but didn't get quite what I needed. > > I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method > or -Document etc.) in order to display this to the surfers when they drop > by. > > I've searched through zope.org code, took a look at the Owned.py etc. I just > can't figure it out. Somebody help me? > > Thanks, > > p@ > > _______________________________________________ > 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 ) Yes, not so obvious, but this might work : Managed by
This is based on a previous post (about a year ago ?...) by someone else I cannot thank - as I cannot remember his name ! :-)) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From Henny van der Linde" Hi, This should be very simple but I can't get it to work. I have a method called do_login. This method can't be viewed by anonymous users. When I call this method just with a standard login screen is presented as expected. Now I want tot trap login errors with a try construction such as this:

Login error, please try again (etc.)

Login ok

In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? Is there an elegant way to trap login errors resulting from an URL? URL link to a secured object, standard login screen presented, wrong input etc. Thanks Henny van der Linde From rik.hoekstra@inghist.nl Thu Oct 26 19:58:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 26 Oct 2000 20:58:54 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <020001c03f7e$caa1bb80$fe5da182@michieltje> > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > There has been quite a bit of discussion/ideas exchange on this in a zope-dev thread about the ZWikiNG (new generation), search the archives (or the Wiki at http://dev.zope.org/Wikis/DevSite/Proposals/WikiNG amd especially the discussion page). There is also a product called ZMailIn available from http://www.zope.org/Members/NIP/ZMailIn/ Rik From jim@holthaus.com Thu Oct 26 19:20:24 2000 From: jim@holthaus.com (Jim Holthaus) Date: Thu, 26 Oct 2000 13:20:24 -0500 Subject: [Zope] DTML and acquisition question Message-ID: <00102614070603.08458@logrus.holthaus.home> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If A contains B which contains C which contains D (tree view) A B C D and I am in A, how do I get to an item in D? What if B and C are dynamic? - -- Jim Holthaus (pronunciation: HOLT house) jim@holthaus.com PGP Public Key at http://www.holthaus.com/jim/pgpkey.html Learn about PGP at http://www.holthaus.com/jim/pgp.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI f7leyiFJonYWWaOqI/SPd8ZQ =JUHP -----END PGP SIGNATURE----- From slinkp23@yahoo.com Thu Oct 26 20:15:51 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 26 Oct 2000 15:15:51 -0400 Subject: [Zope] Hosting? Message-ID: <39F882E7.47E19D2A@yahoo.com> Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. Requirements: I need a system that can handle a potentially very heavy load, though at first it will be quite small - we're a startup and have no customers yet. Location: We're in the northeast USA and most of our users will probably be in the US as well, so I'd prefer a service in North America. Zope: 2.2 at least, and access to install new products and external methods. I'm currently on codeit.com, but they have zope 2.1 and I need zope >= 2.2 so I can use my custom product derived from PTK 0.9. Storage: We're doing things with digital images - *big* ones - so we need to start at about 100 MB and will need to grow; we'll be storing a *lot* of data for our users. Eventually (probably not until later in 2001) we'll need MUCH more - possibly up to 1 GB eventually. (Beyond that point we will probably just rent a server at rackspace.com or somewhere but first we need to be able to develop a big enough customer base to pay for it.) Data transfer: Several times greater than storage. Users will upload large files which we will then download to our local network, so that's at least 2x our storage needs, plus there's the transfer involved in just using the site. Pricing: since our storage requirements will be continually growing, I'd like a payment plan that enables us to pay for the storage we need and add more as needed. -- ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From jatwood@bwanazulia.com Thu Oct 26 20:39:26 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 15:39:26 -0400 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month. They have great support and bandwidth and claim to be the largest installed base of RH Linux. They also scale pretty well. I have about 10 boxes with them for about year now. Cheers, J > From: Paul Winkler > Date: Thu, 26 Oct 2000 15:15:51 -0400 > To: Zope mailing list > Subject: [Zope] Hosting? > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > > From chrism@digicool.com Thu Oct 26 21:45:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Thu, 26 Oct 2000 16:45:41 -0400 Subject: [Zope] asdasd Message-ID: <000a01c03f90$622694b0$aa063bd0@kurtz> asdasd From nspurrier@bluelight.com Thu Oct 26 22:33:09 2000 From: nspurrier@bluelight.com (Noah) Date: Thu, 26 Oct 2000 14:33:09 -0700 Subject: [Zope] can I turn off I thought of putting around them all, but I am certain that my client would object. Yours, Noah Spurrier From juliodinis@hotmail.com Thu Oct 26 23:55:46 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 22:55:46 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem. this dtml code dont work with siteaccess: some code I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call. Is there a solution? Thanks very much, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From complaw@hal-pc.org Thu Oct 26 22:56:13 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 21:56:13 GMT Subject: [Zope] Hosting? Message-ID: <200010262155.QAA13510@mail.hal-pc.org> > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. http://www.codeit.com/ They are the best one I've found. Ron ./. From nichols@tradingconnections.com Thu Oct 26 22:55:18 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Thu, 26 Oct 2000 16:55:18 -0500 Subject: [Zope] Hosting? In-Reply-To: References: <39F882E7.47E19D2A@yahoo.com> Message-ID: <4.3.2.7.2.20001026164808.00c1f8a0@tradingconnections.com> At 10/26/00 03:39 PM, J. Atwood wrote: >Try http://www.rackspace.com. > >You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about >$300 a month. They have great support and bandwidth and claim to be the >largest installed base of RH Linux. They also scale pretty well. I have >about 10 boxes with them for about year now. Although attractive at the low end, the rackspace price seems to jump rapidly. Move to a dual processor, 512MB, weekly backup and you arrive at a price about double what DellHost charges. So we're currently trying DellHost (which is somehow linked up with Interliant). While it is too early to give satisfaction rating, DellHost was not too swift administratively getting the server set up initially and we've had some bandwidth/connectivity issues. -- Dennis Nichols nichols@tradingconnections.com From juliodinis@hotmail.com Fri Oct 27 00:44:13 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 23:44:13 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva >From: "Júlio Dinis Silva" >To: zope@zope.org >Subject: [Zope] siteaccess + resolve_url problem >Date: Thu, 26 Oct 2000 22:55:46 WEST > >Hi all, >I search for a solution in mailing lists but I didnt found a solution, >just people talking about the same problem. > >this dtml code dont work with siteaccess: > > >some code > > >I receive a Resource Not found error. >I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its >a Zope resolve_url call. > >Is there a solution? > >Thanks very much, >Júlio Dinis Silva >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From lingnau@tm.informatik.uni-frankfurt.de Thu Oct 26 23:44:56 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 26 Oct 2000 22:44:56 GMT Subject: [Zope] Zope/PIL collision - what to do? Message-ID: <8tac58$qh6$1@mars.tm.informatik.uni-frankfurt.de> I'm trying to use the Python Imaging Library in an external Python method to modify some images dynamically. However, when I try to load an image: import Image # from PIL - refers to PIL ImageFile module image = Image.open("foo.png") the method crashes because the Image module sees the Zope »ImageFile« module instead of the one from PIL. The Zope module, of course, does something completely different from the other one. This is on Debian GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 from the distribution. How do I get around this? Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de The only reward of virtue is virtue; the only way to have a friend is to be one. -- Ralph Waldo Emerson From zope@grewen.de Thu Oct 26 23:58:10 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 00:58:10 +0200 Subject: [Zope] DTML and acquisition question References: <00102614070603.08458@logrus.holthaus.home> Message-ID: <001001c03fa0$63dcb5e0$0300a8c0@windows> Hi Jim, If you are in D you can access any object in D C B and A and if you are in A and want to access an object in D then you can use the following syntax If a folder object in A or B is dynamic (with changing names for example) you can get the folder by this for example /get all folders from dynamic B /get all folders from dynamic C /if D is a fix object name in dynamiy C then you can use Jens ----- Original Message ----- From: "Jim Holthaus" To: Sent: Thursday, October 26, 2000 8:20 PM Subject: [Zope] DTML and acquisition question > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > If A contains B which contains C which contains D > (tree view) > A > B > C > D > > and I am in A, how do I get to an item in D? What if B and C are dynamic? > - -- > Jim Holthaus (pronunciation: HOLT house) > jim@holthaus.com > PGP Public Key at http://www.holthaus.com/jim/pgpkey.html > Learn about PGP at http://www.holthaus.com/jim/pgp.html > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.1 > > iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI > f7leyiFJonYWWaOqI/SPd8ZQ > =JUHP > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 02:04:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 26 Oct 2000 20:04:54 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Hi Zope Fans, Re. the problems I mentioned in an earlier post, it may be related to an error that turned up when I tried to run the ZF_Demo module. It seems to be unable to locate: "ApplicationDefaultPermissions" Does that ring any bells? A Google Search of Zope.org turns up several references, and it seems to be a part of core Zope, but I have no idea how it could be unavailable. Might the way Zope is started have an impact on which pieces-parts are accessible? The error shows: Traceback (innermost last): File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 179, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 151, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, line 304, in traverse File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above) Thanks, Jerry S. From cbeaumon@msri.org Fri Oct 27 02:08:25 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Thu, 26 Oct 2000 18:08:25 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batch processing dtml-in processing dtml-in Message-ID: <39F8D55F.5AE7E34C@msri.org> Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be basically a timeline, with the current date as the default starting point. The idea is that someone can go back in time as well as forward. (links for past events as well as future) So, basically, I'm looking for a not-too-convoluted (i.e. decent performance) way to have the 'default' screen on entry be the batch that contains the item whose datetime value is the next one occurring after the current time. Dtml-in doesn't seem to have a straightforward way to do this, unless I'm overlooking something obvious. Does a solution to this occur to anyone? Thank you. Chris Beaumont cbeaumon@msri.org From kthangavelu@earthlink.net Thu Oct 26 21:05:26 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:05:26 -0700 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F88E86.E68A243B@earthlink.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. (IMO) its not to hard to write a cronn'd python client to retrieve emails sent to an email addr from a pop/imap server and drop them into zope via xml-rpc. i wrote something like this for my first zope contract, dropping the emails into a CatalogAware ZClass, and offering searches of the projects archives via ZCatalog. i believe ZMailin does something like this. kapil From kthangavelu@earthlink.net Thu Oct 26 21:11:07 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:11:07 -0700 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F88FDB.D13307B8@earthlink.net> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? > > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. only on windows... > I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? check if it has threads try: import threading except: print "this won't work" import sys;sys.exit() print "you can use this python" if not normally a python install is as simple as ./configure --with-threads make su make install you might need to switch your path if you've got both pythons on your system as most will put /usr/bin before /usr/local/bin you can check which one your using with:: which python to fix it in bash :: export PATH=/usr/local/bin:$PATH cheers kapil From kthangavelu@earthlink.net Thu Oct 26 21:18:17 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:18:17 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in References: <39F8D55F.5AE7E34C@msri.org> Message-ID: <39F89189.75095339@earthlink.net> Chris Beaumont wrote: > > Hello, > > I'm using dtml-in to display a long list of events taken from a SQL > table, as part of a calendar, using batch processing, > (basically the example from the DTML reference adapted to use direct > traversal to fetch the table contents) > > I want my calendar to be basically a timeline, with the current date as > the default starting point. The idea is that someone can go back in time > as well as forward. (links for past events as well as future) > > So, basically, I'm looking for a not-too-convoluted (i.e. decent > performance) way to have the 'default' screen on entry be the batch that > contains the item whose datetime value is the next one occurring after > the current time. Dtml-in doesn't seem to have a straightforward way to > do this, unless I'm overlooking something obvious. > > Does a solution to this occur to anyone? do it in sql, this is pretty database dependent, but the ideal way to me would be just where event_date > and just adjust your dtml to call the method with a date arguement. you probably need to use your db's string->date functions to convert the value for comparisions. i think this would offer the best performance, and least code. cheers kapil From jens@digicool.com Fri Oct 27 05:15:58 2000 From: jens@digicool.com (Jens Vagelpohl) Date: Fri, 27 Oct 2000 00:15:58 -0400 Subject: [Zope] Zope/PIL collision - what to do? Message-ID: try something like.... import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees jens ---- Jens Vagelpohl jens@digicool.com Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? ---- on 10/26/00 18:44, Anselm Lingnau at lingnau@tm.informatik.uni-frankfurt.de wrote: > I'm trying to use the Python Imaging Library in an external Python > method to modify some images dynamically. However, when I try to load > an image: > > import Image # from PIL - refers to PIL ImageFile module > image = Image.open("foo.png") > > the method crashes because the Image module sees the Zope »ImageFile« > module instead of the one from PIL. The Zope module, of course, does > something completely different from the other one. This is on Debian > GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution > and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 > from the distribution. > > How do I get around this? > > Anselm From jleach@mail.ocis.net Fri Oct 27 06:54:56 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Thu, 26 Oct 2000 22:54:56 -0700 (PDT) Subject: [Zope] Calander. Message-ID: hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. If not, perhaps I'll have to whip one up. :) Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From morten@esol.no Fri Oct 27 07:32:53 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 08:32:53 +0200 (CEST) Subject: [Zope] Calander. In-Reply-To: Message-ID: On Thu, 26 Oct 2000, Jason C. Leach wrote: > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. Actually, I'm developing one now, and it's getting pretty decent.. =) Take a look at the Calendar product contained in the latest ZopeGUM release, http://www.zope.org/Members/morphex/ZopeGUM. The calendar product is pretty stable, but I wouldn't use it in a production enviroment just yet. > If not, perhaps I'll have to whip one up. :) If you're interested in participating in the development of this Calendar product, you're more than welcome! The project will eventually be located at SourceForge, as soon as they fix the CVS problems they're having.. Regards, Morten From twcook@iswt.com Fri Oct 27 07:40:48 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 01:40:48 -0500 Subject: [Zope] Calander. References: Message-ID: <39F92370.41D9FF13@iswt.com> "Jason C. Leach" wrote: > > hi, > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. > There is a ZCalendar tag. But the EventFolder is much more full featured. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From lingnau@tm.informatik.uni-frankfurt.de Fri Oct 27 08:39:23 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 27 Oct 2000 07:39:23 GMT Subject: [Zope] Zope/PIL collision - what to do? References: Message-ID: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> In article , Jens Vagelpohl wrote: > import PIL > > image = PIL.Image.open('foo.png') > > that way you do not have two names "Image" colliding in the names Zope sees Thanks to everybody who responded. I tried doing this after a number of other attempts but it claimed not to be able to find a module called »PIL« -- then I restarted Zope and it worked. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de You could shoot Microsoft Office off the planet and this country would run better. You would see everyone standing around saying, `I've got so much time now.' -- Scott McNealy From chrisw@nipltd.com Fri Oct 27 09:59:13 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 09:59:13 +0100 Subject: [Zope] ZMailIn References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F943E1.D9BB80D@nipltd.com> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? You could probably build something using ZMailIn: http://www.zope.org/Members/NIP/ZMailIn cheers, Chris From chrisw@nipltd.com Fri Oct 27 10:00:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 10:00:58 +0100 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> Message-ID: <39F9444A.902CF18D@nipltd.com> Henny van der Linde wrote: > In this construction the call to do_login always raises the exception > Unauthorized instead of presenting the standard login screen. > > How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows you to do exactly what you're talking about. cheers, Chris From l.tranchant@adntic.com Fri Oct 27 10:21:56 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Fri, 27 Oct 2000 11:21:56 +0200 Subject: [Zope] php and zope Message-ID: <39F94934.929E94F3@adntic.com> hello everybody, I am new on this list, and I on zope. I have installed zope with apache on linux Suze 6.4, and I want to use it with PostGreSQL. My first question is very simple : can I use php code in DTML documents ??? I don't think so, but if someone can help me... From seb@jamkit.com Fri Oct 27 10:27:05 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 10:27:05 +0100 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired places in the UK. The bandwidth can be upped on a month-by-month basis. This way you get full control over everything. My costs: server ?650 (that's about $500 I think) hosting ?37.50 / month for 1 Gb / 512k burst (about $30) time to set it all up :S Of course, the hosting gets *much* cheaper as you buy more, but this scheme suits the way I intend to grow. I believe hardware and bandwidth is even cheaper in the states, so why not consider something like that? seb. > -----Original Message----- > From: pw@bestweb.net [mailto:pw@bestweb.net]On Behalf Of Paul Winkler > Sent: 26 October 2000 20:16 > To: Zope mailing list > Subject: [Zope] Hosting? > > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > From jonathan@home-all.org.uk Fri Oct 27 10:59:46 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Fri, 27 Oct 2000 10:59:46 +0100 Subject: [Zope] advice re virtual hosting Message-ID: <39F95211.1605CE4A@home-all.org.uk> Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a folder within my zope (so they can acquire some of my content). i.e. www.blue.com --> zopeserver/ www.red.com --> zopeserver/red/ Whats the best way? There seem to be three or four options, apache on 80 with zope on 8080 using virtual hosts on both (either?), squid on 80 and zope on 8080 and finally zope alone on 80. The site will be relatively low traffic for the root branch but higher public traffic for the clients branch. Whats the 'best' way? I got apache to front zope with proxypass and with proxying on and seemed to get better performance. What about flexibility? What about rewriting versus virtual hosts? Ah so many juicy options! I have a colocated box and the isp is holding two domains pointed at the same ip address so I guess name based vhosts are the way by default but is it better to try and get zope to do it alone on 80 (is this possible?) or is it always better to have apache do it. I don't forsee any need for genuinely static content that cannot be served from zope. Your advice gratefully received. Jonathan From jatwood@bwanazulia.com Fri Oct 27 11:18:29 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Fri, 27 Oct 2000 06:18:29 -0400 Subject: [Zope] advice re virtual hosting In-Reply-To: <39F95211.1605CE4A@home-all.org.uk> References: <39F95211.1605CE4A@home-all.org.uk> Message-ID: Hey Jonathan, I don't know about the 'best' way, but you certainly can use SiteAccess. You point the main url to your Zope installation (and that is nothing) and you put a SiteRoot in the red folder and it will take care of www.red.com. http://www.zope.org/Members/4am/SiteAccess2/vhosting J At 10:59 AM +0100 10/27/2000, Jonathan Cheyne wrote: >Hi all, just need to check the received wisdom regarding the various >possible combinations for doing virtual hosting with zope. > >I have two domains, one is 'mine' and I want that to go to the root of >my zope installation. the other domain is for an internal client and I >want that to go to a folder within my zope (so they can acquire some of >my content). > >i.e. >www.blue.com --> zopeserver/ >www.red.com --> zopeserver/red/ > >Whats the best way? > >There seem to be three or four options, apache on 80 with zope on 8080 >using virtual hosts on both (either?), squid on 80 and zope on 8080 and >finally zope alone on 80. > >The site will be relatively low traffic for the root branch but higher >public traffic for the clients branch. > >Whats the 'best' way? I got apache to front zope with proxypass and with >proxying on and seemed to get better performance. What about >flexibility? What about rewriting versus virtual hosts? > >Ah so many juicy options! > >I have a colocated box and the isp is holding two domains pointed at the >same ip address so I guess name based vhosts are the way by default but >is it better to try and get zope to do it alone on 80 (is this >possible?) or is it always better to have apache do it. I don't forsee >any need for genuinely static content that cannot be served from zope. > >Your advice gratefully received. > >Jonathan > > >_______________________________________________ >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 ) From xavier@perceval.net Fri Oct 27 11:27:32 2000 From: xavier@perceval.net (Xavier Defrang) Date: Fri, 27 Oct 2000 12:27:32 +0200 (CEST) Subject: [Zope] Zope and Python 2.0 Message-ID: Hi folks, I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with Python 2.0... I've got a system-wide installation of Python 2.0 and the ./start scripts fails. I made a local installtion of Python 1.5.2 just to run Zope. I changed the path the Python interpreter in the start shell script but it looks like Medusa's asyncore.py can't find tjhe FCNTL module... What the hell is going wrong? I also had to comment out a nasty #include "mymath.h" in 'lib/Components/cPickle/cPickle.c' to get it built properly... - Xavier From seb@jamkit.com Fri Oct 27 11:31:11 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 11:31:11 +0100 Subject: [Zope] wondering about rendering In-Reply-To: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> Message-ID: A simple question that's been bugging me: Regarding a "FooDocument/BarMethod": How do I reference the content of FooDocument inside BarMethod? At the moment, I'm using which seems to call the __str__ method of FooDocument; or in both view_1 and tableise, I get infinite recursion, of course. But I can't think of how else I might do it. Putting in tableise makes all the HTML in view_1 render html-safe (< > etc). I was tableise to display view_1's HTML but not render its DTML. Any idea, anyone? Thanks, seb From steve@spvi.com Fri Oct 27 12:08:11 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:08:11 -0500 (EST) Subject: [Zope] ZClass and SQL Table In-Reply-To: <39F82925.50846FCD@fazenda.gov.br> (ckant@fazenda.gov.br) References: <39F82925.50846FCD@fazenda.gov.br> Message-ID: <200010271108.GAA08003@mercury.spvi.com> Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve >>>>> "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann writes: CG> Hi CG> I have an old system based on a SQL database, and wanna to CG> make a Web version of it. CG> Are there any way to represent the SQL tables as ZClasses? I CG> mean, the attributes of the ZClasses be stored in a SQL table? CG> TIA -- CG> +---------------------------------+---------------------------------+ CG> | César A. K. Grossmann | Capacitação Solidária | | CG> ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | CG> http://members.xoom.com/ckant/ | Clique e doe - é de graça | CG> +---------------------------------+---------------------------------+ CG> http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A CG> long-forgotten loved one will appear soon. CG> Buy the negatives at any price. CG> _______________________________________________ Zope maillist CG> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** CG> No cross posts or HTML encoding! ** (Related lists - CG> http://lists.zope.org/mailman/listinfo/zope-announce CG> http://lists.zope.org/mailman/listinfo/zope-dev ) From steve@spvi.com Fri Oct 27 12:11:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:11:24 -0500 (EST) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage In-Reply-To: (message from Dave Belfer-Shevett on Thu, 26 Oct 2000 09:27:38 -0400 (EDT)) References: Message-ID: <200010271111.GAA08015@mercury.spvi.com> Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve >>>>> "Dave" == Dave Belfer-Shevett writes: Dave> Hey there folks. I've just downloaded and installed these Dave> Products into my Zope instance. I'd talk to any of the Dave> support groups / lists / etc for these Products, but I can't Dave> find anythign aside from the author link, and a few small Dave> hints on the download page. Dave> I -think- I'm setting up an Album properly. Here are the Dave> steps, someone please tell me if this is not correct Dave> (There's an error that happens that I'll report in a Dave> moment...) Dave> 1) Install all the packages 2) Import ZPhotoAlbum via the Dave> Control panel 3) Go to whatever directory I want to run from Dave> 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) Dave> go into 'abc' folder (note the only thing in it right now is Dave> 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go Dave> into 'page1' folder 8) Add a ZPhoto Dave> Okay, here's where it gets fuzzy. My initial impression is Dave> "okay, tha'ts it. Just keep adding ZPhotos to populate the Dave> album". But when going to url.url.com/abc/ I just get the Dave> default 'index.html'. Dave> Tinkering, I found the 'Restore DTML' button up on the Dave> toolbar for the PhotoAlbum. Dave> So I click that, and get a lot more content in the folder in Dave> the management screen. Dave> Now when I go to url.url.com/abc/, I see my index, the Dave> AlbumPage, and the ZPhoto that I added. Dave> Here's where the problem happens. There are 2 buttons at Dave> the bottom of the page called 'fancy view' and 'explore Dave> view'. They should allow different views of the indexes. Dave> But when I click on one, I get: Dave> Zope Error Dave> Zope has encountered an error while publishing this Dave> resource. Dave> Error Type: NameError Error Value: defined_views Dave> here's the traceback: Dave> Traceback (innermost last): File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 222, in publish_module File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 187, in publish File Dave> /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in Dave> zpublisher_exception_hook (Object: CatalogAware) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 171, in publish File Dave> /home/shevett/zope/lib/python/ZPublisher/mapply.py, line Dave> 160, in mapply (Object: switch_view) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 112, in call_object (Object: switch_view) File Dave> /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, Dave> in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, Dave> line 528, in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, Dave> line 337, in eval (Object: view not in defined_views or not Dave> view_id) (Info: defined_views) File , line 0, in ? Dave> NameError: (see above) Dave> Any suggestions? Dave> -------------------. Web-based problem management: Dave> www.stonekeep.com Dave Belfer-Shevett Dave> >----------------------------------------------------. Dave> shevett@pobox.com / I like you... I'll kill you Dave> last... (from 'Handy \ ------------------< work phrases') | Dave> \______________________________________________________/ Dave> _______________________________________________ Zope Dave> maillist - Zope@zope.org Dave> http://lists.zope.org/mailman/listinfo/zope ** No cross Dave> posts or HTML encoding! ** (Related lists - Dave> http://lists.zope.org/mailman/listinfo/zope-announce Dave> http://lists.zope.org/mailman/listinfo/zope-dev ) From steinar@orion.no Fri Oct 27 12:29:48 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Fri, 27 Oct 2000 13:29:48 +0200 Subject: [Zope] Multiple Propertysheets from the same Python class ? Message-ID: <512D0F74D69DD311B23A0000E22298D224BD38@mail.orion.no> I am trying to make a "template" for creating different types of portals. Especially I am looking to develop my own DemoPortal (Portal) ZClass where I can subclass other Memberand PortalProperties from Python and more easily create a ZClass (like the Portal ZClass) that subclasses my Python classes. Question is: Can the contents of the Portal ZClass in DemoPortal by fully exportet to Python code and subclassed inside Zope (like the ZDG describes) ? I understand Python can put classes inside classes which would be necessary. But how do you define different property sheets within one Python class ? The DemoPortal has a MemberClass with 2 propertysheets (CommonProperties and SystemProperties) which I guess must be kept separate. Is this at all possible to do from Python, or am I barking up the wrong tree here. Regards Steinar ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From matt.bion@eudoramail.com Fri Oct 27 12:37:20 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 28 Oct 2000 00:37:20 +1300 Subject: [Zope] dtml-with using string reference and acquisition Message-ID: <39F968F0.ACC8484D@eudoramail.com> Hi, I am having a problem with using a string reference to an object. The scenario is as follows : I have the tree structure - testfolA display_method testfolB testfolC if display_method looks like the following, everything is fine : it returns testfolB as I would expect. now if I change to now read I get a Key_error that the URL does not exist. So I understand that testfolB.testfolC is not explicitly on the namespace stack, where as testfolB is, so that calling would work since it is a sequential object traversal, but unfortunately I have to create the second level object through a string reference that is passed in through a form. In some instances it may be more than 2 levels deep. Is there a way to traverse a string name of an object in one hit, or do I need to use String.split and traverse through each object name doing a "_[.... or "_.callitem(.... ? Any help would be very much appreciated. regards Matt Bion From steve@spvi.com Fri Oct 27 12:46:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:46:24 -0500 (EST) Subject: [Zope] More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Message-ID: <200010271146.GAA08208@mercury.spvi.com> Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? JS> The error shows: JS> Traceback (innermost last): File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 214, in publish_module File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 179, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, JS> line 202, in zpublisher_exception_hook (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 151, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, JS> line 304, in traverse File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, JS> line 249, in __bobo_traverse__ (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, JS> line 511, in notFoundError NotFound: (see above) JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From morten@esol.no Fri Oct 27 13:17:26 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 14:17:26 +0200 (CEST) Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: On Thu, 26 Oct 2000 complaw@hal-pc.org wrote: > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? In the latest version of ZopeGUM there is a poor example located in the gum module.. (in combination with the messagefilter module). http://www.zope.org/Members/morphex/ZopeGUM Regards, Morten From seb@jamkit.com Fri Oct 27 13:25:02 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 13:25:02 +0100 Subject: [Zope] ZMailIn In-Reply-To: <39F943E1.D9BB80D@nipltd.com> Message-ID: It sounds like you're thinking about a project management thing. Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. You could customise it to your specific needs, plus have the all the benefits of a webmail type application. Might be worth a look. seb. > complaw@hal-pc.org wrote: > > > > Has anyone thought of using SendMail (or any other e-mail > program) to send > > e-mail to Zope and have that e-mail be loaded directly into a > specific folder > > (say, based on the e-mail address or subject line)? > > You could probably build something using ZMailIn: > > http://www.zope.org/Members/NIP/ZMailIn > From maxm@normik.dk Fri Oct 27 13:25:05 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 14:25:05 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AAB@exchange> >From: Chris Withers [mailto:chrisw@nipltd.com] I got this answer to my question about how to render a dtml document from a method. >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) And I have been busy trying to read the source code to understand the advise: As far as I understand the story goes a little like this: HTMLFile returns an object (through inheritance) "String" in file "DT_String.py" that has "__call__()" implemented, which means that the class can be called as a function... Hmm ... I had actually not seen this method used in Python before. def __call__(self,client=None,mapping={},**kw): This method accepts an object in which it will look up values to insert in the dtml file, and a mapping object (dictionary) that also will look up values to insert. So i guess that is what (None,md) does. But I dont understand what "ignored" does in my method, as it is unused, unless it is used by md >def test(self,ignored,md): Furthermore I dont understand what md is. Some kind of mapping object naturally, but where does it come from? Also what is testisDocTemp supposed to do? If I grep the source a "isDocTemp" shows up but is isn't easy to see what this does either. Regards Max M From lupo@atisworld.com Fri Oct 27 13:38:31 2000 From: lupo@atisworld.com (Marcello Lupo) Date: Fri, 27 Oct 2000 14:38:31 +0200 Subject: [Zope] PIL/Zope Problem Message-ID: <39F97747.41E06D5B@atisworld.com> Hi to all, i read all the documentation and made all things to let interact PIL and Zope and i cannot find the way to make it work. If i try to import PIL from pyton interpreter it works perfectly with: ******************************* Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import PIL >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") >>> print data.format JPEG >>> print data.info {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} >>> print data.size (450, 309) >>> ****************************** as you can see it works. But when i try to access PIL.Image.open from an external method in Zope i get: ******************************* Error Type: AttributeError Error Value: Image Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: resize_image(foto)) (Info: foto) File , line 0, in ? File /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod.py, line 255, in __call__ (Object: resize_image) (Info: ((,), {}, None)) File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in resize_image (Object: ElementWithAttributes) AttributeError: (see above) ********************************* My external Method say: **************************** import PIL def resize_image(self, foto): if foto: data=PIL.Image.open(foto) data=data.resize((128, 128)) return data.size else: return "Nothing" *************************************** Can anyone help me?? Thanks Bye, MArcello From Danny@Adair.net Fri Oct 27 13:40:50 2000 From: Danny@Adair.net (Danny William Adair) Date: Fri, 27 Oct 2000 14:40:50 +0200 Subject: [Zope] ownership problems Message-ID: I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. ---------------------------------------------------------------------------- ------------ Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 ---------------------------------------------------------------------------- ------------ This is what I get: Adding other object types is no problem. From maxm@normik.dk Fri Oct 27 14:08:49 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 15:08:49 +0200 Subject: [Zope] How do I change dtml template on the fly in Python product? Message-ID: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> I have asked this question somewhat differently in another thread but here I go again from another angle, as it might have been my approach that was wrong to begin with. I have a Python product that allready does what I want it to, but I want to be able to create different views of the products content. (Model View Controller principle). To do this I have created a folder with different views (Or skins if you would prefer the Gnome/KDE way of saying it.) views view1 list.dtml view.dtml edit.dtml view2 list.dtml view.dtml edit.dtml In my class I have made a value that hold the name of the selected view, I call this: self.selView I want to make it possible to use the different sets of dtml files to create a different look and feel to the data. I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return HTMLFile('views/' + self.selView+ 'list') Is that the best way to do it? Regards Max M From zope@grewen.de Fri Oct 27 14:51:56 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 15:51:56 +0200 Subject: [Zope] PIL/Zope Problem References: <39F97747.41E06D5B@atisworld.com> Message-ID: <001601c0401d$12a36020$0300a8c0@windows> Hi , > > I use this external Methode to generate thumbs from an image an write both > in an mysql database. > May this helps you > > ____________________________________________________________________________ > ____________ > from PIL.Image import BICUBIC, BILINEAR, NEAREST > from cStringIO import StringIO > > import _mysql > import MySQLdb > import PIL > > def write(filename, pid): > db=MySQLdb.connect(db="shop",user="zope",passwd="") > c=db.cursor() > imgfile=open(filename,'rb') > sql_reset_img1="update PRODUCT set PIMAGE=NULL where PID="+ pid > sqlstr="update PRODUCT set PIMAGE='" + > _mysql.escape_string(imgfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img1) > # do the "update" load... > c.execute(sqlstr) > imgfile.close() > im = PIL.Image.open(filename) > fmt = im.format > if fmt == 'PNG': > fmt = 'JPEG' > size = (int('75'),int('75')) > x, y = im.size > if x > size[0]: y = y * size[0] / x; x = size[0] > if y > size[1]: x = x * size[1] / y; y = size[1] > size = x, y > im.draft(None, size) > im = im.resize(size) > im.size = size > im.save('/home/zope/tempimage/temp.jpg', fmt) > tempfile=open('/home/zope/tempimage/temp.jpg','rb') > sql_reset_img2="update PRODUCT set PTHUMB=NULL where PID="+ pid > sqlstri="update PRODUCT set PTHUMB='" + > _mysql.escape_string(tempfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img2) > # do the "update" load... > c.execute(sqlstri) > tempfile.close() > return 'image was written to db successfull' > ____________________________________________________________________________ Jens ----- Original Message ----- From: "Marcello Lupo" To: Cc: Sent: Friday, October 27, 2000 2:38 PM Subject: [Zope] PIL/Zope Problem > Hi to all, > i read all the documentation and made all things to let interact PIL and > Zope and i cannot find the way to make it work. > If i try to import PIL from pyton interpreter it works perfectly with: > > ******************************* > Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 > 19990314/Linux (egcs- on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import PIL > >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") > >>> print data.format > JPEG > >>> print data.info > {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} > >>> print data.size > (450, 309) > >>> > ****************************** > > as you can see it works. > But when i try to access PIL.Image.open from an external method in Zope > i get: > > ******************************* > > > Error Type: AttributeError > Error Value: Image > > > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be > incorrect. > A resource that this resource relies on may be > encountering an error. > > For more detailed information about the error, please refer > to the HTML source for this page. > > If the error persists please contact the site maintainer. > Thank you for your patience. > > > Traceback (innermost last): > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 214, in publish_module > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 179, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, > in zpublisher_exception_hook > (Object: ElementWithAttributes) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 165, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 102, in call_object > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line > 150, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, > line 502, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line > 335, in eval > (Object: resize_image(foto)) > (Info: foto) > File , line 0, in ? > File > /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod .py, > line 255, in __call__ > (Object: resize_image) > (Info: ((,), > {}, None)) > File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in > resize_image > (Object: ElementWithAttributes) > AttributeError: (see above) > > ********************************* > > My external Method say: > **************************** > import PIL > > def resize_image(self, foto): > > if foto: > data=PIL.Image.open(foto) > data=data.resize((128, 128)) > return data.size > else: > return "Nothing" > > *************************************** > > > Can anyone help me?? > Thanks > Bye, > MArcello > > _______________________________________________ > 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 ) > From Luc Tonin" reload ? Message-ID: <05a501c04020$8bac9b50$6200a8c0@longwy> This is a multi-part message in MIME format. ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable is it possible to reload only a without reloading an = entire page ??????????? if yes, how?? plz help ;) Luc TONIN=20 ------------------------------ D=E9veloppeur Web ------------------------------ =20 Multith=E9matiques http://www.multithematiques.com Chaines th=E9matiques sur c=E2ble et satellite Canal Jimmy, Cinecinemas, Cineclassics, Planete, Forum, Season, = Wishline,=20 Centre Jean Monet 03 82 24 00 42 Longlaville +333 82 24 00 42 54400 Longwy =20 ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
is it possible to reload only a <dtml-var = value> without=20 reloading an entire page ???????????
if yes, how??
plz help
;)
 
Luc TONIN =
------------------------------
D=E9veloppeur=20 Web
------------------------------
 
Multith=E9matiques
= http://www.multithematiques.com<= /A>
Chaines=20 th=E9matiques sur c=E2ble et satellite
Canal Jimmy, Cinecinemas, = Cineclassics,=20 Planete, Forum, Season, Wishline,
Centre Jean=20 Monet      03 82 24 00=20 42
Longlaville         &n= bsp;   =20 +333 82 24 00  42
54400 Longwy  =
------=_NextPart_000_05A2_01C04031.4EE612D0-- From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 15:22:57 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 09:22:57 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733915@innt-73.ata.com> Steve asked: > What version of ZFormulator are you running (and in what version of > Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to > work OK. Maybe it doesn't work with older zopes? Oops, I should know better by now, than to ask for help without including the details. Zope 2.1.6 on Solaris 2.6 for Sparc, and Zope 2.2.1 on Linux 2.2 for Intel. The installs seemed to go smoothly on both systems, and I am able to create Form objects. However neither will let me add any form elements. The user authentication dialog pops up, and of coures I'm already authenticated at the initial access to the management interface. I'm both owner and manager of everything, but the authentication rejects my input. ZFormulator has been available since late 1999, so I would expect the older versions to be OK. Thanks, Jerry S. JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? From paul.browning@bristol.ac.uk Fri Oct 27 16:07:10 2000 From: paul.browning@bristol.ac.uk (Paul Browning) Date: Fri, 27 Oct 2000 16:07:10 +0100 (GMT Daylight Time) Subject: [Zope] Securing ftp access? Message-ID: Our local CERT-type person mailed me the following and I replied as follows. Could I have given a better answer? > I notice that zope comes with an FTP server which, by default, runs on port > 8021. There's one running on "stingray", as I write, which seems to accept > any and all combinations of usernames/passwords (valid or otherwise), > although *I* don't seem to be able to do/see anything with any of the ones > I've tried. Hmmm. Hadn't noticed that before. Even if you disable the FTP Access permission for the role Manager (as well as Anonymous) it's still the same. But, as you note, you can't do very much. > Anyway, that's an aside. What my question is is "how can this > service be used such that usernames/passwords are transmitted securely?" Don't know. Does SSL (whether Zope is behind Apache or not) only apply to http stuff? My understanding is that Zope incoporates the Medusa server. There is a reference on the Medusa web page (http://www.nightmare.com/medusa/) to "SSL and Medusa with STunnel". An exercise left for the ambitious reader? Meanwhile I observe that if you set a Domains restriction for a particular user (done via the acl_users Folder) it applies to both ftp and http clients (and presumably WebDAV too) - though at first it doesn't seem so via ftp because you can login, but you can't actually do anything (just like Richard reports with any username/password). So, an imperfect answer to your question might be "disallow ftp access from outside our local domain and then keep your fingers crossed". TIA. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bris.ac.uk URL: http://www.bris.ac.uk/ From chrisw@nipltd.com Fri Oct 27 16:17:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:17:08 +0100 Subject: [Zope] WorldPilot References: Message-ID: <39F99C74.7C3C3399@nipltd.com> Seb Bacon wrote: > > Depends what you want to do with it, and what your zope setup is, but if > you've got enough control over the zope box you're using, you could consider > worldpilot + imap. WorldPilot's code is not the most customisable I've ever seen :-( cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:19:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:19:30 +0100 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> Message-ID: <39F99D02.1D0CF060@nipltd.com> > Luc Tonin wrote: > > is it possible to reload only a without reloading an > entire page ??????????? ...nice question marks ;-) ...not nice posting HTML to a plain text only list. The answer is no anyway. A page is completely assembled on the server side before being sent to the client. So, if a value changes in a dtml-var, then you need to resend the enite page to the browser. This is the way HTTP works and so there's nothing Zope-specific about not being able to do this. cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:26:45 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:26:45 +0100 Subject: [Zope] with a __call__ References: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> Message-ID: <39F99EB5.28B855D9@nipltd.com> Max Møller Rasmussen wrote: > I want to write my "index_html" method so that it returns a rendered version > of "list.dtml" corresponding to the selected view, by the name of the folder > holding the selected view. > > something like this (which doesn't work): > > def index_html(): > return HTMLFile('views/' + self.selView+ 'list') You actually want to write a __call__ method (something) like this: def __call__(self, REQUEST=None, **kw): """""" return apply(HTMLFile('views/' + self.selView+ 'list'),(self,REQUEST),kw) index_html=None ...this last bit is needed so index_html isn't acquired from an object above. cheers, Chris From lyno.sullivan@lynosullivan.org Thu Oct 26 20:05:02 2000 From: lyno.sullivan@lynosullivan.org (Lyno Sullivan, Candidate) Date: Thu, 26 Oct 2000 14:05:02 -0500 Subject: [Zope] Free software in online democracy Message-ID: "Feel like you're not heard in St. Paul? A Minnesota Senate candidate from Stillwater thinks he can change that with online democracy." Stillwater Gazette, August 18,2000, By MARK BROUWER Staff Writer. My vision of a State Senator using the Internet as a way to keep in touch with constituents made the front page. Mention was made of the use of free software, Zope, Python, etc. http://www.lynosullivan.org/news/newssquish/969254176 ---- Minnesota Statute 211B.04 requires that I say: Prepared and paid for by the Lyno Sullivan Volunteer Committee P.O. Box 272, Stillwater, MN 55082 651-430-2815 From bill@noreboots.com Fri Oct 27 16:17:05 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:17:05 -0600 Subject: [Zope] Calling form elements by name References: Message-ID: <39F99C71.99E48DA@noreboots.com> Danny William Adair wrote: > > I should have posted your version, it's more explicit: > > ------------------------------------------- > > thePos="_.str(Position)" > nameAsAString="Prefix+thePos"> >
>
I believe I see why this doesn't work: Try changing:
To:
Otherwise, it will try to find a variable named whatever is in the variable nameAsAString. -- E PLURIBUS LINUX From bill@noreboots.com Fri Oct 27 16:39:54 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:39:54 -0600 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F9A1CA.E1BFDC10@noreboots.com> Toby Dickenson wrote: > > On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > > >We are building some device controller software and to control those we have > >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > >such a modest setup? There is only going to be one or two users connected to > >Zope at once, so we don't need much performance in terms of page views per > >second :) > > Yes, Im using Zope in a similar scenario and it works well. > > I found a benefit in using a smaller number of publisher threads (I > use -T 2 ). Each thread gets its own copy of the ODB, which is an > unnecessary memory hog for the expected load. What OS is this on? On Linux each thread does _NOT_ get a copy of the ODB. It just _looks_ like it. See the archives for details. The benefit from smaller thread counts is that: A) Multiple threads is not a big boost on uniprocessor machines B) Python does some different things with threads, see the Global Interpreter Lock for details. Changin the realted value in Zope will acheive differing levels of performance. -- E PLURIBUS LINUX From twcook@iswt.com Fri Oct 27 17:27:03 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 11:27:03 -0500 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> <39F99D02.1D0CF060@nipltd.com> Message-ID: <39F9ACD7.BDB42A47@iswt.com> Chris Withers wrote: > > > Luc Tonin wrote: > > > > is it possible to reload only a without reloading an > > entire page ??????????? > > ...nice question marks ;-) > > ...not nice posting HTML to a plain text only list. > > The answer is no anyway. A page is completely assembled on the server > side before being sent to the client. So, if a value changes in a > dtml-var, then you need to resend the enite page to the browser. With the exception of possibly using JavaScript. If you're wanting to reload something that a DIFFERENT CLIENT has changed, sorry. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From cg@cdegroot.com Fri Oct 27 18:19:15 2000 From: cg@cdegroot.com (Cees de Groot) Date: 27 Oct 2000 19:19:15 +0200 Subject: [Zope] Forbidding overrides? Message-ID: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Something I remember from my early Zope days that could be solved, but I can't seem to find an answer: say I have a simple site where people can do simple things within their folder. However, I want my banners/logo whatever on their pages, so I've setup index_html to put my own stuff in and include their body_text. How can I prevent smartasses from creating index_html documents in their folder? More generally, is it possible to disallow certain folder methods or properties to be overriden from a point in the tree? -- Cees de Groot http://www.cdegroot.com GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/ From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 18:24:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 12:24:07 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Hi Again, It turns out that the problems I was seeing are related to the Proxy Layers that are in place to keep our IntraNet safe. ZFormulator doesn't work at all when I bypass the Proxy entirely, only works partially when the Proxy is invited to play, and only works fully when the directories that the Proxy is aware of are involved. This is OK, as long as the generated forms function correctly when a user sees them with the Proxy completely in control. We'll see . . . Thanks again! Jerry S. From steve@spvi.com Fri Oct 27 19:52:52 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 13:52:52 -0500 (EST) Subject: [Zope] Re: More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Message-ID: <200010271852.NAA11508@mercury.spvi.com> Found it: line 312: Form.py should be: __roles__ = ('Manager',) From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 19:57:39 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 13:57:39 -0500 Subject: [Zope] RE: More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Steve says: > Found it: > > line 312: Form.py should be: > > __roles__ = ('Manager',) Thanks Steve! Steve's motto is, "We don't need no stinkin' Docs!". BTW, we disagree about this . . . From juliodinis@hotmail.com Fri Oct 27 21:03:31 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Fri, 27 Oct 2000 20:03:31 WEST Subject: [Zope] Gadfly auto-increment datatype option? Message-ID: Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From steve@spvi.com Fri Oct 27 20:07:42 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 14:07:42 -0500 (EST) Subject: [Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator) In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Message-ID: <200010271907.OAA11619@mercury.spvi.com> Hmm... >>>>> "JS" == Spicklemire, Jerry writes: [... skip ...] JS> Steve's motto is, "We don't need no stinkin' Docs!". Interesting point..... JS> BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source code than bad/incorrect docs. I'd naturally rather have source code + good docs, but I'd sooner get something *done* today than wait for good docs tomorrow. ;-) Also.. I'd rather have source code and no docs than something closed with (apparantly) great docs.... since you can always have great docs that don't match the real (implimentation)/world, and *that* can steal weeks from your (otherwise) precious time/life.""" ....back to your regularly scheduled questions (and answers!) -steve From andres@corrada.com Fri Oct 27 20:50:14 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 27 Oct 2000 15:50:14 -0400 Subject: [Zope] php and zope In-Reply-To: <39F94934.929E94F3@adntic.com>; from Laurent Tranchant on Fri, Oct 27, 2000 at 11:21:56AM +0200 References: <39F94934.929E94F3@adntic.com> Message-ID: <20001027155013.B23080@corrada.com> Take a look at my HOWTO: http://www.zope.org/Members/Mamey/PHP I'll be updating it soon with improvements that allow authorization and cookies. On Fri, Oct 27, 2000 at 11:21:56AM +0200, Laurent Tranchant wrote: > hello everybody, > I am new on this list, and I on zope. > I have installed zope with apache on linux Suze 6.4, and I want to use > it with PostGreSQL. My first question is very simple : can I use php > code in DTML documents ??? I don't think so, but if someone can help > me... > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From leedm@state.mi.us Fri Oct 27 20:59:14 2000 From: leedm@state.mi.us (Darin Lee) Date: Fri, 27 Oct 2000 15:59:14 -0400 Subject: [Zope] Webdav Questions Message-ID: Zopistas, I am working under Windows NT 4 and connecting to my Zope Server via the webfolders icon in "My Computer." I enter the IP address and port of my server, select finish, and a list of folders on the Zope server appears. However, I find that I am unable to edit, or even copy, any of the Zope objects. I keep getting an error message "An error occured while trying to copy some or all of the selected files". Here are my questions? 1. How is authentication being handled by my Zope server? Am I automatically authenticated to the server as the user I am logged on as on the local NT workstation? It never prompts me to identify myself via username and password. 2. Can the world at large view my Zope site via WebDAV? It seems that I can connect to the server from multiple machines, even logged on as users who are not in the Zope acl_users folder...Is this the default behavior? I have looked through the How-to's and performed searches on "Zope and WebDAV" in Google but haven't turned up much useful information. Can anyone offer any tips, or point me in the right direction on this? Thanks in advance, Darin Lee From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> Message-ID: <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Hi, > Henny van der Linde wrote: > > > In this construction the call to do_login always raises the exception > > Unauthorized instead of presenting the standard login screen. > > > > How do I trap login errors in an elegant way? > > You can't, with the standard Zope acl_users. > > IIUC, LoginManager allows you to do exactly what you're talking about. > > cheers, > > Chris Thanks. I already thought about using Loginmanager but we still use Zope 2.1.6. I'm very commited, to and happy with Zope but I was amazed that you can't trap Unauthorized exception like that. I'ts seems such a basic functionality. cheers, Henny From rossl@med.usyd.edu.au Sat Oct 28 02:48:38 2000 From: rossl@med.usyd.edu.au (Ross Lazarus) Date: Fri, 27 Oct 2000 21:48:38 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! Message-ID: <39FA3076.4010A389@med.usyd.edu.au> Now here's something readers of this list might be interested in ... -------- Original Message -------- Subject: PythonLabs Team Moves to Digital Creations Date: Fri, 27 Oct 2000 20:42:42 -0500 From: Guido van Rossum To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org Newsgroups: comp.lang.python To all Python users and developers: Less than half a year ago, I moved with my team to BeOpen.com, in the hope of finding a new permanent home for Python development. At BeOpen, we've done several good things for Python, such as moving the Python and Jython development process to SourceForge, and the successful release of Python 2.0. Unfortunately, BeOpen.com's original plans for PythonLabs didn't work out as hoped, and we weren't able to reach mutual agreement on workable alternative plans -- despite trying for months. I am proud to have found a new home for my entire team: starting today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself are working for Digital Creations. We will be spending part of our time on core Python development (including Jython and Mailman) and part of our time on Python infrastructure improvements that also benefit Zope. Python will remain Open Source; Digital Creations has no desire to monetize or brand the Python language or specific Python distributions. All future work we do on Python as Digital Creations employees will be owned by a non-profit organization yet to be created. We think of this new organization as the Python Software Foundation. In the meantime (while the PSF is under construction) I will own such copyrights personally. We're excited to be working for Digital Creations: they are one of the oldest companies active in the Python community, one of the companies most committed to Python, and they have a great product! Plus, we know they have deep financial backing. We trust that Digital Creations will provide a stable home for Python for many years. Digital Creations has also offered to take over hosting of the python.org and starship sites. On behalf of the Python community, we're grateful for this support of the two prime community sites for Python, and we expect to be implementing the transitions shortly. These are exciting times for the PythonLabs team -- and also for Python and its community. Mainstream successes for Python are showing up everywhere, and we're proud to be a part of such a smart and friendly community. A great year lies ahead! --Guido van Rossum (home page: http://www.python.org/~guido/) From zen@shangri-la.dropbear.id.au Sat Oct 28 05:42:32 2000 From: zen@shangri-la.dropbear.id.au (Zen) Date: Sat, 28 Oct 2000 14:42:32 +1000 (AUS Eastern Standard Time) Subject: [Zope] GUF error: Unauthorized... In-Reply-To: <39F0F525.C8A49178@rotnet.com.br> Message-ID: On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: > raised an exception (('Unauthorized', 'crypt', The userAuthenticate, userDomains, userList, adn userRoles DTML Methods > are configurated to proxy the Manager role. -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University From scott@launchpoint.net Sat Oct 28 08:51:43 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 00:51:43 -0700 Subject: [Zope] more __len__ errors Message-ID: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: From paul@digicool.com Sat Oct 28 13:08:19 2000 From: paul@digicool.com (Paul Everitt) Date: Sat, 28 Oct 2000 08:08:19 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> Message-ID: <39FAC1B3.A77B863A@digicool.com> Yes, it's been hard keeping that particular secret. :^) We'll have more to say on this -- like an official press release -- over the coming week. --Paul Ross Lazarus wrote: > > Now here's something readers of this list might be interested in ... > > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org > Newsgroups: comp.lang.python > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > _______________________________________________ > 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 ) From chrism@digicool.com Sat Oct 28 13:34:46 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:34:46 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FAC7E6.2919B411@digicool.com> Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: > > I am having a intermittent problem with ZCatalog(I think). I have a couple > of products that are catalog-aware and have been working. Then, out of > nowhere if I call I get a __len__ > error, when a few minutes before it worked. I looked at the undo list to see > if I have done anything to cause it but could not find anything. I delete > the cataloged objects as well as the objects themselves and re-create them. > Same problem. Here is the TB: > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From chrism@digicool.com Sat Oct 28 13:37:28 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:37:28 -0400 Subject: [Zope] Zope and Python 2.0 References: Message-ID: <39FAC888.81F9FE4E@digicool.com> I think we're reaching a point where we'll soon be able to release a Python 2.0-compatible Zope source distribution, but you're right in that none of the current ones work properly with Python 2.0. Xavier Defrang wrote: > > Hi folks, > > I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. > > Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with > Python 2.0... I've got a system-wide installation of Python 2.0 and the > ./start scripts fails. I made a local installtion of Python 1.5.2 just to > run Zope. I changed the path the Python interpreter in the start shell > script but it looks like Medusa's asyncore.py can't find tjhe FCNTL > module... > > What the hell is going wrong? > > I also had to comment out a nasty #include "mymath.h" in > 'lib/Components/cPickle/cPickle.c' to get it built properly... > > - Xavier > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From Hugo Ramos" <39FAC1B3.A77B863A@digicool.com> Message-ID: <000d01c040e9$e0e89370$0800a8c0@toydolls> ----- Original Message ----- From: "Paul Everitt" To: "Ross Lazarus" Cc: Sent: Saturday, October 28, 2000 1:08 PM Subject: Re: [Zope] OT: PythonLabs Team Moves to Digital Creations! > > Yes, it's been hard keeping that particular secret. :^) > > We'll have more to say on this -- like an official press release -- over > the coming week. So this was the reason for the busy November at DC... ===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! From robin@jessikat.fsnet.co.uk Sat Oct 28 15:51:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Sat, 28 Oct 2000 15:51:09 +0100 Subject: [Zope] two things at once? Message-ID: I want my form button X to cause some data to be uploaded to the user. So I make the action call a method that sets up the right response content type etc and the upload goes well. 1) Can I verify that the action happened? 2) how can I force the page containing the original form to be refreshed so that I can change button etc. -- Robin Becker From simon@joyful.com Sat Oct 28 16:25:38 2000 From: simon@joyful.com (Simon Michael) Date: 28 Oct 2000 08:25:38 -0700 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! In-Reply-To: Paul Everitt's message of "Sat, 28 Oct 2000 08:08:19 -0400" References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <873dhhq971.fsf@joyful.com> Fantastic news. Congrats! From twcook@iswt.com Sat Oct 28 17:11:04 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 28 Oct 2000 11:11:04 -0500 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <39FAFA97.713A46C6@iswt.com> > > Now here's something readers of this list might be interested in ... It just doesn't get any better than this. Well, maybe if Jim Fulton was working FreePM. But that's definitely off topic. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From jhouchin@texoma.net Sat Oct 28 17:53:11 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Sat, 28 Oct 2000 11:53:11 -0500 Subject: [Zope] Website develoment with CVS Zope? Message-ID: <39FB0477.C9D75ABE@texoma.net> I am about to begin development and would like to use the CVS version of Zope. I have already setup my /usr/local/Zope/Zope2 directory and gotten Zope via CVS. When I have it install Zope and begin development are what issues or problems will I have when I do an update? I know because I will be developing and changing files in these directories but not via CVS that CVS will probably complain about the changes. Is this a problem? I will also be wanting to use the CVS of other Zope items like the PTK. Does this impact this in any way? How do those of you who develop using the CVS version do it? Any advice or best practices? Thanks for any help. Jimmie Houchin From andym@ActiveState.com Sat Oct 28 18:10:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Sat, 28 Oct 2000 10:10:20 -0700 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations Message-ID: <005301c04101$f3ab33b0$ae03a8c0@fork> This is great news for Zope... (well I think it is anyway) > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing > list),python-announce-list@python.org, python-dev@python.org > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > -- > http://www.python.org/mailman/listinfo/python-list From scott@launchpoint.net Sat Oct 28 19:21:32 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 11:21:32 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FAC7E6.2919B411@digicool.com> Message-ID: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. > From: Chris McDonough > Date: Sat, 28 Oct 2000 08:34:46 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Scott, we're struggling with some catalog issues right now... I didn't > see the traceback attached, but I assume it's a "len of unsized object" > error. We'd be very interested in obtaining a setup where this problem > was repeatable. > > Scott Burton wrote: >> >> I am having a intermittent problem with ZCatalog(I think). I have a couple >> of products that are catalog-aware and have been working. Then, out of >> nowhere if I call I get a __len__ >> error, when a few minutes before it worked. I looked at the undo list to see >> if I have done anything to cause it but could not find anything. I delete >> the cataloged objects as well as the objects themselves and re-create them. >> Same problem. Here is the TB: >> >> _______________________________________________ >> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > > _______________________________________________ > 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 ) > > From chrism@digicool.com Sat Oct 28 19:34:53 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 14:34:53 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB1C4D.14E1CE12@digicool.com> Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: > > Sorry about that, I forgot to send the trace back along with the message. As > my luck would have it, I go to the section that was giving me an error, now > it has disappeared? It s now working again with no errors. I know it isn't > just me, one of my clients is reporting the same error on their side from my > server. > Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > helps. > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 08:34:46 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Scott, we're struggling with some catalog issues right now... I didn't > > see the traceback attached, but I assume it's a "len of unsized object" > > error. We'd be very interested in obtaining a setup where this problem > > was repeatable. > > > > Scott Burton wrote: > >> > >> I am having a intermittent problem with ZCatalog(I think). I have a couple > >> of products that are catalog-aware and have been working. Then, out of > >> nowhere if I call I get a __len__ > >> error, when a few minutes before it worked. I looked at the undo list to see > >> if I have done anything to cause it but could not find anything. I delete > >> the cataloged objects as well as the objects themselves and re-create them. > >> Same problem. Here is the TB: > >> > >> _______________________________________________ > >> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From scott@launchpoint.net Sat Oct 28 20:02:08 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:02:08 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: One of the reasons I haven't moved to 2.2 yet is because of the extensive use of ZDiscussions on my server. I have successfully moved all other products over into a separate install, waiting to be turned on. All but ZDiscussions. I have been trying to create a ZClass-based replica of it similar methods etc. . I also run another Zope server with 2.2 on it and have had over 1,500 Catalog-aware objects in the catalog with no problems. So I figured it was 2.1.6.... Scott > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From scott@launchpoint.net Sat Oct 28 20:06:40 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:06:40 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2. Is there a way to use the same objects created by ZDiscussions in my ZClass version of ZD as long as the meta_types are the same? That way the change-over could be transparent.(hopefully) > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From chrism@digicool.com Sat Oct 28 23:05:05 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 18:05:05 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB4D91.5FBE7653@digicool.com> It's likely that moving to 2.2 may be a less-than-transparent prospect, mostly due to the security changes. But unfortunately, if this catalog thing is a showstopper for you, you'll probably need to bite the bullet and upgrade at some point. In any case, even without an upgrade, if you are willing and able to send us your file storage, your installed Products directory, and any external methods you've got lying around, with a proven way of recreating a catalog-related error symptom, we'd be probably able to make use of it on our quest to fix boundary conditions on the catalog. Scott Burton wrote: > > I will see what I can do about the before and after snapshots. Then again, I > should probably just make the move to 2.2. Is there a way to use the same > objects created by ZDiscussions in my ZClass version of ZD as long as the > meta_types are the same? That way the change-over could be > transparent.(hopefully) > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 14:34:53 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > > matter, but at least some of them have been fixed (not to mention that > > later versions of Zope log errors in cataloging and uncataloging > > objects). The Zope 2.1.X branch is not really being maintained. You > > should probably try to move to the latest release. > > > > That said, it would be most helpful to have a full copy of the Zope > > installation which exhibits the problem. Even better (but probably less > > possible) is to have a full copy of the Zope installation *right before* > > the problem starts occurring and one *right after* the problem starts > > occurring so we can look at the catalog data structures to see what > > might be happening. Platform is not thought to be an issue. This would > > be helpful even if it was a Zope 2.1.6 install. > > > > Scott Burton wrote: > >> > >> Sorry about that, I forgot to send the trace back along with the message. As > >> my luck would have it, I go to the section that was giving me an error, now > >> it has disappeared? It s now working again with no errors. I know it isn't > >> just me, one of my clients is reporting the same error on their side from my > >> server. > >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > >> helps. > >> > >>> From: Chris McDonough > >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 > >>> To: Scott Burton > >>> Cc: Zope List > >>> Subject: Re: [Zope] more __len__ errors > >>> > >>> Scott, we're struggling with some catalog issues right now... I didn't > >>> see the traceback attached, but I assume it's a "len of unsized object" > >>> error. We'd be very interested in obtaining a setup where this problem > >>> was repeatable. > >>> > >>> Scott Burton wrote: > >>>> > >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple > >>>> of products that are catalog-aware and have been working. Then, out of > >>>> nowhere if I call I get a __len__ > >>>> error, when a few minutes before it worked. I looked at the undo list to > >>>> see > >>>> if I have done anything to cause it but could not find anything. I delete > >>>> the cataloged objects as well as the objects themselves and re-create them. > >>>> Same problem. Here is the TB: > >>>> > >>>> _______________________________________________ > >>>> 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 ) > >>> > >>> -- > >>> Chris McDonough > >>> Digital Creations, Publishers of Zope > >>> http://www.zope.org > >>> > >>> _______________________________________________ > >>> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From jleach@mail.ocis.net Sun Oct 29 00:49:44 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:49:44 -0700 (PDT) Subject: [Zope] Securing ftp. Message-ID: hi, I'd like to set up a ftp site so a specific client gets sent to a specific folder when they log in, and they can not back out of that folder. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From jleach@mail.ocis.net Sun Oct 29 00:50:19 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:50:19 -0700 (PDT) Subject: [Zope] Calander. In-Reply-To: <39F92370.41D9FF13@iswt.com> Message-ID: hi, Thanks. I'll look into it. j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Fri, 27 Oct 2000, Tim Cook wrote: > "Jason C. Leach" wrote: > > > > hi, > > > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > > page. Anyone seen a product like this hanging around. > > > > There is a ZCalendar tag. But the EventFolder is much more full > featured. > > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management | http://FreePM.org > Censorship: The reaction of the ignorant to freedom. > > From jleach@mail.ocis.net Sun Oct 29 00:55:25 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:55:25 -0700 (PDT) Subject: [Zope] load_sipe.py URL. Message-ID: hi, What does the load_site.py expect as a URL? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From Henny van der Linde" Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From kedai@kedai.com.my Sun Oct 29 03:50:48 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 29 Oct 2000 11:50:48 +0800 Subject: [Zope] more __len__ errors Message-ID: <003701c0415b$6d0be7a0$e62fbcca@kedai> -----Original Message----- From: Scott Burton To: Zope List Date: Sunday, October 29, 2000 3:28 AM Subject: Re: [Zope] more __len__ errors >I will see what I can do about the before and after snapshots. Then again, I >should probably just make the move to 2.2. Is there a way to use the same >objects created by ZDiscussions in my ZClass version of ZD as long as the >meta_types are the same? That way the change-over could be >transparent.(hopefully) i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2 by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py maybe you could give it a shot. this was mentioned a while back in the list. hth From verzani@postbox.csi.cuny.edu Sun Oct 29 04:46:56 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 28 Oct 2000 23:46:56 -0500 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames Message-ID: Hi, I'd like to use zope to serve static webpages created with MS Frontpage (and others of course). I was hoping that they could be ftpped into the ZODB and served up straight. However, a number of folders have underscores for leaading folder names and I've discovered this is a Zope no no. Is there some way short of renaming the offending folders to do this. (also I'm not keen on LocalFS solutions either.) Thanks for any help. -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From morten@esol.no Sun Oct 29 06:45:14 2000 From: morten@esol.no (Morten W. Petersen) Date: Sun, 29 Oct 2000 07:45:14 +0100 (CET) Subject: [Zope] problem installing login manager In-Reply-To: <000701c04159$c34be680$eca879c3@mshome.net> Message-ID: On Sun, 29 Oct 2000, Henny van der Linde wrote: [...] > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? You probably need to compile the DynPersist.c file into a shared library; it's located within the ZPatterns product, and this command line (or something similar) will probably compile it for you: """ gcc -O2 -o DynPersist.so -c DynPersist.c -I../../ZODB \ -I../../../Components/ExtensionClass -I/usr/include/python1.5 """ HTH. Regards, Morten From jason_zope@yahoo.com Sun Oct 29 06:51:29 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sat, 28 Oct 2000 23:51:29 -0700 (PDT) Subject: [Zope] problem installing login manager Message-ID: <20001029065129.19470.qmail@web4604.mail.yahoo.com> You need to compile the DynPersist.c file for ZPatters to work. put a "Makefile.pre.in" file in the ZPatterns directory. (there is one in the lib/python dir, but any should work) then do a "make -f Makefile.pre.in boot" and then a "make" in the ZPatterns directory. Then it should be OK. - Note: I also had to add an empty "help" directory in the PlugIns directory to keep it from complaining about registering with the help system. hope this helps Jason --- Henny van der Linde wrote: > Hi, > > I just installed Zope 2.2.2 and tried to install the > latest version of Login > Manager. > > It failed: > > LoginManager Import Traceback > Traceback (innermost last): > File "C:\Program > Files\WebSite22\lib\python\OFS\Application.py", line > 397, > in import_products > product=__import__(pname, global_dict, > global_dict, silly) > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\__init__.py", > line 1, in ? > import LoginManager, LoginMethods, UserSources > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", > line 8, > in ? > from Products.ZPatterns.Specialists import > Specialist > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", > line 1, in ? > import Rack, Specialists, Customizers, > AttributeProviders, > SheetProviders > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", > line 9, in ? > from DataSkins import DataSkin > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", > line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? > > Thanks > > > Henny van der Linde > > > _______________________________________________ > 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 ) > __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jason_zope@yahoo.com Sun Oct 29 07:13:49 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sun, 29 Oct 2000 00:13:49 -0700 (PDT) Subject: [Zope] LoginManager and standard_html_header Message-ID: <20001029071349.29678.qmail@web4601.mail.yahoo.com> LoginManager seems to append the standard_html_header to the logoutForm when authorization fails. This would normally be ok but the problem is that it uses the standard_html_header from the directory where the authorization fails and not from where the logoutForm is. Is there a way to fix this? I'm ending up with either the wrong header or multiple headers. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From sander@atp.nl Sun Oct 29 08:36:05 2000 From: sander@atp.nl (Alexander Verhaar) Date: Sun, 29 Oct 2000 09:36:05 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 Message-ID: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title Alexander Verhaar Website : http://www.atp.nl From faassen@vet.uu.nl Sun Oct 29 13:44:16 2000 From: faassen@vet.uu.nl (Martijn Faassen) Date: Sun, 29 Oct 2000 14:44:16 +0100 Subject: [Zope] Re: More ZFormulator In-Reply-To: <200010271852.NAA11508@mercury.spvi.com> References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> <200010271852.NAA11508@mercury.spvi.com> Message-ID: <20001029144416.A19622@vet.uu.nl> Hi folks, I hadn't seen the traffic on ZFormulator on this list before, and this looks like a good bugfix; I knew there was a security related problem in ZFormulator for a long time, and this may actually be the fix. I hadn't been able to look at it for months, though I keep intending to get back to it soon (but I may actually really be able to get to it soon :).a Steve Spicklemire wrote: > > Found it: > > line 312: Form.py should be: > > > __roles__ = ('Manager',) > From seb@jamkit.com Sun Oct 29 15:21:23 2000 From: seb@jamkit.com (Seb Bacon) Date: Sun, 29 Oct 2000 15:21:23 -0000 Subject: [Zope] product permissions problem In-Reply-To: <020001c03f7e$caa1bb80$fe5da182@michieltje> Message-ID: hello all once again, I've got a DTML method in a product, which calls objectValues('Folder') to list some folders that are contained within the product itself. When I try it out inside the product, it works. When I use it as part of the constructor form, called from an other location, I get an unauthorized error. objectValues('Image') doesn't throw the error, so I think this must be to do with the 'Access contents information' permission mapping on the folder inside the product. (?!) I've tried giving the method a Manager proxy role to no avail. Any hints received with gratitude. seb. From gregor@hoffleit.de Sat Oct 28 21:13:50 2000 From: gregor@hoffleit.de (Gregor Hoffleit) Date: Sat, 28 Oct 2000 22:13:50 +0200 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com>; from eileen@orbell.com on Mon, Oct 23, 2000 at 09:29:09PM -0400 References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <20001028221350.A27222@53b.hoffleit.de> On Mon, Oct 23, 2000 at 09:29:09PM -0400, Eileen Orbell wrote: > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost :-) Just have a look at /usr/share/doc/zope/README.Debian. A topic therein is "How to set up Zope for an existing web server (e.g. Apache)". Try if it works for you that way, and come back to me if you fail. Then it's my fault, since I wrote this file ;-) Gregor From diego@magicwebdesign.com.br Sun Oct 29 19:20:09 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Sun, 29 Oct 2000 17:20:09 -0200 Subject: [Zope] dtml-while Message-ID: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml? Thanks in advance... -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From chrism@digicool.com Sun Oct 29 19:44:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 29 Oct 2000 14:44:17 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <000201c041e1$25303fe0$4fc48ad0@kurtz> This is way too cool. :-) Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs folks were unfortunately not in attendance. Since it was a Friday, and since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido Jam": we all got a chance to poke at him with questions and such and vice versa. (Probably the thing I got a kick out of most in that session was Jim just sitting there grinning like a maniac - he's pretty pumped about having the PythonLabs team here now.) We talked about class/type distinctions and the possibility of removing them within Python, why acquisition is useful and some of its shortcomings, stackless Python, and other less esoteric things. Hopefully the newer members of DC (like me) will soon get a chance to meet the rest of the PythonLabs team face-to-face. - C ----- Original Message ----- From: "Andy McKay" To: Cc: Sent: Saturday, October 28, 2000 12:10 PM Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is great news for Zope... > > (well I think it is anyway) > > > -------- Original Message -------- > > Subject: PythonLabs Team Moves to Digital Creations > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > From: Guido van Rossum > > To: python-list@python.org (Python mailing > > list),python-announce-list@python.org, python-dev@python.org > > > > To all Python users and developers: > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > hope of finding a new permanent home for Python development. At > > BeOpen, we've done several good things for Python, such as moving the > > Python and Jython development process to SourceForge, and the > > successful release of Python 2.0. > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > out as hoped, and we weren't able to reach mutual agreement on > > workable alternative plans -- despite trying for months. > > > > I am proud to have found a new home for my entire team: starting > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > are working for Digital Creations. We will be spending part of our > > time on core Python development (including Jython and Mailman) and > > part of our time on Python infrastructure improvements that also > > benefit Zope. > > > > Python will remain Open Source; Digital Creations has no desire to > > monetize or brand the Python language or specific Python > > distributions. All future work we do on Python as Digital Creations > > employees will be owned by a non-profit organization yet to be > > created. We think of this new organization as the Python Software > > Foundation. In the meantime (while the PSF is under construction) I > > will own such copyrights personally. > > > > We're excited to be working for Digital Creations: they are one of the > > oldest companies active in the Python community, one of the companies > > most committed to Python, and they have a great product! Plus, we > > know they have deep financial backing. We trust that Digital > > Creations will provide a stable home for Python for many years. > > > > Digital Creations has also offered to take over hosting of the > > python.org and starship sites. On behalf of the Python community, > > we're grateful for this support of the two prime community sites for > > Python, and we expect to be implementing the transitions shortly. > > > > These are exciting times for the PythonLabs team -- and also for > > Python and its community. Mainstream successes for Python are showing > > up everywhere, and we're proud to be a part of such a smart and > > friendly community. A great year lies ahead! > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > -- > > http://www.python.org/mailman/listinfo/python-list > > > > _______________________________________________ > 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 ) > > From hohage@muenster.de Sun Oct 29 21:15:02 2000 From: hohage@muenster.de (hohage) Date: Sun, 29 Oct 2000 21:15:02 +0000 Subject: [Zope] dtml-while Message-ID: <39FBC567@muepubb> Hallo Diego, this works(tested): Bye Sven >===== Original Message From Diego Rodrigo Neufert ===== >Why there isnt a dtml-while function in Zope? >How to implement it with dtml? >how to do a simple while x != y in dtml? > >Thanks in advance... > >-- >--------------------------- >Diego Rodrigo Neufert >-webmaster >--------------------------- >(Magic Web Design) >(email) (diego@magicwebdesign.com.br) >(curitiba) (pr) > >_______________________________________________ >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 ) From michel@digicool.com Sun Oct 29 20:37:46 2000 From: michel@digicool.com (Michel Pelletier) Date: Sun, 29 Oct 2000 12:37:46 -0800 Subject: [Zope] dtml-while References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <39FC8A9A.D2039244@digicool.com> Diego Rodrigo Neufert wrote: > > Why there isnt a dtml-while function in Zope? DTML is not meant to be used for general purpose, logic programming. It's a presentation and layout language. Additionally, a while construct would allow you to create indeterminate loops: ... and you're not allowed to loop indefinately in DTML. It's against the rules. does all the looping you need over a python sequence, since DTML doesn't let you build infinite sequences, all loops terminate. The solution to your problem is to you Python Methods. http://dev.zope.org/Members/4am/PythonMethod Python does have a while construct and is indented for programming logic. -Michel From steve@spvi.com Sun Oct 29 20:51:02 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 15:51:02 -0500 (EST) Subject: [Zope] dtml-while In-Reply-To: <0010291722010S.29903@belzebu.magicwebdesign.com.br> (message from Diego Rodrigo Neufert on Sun, 29 Oct 2000 17:20:09 -0200) References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <200010292051.PAA23035@mercury.spvi.com> Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like it's looping over a list of objects... one easy trick might be: Do something conditional.... Assuming you can specify an upper limit on the number of iterations required. -steve >>>>> "Diego" == Diego Rodrigo Neufert writes: Diego> Why there isnt a dtml-while function in Zope? How to Diego> implement it with dtml? how to do a simple while x != y in Diego> dtml? Diego> Thanks in advance... Diego> -- --------------------------- Diego Rodrigo Neufert Diego> -webmaster --------------------------- (Magic Web Design) Diego> (email) (diego@magicwebdesign.com.br) (curitiba) (pr) Diego> _______________________________________________ Zope Diego> maillist - Zope@zope.org Diego> http://lists.zope.org/mailman/listinfo/zope ** No cross Diego> posts or HTML encoding! ** (Related lists - Diego> http://lists.zope.org/mailman/listinfo/zope-announce Diego> http://lists.zope.org/mailman/listinfo/zope-dev ) From peter@grenna.net Sun Oct 29 21:56:01 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 29 Oct 2000 21:56:01 -0000 Subject: [Zope] None-debug mode on win2k Message-ID: <000901c041f3$0798d9d0$2a69fea9@peppe> Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. From jleach@mail.ocis.net Sun Oct 29 22:13:35 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 14:13:35 -0800 (PST) Subject: [Zope] Get file contents. Message-ID: hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From curtis@cardgate.net Sun Oct 29 22:50:16 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 30 Oct 2000 09:50:16 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: <0010261247490E.00650@localhost.localdomain> Message-ID: <00103009501610.00650@localhost.localdomain> On Thu, 26 Oct 2000, Toby Dickenson wrote: > >> Hi all > >> > >> Is anyone using or know the current state of Zope with python 2.0 ? > > > >I've been somewhat curious about this myself. > > The current release of Zope works well on python 2.0. If you are a > cautious type, you might not want to use it on a production server > yet. (I would certainly recommend you dont if you allow untrusted > users to write dtml) > Hmm.. well, that's good to know... which products have you tried it with so far? > >Will there need to be large changes now that strings are proper objects? > > (the string functions are now methods of strings). If so, will this mean > > the phasing out of _.string ? > > _.string is unlikely to go away. > > String methods are currently inaccessible TTW. The security > implications of opening this up have not yet been assessed. > > >And from the looks of things there are a large number of small changes > > that could be made to improve performance (such as the new 'augmented > > assignment' operators [ += *= /= and so on] ).... > > It seems likely that they will not be available in dtml (for the same > reasons as regular assignment). The case for PythonMethods has not yet > been investigated > I didn't mean to dtml, I meant to all the Python code underneath. I'm sure you've noticed there is a lot more to Zope than just DTML and Python methods. > > Toby Dickenson > tdickenson@geminidataloggers.com > Have a better one, Curtis Maloney. From steve@spvi.com Sun Oct 29 22:56:41 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 17:56:41 -0500 (EST) Subject: [Zope] Get file contents. In-Reply-To: (jleach@mail.ocis.net) References: Message-ID: <200010292256.RAA23696@mercury.spvi.com> Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this.... -steve ---------------------------------------------------------------------- # # ReadFile is an external method that reads data from a file uploaded from # the users computer and produces a TinyTable based on that data. # import string def ReadFile(self, infile, # input file..... outTableName='defaultTable', # name of output table outTableTitle='', # title of output table outTableColumns='', # columns for output table REQUEST=None, # Pass in REQUEST.... RESPONSE=None): # and response... if not hasattr(self, outTableName): self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) newTT = getattr(self, outTableName) newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) data = infile.read() data = string.replace(data,'\r','\n') data = string.replace(data,'\n\n','\n') lines = string.split(data,'\n') newLines = [] for i in range(len(lines)): line = string.strip(lines[i]) if line: sl = string.split(line,',') sl = map(lambda x:'"%s"' % x, sl) newLines.append(string.join(sl,',')) data = string.join(newLines, '\n') return newTT.manage_editData( data, REQUEST ) def main(): class foo: def manage_addTinyTable(self, *args, **kwargs): pass def manage_edit(self, *args, **kwargs): pass def manage_editData(self, data, REQUEST): print "In manage_editDdata" print data import StringIO f = StringIO.StringIO() f.write('a,b,c,d\n') f.write('d,e,f,g\n') f.seek(0) print f.read() f.seek(0) rf = foo() rf.defaultTable = foo() ReadFile(rf, f) if __name__=='__main__': main() >>>>> "Jason" == Jason C Leach writes: Jason> hi, Jason> I pass a zope file object (just plane text) to an external Jason> method. The file consists of a list of lines of text. I'd Jason> like to extract those lines from the file and put 'em in a Jason> list. Can anyone help with the extraction method? Jason> Thanks, j. Jason> ...................... ..... Jason C. Leach ... University Jason> College of the Cariboo. .. Jason> _______________________________________________ Zope Jason> maillist - Zope@zope.org Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross Jason> posts or HTML encoding! ** (Related lists - Jason> http://lists.zope.org/mailman/listinfo/zope-announce Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) From phil.harris@zope.co.uk Sat Oct 28 23:10:47 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:10:47 +0100 Subject: [Zope] None-debug mode on win2k References: <000901c041f3$0798d9d0$2a69fea9@peppe> Message-ID: <004901c0412c$099c2b50$0202a8c0@typhoon> Peter, When running Zope as a service you can add the parameter by using regedit, goto: hkey_local_machine\system\currentcontrolset\services\zope\parameters. The problem is though that the console window is hidden by default, but you have two options. 1. the easy way. run Zope by double-clicking on the start.bat file in your Zope folder. 2. the hard way. let the service interact with the desktop. You can do this by going to the services manager and double clicking on the the zope service, then on the log-on tab and changing the option 'allow service to interact with desktop'. I'm not sure how the second option works when no-one is logged though. hth Phil ----- Original Message ----- From: "Peter Bengtsson" To: Sent: Sunday, October 29, 2000 10:56 PM Subject: [Zope] None-debug mode on win2k | Zopistas, | | I have searched the mailinglist and look under the carpets and READMEs. | Maybe I'm just blind but how do I run Zope in none-debug mode ?? | In other words; how do I add the -D param? | | I run Zope2.2.2 on a win2k pro as a service. | | | | _______________________________________________ | 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 ) From Henny van der Linde" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I just installed Zope 2.2.2 and tried to install the latest version of = Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line = 397, in import_products product=3D__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, = in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line = 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program = Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in = ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

I just installed Zope 2.2.2 and tried to install the = latest=20 version of Login
Manager.

It failed:

LoginManager = Import=20 Traceback
Traceback (innermost last):
  File "C:\Program=20 Files\WebSite22\lib\python\OFS\Application.py", line 397,
in=20 import_products
    product=3D__import__(pname, = global_dict,=20 global_dict, silly)
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.= py",=20 line 1, in ?
    import LoginManager, LoginMethods,=20 UserSources
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginMana= ger.py",=20 line 8,
in ?
    from = Products.ZPatterns.Specialists import=20 Specialist
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py"= , line=20 1, in ?
    import Rack, Specialists, Customizers,=20 AttributeProviders,
SheetProviders
  File "C:\Program=20 Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in=20 ?
    from DataSkins import DataSkin
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py= ", line=20 1, in ?
    from DynPersist import = DynPersist
ImportError:=20 No module named DynPersist

What 's=20 happening?

Thanks


Henny van der = Linde
------=_NextPart_000_0013_01C04208.1E3C1700-- From phil.harris@zope.co.uk Sat Oct 28 23:58:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:58:03 +0100 Subject: [Zope] problem installing login manager References: <001601c041ff$bdc5d9e0$0aaa79c3@mshome.net> Message-ID: <006e01c04132$882c2aa0$0202a8c0@typhoon> Henny, You also need the ZPatterns product, which you then have to compile to get the dynpersist.pyd file. hth Phil ----- Original Message ----- From: Henny van der Linde To: Zope mailing list Sent: Monday, October 30, 2000 12:27 AM Subject: [Zope] problem installing login manager Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From vtwiddy@senet.com.au Mon Oct 30 00:13:16 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Mon, 30 Oct 2000 10:43:16 +1030 (CST) Subject: [Zope] PoPy Message-ID: Hi all Im trying to compile PoPy on a bsd 3.1 box it compiles fine but when i try to import it i get an error ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Has anybody had this before, know what libs i need to link against to get this to work or even if this is a kernel thing? Thanks Mark From Vincent - D. Ertner" Hi Zope, I wondered, whether it's possible and sensible to have php-Pages in Zope sites ... any thoughts and comments on this matter? Cheers, Vince ''' ô¿ô - From jleach@mail.ocis.net Mon Oct 30 01:56:31 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 17:56:31 -0800 (PST) Subject: [Zope] Get file contents. In-Reply-To: <200010292256.RAA23696@mercury.spvi.com> Message-ID: hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you method I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: manage_addTinyTable It would probably bail on the read also if it got that far. Perhaps I am caling it wrong, or not pasing the correct object. I jest pass in a Zope File opject, which hapens to be a few lines of text. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > Hi Jason, > > Here's an external method that I've used to populate a TinyTable > from a comma separated text file. You might at least get some ideas > about how to extract stuff from the file using this.... > > -steve > > ---------------------------------------------------------------------- > > # > # ReadFile is an external method that reads data from a file uploaded from > # the users computer and produces a TinyTable based on that data. > # > > import string > > def ReadFile(self, > infile, # input file..... > outTableName='defaultTable', # name of output table > outTableTitle='', # title of output table > outTableColumns='', # columns for output table > REQUEST=None, # Pass in REQUEST.... > RESPONSE=None): # and response... > > if not hasattr(self, outTableName): > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > newTT = getattr(self, outTableName) > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > data = infile.read() > data = string.replace(data,'\r','\n') > data = string.replace(data,'\n\n','\n') > lines = string.split(data,'\n') > newLines = [] > for i in range(len(lines)): > line = string.strip(lines[i]) > if line: > sl = string.split(line,',') > sl = map(lambda x:'"%s"' % x, sl) > newLines.append(string.join(sl,',')) > > data = string.join(newLines, '\n') > > return newTT.manage_editData( data, REQUEST ) > > > def main(): > class foo: > > def manage_addTinyTable(self, *args, **kwargs): > pass > > def manage_edit(self, *args, **kwargs): > pass > > def manage_editData(self, data, REQUEST): > print "In manage_editDdata" > print data > > import StringIO > > f = StringIO.StringIO() > f.write('a,b,c,d\n') > f.write('d,e,f,g\n') > f.seek(0) > > print f.read() > f.seek(0) > > rf = foo() > rf.defaultTable = foo() > > ReadFile(rf, f) > > if __name__=='__main__': > > main() > > >>>>> "Jason" == Jason C Leach writes: > > Jason> hi, > > Jason> I pass a zope file object (just plane text) to an external > Jason> method. The file consists of a list of lines of text. I'd > Jason> like to extract those lines from the file and put 'em in a > Jason> list. Can anyone help with the extraction method? > > Jason> Thanks, j. > > Jason> ...................... ..... Jason C. Leach ... University > Jason> College of the Cariboo. .. > > > Jason> _______________________________________________ Zope > Jason> maillist - Zope@zope.org > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jason> posts or HTML encoding! ** (Related lists - > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From Henny van der Linde" <006e01c04132$882c2aa0$0202a8c0@typhoon> Message-ID: <000901c04216$0eb60ee0$0100a8c0@mshome.net> Hi, ----- Original Message ----- From: "Phil Harris" To: "Henny van der Linde" ; "Zope mailing list" Sent: Saturday, October 28, 2000 11:58 PM Subject: Re: [Zope] problem installing login manager > Henny, > > You also need the ZPatterns product, which you then have to compile to get > the dynpersist.pyd file. > > hth > I know. It's included in the latest install of Login Manager (Zpatterns 0-4.3b1). The funny thing is that Zpatterns shows itself in the control panel/product management as installed product and Login Manager as an broken product. However when Zope boots up it also mentiones that it can't import the dynpersist.pyd file (belonging to Zpatterns). Interesting question is why Zpatterns isn't listed as a broken product as well. I tried to install the separate Zpatterns install but with the same results. Still a problem with dynpersist.pyd. Anyone? cheers, Henny van der Linde. From jleach@mail.ocis.net Mon Oct 30 04:35:24 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 20:35:24 -0800 (PST) Subject: [Zope] Displaying Folder Contents. Message-ID: hi, If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From askart@bellatlantic.net Mon Oct 30 04:40:27 2000 From: askart@bellatlantic.net (askart@bellatlantic.net) Date: Sun, 29 Oct 2000 23:40:27 -0500 Subject: [Zope] ssl w/ modrewrite Message-ID: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> I found the answear to this this a year ago, but can no longer find where I found it. I have a Zope site set up with modrewrite and apache so that Zope shows up as the root of the site: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*) /home/httpd/cgi-bin/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] (I know the format is wrong, this email client added carriage returns, but it works as typed in the server withour CRs.) I added modssl, but when I go in on an https I get the original apache root page, and can only access zope at https://address/cgi-bin/Zope . Furthermore, since the SSL connection is not going through modrewrite I cannot log in over SSL, I can just view the pages that anonymous has access to (none). How do I modify the above to make it work with ssl connections (it does not need to work with non-ssl connection since I will disable non-ssl as soon as I get ssl working. Sorry this is a little incoherant, I am suffering from jet-lag. -Harry From phd@mail2.phd.pp.ru Mon Oct 30 09:40:41 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Mon, 30 Oct 2000 09:40:41 +0000 (GMT) Subject: [Zope] load_site.py URL. In-Reply-To: Message-ID: On Sat, 28 Oct 2000, Jason C. Leach wrote: > What does the load_site.py expect as a URL? URL to a Zope folder, where you wnat to upload your files/directories. the folder should exists before you start load_site.py. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From grund@zblmath.FIZ-Karlsruhe.DE Mon Oct 30 09:41:21 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Mon, 30 Oct 2000 10:41:21 +0100 Subject: [Zope] Verify Watermark. Message-ID: <00103010455300.30611@donald> In Zope2.1.6 there was a function called 'verify watermark' in module Accesscontrol.User. This function seems to have gone in the 2.2.2 release. My question: Is there any direct replacement for this method ? Or at least a some kind of equivalent code ? thanks in advance, Hannes From maxmcorp@worldonline.dk Mon Oct 30 10:09:22 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 11:09:22 +0100 Subject: [Zope] Displaying Folder Contents. In-Reply-To: Message-ID: If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Maybe this will work??? Untested. Regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrisw@nipltd.com Mon Oct 30 10:50:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:50:23 +0000 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Message-ID: <39FD526F.DAF94274@nipltd.com> Henny van der Linde wrote: > Thanks. I already thought about using Loginmanager but we still use Zope > 2.1.6. Why? ;-) > I'm very commited, to and happy with Zope but I was amazed that you can't > trap Unauthorized exception like that. I'ts seems such a basic > functionality. Yeah, I totally agree :-S cheers, Chris From chrisw@nipltd.com Mon Oct 30 10:56:37 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:56:37 +0000 Subject: [Zope] Forbidding overrides? References: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Message-ID: <39FD53E5.F3DF872A@nipltd.com> Cees de Groot wrote: > > Something I remember from my early Zope days that could be solved, but I > can't seem to find an answer: say I have a simple site where people can > do simple things within their folder. However, I want my banners/logo > whatever on their pages, so I've setup index_html to put my own stuff > in and include their body_text. I'd to this using a SiteAccess Access Rule that always wraps their stuff in whatever you want. You'll probably need to use the traversal interface's RestrictedTraverse method too... > How can I prevent smartasses from creating index_html documents in their > folder? More generally, is it possible to disallow certain folder methods > or properties to be overriden from a point in the tree? Look at the __replaceable__ properties stuff on dev.zope.org. I guess you could roll your own folder with a list of attributes that could only be defined as singletons (__replaceable__ = UNIQUE). Just stabs in the dark... Chris PS: Banners as advertising don't work ;-) From chrisw@nipltd.com Mon Oct 30 11:40:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:40:04 +0000 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> Message-ID: <39FD5E14.8F72BB9E@nipltd.com> Jimmie Houchin wrote: > I know because I will be developing and changing files in these > directories but not via CVS that CVS will probably complain about the > changes. Is this a problem? Depends, if you're changing Zope source files, then you may get some merge conflicts, but there shouldn't be any real problems. If you edit/add file which aren't stored in cvs.zope.org, CVS will just ignore them, it's good like that ;-) > I will also be wanting to use the CVS of other Zope items like the PTK. > Does this impact this in any way? Just checkout the PTK/whatever to the appropriate bit of the Zope tree. IIRC, the PTK CVS structure isnt' conducive to doing this, though, which could be a pain :-( HTH, Chris From chrisw@nipltd.com Mon Oct 30 11:41:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:41:04 +0000 Subject: [Zope] Securing ftp. References: Message-ID: <39FD5E50.B10523BF@nipltd.com> "Jason C. Leach" wrote: > > I'd like to set up a ftp site so a specific client gets sent to a specific > folder when they log in, and they can not back out of that folder. That's not actually a question ;-) You might be able to do something usful with a SiteAccess Access Rule... cheers, Chris From chrisw@nipltd.com Mon Oct 30 11:48:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:48:06 +0000 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames References: Message-ID: <39FD5FF6.A8B62A7E@nipltd.com> John Verzani wrote: > Is there some way short of renaming the > offending folders to do this. (also I'm not keen on LocalFS solutions > either.) You will probably need to rename them. LocalFS sounds like your best bet, what have you got against it? ;-) That said, even with LocalFS, you'll probably find yourself needing to rename folders... cheers, Chris From steinar@orion.no Mon Oct 30 12:41:07 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Mon, 30 Oct 2000 13:41:07 +0100 Subject: [Zope] Multiple Inheritance and the Portal Base classes. Message-ID: <512D0F74D69DD311B23A0000E22298D224BD48@mail.orion.no> Can anybody see why I get the following error ? I try to subclass DemoPortalBase and PortalObjectBase into a class CMyPortalBase which I again subclass with a Zope ZClass. It all works fine until I add another class in the inheritance list of CMyPortalBase.When I try to call its __init__ method with the "self" argument if does not recognise this as the instance variable ? (I tries to print self, and it says that this is an instance of my ZClass). In other Python programs, calling Parent.__init__(self) works fine, but when running through Zope in this context Error Type: TypeError Error Value: unbound method must be called with class instance 1st argument class CMyPortalBase(TemplatePage.CTemplatePage,Portal.DemoPortalBase, PortalObject.PortalObjectBase): def __init__(self): TemplatePage.CTemplatePage.__init__(self) The CTemplatePage class is as follows : class CTemplatePage: standard_html_header = Globals.HTMLFile("StandardHeader", globals()) standard_html_footer = Globals.HTMLFile("StandardFooter", globals()) def __init__(self): print "In CTemplatePage" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From jonathan@home-all.org.uk Mon Oct 30 12:48:02 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 30 Oct 2000 12:48:02 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check Message-ID: <39FD6E02.7466D204@home-all.org.uk> Hi all, just a bit further down my vhosting journey ... got apache ProxyPassing and siteaccess installed but something is missing. I type in my vhosted domain www.red.com which (correctly) goes straight to /red and shows the index_html contents *except* images which show broken. The source shows that they (correctly) are trying to load from www.red.com/imagename which is right. This image is in /red along with the index_html. Also the one link to a dtml document in the /red directory is also broken. If I suppress siteaccess then everthing works from the initial www.red.com but only because the links and images are loading from the 'master site url'. you can click but then the url obviously gives the game away. so proxypass works. What I dont get is why I can see the body text in index_html, which lays out the page but not the image embedded in the page? my various settings ... NameVirtualHost 111.222.333.444 ServerName www.red.com ProxyPass / http://www.blue.com:8080/red ProxyPassReverse / http://www.blue.com:8080/red then in /red we have a siteroot with the following title: base: http://www.red.com path: / www.blue.com and www.red.com both point to 111.222.333.444 and the box also has the www.blue.com as its host name which zope recognises on start iup. a bit stuck. Jonathan From luca@lineanet.net Mon Oct 30 14:13:41 2000 From: luca@lineanet.net (Luca Mearelli) Date: Mon, 30 Oct 2000 15:13:41 +0100 Subject: [Zope] Login Manager problem Message-ID: <39FD8215.CC46A670@lineanet.net> This is a multi-part message in MIME format. --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I posted this some days ago on zope-ptk and zope-dev mailing list, but got no response, so I thought I've sent it to the wrong mailing list, here is waht happens, and a possible solution :-) I had a strange problem when trying out LoginManager v0.8.8b1 with the latest cvs Checkout (as of Oct.23), here is the traceback trying to add a LoginManager (The form didn't show up): Error Type: NameError Error Value: path ... Traceback (innermost last): File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/tmp/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/tmp/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: addLoginManager) (Info: /usr/local/tmp/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: UserSourcesMetaTypes(this())) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: UserSourcesMetaTypes(this())) (Info: UserSourcesMetaTypes) File /usr/local/tmp/Zope2/lib/python/ZPublisher/HTTPRequest.py, line 772, in __getitem__ NameError: (see above) after looking at the LM code I found that the manage_addLoginManagerForm is defined in LoginManager.py: ... manage_addLoginManagerForm = HTMLFile('addLoginManager', globals(), UserSourcesMetaTypes = PlugInFinder(LoginManager.UserSourcesGroup), LoginMethodsMetaTypes = PlugInFinder(LoginManager.LoginMethodsGroup)) ... At first I thought it could have been a LM problem, removing UserSourcesMetaTypes(this()) let the form appear, but when I focused on the UserSourcesMetaTypes work, and how the user sources PlugIns get installed I found nothing (It was actually my first test with LM & ZPatterns), moreover there was no mention of such problems by anyone else on the Mailing Lists. Then I tried to it on a Zope 2.2.0 (released) and it worked fine adding the LM. So it should have been something with my Zope CVS checkout, when looked at the HTTPRequest.py file at the line shown in the Traceback, i found a possible error with "__getitem__" When it tries to return the value of UserSourcesMetaTypes, it enters the "if key[:1]=='U':" at line 760 since UserSourcesMetaTypes starts with 'U', but match is empty, therefore path is not initialized and at the line 772 we have the NameError. Putting the lines 772-774 inside the "if match is not None:" fixed the problem (I included a diff for this), is it the right way to go, is it enough? I think so but I have a small knowledge of Zope internals so I'm not completely sure i.e. if we want to match only the env.variables starting with "URL" why not even change the "if key[:1]=='U':" into "if key[:3]=='URL':"? Thanks Luca Mearelli --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii; name="HTTPRequest.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="HTTPRequest.patch" *** HTTPRequest.py Mon Oct 23 15:32:09 2000 --- HTTPRequest.py.OLD Mon Oct 23 14:55:51 2000 *************** *** 769,777 **** path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --- 769,777 ---- path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --------------202347DD27BC2204E10B5913-- From stefan@epy.co.at Mon Oct 30 13:18:56 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 30 Oct 2000 14:18:56 +0100 (CET) Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 In-Reply-To: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> Message-ID: On Sun, 29 Oct 2000, Alexander Verhaar wrote: > I'm trying to change the standard realm with SiteAccess and a > External Method. I still get the standard 'Zope' realm, while > SiteAccess is pointing to the External Method. What am i doing > wrong? > > Here below the external method i used: > > import ZPublisher.HTTPResponse > > def NewRealm(self): > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet # or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan From zarir@cygnetsoft.com Mon Oct 30 13:00:21 2000 From: zarir@cygnetsoft.com (zarir@cygnetsoft.com) Date: Mon, 30 Oct 2000 18:30:21 +0530 (IST) Subject: [Zope] Off-shore development Message-ID: <200010301300.SAA12610@giaspn01.vsnl.net.in> Hi Digital Creations, We are a software development company based in Pune - India whose experienced skill sets might be able to assist your on-going development efforts. Needless to say our high productivity and cost effectiveness are value additions that could prove invaluable to your operations. Please do contact us if you feel we might be able to assist in any way. Regards and have a wonderful day Zarir M. Karbhari (Managing Director - CygNET Systems Pvt. Ltd.) http://www.cygnetsoft.com Voice :- +91-20-6134980,+91-20-6125365 From roland.schaetzle@adviion.de Mon Oct 30 14:07:41 2000 From: roland.schaetzle@adviion.de (=?iso-8859-1?Q?Roland_Sch=E4tzle?=) Date: Mon, 30 Oct 2000 15:07:41 +0100 Subject: [Zope] Re: ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT Message-ID: > I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually with the > start.bat my ZSQL methods work fine. > When I start Zope as a service, every ZSQL method returns a SQL error that states that the table I > am looking for does not exist. > Anybody out there know what's going on? > Thanks I had the same problems. They disappeard when I changed the settings of the Zope-service and allowed it to "interact with the desktop" (a check-box in the NT service settings). Roland ------------------------------------------------------------------------ Dr. Roland Schätzle, Institut AIFB, Universität Karlsruhe (TH) Englerstr. 11, Raum -121, Tel. 0721/608-7467 From sander@atp.nl Mon Oct 30 14:22:41 2000 From: sander@atp.nl (Alexander Verhaar) Date: Mon, 30 Oct 2000 15:22:41 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 References: Message-ID: <01c901c0427c$dcf49bd0$0c01a8c0@sanderw2k> --- In zope@egroups.com, "Stefan H. Holek" wrote: > On Sun, 29 Oct 2000, Alexander Verhaar wrote: > > > I'm trying to change the standard realm with SiteAccess and a > > External Method. I still get the standard 'Zope' realm, while > > SiteAccess is pointing to the External Method. What am i doing > > wrong? > > > > Here below the external method i used: > > > > import ZPublisher.HTTPResponse > > > > def NewRealm(self): > > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title > > I was unable to make it work that way either. However this *did* work > for me: > > edit your start script to include > > Z_REALM=Intranet # or whatever it is you need > export Z_REALM > > somewhere before the exec > > HTH, > Stefan > > Hmmm, this is the way i'm using it now. But if you hosts multiple sites, they all get the same realm. Also after debugging our Zope site i discovered that ZPublisher.Publish sets the realm before the ZPublisher.HTTPResponse. From brian@digicool.com Mon Oct 30 14:33:20 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 30 Oct 2000 09:33:20 -0500 Subject: [Zope] Verify Watermark. In-Reply-To: <00103010455300.30611@donald> Message-ID: > In Zope2.1.6 there was a function called 'verify watermark' in module > Accesscontrol.User. > > This function seems to have gone in the 2.2.2 release. > My question: Is there any direct replacement for this method ? > Or at least a some kind of equivalent code ? verify_watermark was an interim step in dealing with some security things that have since been superceded by the new SecurityPolicy architecture (see: http://www.zope.org/Members/michel/Projects/Interfaces/SecurityPolicies You shouldn't need verify_watermark in post-2.1.6 code. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From jhouchin@texoma.net Mon Oct 30 14:37:15 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:15 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD879B.42A9CC50@texoma.net> Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) > > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( > > HTH, > > 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 ) From jhouchin@texoma.net Mon Oct 30 14:37:33 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:33 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD87AD.94410D5E@texoma.net> Thanks for the reply. Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) As far as I know the only files I'll be adding or editing will be my own Python files, Products, and the ZODBs. If it'll just ignore them or maybe complain and then ignore, I'll be fine. For an experiment once, I added a file and then did an update. It complained about a file not be added thru CVS or something as such. I just wanted to make sure when ZODB changes and such it wouldn't be a problem. > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( Are you saying checkout the PTK into the directory in which it should be installed in the Zope installation rather than into the ZopePTK directory that it defaults to? I was thinking from reading some of the PTK list that this isn't painless. Maybe this can be improved when it reaches release status. > HTH, Yes, and thanks. > > Chris Jimmie Houchihn From brocken22@gmx.de Mon Oct 30 14:49:37 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 30 Oct 2000 15:49:37 +0100 (MET) Subject: [Zope] Zope.org Message-ID: <22012.972917377@www28.gmx.net> Hallo, have I missed something or why are there no news on the website.The last item was from the 18th of October.Also the mailing-list is not really busy.Any reason? -- Sent through GMX FreeMail - http://www.gmx.net From ghaley@venaca.com Mon Oct 30 14:52:06 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 30 Oct 2000 09:52:06 -0500 Subject: [Zope] PHP-Pages References: <60469395515.20001030021949@eec.de> Message-ID: <39FD8B16.37B16457@venaca.com> hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From peter@grenna.net Mon Oct 30 15:26:11 2000 From: peter@grenna.net (peter bengtsson) Date: Mon, 30 Oct 2000 15:26:11 -0000 Subject: [Zope] PHP-Pages In-Reply-To: <39FD8B16.37B16457@venaca.com> Message-ID: I have also been able to do almost everything I do in PHP in Zope, just like yourself. One of the major problems with Zope is its lack of developers, this is not true for Perl or PHP. Not to bothered but "larger" companies might be. I haven't tested the available PHP How-Tos; is it possible to use it just like a Python- or Perl Method object?? Would be really useful if true. hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From chrism@digicool.com Mon Oct 30 15:56:12 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 10:56:12 -0500 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: Message-ID: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Hi, Don't know. :-) How won't Zope start? What does it do? Just return and not spit an error? Let's take this to the Zope mail list if you don't mind (I've cc'ed it). ----- Original Message ----- From: Rudd-O DragonFear To: DC Support List Cc: support@digicool.com Sent: Monday, October 30, 2000 10:21 AM Subject: [Support] ZSybaseDA 2.00b2 Hey, I've been having some kind of problems with this DA. Compiling and loading (importing) sy_occ in python works perfectly. But zope won't start and won't say anything in the console or in the logs. what could it be? thanks in advance, Manuel From webmaven@lvcm.com Mon Oct 30 15:50:16 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 07:50:16 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> Message-ID: <39FD98B8.17034247@lvcm.com> Jonathan Cheyne wrote: > > my various settings ... > > NameVirtualHost 111.222.333.444 > > > ServerName www.red.com > ProxyPass / http://www.blue.com:8080/red > ProxyPassReverse / http://www.blue.com:8080/red > > > then in /red we have a siteroot with the following > > title: > base: http://www.red.com > path: / Jonathan, Do you have an Access Rule set up in your root Zope Folder? Michael Bernstein. From bill@carbonecho.com Mon Oct 30 16:10:51 2000 From: bill@carbonecho.com (Bill Welch) Date: Mon, 30 Oct 2000 16:10:51 +0000 (GMT) Subject: [Zope] ssl w/ modrewrite In-Reply-To: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: Please say what Port, Listen, and VirtualHost directives you have in place. I think that's really where the trouble. On Sun, 29 Oct 2000 askart@impop.bellatlantic.net wrote: > but it works as typed in the server withour CRs.) I added modssl, but > when I go in on an https I get the original apache root page, and can > only access zope at https://address/cgi-bin/Zope . Furthermore, since From grizel@mouli.net Mon Oct 30 16:24:44 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Mon, 30 Oct 2000 17:24:44 +0100 Subject: [Zope] Publish.py / publish hack Message-ID: <39FDA0CC.11432C1D@mouli.net> Hi, I'm using Zope 2.2.2 and for some personal reasons I need to patch the publish function from Publish.py. I used the usual __init__.py straegy to patch ZPublisher : from MyModule import Mypublish import ZPublisher.Publish from ImageFile import ImageFile # Patch the original publish function ZPublisher.Publish.publish = Mypublish But the fact is, publish is called several times at several places in the source code, and especially from the publish_module function when an exception is raised... And, although my patch works most of the times, it doesn't work when an exception is raised. I may need to replace another 'publish' reference somewhere, but does anyone know WHERE exactly ?? Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From ajohnston@nc.rr.com Mon Oct 30 16:24:34 2000 From: ajohnston@nc.rr.com (Alan Johnston) Date: Mon, 30 Oct 2000 11:24:34 -0500 Subject: [Zope] How to display PDF files Message-ID: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> I installed Zope for purposes of evaluation last week. I've been through the tutorial so I have minimal knowledge. One (apparently simple) thing I cannot find a way to do is link to a PDF file. I believe that everything ZServer serves up must come from the Zope Object Database (right? wrong?). At any rate, how do you get ZServer to send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in can display it? I tried creating 'File' and 'Image' objects. That's obviously not it. Forgive me, for I fear this is a dumb question ... but I just can't find the answer. Thanks, Alan From ckucera@globalcrossing.com Mon Oct 30 16:33:14 2000 From: ckucera@globalcrossing.com (Christopher J. Kucera) Date: Mon, 30 Oct 2000 10:33:14 -0600 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDA2CA.3A4C1F9D@globalcrossing.com> Alan Johnston wrote: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. Actually, "File" should be okay . . . Just click on "Browse" and select the PDF from your hard drive, and it will upload the PDF into ZODB and spit it back out properly . . . -CJ From Jerry.Spicklemire@IFLYATA.COM Mon Oct 30 16:39:04 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 30 Oct 2000 11:39:04 -0500 Subject: [Zope] reload ? Message-ID: <977A39E65CFCD3119ABF00D0B741D84973392F@innt-73.ata.com> Luc wonders: > is it possible to reload only a without reloading an = > entire page ??????????? > if yes, how?? The short answer is no. That is, unless you are willing to set up some sort of Java RMI process, or other complex solution, and pray that your audience has downloaded and enable, or at least hasn't turned off the required services. On the other hand, there may be a simple way to meet your needs. You could borrow an idea from those annoying Web Sites that pop up "little windows" in addition to the main page that you thought you were linking to. By separating the item you want to be refreshed so that it displays in its own browser window, and setting a metatag in that page specifying a short refresh period, the contents of that window will be reloaded independent of the "main" window. Later, Jerry S. From andym@ActiveState.com Mon Oct 30 17:15:39 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:15:39 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <01e601c04295$06cb9720$ae03a8c0@fork> Now I have to know, whats a "Jam Session"? ----- Original Message ----- From: "Chris McDonough" To: "Andy McKay" Cc: Sent: Sunday, October 29, 2000 11:44 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is way too cool. :-) > > Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs > folks were unfortunately not in attendance. Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. (Probably the thing I got a kick out of most in that session was Jim > just sitting there grinning like a maniac - he's pretty pumped about having > the PythonLabs team here now.) > > We talked about class/type distinctions and the possibility of removing them > within Python, why acquisition is useful and some of its shortcomings, > stackless Python, and other less esoteric things. Hopefully the newer > members of DC (like me) will soon get a chance to meet the rest of the > PythonLabs team face-to-face. > > - C > > ----- Original Message ----- > From: "Andy McKay" > To: > Cc: > Sent: Saturday, October 28, 2000 12:10 PM > Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > This is great news for Zope... > > > > (well I think it is anyway) > > > > > -------- Original Message -------- > > > Subject: PythonLabs Team Moves to Digital Creations > > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > > From: Guido van Rossum > > > To: python-list@python.org (Python mailing > > > list),python-announce-list@python.org, python-dev@python.org > > > > > > To all Python users and developers: > > > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > > hope of finding a new permanent home for Python development. At > > > BeOpen, we've done several good things for Python, such as moving the > > > Python and Jython development process to SourceForge, and the > > > successful release of Python 2.0. > > > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > > out as hoped, and we weren't able to reach mutual agreement on > > > workable alternative plans -- despite trying for months. > > > > > > I am proud to have found a new home for my entire team: starting > > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > > are working for Digital Creations. We will be spending part of our > > > time on core Python development (including Jython and Mailman) and > > > part of our time on Python infrastructure improvements that also > > > benefit Zope. > > > > > > Python will remain Open Source; Digital Creations has no desire to > > > monetize or brand the Python language or specific Python > > > distributions. All future work we do on Python as Digital Creations > > > employees will be owned by a non-profit organization yet to be > > > created. We think of this new organization as the Python Software > > > Foundation. In the meantime (while the PSF is under construction) I > > > will own such copyrights personally. > > > > > > We're excited to be working for Digital Creations: they are one of the > > > oldest companies active in the Python community, one of the companies > > > most committed to Python, and they have a great product! Plus, we > > > know they have deep financial backing. We trust that Digital > > > Creations will provide a stable home for Python for many years. > > > > > > Digital Creations has also offered to take over hosting of the > > > python.org and starship sites. On behalf of the Python community, > > > we're grateful for this support of the two prime community sites for > > > Python, and we expect to be implementing the transitions shortly. > > > > > > These are exciting times for the PythonLabs team -- and also for > > > Python and its community. Mainstream successes for Python are showing > > > up everywhere, and we're proud to be a part of such a smart and > > > friendly community. A great year lies ahead! > > > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > > > -- > > > http://www.python.org/mailman/listinfo/python-list > > > > > > > > _______________________________________________ > > 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 ) > From jasonic@nomadicsltd.com Mon Oct 30 17:49:18 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Mon, 30 Oct 2000 12:49:18 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> Message-ID: <005a01c04299$ba6e6380$c3090740@megapathdsl.net> ----- Original Message ----- From: Andy McKay > Now I have to know, whats a "Jam Session"? I assume 'jam' session = creative improvisation based on experience and talent, as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. - Jason From chrism@digicool.com Mon Oct 30 18:09:21 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 13:09:21 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> Message-ID: <013401c0429c$875bb6c0$1f48a4d8@kurtz> This is right, although here it's also an excuse to drink Guiness. ----- Original Message ----- From: "Jason Cunliffe" To: "Andy McKay" ; "Chris McDonough" Cc: Sent: Monday, October 30, 2000 12:49 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > ----- Original Message ----- > From: Andy McKay > > > > Now I have to know, whats a "Jam Session"? > > I assume 'jam' session = creative improvisation based on experience and > talent, > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > - Jason > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 17:58:53 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:58:53 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> <013401c0429c$875bb6c0$1f48a4d8@kurtz> Message-ID: <002c01c0429b$1184e4e0$ae03a8c0@fork> Now theres an idea... ;-) ----- Original Message ----- From: "Chris McDonough" To: "Jason Cunliffe" ; "Andy McKay" Cc: Sent: Monday, October 30, 2000 10:09 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is right, although here it's also an excuse to drink Guiness. > > ----- Original Message ----- > From: "Jason Cunliffe" > To: "Andy McKay" ; "Chris McDonough" > > Cc: > Sent: Monday, October 30, 2000 12:49 PM > Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > ----- Original Message ----- > > From: Andy McKay > > > > > > > Now I have to know, whats a "Jam Session"? > > > > I assume 'jam' session = creative improvisation based on experience and > > talent, > > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > > > - Jason > > > > > > _______________________________________________ > > 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 ) > > > > > From webmaven@lvcm.com Mon Oct 30 18:06:44 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:06:44 -0800 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDB8B4.A62CF881@lvcm.com> Alan Johnston wrote: > > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. 'File' should work. Are you naming the 'File' object with a .pdf suffix? HTH, Michael Bernstein. From bill@noreboots.com Mon Oct 30 18:30:40 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 11:30:40 -0700 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Message-ID: <39FDBE50.E632EBB2@noreboots.com> > ----- Original Message ----- > From: Rudd-O DragonFear > To: DC Support List > Cc: support@digicool.com > Sent: Monday, October 30, 2000 10:21 AM > Subject: [Support] ZSybaseDA 2.00b2 > > Hey, > I've been having some kind of problems with this DA. Compiling and loading > (importing) sy_occ in python works perfectly. But zope won't start and > won't say anything in the console or in the logs. > > what could it be? > > thanks in advance, Search the archives, from about this time last year. Quick synopsis: Check to ensure the sybase path statements are present in the zope start up script. -- E PLURIBUS LINUX From webmaven@lvcm.com Mon Oct 30 18:48:03 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:48:03 -0800 Subject: [Zope] Paul comments on the PythonLabs Move References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <39FDC263.C3784712@lvcm.com> Check out his comments here: http://weblogs.userland.com/zopeNewbies/discuss/msgReader$831 Cheers, Michael Bernstein. From andres@corrada.com Mon Oct 30 18:59:36 2000 From: andres@corrada.com (andres@corrada.com) Date: Mon, 30 Oct 2000 13:59:36 -0500 Subject: [Zope] PHP-Pages In-Reply-To: <60469395515.20001030021949@eec.de>; from Vincent - D. Ertner on Mon, Oct 30, 2000 at 02:19:49AM +0100 References: <60469395515.20001030021949@eec.de> Message-ID: <20001030135936.A10791@corrada.com> Check out my HOWTO: http://www.zope.org/Members/Mamey/PHP On Mon, Oct 30, 2000 at 02:19:49AM +0100, Vincent - D. Ertner wrote: > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Internet Programming wwww.mamemy.com ------------------------------------------------------ From dieter@handshake.de Mon Oct 30 18:57:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:57:08 +0100 (CET) Subject: [Zope] Message exchange between distributed python code In-Reply-To: <48899087@toto.iv> Message-ID: <14845.50254.478682.933172@lindm.dm> Alexander Limi writes: > I am currently writing some software in python that is spread over several > different computers. These small programs should be able to communicate > with each other and send messages that contain instructions between > themselves. You might be interested in "pyro" (Python remote objects). You will find it via "python.org" or with a search in "comp.lang.python.announce". Dieter From dieter@handshake.de Mon Oct 30 18:55:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:55:43 +0100 (CET) Subject: [Zope] image attachments in dtml-sendmail and dtml-mime In-Reply-To: <38102752@toto.iv> Message-ID: <14845.49576.678889.783219@lindm.dm> Matt writes: > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > Comments: > > > "paris.data"> > > > You are aware, that the generated message is not MIME conformant? You should use immediately in the message header and use to generated the various message parts. Dieter From dieter@handshake.de Mon Oct 30 18:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:59:43 +0100 (CET) Subject: [Zope] ZopeTime Question In-Reply-To: <113312476@toto.iv> Message-ID: <14845.50341.857832.212719@lindm.dm> Marcus Mendes writes: > Why the ZopeTime puts the differents values in the code bellow? > > > TimeMinutes())" capitalize> > > > > The first give me todays date; > the second give me the tomorrow date!! In earlier Zope versions, most methods of "DateTime" instances used local time, but "strftime" used GMT. As I understand it, this has been changed in Zope 2.2. At least, Brian asked in the list, whether it should be changed and got some positive feedback. Dieter From dieter@handshake.de Mon Oct 30 19:31:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:31:45 +0100 (CET) Subject: [Zope] again: install Zope under Solaris 8 In-Reply-To: <40453899@toto.iv> Message-ID: <14845.52017.929680.664852@lindm.dm> Jan-Thies Baehr writes: > .... Has anyone else > encountered problems installing Zope (in our case 2.2.2) under Solaris > 8? > Python is unable to import the ExtensionClass.... > .... > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: > file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: > symbol PyImport_ImportModule: referenced symbol not found I looks as though Python would not export its symbols to dynamically loaded objects. In earlier Solaris versions, this was the default behaviour. Other systems require a special linker option to make the symbols visible. Maybe, Solaris 8 does now require special actions, too. On Linux, the option is called "-export-dynamic". Maybe, you consult you linker manual. Dieter From dieter@handshake.de Mon Oct 30 19:25:17 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:25:17 +0100 (CET) Subject: [Zope] dtml document bug In-Reply-To: <5350899@toto.iv> Message-ID: <14845.51777.197023.480874@lindm.dm> Dmitry Slusarchuk writes: > I'm new to Zope development but I have already encountered such a problem: > from dtml document generates the following: > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: __call__ > > this problem disappears when I do smth like > from dtml method. what should I do? > > In addition > I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. This looks like the "cDocumentTemplate/Acquisition" bug (see the locator (URL:http://classic.zope.org:8080/Locator) for a description). The problem usually occurs in the context of a You can work around it by using instead. Dieter From dieter@handshake.de Mon Oct 30 19:39:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:39:59 +0100 (CET) Subject: [Zope] normal result with acquisition? In-Reply-To: <4638180@toto.iv> Message-ID: <14845.52397.169645.607414@lindm.dm> Tom Deprez writes: > Assume following : > > Folder1 > sql > show_abc > method_showdata > Folder2 > show_abc > > method_showdata has among it the following code : > > > >
> >
>
>
> > 1) When you call this function from Folder1 : show_abc of folder1 is used > > 2) When you call this function from Folder2 : show_abc of folder1 is used > > --> what you wouldn't expect? This *IS* normal acquisition behaviour. I use the following rule of thumb: When Zope looks up a name "n" for object "o" in context "c", then Zope lools for "n" in "o". If this fails, Zope walks up from "o" towards the root in search for "n". Only, if it does not find "n" on this route, it looks in the context "c" for "n". In your case, the object is "sql" and the name is "show_abc". The context is "Folder1" in the first and "Folder2" in the second case. But "show_abc" is found in both cases in the parent of "sql" -- without looking at the context. Dieter From dieter@handshake.de Mon Oct 30 18:35:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:35:22 +0100 (CET) Subject: [Zope] Re: [Zope-dev] dtml-in with objects and an expression In-Reply-To: <23514147@toto.iv> Message-ID: <14845.48273.554500.760172@lindm.dm> Guy Redwood writes: > I have a stack of objects called shcgbRallyDetails (details about > husky races). I want to display the next 3 races that are about to > close their entry submissions. eg display the next three rally > details where the closingdate is greater_or_equal to ZopeTime() > > I've got this working to prove the expression and dtml-in - but I'm > now stuck :-( > > "working.rallydetails.objectValues(['shcgbRallyDetails'])" > sort=closingdate> > >

> Closing:
>
> > All help would be appreciated What does not work? You may get more than 3 races? In this case, you could use: ZopeTime() and _.getitem('sequence-number') <= 3"> .... your presentation code .... This will give you the list sorted with decreasing closingdate. If you want a list sorted with increasing closingdate, you could use: ZopeTime() and (_.getitem('sequence-length') - _.getitem('sequence-index')) <=3"> .... your presentation code .... For more details, look at the variable list defined inside . Dieter From dieter@handshake.de Mon Oct 30 19:21:10 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:21:10 +0100 (CET) Subject: [Zope] Solaris,iPlanet,Oracle and Zope In-Reply-To: <106829166@toto.iv> Message-ID: <14845.50479.78877.339553@lindm.dm> Hi Turhan, Welcome to the Zope community! Turhan Arun writes: > Now my problem is as > follows > I have to use > Zope Application Server on SUN > iPlanet Web Server > Oracle 8.1.6 Database server > Would you help me about configuring these? I am having problems and you are > my only source. You have 2 subproblems: interfacing Zope with iPlanet and interfacing Zope with Oracle 8.1.6. 1. Unfortunately, I do not know iPlanet. You may search "zope.org" for "iPlanet" (maybe, you find a HowTo). There is also a searchable archive of this mailing list at NIP (to be found via "zope.org -> Resources -> Mailing Lists"). If you are unlucky, you must explore a bit yourself. "doc/WEBSERVERS.txt" (a file in the Zope distribution) is a good starting point. Although, it mainly speaks about Apache (and does not mention iPlanet), the "pcgi" connection will work with any webserver that supports CGI. It will work with "iPlanet". There might be some problems with the propagation of authentication information. You may decide to let iPlanet do all authentication and let Zope unprotected or you might need to learn how to configure iPlanet to pass authentication information. You may want to screen the iPlanet documentation, whether it supports proxy mode. In this mode, iPlanet would relay (some) requests to another web server (Zope in your case). This would be more efficient than "pcgi". 2. We use Zope with Oracle 8.1.6. We use DC's DCOracle and ZOracleDA (latest version! it has a beta in its version number!). It works satisfactory with the exception of LOB support. DC is working on improvements but the project is not externally funded, progress seems to be slow. Some days ago, someone in the list has reported a package that can be used to work around the LOB restrictions (if you know the LOB type). Search the list archive to locate the article (search for "DCOracle and BLOB"). Dieter From ajung@sz-sb.de Mon Oct 30 19:50:29 2000 From: ajung@sz-sb.de (Andreas Jung) Date: Mon, 30 Oct 2000 20:50:29 +0100 Subject: [Zope] DCOracle + LOB In-Reply-To: <200010292057.VAA00431@lindm.dm>; from fjesteban@uco.es on Wed, Oct 18, 2000 at 02:11:05PM +0200 References: <200010292057.VAA00431@lindm.dm> Message-ID: <20001030205029.A5323@sz-sb.de> On Wed, Oct 18, 2000 at 02:11:05PM +0200, Francisco José Esteban Risueño wrote: > If you know what type of data are you storing in the lob column, you can > use dmbs_lob package in order to insert and retrive data from the > original format into de lob format. We are use this techique succesfully > to insert/select text into/from a clob column. LOB support for Oracle 8i is broken in DCOracle. As a workaround we use stored procedures written in Java. They can be called from DCOracle. -- Andreas From dieter@handshake.de Mon Oct 30 20:37:19 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 21:37:19 +0100 (CET) Subject: [Zope] dtml-while In-Reply-To: <91095649@toto.iv> Message-ID: <14845.56140.19348.270193@lindm.dm> Diego Rodrigo Neufert writes: > Why there isnt a dtml-while function in Zope? > How to implement it with dtml? > how to do a simple while x != y in dtml? Because the Zope developers feared infinite loops created by dumb users or malicious hackers in "through the web" content. For the same reason, "_.range" has been cripled and the module "re" is not exposed. Dieter From asc@vineyard.net Mon Oct 30 20:46:44 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Mon, 30 Oct 2000 15:46:44 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if it's all in vain. Thanks, From fred@ontosys.com Mon Oct 30 20:47:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 30 Oct 2000 14:47:55 -0600 Subject: [Zope] incorporating generated sub-websites within a Zope site Message-ID: <20001030144755.A2818@enteract.com> I'm looking for suggestions about how to manage a Zope website that hosts some subsites created by tools outside of Zope. Here's the situation. I'm working on a community website (batavians.org) for a small city (Batavia, IL) where I want to allow various non-profit community organizations to manage their own subsites. But the very first test case is proving to be a problem because the manager of the subsite is using web page development tools that seem to make it hard to integrate their subsite with the rest of the site. They can FTP their files up to the Zope server (which I configured to use port 21 for FTP) and their work is accessible just fine given a small "glue" index_html object that bridges to their internal main page. But I got blocked when I tried to add a standard page footer onto their pages. Actually, I was able to add a dtml-var element to pull in a standard footer via acquisition and that works, but the manager of the sub-website has no way to pull that change back to her working version of the subsite. It seems that the lightweight "Web Studio 2.0" tool she's using has no FTP-download function at all. Not only that, it has no way to view/edit HTML at all! It's only possible to edit using a WYSIWYG design view (AFAICT). So she can't merge in the change even if I tell her exactly the HTML code to add. OK, this problem is largely the result of the crappy web-design tool she's using, but I really have no control over that. The subsite manage/author doesn't know HTML and would be completely helpless with Zope's "through the web" editing interface. A better tool such as Dreamweaver would at least allow her to download files and/or edit HTML directly, but that's moot in this case. Even with Dreamweaver I think the DTML tags would be invisible and hard for a non-programmer to deal with. (Not only that, Dreamweaver refuses to open files that don't have an extension, so it won't open index_html for example.) So what alternatives do I have? Is there some way that I can set up a filter such that every page of her subsite goes through the filter before being sent out to the browser, allowing me to tack on a page footer on those pages? I'm sure Zope has such a mechanism, but I don't know where to look. Even with such a filter I'm not keen about having to parse her pages (which are/should-be each a complete HTML document) in order to insert a footer line in the right place. What other schemes should I consider? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From dieter@handshake.de Mon Oct 30 21:16:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:16:40 +0100 (CET) Subject: [Zope] Displaying Folder Contents. In-Reply-To: <113966775@toto.iv> Message-ID: <14845.58608.743084.845912@lindm.dm> Jason C. Leach writes: > If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to > pass the folder to an external method, and have the method get a list of > all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ > fetching a list of the folder contents? Have a look at "ZopeFind" (--> ZQR (Zope quick reference) at URL:http://zdp.zope.org) Dieter From dieter@handshake.de Mon Oct 30 21:09:57 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:09:57 +0100 (CET) Subject: [Zope] How to display PDF files In-Reply-To: <123237122@toto.iv> Message-ID: <14845.58126.398702.990007@lindm.dm> Alan Johnston writes: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). You may use the products "LocalFS" or "ExternalFile" to access files inside the file system from Zope. > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. The "file" should be it. Maybe, you must set the property "content_type" correctly (when Zope guessed wrong based on the filename extension). Dieter From dieter@handshake.de Mon Oct 30 21:14:58 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:14:58 +0100 (CET) Subject: [Zope] ExtensionClass peculiarity (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) In-Reply-To: <59362859@toto.iv> Message-ID: <14845.58313.241376.357670@lindm.dm> Steinar Rune Eriksen writes: > In other Python programs, calling Parent.__init__(self) works fine, but when > running through Zope in this context > > Error Type: TypeError > Error Value: unbound method must be called with class instance 1st argument Have a look at the "ExtensionClass" documentation (-> zope.org). ExtensionClass is not completely compatible with Python: if a class "C" inherits from an extension class "E" and from a normal Python class "P", then Python does not recognize "C" as a subclass from "P". The mentioned documentation tells you, that there is a method "InheritedAttribute" to work around this problem. Dieter From dt@picknowl.com.au Mon Oct 30 21:23:43 2000 From: dt@picknowl.com.au (Daryl Tester) Date: Tue, 31 Oct 2000 07:53:43 +1030 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <39FDE6DF.740C58DD@picknowl.com.au> Chris McDonough wrote: > Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. But did you get to chant "We're not worthy! We're not worthy!"? :-) -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. "MS Linux is released under the provisions of the Gates Private License, which means you can freely use this Software on a single machine without warranty after having paid the purchase price and annual renewal fees." -- mslinux.org From amadorm@usm.edu.ec Mon Oct 30 21:36:14 2000 From: amadorm@usm.edu.ec (MANUEL JOSE AMADOR BRIZ) Date: Mon, 30 Oct 2000 16:36:14 -0500 (ECT) Subject: [Zope] New kinds of problems Message-ID: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Thanks, here are my two cents: Mini quick howto to connect to a sybase ASA/ASE: Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it WILL fail). GET from Sybase the RPMs called sybase-common and sybase-openclient, the latest versions. Install them. do a link from /opt/sybase to /opt/sybase- {currentversion} which should exist now. make sure you have $SYBASE set in your profile, to /opt/sybase. Download zope-2.2.2.src.tgz untar as root, then chown -R root.root /path/to/Zopefolder make sure you have python and python-devel RPMs or DEBs. cd to zope folder run \\\'python w_pcgi.py\\\' run \\\'python zpasswd.py access\\\', enter username, password, CLEARTEXT encoding and no domain get ZSybaseDAv2 b2 and place the targz file into the zope folder do a \\\'tar zxvmf ZSybaseDAv2.tar.gz0 in the zope folder Once more do a chown -R root.root * cd into lib/python/Products/ZSybaseDAv2/src cp Setup.linux or Setup.solaris to Setup make -f Makefile.pre.in boot make cd to the parent folder (cd ..) cp src/sy_occ.so . enter python and try to do \\\'import sy_occ\\\' if it works and doesn\\\'t spit errors, you\\\'re set. exit python and go to the zope folder, then run ./start if zope starts, you\\\'re all set now there is an executable called /opt/sybase/bin/dsedit that you will have to use to create network transports. Fill in the appropriate data. Now for the problems. I managed to connect to an ASA 7.0 database, and retrieved successfully a select * from systable, but can\\\'t execute stored procedures, it spits some kind of another operation on progress error or unknown data type returned error. I assume ASA and dsclient are talking incompatible protocols here. Can someone help me? By the way, the data source created with dsedit for our ASE server works fine. Everything runs OK. Please reply and CC: me because I\\\'m kinda lagged behind with the mailing list and I need a reply soon. Thanks. I hope these instructions help people in connecting to Sybase, given the poor support they have in some countries (I\\\'m thinking mine). Manuel ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil Enviado por: www.usm.edu.ec From jfarr@real.com Mon Oct 30 21:40:48 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 30 Oct 2000 13:40:48 -0800 Subject: [Zope] Get file contents. References: Message-ID: <034301c042ba$110abac0$416917ac@poly> For a File object, you want "str(ob.data)", where 'ob' is your File object. --jfarr ----- Original Message ----- From: "Jason C. Leach" To: "Steve Spicklemire" Cc: Sent: Sunday, October 29, 2000 5:56 PM Subject: Re: [Zope] Get file contents. > hi, > > That's exactly what I'm hoping to do. But for my method, it does not know > what read() is, or read_raw(); I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: read > > If I try you method I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: manage_addTinyTable > > > It would probably bail on the read also if it got that far. > > Perhaps I am caling it wrong, or not pasing the correct object. I jest > pass in a Zope File opject, which hapens to be a few lines of text. > > Thanks, > j. > > > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > > > > Hi Jason, > > > > Here's an external method that I've used to populate a TinyTable > > from a comma separated text file. You might at least get some ideas > > about how to extract stuff from the file using this.... > > > > -steve > > > > ---------------------------------------------------------------------- > > > > # > > # ReadFile is an external method that reads data from a file uploaded from > > # the users computer and produces a TinyTable based on that data. > > # > > > > import string > > > > def ReadFile(self, > > infile, # input file..... > > outTableName='defaultTable', # name of output table > > outTableTitle='', # title of output table > > outTableColumns='', # columns for output table > > REQUEST=None, # Pass in REQUEST.... > > RESPONSE=None): # and response... > > > > if not hasattr(self, outTableName): > > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > > > newTT = getattr(self, outTableName) > > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > > data = infile.read() > > data = string.replace(data,'\r','\n') > > data = string.replace(data,'\n\n','\n') > > lines = string.split(data,'\n') > > newLines = [] > > for i in range(len(lines)): > > line = string.strip(lines[i]) > > if line: > > sl = string.split(line,',') > > sl = map(lambda x:'"%s"' % x, sl) > > newLines.append(string.join(sl,',')) > > > > data = string.join(newLines, '\n') > > > > return newTT.manage_editData( data, REQUEST ) > > > > > > def main(): > > class foo: > > > > def manage_addTinyTable(self, *args, **kwargs): > > pass > > > > def manage_edit(self, *args, **kwargs): > > pass > > > > def manage_editData(self, data, REQUEST): > > print "In manage_editDdata" > > print data > > > > import StringIO > > > > f = StringIO.StringIO() > > f.write('a,b,c,d\n') > > f.write('d,e,f,g\n') > > f.seek(0) > > > > print f.read() > > f.seek(0) > > > > rf = foo() > > rf.defaultTable = foo() > > > > ReadFile(rf, f) > > > > if __name__=='__main__': > > > > main() > > > > >>>>> "Jason" == Jason C Leach writes: > > > > Jason> hi, > > > > Jason> I pass a zope file object (just plane text) to an external > > Jason> method. The file consists of a list of lines of text. I'd > > Jason> like to extract those lines from the file and put 'em in a > > Jason> list. Can anyone help with the extraction method? > > > > Jason> Thanks, j. > > > > Jason> ...................... ..... Jason C. Leach ... University > > Jason> College of the Cariboo. .. > > > > > > Jason> _______________________________________________ Zope > > Jason> maillist - Zope@zope.org > > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > > Jason> posts or HTML encoding! ** (Related lists - > > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > > Jason> 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 ) > From maxmcorp@worldonline.dk Mon Oct 30 22:22:24 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 23:22:24 +0100 Subject: [Zope] My Items will not show themself in manage_main (objectItems) Message-ID: I have made a product that inherits: "OFS.ObjectManager.ObjectManager" and so should be able to contain other object. I have given the product a manage option: {'label':'Contents', 'action':'manage_main'} This is inherited from ObjectManager, To make it possible to add content to my product. But when I add ie. a dtml method to my folderish object, it does it allright, and the document gets added. I know because I can see it directly when going to it's url. And if I try to add another document with the same name I get an error saying that the id is allready used. But the Item doesn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to create for the Items to show up in "objectItems". Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrism@digicool.com Mon Oct 30 22:44:26 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 17:44:26 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <39FDE6DF.740C58DD@picknowl.com.au> Message-ID: <021a01c042c2$f5015dd0$1f48a4d8@kurtz> Yes. Well... I did, anyway. :-) ----- Original Message ----- From: "Daryl Tester" To: "Chris McDonough" Cc: Sent: Monday, October 30, 2000 4:23 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > Chris McDonough wrote: > > > Since it was a Friday, and > > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > > Jam": we all got a chance to poke at him with questions and such and vice > > versa. > > But did you get to chant "We're not worthy! We're not worthy!"? :-) > > > -- > Regards, > Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. > > "MS Linux is released under the provisions of the Gates Private License, which > means you can freely use this Software on a single machine without warranty > after having paid the purchase price and annual renewal fees." -- mslinux.org > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 23:03:45 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 15:03:45 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <009401c042c5$abbffb10$ae03a8c0@fork> > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". Not from what I can remember. I would have to see your constructor for more info. Andy. From kthangavelu@earthlink.net Mon Oct 30 19:56:56 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 30 Oct 2000 11:56:56 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <39FDD288.58381058@earthlink.net> Max M wrote: > > I have made a product that inherits: > "OFS.ObjectManager.ObjectManager" > and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. > I have given the product a manage option: > {'label':'Contents', 'action':'manage_main'} > This is inherited from ObjectManager, To make it possible to > add content to my product. > > But when I add ie. a dtml method to my folderish object, it does it > allright, and the document gets added. I know because I can see it directly > when going to it's url. And if I try to add another document with the same > name I get an error saying that the id is allready used. > > But the Item doesn't show up in Itemlist on the "manage_main" page. So I > cannot edit the items that I have added. > > I only get the: > "There are currently no items in XXX" some more information on what you changed in the container would be useful. > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". this pseudo code should give you the result you want?, it works for me to display objects in the manage_main. def manage_addMyContainer: foo = MyContainer() bar = MyObject() foo._setObject(bar, 'bar') self._setObject(foo, 'foo') caveat, register your permissions properly on the manage_add, and note that adding bar in this way will mean it won't have access to acquisition properties from further up the tree at creation (including manage_afterAdd). also for registering manage options this syntax is a little more inclusive. manage_options=( OFS.ObjectManager.ObjectManager.manage_options+ ( {'label':'YourTabHere', 'action':'YourMethodHere'}, )+ AccessControl.Role.RoleManager.manage_options+ OFS.SimpleItem.SimpleItem.manage_options ) hth kapil From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> <39FD526F.DAF94274@nipltd.com> Message-ID: <00cc01c042d6$e013c340$c2aa79c3@mshome.net> Hi, ----- Original Message ----- From: "Chris Withers" To: "Henny van der Linde" Cc: "Zope mailing list" Sent: Monday, October 30, 2000 11:50 AM Subject: Re: [Zope] trapping login errors/exceptions > Henny van der Linde wrote: > > Thanks. I already thought about using Loginmanager but we still use Zope > > 2.1.6. > > Why? ;-) > Just careful. Not every Zope release is realy that stable at first. Products are not always upward compatible. The sudden change in the security model with Zope 2.2.0 scared us a bit. Maybe these are minor things but we realy can't afford to experiment a lot in the organization where I (and my co Zopistas) work. BTW I can't get Login Manager installed in a very fresh Zope 2.2.2 installation. See my earlier posting. Any ideas? greetz, Henny van der Linde From jarvis.sd082@ex.tel.co.jp Tue Oct 31 01:27:51 2000 From: jarvis.sd082@ex.tel.co.jp (TFE WSD JARVIS JOHN) Date: Tue, 31 Oct 2000 10:27:51 +0900 Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Yes, but you have to do in it a round about way. (Actually, I've seen mention of a patch to Apache that does this, but I don't think it's neccessary) Here's the setup I'm using: RewriteEngine On RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} [QSA,L,P] RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH > -----Original Message----- > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > Sent: Tuesday, October 31, 2000 5:47 AM > To: zope@zope.org > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > Hi, > > Does anyone know if it is even *possible* to pass environment variables > (specifically REMOTE_USER) to Zope when it is set up behind > Apache/ProxyPass. > > I've looked around the list archives, and the Apache docs and tried a > bunch of different configs but nothing works. I'm starting to wonder if > it's all in vain. > > Thanks, > > > > _______________________________________________ > 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 ) From docs@digicool.com Tue Oct 31 01:32:35 2000 From: docs@digicool.com (Michel Pelletier) Date: Mon, 30 Oct 2000 17:32:35 -0800 Subject: [Zope] Zope Book Beta Message-ID: <39FE2133.F00ED435@digicool.com> Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel From bill@noreboots.com Tue Oct 31 03:38:49 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 20:38:49 -0700 Subject: [Zope] New kinds of problems References: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Message-ID: <39FE3EC9.67D86580@noreboots.com> MANUEL JOSE AMADOR BRIZ wrote: > > Thanks, here are my two cents: > > Mini quick howto to connect to a sybase ASA/ASE: > > Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it > WILL fail). Only if you didn't read the RELEASE-NOTES. Use kgcc, it is the same compiler as RH 6.2 has. --- root@darwin in /root $ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) root@darwin in /root $ gcc --version egcs-2.91.66 root@darwin in /root --- ucntcme@locutus in /home/ucntcme $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) ucntcme@locutus in /home/ucntcme $ kgcc --version egcs-2.91.66 --- ... > exit python and go to the zope folder, then run ./start > > if zope starts, you\\\'re all set not quite. You should stop zope, open a new terminal, and start zope from there. More often than not, you will need to set up the $SYBASE variables in the zope start up script. Running Zope in a 'clean' terminal will test the environment. -- E PLURIBUS LINUX From zope@philosoft.at Tue Oct 31 04:05:07 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 05:05:07 +0100 Subject: [Zope] pluggable brains Message-ID: <200010310505070734.0771D84D@mail.noet.at> --=====_97296510718467=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_97296510718467=_ Content-Type: text/html; charset="us-ascii"
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_97296510718467=_-- From zope@philosoft.at Tue Oct 31 05:01:15 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 06:01:15 +0100 Subject: [Zope] pluggable brains In-Reply-To: <200010310505070734.0771D84D@mail.noet.at> References: <200010310505070734.0771D84D@mail.noet.at> Message-ID: <200010310601150109.07A53A1C@mail.noet.at> --=====_9729684756334=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I already found the answer myself: one can only use ZClasses as pluggable brains that are NOT persistent!! phil *********** REPLY SEPARATOR *********** On 31.10.2000 at 05:05 Philipp Auersperg wrote: For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_9729684756334=_ Content-Type: text/html; charset="us-ascii"
I already found the answer myself:
 
one can only use ZClasses as pluggable brains that are NOT persistent!!
 
phil
*********** REPLY SEPARATOR ***********

On 31.10.2000 at 05:05 Philipp Auersperg wrote:
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_9729684756334=_-- From jleach@mail.ocis.net Tue Oct 31 04:45:52 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 20:45:52 -0800 (PST) Subject: [Zope] meta type? Message-ID: hi, What is ment by a meta type? Is that like 'Image' in the case of images, and Folder in the case of folders? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 05:00:46 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 06:00:46 +0100 (CET) Subject: [Zope] meta type? In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > Is that like 'Image' in the case of images, and Folder in the case of > folders? Yupp. From jleach@mail.ocis.net Tue Oct 31 06:04:07 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 22:04:07 -0800 (PST) Subject: [Zope] Almost Done. Message-ID: hi, So I'm almost done my first zope project. Pretty small. I must say, I have done in 4 lines of DTML what would have taken pages in ASP. How do I get a TinyTable to display it's contents? All I find in the docs is and that does not seem to work for me, unles I am lacking a tag? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 06:24:01 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 07:24:01 +0100 (CET) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > hi, Hi. > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try this: (and next time, post the error message, Zope version and OS you are running :-) From jleach@mail.ocis.net Tue Oct 31 07:03:22 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 23:03:22 -0800 (PST) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: hi, Gave that a shot, no luck. I just dones nothing where as if I misspel the object ID it screams (so it's finding it). I can edit and View the object fine, just not call it. I'm running Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Tue, 31 Oct 2000, Erik Enge wrote: > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > hi, > > Hi. > > > How do I get a TinyTable to display it's contents? > > > > All I find in the docs is and that does not > > seem to work for me, unles I am lacking a tag? > > Try this: > > > > (and next time, post the error message, Zope version and OS you are > running :-) > > From morten@esol.no Tue Oct 31 08:05:34 2000 From: morten@esol.no (Morten W. Petersen) Date: 31 Oct 2000 09:05:34 +0100 Subject: [Zope] Strange KeyError upon calling absolute_url Message-ID: I've got a strange error here; whenever absolute_url is called, it is raised a KeyError exception, stating that SERVER_URL is missing.. (The traceback..) Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addTransform) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addTransform) File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 54, in manage_addTransform File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 154, in __init__ (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 278, in _setObject (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 114, in manage_afterAdd (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 184, in index_object (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 157, in url (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/Traversable.py, line 119, in absolute_url (Object: CatalogAware) KeyError: (see above) The line(s) causing the error were a rather long list of _setObject commands: """ [...] self._setObject('M', agencysort.AgencySort('M')) self._setObject('N', agencysort.AgencySort('N')) [...] """ Any ideas? Thanks in advance. -Morten From cj.de.brabander@hccnet.nl Tue Oct 31 08:27:06 2000 From: cj.de.brabander@hccnet.nl (Kees de Brabander) Date: Tue, 31 Oct 2000 09:27:06 +0100 Subject: [Zope] Almost Done. References: Message-ID: <004601c04314$60710380$b560fea9@piii667> hi Jason, by itself does what you ask it to do: it runs through the rows of your tinytable and that's it. If you want to see the content of your table, you'll have to construct a html table with fieldnames in the cells: ...
Then you're done. cb ----- Original Message ----- From: Jason C. Leach To: Erik Enge Cc: Sent: Tuesday, October 31, 2000 8:03 AM Subject: Re: [Zope] Almost Done. > hi, > > Gave that a shot, no luck. I just dones nothing where as if I misspel the > object ID it screams (so it's finding it). I can edit and View the object > fine, just not call it. > > I'm running Zope/Zope 2.2.2 (source release, > python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A > > > j. > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Tue, 31 Oct 2000, Erik Enge wrote: > > > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > > > hi, > > > > Hi. > > > > > How do I get a TinyTable to display it's contents? > > > > > > All I find in the docs is and that does not > > > seem to work for me, unles I am lacking a tag? > > > > Try this: > > > > > > > > (and next time, post the error message, Zope version and OS you are > > running :-) > > > > > > > _______________________________________________ > 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 ) > > From jacintha.menezes@wipro.com Tue Oct 31 09:37:43 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 31 Oct 2000 15:07:43 +0530 Subject: [Zope] one more In-Reply-To: <39FD8DDC.120C9975@globalcrossing.com> Message-ID: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Hi, I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Thanks bye, jacintha From ws@gmd.de Tue Oct 31 09:58:11 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 10:58:11 +0100 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEA5C3.30680.5483DF1@localhost> On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From jonathan@home-all.org.uk Tue Oct 31 10:14:33 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Tue, 31 Oct 2000 10:14:33 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> Message-ID: <39FE9B89.B54B5700@home-all.org.uk> Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: > Jonathan Cheyne wrote: > > > > Ah, no, I though that was if you were doing the virtual hosting in zope > > (as opposed to virtual hosts in httpd.conf or a rewrite)? > > > > I will add one, pronto > > Sorry, I didn't mean to confuse you. If you're using Apache > Virtual hosting, you don't need an access rule. I thought > that you might have one that was conflicting. > > One thing that might help you figure this out is to add a > 'debug' DTML Method to your root folder that contains: > > > > And trying various URLs with /debug tacked on the end to see > how the HTTP request is being rewritten. > > HTH, > > Michael Bernstein. From p@state-of-mind.de Tue Oct 31 10:25:12 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 31 Oct 2000 11:25:12 +0100 Subject: [Zope] AW: [Zope] Zope Book Beta In-Reply-To: <39FEA5C3.30680.5483DF1@localhost> Message-ID: Thanks! Pretty neat thing :-) I like the ducks: a-hi-ru. "Kore wa desu? Ahiru desu." It must have been something like that... p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Wolfgang Strobl > Gesendet: Dienstag, 31. Oktober 2000 10:58 > An: zope@zope.org; zope-book@zope.org > Betreff: Re: [Zope] Zope Book Beta > > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. > > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > From l.tranchant@adntic.com Tue Oct 31 11:20:19 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Tue, 31 Oct 2000 12:20:19 +0100 Subject: [Zope] PoPy Message-ID: <39FEAAF3.FE07CAD7@adntic.com> --------------0C7C06BE069157DD2DA5173E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody, I am new with Zope and I don't know Python. I want to use Zope with PostgreSQL. I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ? I have tried, and some errors appeared : when compiling __init__.py : ImportError: No module named Globals when compiling PoPy_db.py : The PoPy module is old: Update your version of PoPy So, I tried to install PoPy-1.3.6, but I failed! Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody,

I am new with Zope and I don't know Python.
I want to use Zope with PostgreSQL.
I have installed PoPy-1.2.1 and compiled the module PoPymodule.so.
I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/.
My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ?
I have tried, and some errors appeared :

when compiling __init__.py :
        ImportError: No module named Globals
when compiling PoPy_db.py :
        The PoPy module is old: Update your version of PoPy

So, I tried to install PoPy-1.3.6, but I failed!

Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E-- From chrisw@nipltd.com Tue Oct 31 11:49:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:49:04 +0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEB1B0.46B76306@nipltd.com> There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. This is the complete, technical draft of the book with > all screenshots (but minus illustrations, those are on there way!). > Some other things like a colophon and information about the authors is > missing. The beta includes all completed chapters, the API reference, > and the DTML reference. We've received over a hundred comments, > corrections, and ideas from you the community and it has made a much > better book. This is the one to print out and give to your friends as > christmas gifts, folks, so get crackin and start reading at > http://www.zope.org/Members/michel/ZB/. > > Enjoy, > > -Michel > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 31 11:52:32 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:52:32 +0000 Subject: [Zope] Gadfly References: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Message-ID: <39FEB280.A0331F5A@nipltd.com> jacintha menezes wrote: > I am using Gadfly database for Employee details.Kindly let me know > whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. cheers, Chris From fog@mixadlive.com Tue Oct 31 11:58:04 2000 From: fog@mixadlive.com (Federico Di Gregorio) Date: Tue, 31 Oct 2000 12:58:04 +0100 Subject: [Zope] Re: [Soft] [Fwd: [Zope] PoPy] In-Reply-To: <39FEB0EA.905C9C2B@mixadlive.com>; from pcm@mixadlive.com on Tue, Oct 31, 2000 at 12:45:46PM +0100 References: <39FEB0EA.905C9C2B@mixadlive.com> Message-ID: <20001031125804.O504@mixadlive.com> first of all, always install the latest versions of popy and zpopyda. you can get them on our website, www.mixadlive.com. you don't need to compile the .py files of the database adapter, zope takes care of loading them through python that will compile them on the fly. please, when a compilation fails, send use some more information, at least the compiler error message and, if you can, installed packages/programs, etc... hope this helps, federico p.s. if you use the Debian distribution you can install popy and zpopyda by simply invoking "apt-get install python-popy zope-popyda" > I am new with Zope and I don't know Python. > I want to use Zope with PostgreSQL. > I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. > I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. > My problem is I don't know if I have to compile the Phyton files in > ZPoPyDA ? > I have tried, and some errors appeared : > > when compiling __init__.py : > ImportError: No module named Globals > when compiling PoPy_db.py : > The PoPy module is old: Update your version of PoPy > > So, I tried to install PoPy-1.3.6, but I failed! > > Is there someone who could help me ??? :-( -- Federico Di Gregorio MIXAD LIVE System Programmer fog@mixadlive.com Debian GNU/Linux Developer & Italian Press Contact fog@debian.org Those who do not study Lisp are doomed to reimplement it. Poorly. -- from Karl M. Hegbloom .signature From phil.harris@zope.co.uk Tue Oct 31 12:30:00 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 12:30:00 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <057301c04336$4d5d29a0$5c773fc1@media1> Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil ----- Original Message ----- From: "Chris Withers" To: Cc: ; Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta > There a PDF of it anywhere? > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From chrisw@nipltd.com Tue Oct 31 13:06:29 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 13:06:29 +0000 Subject: [Zope] Re: two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> Message-ID: <39FEC3D5.7CAA72CC@nipltd.com> You should probably try to give your mails more helpful subject lines, something like "adding acl_users and databases" would have been great in this case ;-) jacintha menezes wrote: > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > doesn't get assigned > even if i specify it. Kindly let me know, is there anyway by which when i > add an acl_user, > role as manager is taken automatically. > tags used are as follows : > > > > > > Not really sure what you're trying to do here. It soudns like you're trying to add new users to an acl_users folder. Not sure why you need all those REQUEST.set's, why not just pass them as keyword arguments to manage_users? > 2. Is there any other reliable database which we can use. MySQL, Oracle, PostGres... all have adapters for Zope. You could, of course, use the ZODB, but that's a slightly different kettle of fish. cheers, Chris PS: Please email the list and CC me in rather than just emailing me, there are many more people on the list who will have more knowledge than me in the areas you're asking about. From hgebel@inet.net Tue Oct 31 13:24:16 2000 From: hgebel@inet.net (Harry Henry Gebel) Date: Tue, 31 Oct 2000 08:24:16 -0500 Subject: [Zope] ssl w/ modrewrite In-Reply-To: ; from bill@carbonecho.com on Mon, Oct 30, 2000 at 04:10:51PM +0000 References: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: <20001031082416.A31505@inet.net> On Mon, Oct 30, 2000 at 04:10:51PM +0000, Bill Welch wrote: > Please say what Port, Listen, and VirtualHost directives you have in > place. I think that's really where the trouble. > > but it works as typed in the server withour CRs.) I added modssl, but > > when I go in on an https I get the original apache root page, and can > > only access zope at https://address/cgi-bin/Zope . Furthermore, since Thanks! I copied my modrewrite stuff into the SSL virtual host and everything worked fine after that. -- Harry Henry Gebel, ICQ# 76308382 West Dover Hundred, Delaware From b.pouye@paris.infonie.fr Tue Oct 31 13:30:04 2000 From: b.pouye@paris.infonie.fr (b.pouye@paris.infonie.fr) Date: Tue, 31 Oct 2000 14:30:04 +0100 Subject: [Zope] Zope and Sybase Stored Procedures Message-ID: Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am trying to do all my SQL requests by using stored procédures. The only thing that goes wrong is that I don't know how to make a call to a Sybase Stored Procedure within Zope. Can anyone help me ? Sincerly, Badara POUYE Infosources 16, rue Hoche Tour Kupka B 92906 Paris La Défense Tel.: (+33)141028000 From twcook@iswt.com Tue Oct 31 14:03:23 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 31 Oct 2000 08:03:23 -0600 Subject: [Zope] Add users & other acl_user quirks was:two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> <39FEC3D5.7CAA72CC@nipltd.com> Message-ID: <39FED12B.C37967AE@iswt.com> Chris Withers wrote: > > > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > > > > > > > > > > > > > > Not really sure what you're trying to do here. It soudns like you're > trying to add new users to an acl_users folder. Not sure why you need > all those REQUEST.set's, why not just pass them as keyword arguments to > manage_users? It is _probably_ because it was given as an example somewhere. 'Cuz I did the same thing. In my case those values are coming from a form with a lot of other stuff as well. My question that is similar to this is: Is there any reason why an acl_user folder cannot be added to the instance of a ZClass that is subclassed from OFS:Folder & Catalog Aware? I tried putting it in the ZClass itself. It doesn't show up. But if I try to manually add it to an instance I get an error saying that one already exists. A few days ago ethan (I think) said that they used a BTreeFolder for the Zope.Org user folder. Is this a _modified_ BTreeFolder? I thought there were some parts of the security mechanism that was part of acl_user folders? Inquiring minds...... -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From Jerry.Spicklemire@IFLYATA.COM Tue Oct 31 14:23:52 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Tue, 31 Oct 2000 09:23:52 -0500 Subject: [Zope] Almost Done. Message-ID: <977A39E65CFCD3119ABF00D0B741D849733932@innt-73.ata.com> Jason pondered: > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try it like this:
where tablename is the name of your table, and fieldname1, fieldname2 are names of fields. I've not used TinyTables, but this works with other tabular systems. Later, Jerry S. From tony.mcdonald@ncl.ac.uk Tue Oct 31 15:17:33 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 31 Oct 2000 15:17:33 +0000 Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs Message-ID: Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info may contain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' 215 % grep -i trackerbase Data.fs Binary file Data.fs matches doh! I change my PYTHONHOME to point to a Zope 2.2.1 installation that a lot of servers use. The lib/python/Products directory there shows no TrackerBase there. No TrackerBase in the (local, ie server-specific) directory, Products, either. Can anyone give me a clue as to where to look for this errant Product? Tone ps *excellent* news about BDFL and his troupe joining DC! ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hohage@muenster.de Tue Oct 31 16:31:43 2000 From: hohage@muenster.de (hohage) Date: Tue, 31 Oct 2000 16:31:43 +0000 Subject: [Zope] meta type? Message-ID: <39FEC383@muepubb> Hallo Jason, you are on the right way. Try this in a folder: ----------------- ----------------- You'll get the names of all the metatypes in the current folder. Bye Sven P.S.:the "available objects" button shows all available metatypes in your installation(you can add more by installing products or creating them on your own). >===== Original Message From "Jason C. Leach" ===== >hi, > >What is ment by a meta type? > >Is that like 'Image' in the case of images, and Folder in the case of >folders? > >j. > >...................... >..... Jason C. Leach >... University College of the Cariboo. >.. > > >_______________________________________________ >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 ) From phd@mail2.phd.pp.ru Tue Oct 31 15:53:22 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Tue, 31 Oct 2000 15:53:22 +0000 (GMT) Subject: [Zope] ZDNet compares 4 our rivals Message-ID: Hello! ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP: http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Scripting in ColdFusion found to be the best choice :) Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From webmaven@lvcm.com Tue Oct 31 16:08:33 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 31 Oct 2000 08:08:33 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> <39FE9B89.B54B5700@home-all.org.uk> Message-ID: <39FEEE81.2E452929@lvcm.com> Jonathan Cheyne wrote: > > Ok, well I got some success by eliminating apache and using the site accesss > example methods and an access rule. > > but. > > is this a lower performance solution than fronting zope with apache? The short answer is: "Only in some special cases". An example of such a 'special case' is if you want certain static files to be served directly by apache, and not by Zope. Or maybe you just like Apaches log-files better ;-) If the stuff that Apache was going to be fronting for was coming out of Zope anyway, then there is no difference. You may want to keep Apache around for certain things, just use IP hosting for your root folder (no Virtual hosting) and have the Access Rules and SiteRoots take care of both blue.com and red.com in sub-folders. that's what i'm doing on the Zope I'm hosting at CodeIt.com. HTH, Michael Bernstein. From bill@carbonecho.com Tue Oct 31 16:34:55 2000 From: bill@carbonecho.com (Bill Welch) Date: Tue, 31 Oct 2000 16:34:55 +0000 (GMT) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: Message-ID: I had a similar problem a month ago with PTK and ZDiscussions and I consider this to be corruption of the ZODB not related to the particular products. You might be able to fix it by going into the DB directly through python; stop zope start python in zope/lib/python 'import Zope, ZServer; root = Zope.app(); dir(root)' and dig around from there I didn't know that trick at the time, so I fixed it by: exporting my objects from the root folder (fortunately, I'm virtual hosting and I only had to export a couple of folders) stopping zope replacing Data.fs with Data.fs.in starting zope importing my objects On Tue, 31 Oct 2000, Tony McDonald wrote: > Hi all, > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > From ngps@post1.com Tue Oct 31 05:38:59 2000 From: ngps@post1.com (Ng Pheng Siong) Date: Tue, 31 Oct 2000 13:38:59 +0800 Subject: [Zope] M2Crypto problem In-Reply-To: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com>; from erik@pacific-shores.com on Tue, Oct 24, 2000 at 07:23:30AM -0700 References: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> Message-ID: <20001031133859.A650@madcap.dyndns.org> On Tue, Oct 24, 2000 at 07:23:30AM -0700, Erik Myllymaki wrote: > I'm trying to use M2Crypto to access some https pages through an external > method, but I get this error: > > SSLError: SSLEAY_RAND_BYTES: PRNG not seeded > > How do I seed the PRNG? Hmmm, getting behind on my mail... ;-) There should be a file 'randpool.dat' in the M2Crypto distribution. This is created from my FreeBSD's /dev/random, and contains enough randomness to satisfy OpenSSL. Copy that file to where your external method's .py lives. Let me know if it doesn't work. I've been very busy recently. No time to work on M2Crypto and Zope crypto stuff at all. ;-( In future, for (marginally ;-) better response time, write me direct. Cheers. -- Ng Pheng Siong * http://www.post1.com/home/ngps From heatherzau@yahoo.com Tue Oct 31 17:22:32 2000 From: heatherzau@yahoo.com (heatherzau@yahoo.com) Date: Tue, 31 Oct 2000 09:22:32 -0800 (PST) Subject: [Zope] Restart Zope script Message-ID: <20001031172232.67191.qmail@web10707.mail.yahoo.com> Hello. Do you like my script to restart Zope? I don't. I followed instructions in the Zope archive to write a restart script for Zope. It works if I run it from the command line but if I put it in a cron job, it hangs and does not start properly. Can you help me? THANK YOU. Heather #!/usr/bin/python import os, string # My Zope is installed in /usr/zope # So the commands to stop and start it are, stopcmd = "/usr/zope/stop" startcmd = "/usr/zope/start &" # Command to check Zope processes running, cmd = "ps aux | grep zope" # Find the Zope PIDs that are actually running, readstdin = os.popen(cmd).readlines() pids = [] for eachline in readstdin : words = string.split(eachline) if len(words) > 2 : pids.append(words[1]) pids.append(string.split(eachline)[1]) # Find the PIDs that should be running, pidsfile = "/usr/zope/var/Z2.pid" f = open(pidsfile, 'r') data = f.read() f.close() runningpids = 0 zopepids = string.split(data) for eachpid in zopepids : if eachpid in pids : runningpids = runningpids + 1 if runningpids != 2 : os.popen(stopcmd) os.popen(startcmd) __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From kthangavelu@earthlink.net Tue Oct 31 12:52:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 31 Oct 2000 04:52:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> Message-ID: <39FEC0A3.7DF866A2@earthlink.net> Phil Harris wrote: > > Give me a few hours and I'll be knocking out the eBook and PDF versions. > > By the end of the day. > > Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil > ----- Original Message ----- > From: "Chris Withers" > To: > Cc: ; > Sent: Tuesday, October 31, 2000 11:49 AM > Subject: Re: [Zope] Zope Book Beta > > > There a PDF of it anywhere? > > > > cheers, > > > > Chris > > > > Michel Pelletier wrote: > > > > > > Amos and I are gibbering like madmen with excitement to announce the > > > Zope Book Beta. This is the complete, technical draft of the book with > > > all screenshots (but minus illustrations, those are on there way!). > > > Some other things like a colophon and information about the authors is > > > missing. The beta includes all completed chapters, the API reference, > > > and the DTML reference. We've received over a hundred comments, > > > corrections, and ideas from you the community and it has made a much > > > better book. This is the one to print out and give to your friends as > > > christmas gifts, folks, so get crackin and start reading at > > > http://www.zope.org/Members/michel/ZB/. > > > > > > Enjoy, > > > > > > -Michel > > > > > > _______________________________________________ > > > 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 ) > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sun Oct 29 17:16:22 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:16:22 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <014e01c041cb$f8c1c970$0202a8c0@typhoon> Nah, I use the offical stuff , Adobe Distiller. For the eBook stuff I use a Microsoft Word Add-in, available from www.pocketpc.com (really microsoft under a pseudonym) hth Phil ----- Original Message ----- From: "Ender" To: "Phil Harris" Cc: ; ; Sent: Tuesday, October 31, 2000 12:52 PM Subject: Re: [Zope] Zope Book Beta | Phil Harris wrote: | > | > Give me a few hours and I'll be knocking out the eBook and PDF versions. | > | > By the end of the day. | > | > Phil | | Hi Phil, | | how do you do that? for the pdf are you dumping stuff into reportlab? | | Kapil | | | > ----- Original Message ----- | > From: "Chris Withers" | > To: | > Cc: ; | > Sent: Tuesday, October 31, 2000 11:49 AM | > Subject: Re: [Zope] Zope Book Beta | > | > > There a PDF of it anywhere? | > > | > > cheers, | > > | > > Chris | > > | > > Michel Pelletier wrote: | > > > | > > > Amos and I are gibbering like madmen with excitement to announce the | > > > Zope Book Beta. This is the complete, technical draft of the book with | > > > all screenshots (but minus illustrations, those are on there way!). | > > > Some other things like a colophon and information about the authors is | > > > missing. The beta includes all completed chapters, the API reference, | > > > and the DTML reference. We've received over a hundred comments, | > > > corrections, and ideas from you the community and it has made a much | > > > better book. This is the one to print out and give to your friends as | > > > christmas gifts, folks, so get crackin and start reading at | > > > http://www.zope.org/Members/michel/ZB/. | > > > | > > > Enjoy, | > > > | > > > -Michel | > > > | > > > _______________________________________________ | > > > 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 ) | > | > _______________________________________________ | > 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 ) From ckant@fazenda.gov.br Tue Oct 31 18:35:46 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Tue, 31 Oct 2000 16:35:46 -0200 Subject: [Zope] Sybase/MS SQL Server Database Adaptor - FreeTDS Message-ID: <39FF1102.B1263576@fazenda.gov.br> Hi! Does anyone have implemented any application in Linux that connects to a MS SQL Server 6.5 form a Linux box? I know there are a way to connect to a MS SQL Server using FreeTDS (http://www.FreeTDS.org/), but doesn't know how to make it runs with Python/Zope. Can anyone helps me? []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Sed quis custodiet ipsos Custodes? [Who guards the Guardians?] From Danny@Adair.net Tue Oct 31 18:37:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:37:46 +0100 Subject: [Zope] Change rendering of a folder Message-ID: Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny From amos@digicool.com Tue Oct 31 18:39:58 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 10:39:58 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FEA5C3.30680.5483DF1@localhost> Message-ID: <39FF11FE.41B79D22@digicool.com> Wolfgang Strobl wrote: > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. I believe that O'Reilly doesn't want the book redistributed before it is printed. I'll recheck with them. Take a look at the copyright stuff info on each page. Luckily the book will soon be under an open content license, and then you'll be free to do what ever you wish. Thanks for taking a look at the book! -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From twiens@compusmart.ab.ca Tue Oct 31 18:56:24 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 11:56:24 -0700 Subject: [Zope] Mapping tools with Zope References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <39FF1604.522CF6D0@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From robin@jessikat.fsnet.co.uk Tue Oct 31 18:58:00 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 18:58:00 +0000 Subject: [Zope] preventing acquisition Message-ID: I have some folderish Zclasses which have index_html methods to implement a UI. I would like to inhibit acquisition of these. So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like

You're not supposed to be looking at

in my index_html, but this doesn't work for the second case. Is there a generic way to do this? -- Robin Becker From Danny@Adair.net Tue Oct 31 18:58:29 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:58:29 +0100 Subject: [Zope] Sorry, resolved Message-ID: Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Danny William Adair Gesendet: Dienstag, 31. Oktober 2000 19:38 An: zope@zope.org Betreff: [Zope] Change rendering of a folder Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny _______________________________________________ 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 ) From ws@mystrobl.de Tue Oct 31 19:28:50 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 20:28:50 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF11FE.41B79D22@digicool.com> Message-ID: <39FF2B82.7500.28F81960@localhost> On 31 Oct 2000, at 10:39, Amos Latteier wrote: > I believe that O'Reilly doesn't want the book redistributed before it is > printed. It's gone. > I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? >Take a look at the copyright stuff info > on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl From asc@vineyard.net Tue Oct 31 19:48:28 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 31 Oct 2000 14:48:28 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Message-ID: Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... On Tue, 31 Oct 2000, TFE WSD JARVIS JOHN wrote: > Yes, but you have to do in it a round about way. > (Actually, I've seen mention of a patch to Apache that > does this, but I don't think it's neccessary) > > Here's the setup I'm using: > RewriteEngine On > RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} > [QSA,L,P] > RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] > RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] > > In this case, REMOTE_ADDR will be available in the > REQUEST namespace under "client_ip" > > HTH > > > -----Original Message----- > > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > > Sent: Tuesday, October 31, 2000 5:47 AM > > To: zope@zope.org > > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > > > Hi, > > > > Does anyone know if it is even *possible* to pass environment variables > > (specifically REMOTE_USER) to Zope when it is set up behind > > Apache/ProxyPass. > > > > I've looked around the list archives, and the Apache docs and tried a > > bunch of different configs but nothing works. I'm starting to wonder if > > it's all in vain. > > > > Thanks, > > > > > > > > _______________________________________________ > > 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 ) > From amos@digicool.com Tue Oct 31 19:44:16 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 11:44:16 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF2110.AF8151CC@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see what I'm talking about. As soon as the book is published it will go under an open content license and we'll make PDF, and probably other formats available. At that time you'll also be able to convert the book to whatever formats you want and redistribute it as you wish. Thanks for your patience. -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From robin@jessikat.fsnet.co.uk Tue Oct 31 20:10:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:10:09 +0000 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> References: <39FE2133.F00ED435@digicool.com> Message-ID: In article <39FE2133.F00ED435@digicool.com>, Michel Pelletier writes > >Amos and I are gibbering like madmen with excitement to announce the >Zope Book Beta. This is the complete, technical draft of the book with >all screenshots (but minus illustrations, those are on there way!). >Some other things like a colophon and information about the authors is >missing. The beta includes all completed chapters, the API reference, >and the DTML reference. We've received over a hundred comments, >corrections, and ideas from you the community and it has made a much >better book. This is the one to print out and give to your friends as >christmas gifts, folks, so get crackin and start reading at >http://www.zope.org/Members/michel/ZB/. > >Enjoy, > >-Michel > ... wonderful, but the stuff on Python methods seems to refer to features which are certainly not in 2.2.2 and apparently not in CVS. Indeed CVS Zope2 doesn't seem to contain any Python method product! Indeed we will apparently soon be able to create XSLT methods! Which potential Zope does the book address? -- Robin Becker From robin@jessikat.fsnet.co.uk Tue Oct 31 20:51:54 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:51:54 +0000 Subject: [Zope] preventing acquisition In-Reply-To: References: Message-ID: In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From evan@4-am.com Tue Oct 31 20:58:04 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 31 Oct 2000 15:58:04 -0500 Subject: [Zope] Zope & Apache/ProxyPass : environment variables References: Message-ID: <00d801c0437d$434cbf10$3e48a4d8@digicool.com> From: Aaron Straup Cope > Thanks. It appears, though, that there is no way to do this without > appending a query string to the redirected URL. Is this correct? That, or mangling the URL in some way and then unmangling on the Zope end. If someone out there has any experience with Apache modules, they could earn the undying gratitude of many Zopistas by enhancing mod_forwarding to do this sort of thing. Cheers, Evan @ digicool & 4-am From michel@digicool.com Tue Oct 31 20:54:49 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:54:49 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF2B82.7500.28F81960@localhost> Message-ID: <39FF3199.2EAC7DB2@digicool.com> Wolfgang Strobl wrote: > > On 31 Oct 2000, at 10:39, Amos Latteier wrote: > > > I believe that O'Reilly doesn't want the book redistributed before it is > > printed. > > It's gone. > > > I'll recheck with them. > > No need to. > > But what is the meaning of This is the one to print out and give to > your friends as christmas gifts, folks, so get crackin and start > reading at." in the announcement? That was a joke. Sorry. -Michel From michel@digicool.com Tue Oct 31 20:57:51 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:57:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF324F.2A90AFB2@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? No, we won't produce one until the book goes to an open content license when it hits the shelf. -Michel > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From jasonic@nomadicsltd.com Tue Oct 31 21:15:59 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Tue, 31 Oct 2000 16:15:59 -0500 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <39FF2110.AF8151CC@digicool.com> Message-ID: <026501c0437f$c4c18ba0$c3090740@megapathdsl.net> Hello Congratulations on getting the book to this stage!! It is very readable and I hope it is well promoted, and well received. One obvious presentation improvement I suggest is that you make ALL zope code references in the same typographic style. For example throughout most of the text you sensibly have DTML and Python examples in courier or equivalent. But in the Appendices, for example http://www.zope.org/Members/michel/ZB/AppendixA.html under sections marked 'Attributes', there is not a clear consistent distinction: encode=string MIME Content-Transfer-Encoding header, defaults to base64. Valid encoding options include base64, quoted-printable, uuencode, x-uuencode, uue, x-uue, and 7bit. If the encode attribute is set to 7bit no encoding is done on the block and the data is assumed to be in a valid MIME format. "encode=string" should display in courier also like all examples. And if possible put one extra line space after each Attribute description before the next entry. Thought this takes up a little more space, it is white space well used adn really helps one to find and absorb this crucial content better. An editorial suggestion I would make is that in the Appendices, MORE examples would be BETTER and clearer definitions and examples of the attributes arguments would really help too. Even a single one or two-line example after each 'Attributes section would be a godsend. I imagine there are lots of juicy examples in the archives. For example check sendmail, mailhost ="mailhostnamegoeshere" Also there is no mention about the sendmail quirkiness of formatting, needing space after the subject: line This is a FAQ and surely belongs in the appendix of the only Zope book. Are there others? In general for the Appendices, please check that explicitly it is clear and consistent when and if anything is returned, and when and how arguments are needed. You all know, and take all this for granted no doubt, but others truly don't. The API aspect is one that holds so many people back and so many questions about real-world use. Copious well placed examples go a long way. I know how hard it is use to make a book and how many endless fiddly time-consuming tasks there are. But it really is worth getting this right. I work for 10 years in the design and production side of book publishing. Ditto the index. I hope you push to make sure your editorial team at OReilly are really behind you on helping to produce a great index and will sweat all the details and typographic minutiae which do matter so much when you hold the final result. A classic example is 'Lingo in a Nutshell' [ORA] which has very detailed examples and excellent tables and appendices, but was marred by a cheap fast shallow index. It was author Bruce Epstein's painful learning curve. It is still the definitive LINGO book, but widely criticized for lack of serious index. Bruce later added stuff online and vowed to fix it in the next edition. As I recall from his post to the Direct-L mailing list, he said that he had not been personally very involved in the index, and as an exhausted and tired new author, he had not reckoned on what could go wrong, nor how important the index is to a static printed paper book. Very different from the dynamic online world where a few searches on google or wherever will get a handy reference, backed up by a post to xyz-mailinglist. Best wishes - Jason ________________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector From twiens@compusmart.ab.ca Tue Oct 31 22:02:30 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 15:02:30 -0700 Subject: [Zope] Mapping tools with Zope Message-ID: <39FF419C.6BC2856D@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T PS. I'm posting this a second time as I accidentally posted the first message as part of the Zope Book Beta thread. Sorry. -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From ws@mystrobl.de Tue Oct 31 22:08:00 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 23:08:00 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <39FF50D0.5314.2989D443@localhost> On 31 Oct 2000, at 12:54, Michel Pelletier wrote: > That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl From aboulang@ldeo.columbia.edu Tue Oct 31 22:27:35 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Tue, 31 Oct 2000 17:27:35 -0500 (EST) Subject: [Zope] Mapping tools with Zope In-Reply-To: <39FF419C.6BC2856D@compusmart.ab.ca> (message from twiens on Tue, 31 Oct 2000 15:02:30 -0700) Message-ID: <200010312227.RAA05754@ox.ldgo.columbia.edu> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. Here is one one other that I know of that may be of interest. BBN Technologies; contribution to the OpenGIS effort, a product called openmap, www.openmap.org. This is a JavaBeans tooolkit. I have downloaded it but have not done anything serious with it. FYI, Albert Boulanger aboulanger@vpatch.com From dieter@handshake.de Tue Oct 31 22:02:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:02:33 +0100 (CET) Subject: [Zope] incorporating generated sub-websites within a Zope site In-Reply-To: <34848996@toto.iv> Message-ID: <14847.16076.672445.475183@lindm.dm> Fred Yankowski writes: > ... publishing content created with standard web design tools via Zope ... There have been some discussions about this in "zope-dev" in relation with "HiperDOM" and "XHTML" templates. Maybe, you search the "zope-dev" archive to get an overview. As far as I know, DC plans to support such publication. HiperDOM might already go some way into this direction (for tools that generate XHTML). There is an easy way to provide header and footer to your content -- provided you are ready to use a bit uncomfortable URLs, i.e. to view an object with URL "u", you use "u/view". "view" is a method (DTML or PYTHON) that operates on "u". It removes the header and footer in "u" and replaces it with header and footer of your choice, after passing values extracted from the original header to the new header (e.g. title, link, meta tags). With some advanced Zope, maybe the "Traversable" product, it might be possible to get around the additional "/view" URL suffix. Dieter From dieter@handshake.de Tue Oct 31 22:03:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:03:54 +0100 (CET) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: <54175321@toto.iv> Message-ID: <14847.16782.566315.644387@lindm.dm> Tony McDonald writes: > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > > and the traceback... > > (Info: ('\000\000\000\000\000\000\015\367', > '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ > Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke > rBase > > Now the thing is, I *do not have* TrackerBase.TrackerBase in my > Products folder. To try and get rid of this error, I have deleted > *all* the products in my Products Folder and restarted my server. The > error message still comes up. > I have packed the database and tried 'grep' The problem will probably disappear, when you do install "TrackerBase". Dieter From dieter@handshake.de Tue Oct 31 22:05:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:05:05 +0100 (CET) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <44407041@toto.iv> Message-ID: <14847.16851.2182.108602@lindm.dm> Aaron Straup Cope writes: > I'd like to be able to perform all authentication in Apache-land on the > SSL and, if successful, hand the request off the Zope. The thing is, I > still need to know who's actually authenticated once they readch > Zope-world and assinging REMOTE_USER to a request parameter doesn't make > me very comfortable. > > Alas... The "doc/WEBSERVERS.txt" contains some information about how to convince Apache to pass "REMOTE_USER". I am not sure, it will be enough for you. Dieter From dieter@handshake.de Tue Oct 31 21:37:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 22:37:40 +0100 (CET) Subject: [Zope] Gadfly In-Reply-To: <12604657@toto.iv> Message-ID: <14847.15152.805685.438529@lindm.dm> Chris Withers writes: > jacintha menezes wrote: > > > I am using Gadfly database for Employee details.Kindly let me know > > whether there is any maximum limit for the space available. > > Probably related to the memory in the machine you are running Zope on. > > Bear in mind that gadfly databases are not persistent and loose their > contents when you restart Zope. It is very easy to make them persistent. When I remember correctly, it was only necessary to pass "commit" to Gadfly. Dieter From phil.harris@zope.co.uk Sun Oct 29 17:50:41 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:50:41 -0000 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF50D0.5314.2989D443@localhost> Message-ID: <003101c041d0$c2da66f0$0202a8c0@typhoon> Hi all, If your talking about me with the PDF and eBook, then if it's a problem I won't redistribute it. It's actually sitting on my machine waiting to go, but I'll hold if need be. Let me know either way. hth Phil ----- Original Message ----- From: "Wolfgang Strobl" To: ; "Amos Latteier" ; ; Sent: Tuesday, October 31, 2000 10:08 PM Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta | On 31 Oct 2000, at 12:54, Michel Pelletier wrote: | | > That was a joke. Sorry. | | Uh, oh. Well, my thought was as follows: people are already | annoucing making PDF versions, which are a much greater | potential harm to to the number of sales of a printed book.With a | good pdf file, I can get to my local prinshop and get a perfect | bounded book back within half an hour. | | On the other hand, a MS HTML help file is of little use other than | having a compact, searchable file which fits well into a | development environment on Windows. Frankly, I can't see how | these could do any harm to selling your book. To the contrary; I | tend to beleive that having a properly indexed and tightly | integrated online format might even might help selling the book. | | For example; I have HTML help versions _and_ printed copies of | the - outdated - Zope docs, and one of each from the actual | howto-collection, and I'm using them both. | | -- | Wolfgang Strobl | | _______________________________________________ | 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 ) From troy.farrell@wilcom.com Tue Oct 31 23:04:19 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Tue, 31 Oct 2000 17:04:19 -0600 Subject: [Zope] preventing acquisition Message-ID: Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -----Original Message----- From: Robin Becker [mailto:robin@jessikat.fsnet.co.uk] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: Zope@zope.org Subject: Re: [Zope] preventing acquisition In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From nichols@tradingconnections.com Tue Oct 31 23:01:26 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 31 Oct 2000 17:01:26 -0600 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF50D0.5314.2989D443@localhost> References: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <4.3.2.7.2.20001031165846.00c7d960@tradingconnections.com> At 10/31/00 11:08 PM, Wolfgang Strobl wrote: >For example; I have HTML help versions _and_ printed copies of >the - outdated - Zope docs, and one of each from the actual >howto-collection, and I'm using them both. Wolfgang - How about putting up your HTML help version of the howto-collection? That would be very cool. Thanks! -- Dennis Nichols nichols@tradingconnections.com From phil.harris@zope.co.uk Tue Oct 31 01:50:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 01:50:09 -0000 Subject: [Zope] OT Zope book images -> PDF References: Message-ID: <008301c042dc$e7d072d0$0202a8c0@typhoon> Eric, I got Acrobat to recognise the png's by first loading the html nto msword and then 'printing' the PDF from there. hth Phil ----- Original Message ----- From: "Eric Walstad" To: "Zope@Zope.Org" Sent: Thursday, November 02, 2000 12:58 AM Subject: [Zope] OT Zope book images -> PDF | In light of all the hubbub about the Zope book, I thought I would try and | make my own copy of it in PDF format (just for me, of course). I'm finding | that Acrobat doesn't know how to convert the PNG image file type used in the | Zope Book. (or rather, I don't know how to get it to work !) Anyone know | how to get png files into Acrobat? Oh, I'm trying to use their 'Open Web | Page' method of creating the document. Is there another/better way that | will get the png images? | Thanks, | Eric. | | | _______________________________________________ | 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 ) From peter@grenna.net Sun Oct 1 00:23:12 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 1 Oct 2000 00:23:12 +0100 Subject: [Zope] Hexcolors and DTML Message-ID: <001b01c02b35$67513450$01d4a8c0@peppe> This might be a math-python question but... All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 I can do a loop from 1 to 255, but I don't know where to go from there. BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? From zope@philosoft.at Sun Oct 1 02:52:40 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sun, 01 Oct 2000 03:52:40 +0200 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? Message-ID: <200010010352400046.182B82FD@192.7.2.223> --=====_97036516041=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Since XML blows lots of overhead over the line sending large amounts of data via XML becomes a performance question. There exist XML-compressors, for example XMill that address this problem. What I need is integrating such an XML compressor into the Zope XMLRPC= mechanism, Before I do something that is already done by somebody else: Did anybody play with XML compressors for Zope or at least have a hint how= to do that? thanks --=====_97036516041=_ Content-Type: text/html; charset="us-ascii"
Since XML blows lots of overhead over the line sending large amounts of
data via XML becomes a performance question.
 
There exist XML-compressors, for example XMill that address this problem.
 
What I need is integrating such an XML compressor into the Zope XMLRPC mechanism,
Before I do something that is already done by somebody else:
 
Did anybody play with XML compressors for Zope or at least have a hint how to do that?
 
thanks
--=====_97036516041=_-- From chrism@digicool.com Sun Oct 1 03:47:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 30 Sep 2000 22:47:17 -0400 Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? References: <200010010352400046.182B82FD@192.7.2.223> Message-ID: <39D6A5B5.D77B08CE@digicool.com> Phillip, If your data transfers are bounded between a number of systems that you control, it's possible to solve this problem the sledgehammer way by having them communicate via a channel such as a compressed ssh tunnel (if your processors aren't a bottleneck). -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From twcook@iswt.com Sun Oct 1 03:59:40 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 30 Sep 2000 21:59:40 -0500 Subject: [Zope] Hexcolors and DTML References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <39D6A89C.EA2B0341@iswt.com> Peter Bengtsson wrote: > > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > > BTW, are there non-websafe greycolors? Can the loop be for only websafe ones? Not an expert on this at all. But, I believe that all the websafe colors are defined in pairs of the following hex digits. 00, 33, 66, 99, cc, & ff. So only colors that are composed of those pairs are websafe. If that's true then yes there are shades of gray that are not web safe. Checkout this link for more info. http://www.reallybig.com/visibone/lab/index.shtml Therefore there are only six shades of websafe gray. 000000, 333333, 666666, 999999, cccccc, & ffffff. Put those in a list? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From wilson@visi.com Sun Oct 1 05:32:48 2000 From: wilson@visi.com (Timothy Wilson) Date: Sat, 30 Sep 2000 23:32:48 -0500 (CDT) Subject: [Zope] handling date properties in Message-ID: Hi everyone, I've created a simple ZClass to allow our Human Resources dept. to post job openings on our Web site. There's a DTML method that iterates through a folder containing all of the 'Job Board Entry' instances and displays them in an HTML table. No problem there. The ZClass has a number of properties including two dates, 'date_posted' for the date that the job is officially available and 'offer_expires' for the date the job opening officially closes. I want to display only those jobs for which the current date is on or after the 'date_posted' and on or before 'offer_expires'. I've tried a bunch of things, but haven't hit upon the winning answer. Any takers? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From nolan_d@bigfoot.com Sun Oct 1 07:26:15 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Sun, 01 Oct 2000 01:26:15 -0500 Subject: [Zope] Z class complexities Message-ID: <20001001012615P.nolan@tiny> I'm having a kinda complex problem, and hopefully my explanation can do it justice. :) I'm using zope to construct an XML document from the contents of a folder. Basically, the folder's index.xml iterates through the folder's contents, rendering each object to produce the final document. The objects are separate z classes which combine various properties into a small snippet of the larger XML document. The z class has a render() method which combines the properties into the XML snippet. I have a Render view configured to run this method, and it works. (Though for some reason it adds a ..., which I'd really like to get rid of. How can I?) I've written the index_html to collect the individual objects and concatenate their contents into an XML document. The code for the method is below: This almost gives me what I want (I say "almost" because everything works, short of the render() call.) Viewing this results in: +----------------------------------------------------------------------------+ ||Zope Error | || | ||Zope has encountered an error while publishing this resource. | || | ||Error Type: KeyError | ||Error Value: title | ||---------------------------------------------------------------------------| || | ||Troubleshooting Suggestions | || | || o This resource may be trying to reference a nonexistent object or | || variable title. | || o The URL may be incorrect. | || o The parameters passed to this resource may be incorrect. | || o A resource that this resource relies on may be encountering an error. | || | ||For more detailed information about the error, please refer to the HTML | ||source for this page. | || | ||If the error persists please contact the site maintainer. Thank you for | ||your patience. | +----------------------------------------------------------------------------+ Traceback (innermost last): File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/e1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/e1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index.xml) File /usr/local/zope/e1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index.xml) File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: index.xml) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: PARENTS[0].objectValues('ESPPackage')) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[_['id']].render()) (Info: _) File <string>, line 0, in ? File /usr/local/zope/e1/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: render) File /usr/local/zope/e1/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: render) KeyError: (see above) --> I have a title variable in the z class which this index.xml method is referencing. And, as previously stated, the render() method runs without errors when invoked via the view. Yet, trying to display this document from within another doesn't work. Can anyone please advise? Thanks a bunch in advance. From stefan@epy.co.at Sun Oct 1 09:38:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Sun, 1 Oct 2000 10:38:17 +0200 (CEST) Subject: [Zope] DTMLTemplate on Zope 2.2.1 Message-ID: I a trying to make the DTMLTemplate Product work on Zope 2.2.1 No luck so far ;( I can add a DTMLTemplate instance but when I try to edit it, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: first argument must be sequence of strings Traceback (innermost last): File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: MyBlocks) File /usr/local/Zope-2.2.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.2.1-src/lib/python/Zope/__init__.py, line 271, in recordMetaData TypeError: (see above) I believe it worked with Zope 2.1.6. Any hints appreciated. Stefan -- Stefan H. Holek, stefan@epy.co.at From rsepulveda@linuxmty.org Sun Oct 1 09:39:07 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 03:39:07 -0500 Subject: [Zope] Use variable value by other file In-Reply-To: Dieter Maurer's message of "Sat, 30 Sep 2000 22:10:17 +0200 (CEST)" References: <14806.18483.33225.450699@lindm.dm> Message-ID: <87og15x8es.fsf@linuxmty.org> Dieter Maurer writes: > It is not necessary for "standard_html_footer" to be > in the same folder than your file. Yes, I realize that it was a mistake in the variable name: - instead of a _. -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From rsepulveda@linuxmty.org Sun Oct 1 11:06:41 2000 From: rsepulveda@linuxmty.org (Rafael Sepúlveda) Date: 01 Oct 2000 05:06:41 -0500 Subject: [Zope] One page for different selections Message-ID: <87k8bsyixa.fsf@linuxmty.org> Is there a way to make a variable change its value depending which 'href' the user clicks in order to change the contents of the next page viewed? For example, I want to have a page with six links, and depending which of them the user clicks, a variable will change its value so the next page will display that data refered on the link clicked. Is there a way to do this without having six files, one for each other; just having one file with that variable? -- Rafael Sepúlveda http://www.linuxmty.org/people/rsepulveda 1024D/1981FDE7 F13B C41C 739B 7233 F738 D68E 2947 D868 1981 FDE7 From sebbacon@email.com Sun Oct 1 13:42:25 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:42:25 +0100 Subject: [Zope] One page for different selections References: <87k8bsyixa.fsf@linuxmty.org> Message-ID: <39D73131.60633ECD@email.com> I'm not sure exactly what you mean when you say > Is there a way to do this without having six files, one for each > other; just having one file with that variable? but one answer to what I think you're asking is Foo Bar and then in the next_page document: this will render the foo object if someone clicks on "Foo", etc. HTH, seb. "Rafael Sepúlveda" wrote: > > Is there a way to make a variable change its value depending which > 'href' the user clicks in order to change the contents of the next > page viewed? > > For example, I want to have a page with six links, and depending which > of them the user clicks, a variable will change its value so the next > page will display that data refered on the link clicked. > From sebbacon@email.com Sun Oct 1 13:48:50 2000 From: sebbacon@email.com (seb) Date: Sun, 01 Oct 2000 13:48:50 +0100 Subject: [Zope] handling date properties in References: Message-ID: <39D732B2.FD73DA33@email.com> Hi, > ... I want to display only those jobs > for which the current date is on or after the 'date_posted' and on or > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > the winning answer. Any takers? Try Job:
Seb. From mail@okstudio.com.au Sun Oct 1 16:58:18 2000 From: mail@okstudio.com.au (George Osvald) Date: Mon, 2 Oct 2000 01:58:18 +1000 Subject: [Zope] working crontab restart script on FreeBsd Message-ID: <000001c02bc0$6a977580$48f438cb@gosvald> I was trying to do this for a little while so in case anyone's interested, here it is. Most of the code was kindly sent to me by other people so do not blame me for the mistakes. This script(auto) checks ZOPE every 15'th minute and if it does not run, it will restart it. It has been working without a problem on FreeBSD 4.0 after I patched ZOPE's pidfile for LF's. (without that little operation it returns an error message and restarts ZOPE every time without checking it) I am running this from crontab: SHELL=/bin/sh 0,15,30,45 * * * * /home/user/auto And this script(auto) is sitting in my user directory: #!/bin/sh ZOPEDIR="/home/user/zope" INFOMAIL="mail@okstudio.com.au" STARTFILE="$ZOPEDIR/start" STOPFILE="$ZOPEDIR/stop" PIDFILE="$ZOPEDIR/var/Z2.pid" PID1ACTIVE=0 PID2ACTIVE=0 if [ -x $STARTFILE ]; then if [ -r $PIDFILE ]; then PID1=`cut -d" " -f1 $PIDFILE` PID2=`cut -d" " -f2 $PIDFILE` if kill -0 $PID1 2>/dev/null then PID1ACTIVE=1 fi if kill -0 $PID2 2>/dev/null then PID2ACTIVE=1 fi fi if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then $STOPFILE >/dev/null 2>&1 sleep 10 $STARTFILE date | mail -s"Zope restarted" $INFOMAIL >/dev/null 2>&1 fi fi Regards, George From roeder@berg.net Sun Oct 1 16:41:26 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 17:41:26 +0200 Subject: [Zope] handling date properties in References: <39D732B2.FD73DA33@email.com> Message-ID: <39D75B26.2646394B@berg.net> Hi ! seb wrote: > > Hi, > > > ... I want to display only those jobs > > for which the current date is on or after the 'date_posted' and on or > > before 'offer_expires'. I've tried a bunch of things, but haven't hit upon > > the winning answer. Any takers? > > Try > > > > > Job:
>
>
>
I have added it to he ZSnippets: http://zdp.zope.org/projects/zsnippet/snippets/time/expiration Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From roeder@berg.net Sun Oct 1 17:02:18 2000 From: roeder@berg.net (Maik Roeder) Date: Sun, 01 Oct 2000 18:02:18 +0200 Subject: [Zope] Z class complexities References: <20001001012615P.nolan@tiny> Message-ID: <39D7600A.565060D4@berg.net> Hi Nolan ! Nolan Darilek wrote: > > I'm having a kinda complex problem, and hopefully my explanation can > do it justice. :) > > I'm using zope to construct an XML document from the contents of a > folder. Basically, the folder's index.xml iterates through the > folder's contents, rendering each object to produce the final > document. The objects are separate z classes which combine various > properties into a small snippet of the larger XML document. > > The z class has a render() method which combines the properties into > the XML snippet. I have a Render view configured to run this method, > and it works. (Though for some reason it adds a ..., which > I'd really like to get rid of. How can I?) Attach the following code: > I've written the index_html to collect the individual objects and > concatenate their contents into an XML document. > > > > > > > > Something like this should work if you have a DTML Method to_xml: Place the to_xml in the ESPPackage ZClass Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From andym@ActiveState.com Sun Oct 1 20:54:18 2000 From: andym@ActiveState.com (Andy McKay) Date: Sun, 1 Oct 2000 12:54:18 -0700 Subject: [Zope] SQL errors References: <14805.3989.417931.96225@lindm.dm> Message-ID: <005c01c02be1$62bb9370$ae03a8c0@fork> Of course, thank you. That works just fine. ----- Original Message ----- From: "Dieter Maurer" To: "Andy McKay" Cc: Sent: Friday, September 29, 2000 2:55 PM Subject: Re: [Zope] SQL errors > Andy McKay writes: > > Using ZODBC Database Adapter to connect to an MSSQL and I can call the sql > > method in dtml eg: > > > > > > > > > > Error! > > > > > > But does anyone know a way of trapping the specific error eg: database down, > > key violation etc...? Or do I have to hack ZODBC to return different errors? > You know the "error_value" variable defined inside the "dtml-except"? > > Maybe, it can give you additional information about the kind > of error. > If it is the wrong one, reraise the exception. > > > Dieter > > _______________________________________________ > 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 ) > From jensebaer@hotmail.com Sun Oct 1 22:09:36 2000 From: jensebaer@hotmail.com (jensebaer) Date: Sun, 1 Oct 2000 23:09:36 +0200 Subject: [Zope] LocalFS manage_addFolder solution? Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, while searching for a solution to add a folder to LocalFS, I found this = message: _________________________________________________________________________= _____ > Folder creation isn't really supported in LocalFS at the moment. Very = > low level support is there (module function _save_Folder) but it's not = > intended to be called externally and there doesn't seem to be any path = > to call it. There is certainly not a local definition of > manage_addFolder in LocalDirectory. This is on my list of stuff to do = > for our site, but I don't know if it's on Jonothan's list for the real > product. It is. It's hard. I'm going to need some help with this one, I'm afraid. --jfarr _________________________________________________________________________= _____ My question: Is there now a solution to perfom manage_addFolder to LocalFS? Thank You=20 Jens ------=_NextPart_000_0005_01C02BFC.AAFAF3E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
while searching for a solution to add a = folder to=20 LocalFS, I found this message:
________________________________________________________________= ______________
> Folder creation isn't really = supported in=20 LocalFS at the moment.  Very
> low level support is there = (module=20 function _save_Folder) but it's not
> intended to be called = externally=20 and there doesn't seem to be any path
> to call it.  There = is=20 certainly not a local definition of
> manage_addFolder in=20 LocalDirectory.  This is on my list of stuff to do
> for our = site,=20 but I don't know if it's on Jonothan's list for the real
>=20 product.

It is. It's hard. I'm going to need some help with this = one, I'm=20 afraid.

--jfarr

________________________________________________________________= ______________
 
 
My question:
 
Is there now a solution to perfom = manage_addFolder=20 to LocalFS?
 
Thank You
 
Jens
------=_NextPart_000_0005_01C02BFC.AAFAF3E0-- From scott@launchpoint.net Sun Oct 1 22:13:59 2000 From: scott@launchpoint.net (Scott Burton) Date: Sun, 01 Oct 2000 14:13:59 -0700 Subject: [Zope] sendmail tag strangeness Message-ID: > 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. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I have searched around about sendmail tag problems on the list and have found similar answers to my question. However none of them work. I have used this syntax To: <> From: Subject: body.... I pay close attention to not having any whitespace before the To: and From: headers. I receive this error from multiple SMTP hosts: 503 must have sender and recipient first I can send an email with this syntax: body... The problem is, I have to put in the recipient by hand. This method is supposed to email a recipient after filling out a form so the recipient has to be a variable. When I try using or &dtml-recipient; or _[recipient] I still have errors or the SMTP log shows that the variable does not get evaluated and shows up as a string of <&dtml-recipient;> as being the recipient in the SMTP header. Is this a bug? Is there something else I could try? TIA Scott B. --MS_Mac_OE_3053254440_367021_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable sendmail tag strangeness I have searched around about sendmail tag problems on the list and have fou= nd similar answers to my question. However none of them work.

I have used this syntax
<dtml-sendmail mailhost=3D"MailHost">
To: <<dtml-var recipient>>
From: <me@mydomain.com>
Subject: <Whatever>

body....

</dtml-sendmail>

I pay close attention to not having any whitespace before the To: and From:= headers.

I receive this error from multiple SMTP hosts: 503 must have sender and recipient first


I can send an email with this syntax:

<dtml-sendmail mailhost=3D"MailHost" mailto=3D"you@yourdomain= .com" mailfrom=3D"me@mydomain.com">

body...

</dtml-sendmail>

The problem is, I have to put in the recipient by hand. This method is supp= osed to email a recipient after filling out a form so the recipient has to b= e a variable. When I try using <dtml-var recipient> or &dtml-recip= ient; or _[recipient] I still have errors or the SMTP log shows that the var= iable does not get evaluated and shows up as a string of <&dtml-recip= ient;> as being the recipient in the SMTP header.

Is this a bug? Is there something else I could try?

TIA

Scott B.
--MS_Mac_OE_3053254440_367021_MIME_Part-- From roeder@berg.net Sun Oct 1 23:02:01 2000 From: roeder@berg.net (Maik Roeder) Date: Mon, 02 Oct 2000 00:02:01 +0200 Subject: [Zope] sendmail tag strangeness References: Message-ID: <39D7B459.2C3D96BD@berg.net> Hi Scott ! Scott Burton wrote: > The problem is, I have to put in the recipient by hand. This method is > supposed to email a recipient after filling out a form so the recipient > has to be a variable. When I try using or &dtml-recipient; > or _[recipient] I still have errors or the SMTP log shows that the variable > does not get evaluated and shows up as a string of <&dtml-recipient;> > as being the recipient in the SMTP header. > > Is this a bug? Is there something else I could try? I have tested the following code on the ZDP site, and it works: To: <> From: The CommentClass constructor Subject: A new Comment has been added to ZDP ! Dear Tom ! Under the following URL, a Comment has been added: URL: / Name: Nickname: Content: Have a nice day, The CommentClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/CommentClass_add/manage_main) Zope version: Zope 2.1.3 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 Process ID: 1478 (1024) Running for: 34 days 4 hours 6 min 32 sec Maybe you can test the above code and see if it works. It may be possible to track down the bug by comparing the code from 2.1.3 with the code from your Zope version. Regards, Maik Röder -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com From curtis@cardgate.net Mon Oct 2 00:27:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 10:27:56 +1100 Subject: [Zope] Hexcolors and DTML In-Reply-To: <001b01c02b35$67513450$01d4a8c0@peppe> References: <001b01c02b35$67513450$01d4a8c0@peppe> Message-ID: <00100210275606.02655@localhost.localdomain> On Sun, 01 Oct 2000, Peter Bengtsson wrote: > This might be a math-python question but... > All I want to do is to print out the hexvalue of all black/white colors for > a "fading HTML table". > > #ffffff, #fefefe, #fdfdfd, ... #020202, #010101, #000000 > > I can do a loop from 1 to 255, but I don't know where to go from there. > ">BLAH
> BTW, are there non-websafe greycolors? Can the loop be for only websafe > ones? > According to a recent study, there are approximately 13 'web safe' colours, out of the full 16,777,216. Can you be bothered restricting yourself to support the 'lowest common denominator' ? If you really want to know what they are, do a quick search back on www.slashdot.org for the link. Have a better one, Curtis Maloney From jatwood@bwanazulia.com Mon Oct 2 00:52:14 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 1 Oct 2000 19:52:14 -0400 Subject: [Zope] ANN: ZUBB/ZDiscussions 0.6.0 Released In-Reply-To: <005c01c02be1$62bb9370$ae03a8c0@fork> References: <14805.3989.417931.96225@lindm.dm> <005c01c02be1$62bb9370$ae03a8c0@fork> Message-ID: http://www.zope.com/Members/BwanaZulia/ZUBB With the help of Jeffrey and Angel here is 0.6.0 Changes in Version 0.6.0 Fixed the problem (again) with 2.2.2 (submitted by Angel Garcia) Added message count to the main view (submitted by Jeffrey Harris) Added last post to main view (submitted by Jeffrey Harris) Modified thread view so it will show entire thread (Submitted by Jeffrey Harris) Modified both README and header of ZDiscussions.py Upgraded status to STABLE from DEVELOPMENT as it has now been in production on five of my sites with no problems. Example Sites: http://www.zope.org/Members/BwanaZulia/ZUBB/EXAMPLES Report bugs and such to: http://www.bwanazulia.com/discussions/test/ If you have a ZUBB/ZDiscussion installation and would like to be added to the list please let me know. Thanks, J From jens@grewen.de Mon Oct 2 02:48:16 2000 From: jens@grewen.de (Grewen.de) Date: Mon, 2 Oct 2000 03:48:16 +0200 Subject: [Zope] How to use manage_addLocalFS Message-ID: <000801c02c12$d597c220$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I want to create an LocalFS object. I use but that doesn=B4t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? ------=_NextPart_000_0005_01C02C23.988B08E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I want to create an LocalFS = object.
 
I use <dtml-call = "manage_addLocalFS('LocalFS',=20 'Tis is the title', '/home/zope/productimages')"> but that doesn=B4t=20 work.
 
Simular to <dtml-call=20 "manage_addFolder('Folder', 'Tis is the title')">
 
Any ideas?
 
May I have to use a externel methode = like in the=20 mail I posted before?
 
 
------=_NextPart_000_0005_01C02C23.988B08E0-- From wilson@visi.com Mon Oct 2 04:19:19 2000 From: wilson@visi.com (Timothy Wilson) Date: Sun, 1 Oct 2000 22:19:19 -0500 (CDT) Subject: [Zope] Allright, who broke acquisition? Message-ID: Hi everyone, I'm running Zope 2.2.2 on Linux. All of the sudden I've got some DTML methods that are no longer being acquired in subfolders. I changed the HTML a bit and the whole thing stopped working! I've got some little navigation menus that I'd like to reuse in subfolders by simply referring to them via and having them acquired from the parent folder. Anybody know when this is happening? Here's a sample of the code and the traceback:
Quick Links
Site map
District Information
Site feedback
E-Mail System
About our site
Web-devel Page
Any ideas? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From curtis@cardgate.net Mon Oct 2 05:50:02 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 2 Oct 2000 15:50:02 +1100 Subject: [Zope] Limited file size editing... Message-ID: <00100215500209.02655@localhost.localdomain> Just curious... I've seen several times on this list people pointing out that the limit on the size of files you can edit in Zope via the web interface is a result of your browser. The sizes I recall were somewhere in the vacinity of 64K. I currently have a 470K file open for editing in Netscape 4.75 (under Linux). What are the limits on various browsers? Ignore me if you think this is too far off topic.... Curtis. From lda@rice.edu Mon Oct 2 06:38:25 2000 From: lda@rice.edu (Larry Albert) Date: Mon, 02 Oct 2000 00:38:25 -0500 Subject: [Zope] ZopeTime().Date() confusion Message-ID: <0G1S00DR7FMEX0@mta4.rcsntx.swbell.net> This is driving me batty. I am trying to do something very simple. I want a method to perform an update no more than once a day. I know there are other approaches to this issue -- such as using bobobase_modification_time, not to mention Xron -- but I would like to use a date property for reasons I won't go into here. I am using Zope 2.2.1. Every time the method updates, I update the date property called last_updated with this: This gives me a date that appears to be accurate, such as 2000/10/01. Then, every time the page gets called, I want to check to see if it is time to call the method, so I use: don't update method update method store new last_updated This worked fine until, at the appointed hour, last_updated began to sense that even though it appeared to be "2000/10/01" (and even when I typed it in that way by hand), the time in Greenwich was actually more important to its sense of identity than was its appearance to me. So even when ZopeTime().Date() gave me 2000/10/01, last_updated.isCurrentDay() would evaluate to false(!). So the method would update every time the page was called. As a kluge, I changed my update command to , which works, but causes the update to occur, I presume, at midnight GMT, rather than midnight here, which would be nicer (actually, I'd love to be able to control the precise hour updates should occur, but I can't figure out how to do that). This is also complicated -- but not relevantly, I hope? -- by the fact that the Zope installation seems to think the time zone is GMT+2 rather than GMT-5 (I'm in Texas). I understand that the previously counterintuitive use of strftime was changed for 2.2.1 -- but I am not using strftime, I am using Date() and isCurrentDay(). I've tried all sorts of combinations of switching time zones but succeeded only in confusing myself. So three questions: 1. Is there a better way to do this (still using a property called last_updated)? 2. Does the use of Date() and isCurrentDay(), etc. still switch everything to GMT, even though strftime was changed? If so, what is the list of methods that compare GMT, and which that compare the local installation time? 3. This appears to be a perfect example of something that should be very simple becoming needlessly complicated. Couldn't some more user-friendly ("beginner") time or date objects be implemented in DTML? Thanks for any help! Larry Albert lda@rice.edu From rbickers@logicetc.com Mon Oct 2 07:05:00 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 02:05:00 -0400 Subject: [Zope] How to use management tabs not for management Message-ID: I want to create create HTML pages with my own Zopish looking tabs that have nothing to do with Zope management. Is there a simple way to use manage_tabs for this, or do I need to make my own version of it? Everything I've tried gets me caught up in the Zope management system. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From Danny@Adair.net Mon Oct 2 14:57:53 2000 From: Danny@Adair.net (Danny William Adair) Date: Mon, 2 Oct 2000 15:57:53 +0200 Subject: [Zope] Access problems Message-ID: What has happened? Whatever resource I'm trying to access (including the management IF), I get this (running a 2.2.1 Zope on Unix) --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) TIA, Prost, Danny From jatwood@bwanazulia.com Mon Oct 2 15:00:03 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 10:00:03 -0400 Subject: [Zope] Zope bug collector on zope.org available? Message-ID: http://classic.zope.org:8080/Collector/ Does anyone know what product this is and if it is available for download? I am looking for something that is similar to BugZilla. Ethan? Paul? Anyone? Thanks, J From skip@mojam.com (Skip Montanaro) Mon Oct 2 15:52:32 2000 From: skip@mojam.com (Skip Montanaro) (Skip Montanaro) Date: Mon, 2 Oct 2000 09:52:32 -0500 (CDT) Subject: [Zope] XMLRPC:XML Compressors - anybody experienced it? In-Reply-To: <532696846@toto.iv> Message-ID: <14808.41264.48003.973440@beluga.mojam.com> Philipp> Did anybody play with XML compressors for Zope or at least have Philipp> a hint how to do that? I use a slightly modified version of Fredrik Lundh's xmlrpclib.py module that will often use zlib compression to compress responses. Running over a wide area network such as the Internet I've seen speedups of as much as 5-to-1. Instructions and my current version of xmlrpclib.py are available from my Python Bits page: http://www.musi-cal.com/~skip/python/ I believe it is a drop-in replacement for Zope's version, though note that my code has other mods as well (in particular, it specifies the encoding as Latin-1 for all requests and responses). You should compare it with the versions distributed with Zope or by PythonWare to decide what changes you want to incorporate in your own system. -- Skip Montanaro (skip@mojam.com) http://www.mojam.com/ http://www.musi-cal.com/ From brian@digicool.com Mon Oct 2 16:23:06 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 2 Oct 2000 11:23:06 -0400 Subject: [Zope] FYI: Python product tutorial updated In-Reply-To: <4036A094D96A9549A6D6CCD979F1F3630C2477@engin-mail2.ad.engin.umich.edu> Message-ID: > This tutorial looks great...it explained a lot of things to me > that I wasn't > able to put together before. > > But...on looking at it, a nagging thought keep recurring...this > is a really > quite long and complicated process for a Poll product. As much as I like > Zope and thing it is a great platform on which to develop web > applications, > I often wonder about the complexity and obscurity of some of the > procedures > that need to executed while making what are, on the face of it, > often quite > simple web objects or applications. Consequently I have honestly > had quite a > hard time convincing PHP-savvy colleagues that the path to Zope Zen is > something worth starting on. Does anyone else experience these nagging > doubtful thoughts occasionally ? I think yours is a valid criticism. Zope provides the infrastructure to do a lot of powerful and complex things, with the downside that (currently) as a developer a lot of the details are "in your face". One major goal I have for Zope going forward is to strive for "optional complexity" - not only for day-to-day use of Zope but also for component developers. I'd be very interested to hear any ideas you folks have on ways to help "make simple things simple" for development and to allow people to deal with complexity only as they begin to need it... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From dan@sol.control.com Mon Oct 2 17:08:15 2000 From: dan@sol.control.com (Dan L. Pierson) Date: 02 Oct 2000 11:08:15 -0500 Subject: [Zope] LocalFS manage_addFolder solution? In-Reply-To: "jensebaer"'s message of "Sun, 1 Oct 2000 23:09:36 +0200" References: Message-ID: "jensebaer" writes: > ______________________________________________________________________________ > > > Folder creation isn't really supported in LocalFS at the moment.  Very > > low level support is there (module function _save_Folder) but it's not > > intended to be called externally and there doesn't seem to be any path > > to call it.  There is certainly not a local definition of > > manage_addFolder in LocalDirectory.  This is on my list of stuff to do > > for our site, but I don't know if it's on Jonothan's list for the real > > product. > It is. It's hard. I'm going to need some help with this one, I'm afraid. > --jfarr > ______________________________________________________________________________ > > My question: > > Is there now a solution to perfom manage_addFolder to LocalFS? The general case _is_ hard, but special cases can be much easier. In an earlier message Jonothan recommended using external methods to add folders. We plan to take this approach for our use. For one thing it makes enforcing our site policies much easier than a general approach. From rbickers@logicetc.com Mon Oct 2 16:26:09 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Mon, 2 Oct 2000 11:26:09 -0400 Subject: [Zope] How to use management tabs not for management In-Reply-To: <007601c02c63$1866ab20$01d4a8c0@peppe> Message-ID: I didn't mean to imply that I didn't want to use any DTML. If there's a way to set manage_options and call manage_tabs though DTML or a Python method, that would be ideal. I would like to avoid having to create my own modified manage_tabs for this purpose, but if that's what it takes, so be it. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com > -----Original Message----- > From: Peter Bengtsson [mailto:peter@grenna.net] > Sent: Monday, October 02, 2000 7:23 AM > To: Ron Bickers > Cc: zope@zope.org > Subject: Re: [Zope] How to use management tabs not for management > > > Viewing the HTML source of your Zope management and highlightning > the tabs HTML? There is no DTML there. > However, there are some images. src="/p_/ltab" and src="/p_/rtab" > Could that be it? > > > > > I want to create create HTML pages with my own Zopish looking > tabs that have > > nothing to do with Zope management. Is there a simple way to use > > manage_tabs for this, or do I need to make my own version of > it? Everything > > I've tried gets me caught up in the Zope management system. From roche@ybm.co.za Mon Oct 2 17:35:15 2000 From: roche@ybm.co.za (Roch'e Compaan) Date: Mon, 2 Oct 2000 18:35:15 +0200 Subject: [Zope] Mailhost TypeError Message-ID: <000f01c02c8e$be68c7d0$0102a8c0@roche.up-front.co.za> I'm recreated a mailhost in Zope 2.2.0. Whenever I want to send mail with sendmail tag I get a TypeError. This worked in Zope 2.1.x. This is the traceback: Traceback (innermost last): File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/2-2-0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/2-2-0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_editProperties) File /usr/local/zope/2-2-0/lib/python/Products/Etailer/OrderManager.py, line 136, in manage_editProperties (Object: RoleManager) File /usr/local/zope/2-2-0/lib/python/App/special_dtml.py, line 120, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testemail) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/SendMailTag.py, line 188, in render (Object: MailHost) File /usr/local/zope/2-2-0/lib/python/Products/MailHost/MailHost.py, line 220, in send (Object: MailHost) File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 465, in sendmail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 349, in mail File /var/tmp/python/python-root/usr/lib/python1.5/smtplib.py, line 118, in quoteaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 451, in parseaddr File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 496, in getaddrlist File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 504, in getaddress File /var/tmp/python/python-root/usr/lib/python1.5/rfc822.py, line 484, in gotonext TypeError: len() of unsized object --> The source for my DTML method: To: <> From: <> Subject: Test email from Hi, This is a test email from your online shop. If you have received this email, then you will also receive an email for each of the orders that are placed at your online store. From rroeber@unlserve.unl.edu Mon Oct 2 17:47:51 2000 From: rroeber@unlserve.unl.edu (Ronald L. Roeber) Date: Mon, 2 Oct 2000 11:47:51 -0500 Subject: [Zope] Zope Dies with FastCGI In-Reply-To: <00092909360005.17524@tokey.kedai.com.my> Message-ID: <000301c02c90$80dc2e00$9968fea9@rroeber.unl.edu> > > > > Two types of messages: > > > > First in its death throws: > > [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm > > with server "apache_server_path/htdocs/zope" aborted: idle timeout (30 > > sec) > > > > And later when its all over: > > [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection > > refused > > > > : FastCGI: failed to connect to server "apache_server_path/htdocs/zope": > > > > connect() failed > > > > It will run fine for quite some time but then it dies. > > There are no other refereces to zope in the error logs. > > I am looking into possible network issues. > > I will likely try daemontools this weekend. > > > i've seen this problem only when there's a lot of connection;s > usually more > than 100 connections at any one time. to test this out, maybe > you can use > apache ab and step up until something breaks. I can't seem to break it... ab -n 1500 -c 300 I get the same errors as in my original posting but Zope doesn't die. I left it alone after these tests and it died about 25 minutes later with noone using it. (its behind a firewall) This weekend I installed daemontools and can keep it running or at least restart it. The problem is most definitely not with load. I probably has to do with the way I have (mis)configured it. But for the life of me I can't see what it would be. Another odd thing with this set up is that some page requests from Netscape 4.x clients are very slow for what they are doing. IE and the new Mozilla engine are lightening fast...same page. Doesn't matter what platform of Netscape(*nix, Windows,Mac). The EventFolder product is the most obvious case. It locks Netscape for minutes while IE and Moz browsers load the page just fine. I will try some other things. Thanks for the ideas. > > also, try setting fastcgiexternalserver with -appConnTimeout 0 > Did this, doesn't seem to make a difference... > tell us how it goes. > > Thanks for your help. > > > > Ron... > > > > > > _______________________________________________ > > > > _______________________________________________ > > 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 ) > > -- > > http://www.kedai.com.my/kk > http://www.kedai.com.my/eZine > > if you SMELLLLLLL ... what the Rock is cookin > From Jerry.Spicklemire@IFLYATA.COM Mon Oct 2 18:02:26 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 2 Oct 2000 12:02:26 -0500 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <977A39E65CFCD3119ABF00D0B741D84973386A@innt-73.ata.com> Hi Brian, Regarding: > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... One of the features the stands when a newbies starts poking around at Zope.org is the wealth of contributed modules. Most of these were created as an aid to development, sort of a "make the process of creating a complex thing into a simpler process" approach. However, it's kind of like all the goodies available for Linux, or Perl, or Python itself, and any number of other Open Source projects that have generated lot's of add-ons. The problem is that finding time to try them all to see which turn out to be useful is another kind of complexity in itself. It seems like the Zope community should be able to benefit by leveraging all the great stuff that's there. On the other hand, the sheer volume turns out to be a barrier. I keep coming back to the notion of building a subset of the most useful, solid, and well documented modules into a "core" Zope distribution, so that they are available as "add" options without lot's unzipping, restarting, etc. Beyond that, a painless way to upgrade versions of all things Zope would definitely encourage folks to keep up with security fixes, and other improvements. Think about Debian's and FreeBSD's update tools. In order to get to the "consulting ware" vision of a more productiive Zope, "out of the box", this is the kind of thinking that needs to be adopted. We know there are wonderful and astounding things that are possible if you aren't afraid to get your hands dirty reading source code, but most folks expect anything they need to do to be sitting there waiting behind a menu option! This sounds to me like a higher level of object creation, Martijn Faassen's Formulator comes to mind, that can be selected and integrated into an existing site that has graphic standards already defined, which is itself another high level object that could help. A Graphic Standards "Template" that can be applied in the form of a "wrapper", and can be adjusted trough a forms based interface with options for colors, type style, background images, etc. Thanks, Jerry S. From thaths@netscape.com Mon Oct 2 18:21:00 2000 From: thaths@netscape.com (Sudhakar Chandra) Date: Mon, 02 Oct 2000 10:21:00 -0700 Subject: [Zope] [Q] Generating a dynamic navigation bar... References: <39D4D460.C287D0DC@netscape.com> <39D5EA93.A6891A8B@berg.net> Message-ID: <39D8C3FC.BFE7AE74@netscape.com> Maik Roeder proclaimed: > Sudhakar Chandra wrote: > > Questions: > > 1. The problem with this DTML method is that all the DTML Documents and > > Folders are represented as a link in the nav bar. I want to build > > intelligence into this DTML method to make the tab / cell for the current > > document just textual (as opposed to a link). If I am calling this method > > from foo_html, I do not the "tab" for foo_html to be a link. How do I do > > this? I'm guessing some kind of #if. > > First you can store the your url: > > > > Then, when you call your method, you can test whether your > url is the current url > > > > The must be another way of doing this, but I can't remember. Does > someone else see how this could be done differently ? Thanks. It took a bit of hackage on my part because I was calling the subcategories DTML Method like so: As you can see, I'm in a different name space inside the DTML method. I put in the REQUEST.set in the main DTML Document instead of the DTML method and it worked like a charm. Only pain now is that all my DTML Documents now need to have the REQEST.set directive in them. Not a big deal. > > 2. Currently, the TD cells of the table vary in length based on the > > contents of the cell. I want all the TDs to be of equal length. I want to > > first count the number of DTML Documents and Folders and make each TD to be > > width 100/n % (where n is the number of Documents and Folders). Any ideas > > on how I can do math inside DTML methods? > You can set a REQUEST variable with the result of your computation: > This worked like a charm. Thanks! S. -- Lisa: It's full, Dad, that means you have to take out the trash. Bart: Yup, that's the rule. "He who tops it off, drops it off." Homer: Nuh-uh. "It isn't filled until it's spilled." Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From ckant@fazenda.gov.br Mon Oct 2 18:49:41 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Mon, 02 Oct 2000 14:49:41 -0300 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> Message-ID: <39D8CAB5.DC46529B@fazenda.gov.br> Maik Roeder wrote: > > > Clicking in the "submit" button, it gives me an error, telling that > > 'username' is not defined. So I included an hidden field with > > name="username" and value="", but I'm thinking this > > is not the better way to do that... > > To my knowledge, it's the only way to do it, and if it works, why bother ? And from the first link, there are a way to include such a hidden field when calling a link? That is the real question: how to substitute the 'someuser' using hidden fields? ManageUserProperties is an DTML method, and are differents calls, with differents usernames in the same page (if I put a hidden field it's value will be the same to all the calls to the DTML Method in question). I'm thinking that maintaining some "session attributes" in a cookie is another idea, and sustitute the direct call to the method to a call to a JavaScript, but I don't want to use the most complicated method... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html If you know the answer to a question, don't ask. -- Petersen Nesbit From shane@digicool.com Mon Oct 2 18:58:41 2000 From: shane@digicool.com (Shane Hathaway) Date: Mon, 02 Oct 2000 13:58:41 -0400 Subject: [Zope] Hotfix_2000-10-02 Message-ID: <39D8CCD1.A0F6087A@digicool.com> http://www.zope.org/Products/Zope/Hotfix_2000-10-02/Hotfix_2000-10-02.tar.gz This hotfix addresses an important security issue that affects Zope versions 2.2.0, 2.2.1, and 2.2.2. It is sometimes possible to access, through a URL only, objects protected by a role which the user has in some context, but not in the context of the accessed object. Currently, the validate() method of all known user folder implementations validates against the users' roles in the context of PARENTS[0]. PARENTS[0] refers to the acquisition context of the object being published. All security checks, however, should check an object's containment, not its acquisition context. validate(), therefore, needs to verify the user's roles in the context of the object being published. This hotfix forces that to occur by temporarily leaving the object at PARENTS[0] then removing it after validation has been performed. Unfortunately, this is not an ideal correction. In the near future all user folder validate() implementations need to perform security checks using the new Zope security policy subsystem. Until that is completed, this hotfix should close the security problem. While we know of no instances of this issue being used to exploit a site, we recommend that any Zope 2.2.x site that is accessible by untrusted clients have this hotfix product installed to mitigate the issue. The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. From sebbacon@email.com Mon Oct 2 19:17:17 2000 From: sebbacon@email.com (seb) Date: Mon, 02 Oct 2000 19:17:17 +0100 Subject: [Zope] FYI: Python product tutorial updated References: Message-ID: <39D8D12D.2E5DDA80@email.com> > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... I entirely agree with Jerry's points about the standard zope distribution. There are various architecture / grammar / security issues that need to be adressed in Zope. However, I believe a much higher priority should be given to a rationalised set of documentation, plus a core set of products and templates, to be included with the standard Zope distribution. It should be easier to upgrade or add modules; I read a suggestion somewhere that a product standard should be produced, to which all products must conform (package layout, etc). Here's my thoughts in more detail, FWIW: Who are the target users of zope? My personal take is: 1) application developers (in the unzoped world, java, php, perl hackers) 2) interface developers (html coders, designers) 3) content managers I've been using zope for about a month now, (and *thinking* about using it for more than a year!) and my thoughts on simplicity for these users are: 1) application developers Application developers should *expect* a steep initial learning curve. Even python took me a little while to get my head round, but it was worth it. PHP is only easy because it follows a paradigm that people have learned elsewhere. There's no point trying to shield application developers from the complexity of zope. But we need to hold their hand until they can do it by themselves. The _ONLY_ hurdle to my zope enlightenment is (surprise) the documentation. In particular, what consistently holds me back is the lack of api documentation. I'd like to see something like javadoc-style API descriptions. I know, it's open source, I could do it myself. I know, I'm covering old ground. But I can't state enough how immensely frustrating it is to spend 5 hours trying to work out how to do something that you *know* you could do in 5 minutes in PHP. I don't know much about the ZDP and I'm sure they're putting in a lot of effort, but my feeling is that it is _very_much_ in the best interests of DC to promote a decent set of references. Even something as simple as repackaging the ZQR and including it in the standard distribution would be a start. When I get some time I'd love to help with this. 2) dtml is too much like a programming language and I'm finding it a big effort to abstract the logic away from DTML sufficiently. Interface developers want "" rather than "...", etc, in their HTML. The mechanisms for doing this are already present in zope but the onus is too much on the application designer to come up with ways of doing this. I always end up doing application logic in DTML documents because it's easier (and _quicker_) than spending a while coming up with an abstract design and then coding it all in python and loading it as External methods and then having to debug it all. Efforts like ZPatterns and the PTK are the way forward here: toolkits and design patterns that make common tasks easier. A project to come up with patterns and toolkits for common template-building tasks would be valuable. It should also be easier for application developers to create custom DTML tags. There should be a simple way to package tags and install tags, and then a library could be started on zope.org. For example, a question recently posed on the mailing list was how to include the contents of another web page in your own document. The obvious answer is an External method - however, wouldn't it be neater to encapsulate this functionality in a tag? (i'm sure this debate has been worked through before...) > ... A Graphic Standards > "Template" that can be applied in the form of a "wrapper", > and can be adjusted trough a forms based interface with > options for colors, type style, background images, etc. > 3) I understand skinnable CMS interfaces are on their way. At the moment I have to re-code the whole management interface from the bottom up for each client, which is a real drag. I'm really looking forward to this feature. Seb From jfarr@real.com Mon Oct 2 19:23:11 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 2 Oct 2000 11:23:11 -0700 Subject: [Zope] How to use manage_addLocalFS References: <000801c02c12$d597c220$0300a8c0@windows> Message-ID: <037801c02c9d$d2716bb0$416917ac@poly> That should work. Can you post the traceback? --jfarr ----- Original Message ----- From: "Grewen.de" To: Sent: Sunday, October 01, 2000 6:48 PM Subject: [Zope] How to use manage_addLocalFS Hi all, I want to create an LocalFS object. I use but that doesn´t work. Simular to Any ideas? May I have to use a externel methode like in the mail I posted before? From luis.mateos@MatraNortel.com Mon Oct 2 19:56:43 2000 From: luis.mateos@MatraNortel.com (Mateos, Luis) Date: Mon, 2 Oct 2000 20:56:43 +0200 Subject: [Zope] Reusing images from properties menu Message-ID: <200010021905.VAA07115@jupiter.matranortel.com> Hello all! I'm trying to reuse property values to add images dynamically. In other words, when selecting values from a multiple selection in the properties menu, like English, French, Spanish..., will add the respective image flag into a search results page for example. At times, it could be more than one image... I tried to use "dtml-var image" as a value and it didn't work, then i tried using the "img src" tag and it work using a string but it didn't when using a multiple selection. Could somebody feed me on how to reuse images from the properties menu? Or whether there are some other better options to get the same job done?! Thanks in advance, Luis From darcyc@engin.umich.edu Mon Oct 2 20:51:51 2000 From: darcyc@engin.umich.edu (Darcy Clark) Date: Mon, 2 Oct 2000 15:51:51 -0400 Subject: [Zope] FYI: Python product tutorial updated Message-ID: <4036A094D96A9549A6D6CCD979F1F3630C24CE@engin-mail2.ad.engin.umich.edu> Brian, thanks for the reply ... I am currently more hopeful and feeling a little better about the amount of time and effort that I have put into Zope; knowing that the Zope book is coming also helps a lot. As someone else on the list replied, the obscurity problem will be partially solved with the book and others that will hopefully follow. I am in particular looking forward to some case studies that show how to use *and* why you should use some of the more complex Zope functionality. After being immersed in Zope for so long (about a year), I decided it was time to take a survey of the other tools out there - after doing a quick survey, I came away still unimpressed with most of them. I still think Zope requires more conceptual understanding (Zen?) that the other tools, but I'm still convinced that these concepts, many of which I am still yet to fully understand, offer far deeper and more elegant solutions to web development problems than the majority of the other tools. It's going to be tricky to achieve "optional complexity" - but that is exactly the nature of Zope. There are several levels or layers of Zen - after reaching each layer new potential ways to solve problems become possible. For instance, I know enough DTML and SQL to implement most of the functionality that I need and I have been writing my own ZClasses also. But I don't yet fully grasp the full possibilities of the Catalog, and Python/External Methods and I have had no luck getting any of the alternative User/Membership systems to work for me. These latter concepts/tools constitute my next level of complexity. Anyway, that's just my 2 cents .... Darcy > -----Original Message----- > From: Brian Lloyd [mailto:brian@digicool.com] > Sent: Monday, October 02, 2000 11:23 AM > To: Darcy Clark; zope@zope.org > Subject: RE: [Zope] FYI: Python product tutorial updated > > > > This tutorial looks great...it explained a lot of things to me > > that I wasn't > > able to put together before. > > > > But...on looking at it, a nagging thought keep recurring...this > > is a really > > quite long and complicated process for a Poll product. As > much as I like > > Zope and thing it is a great platform on which to develop web > > applications, > > I often wonder about the complexity and obscurity of some of the > > procedures > > that need to executed while making what are, on the face of it, > > often quite > > simple web objects or applications. Consequently I have honestly > > had quite a > > hard time convincing PHP-savvy colleagues that the path to > Zope Zen is > > something worth starting on. Does anyone else experience > these nagging > > doubtful thoughts occasionally ? > > I think yours is a valid criticism. Zope provides the > infrastructure to do a lot of powerful and complex things, > with the downside that (currently) as a developer a lot of > the details are "in your face". One major goal I have for > Zope going forward is to strive for "optional complexity" - > not only for day-to-day use of Zope but also for component > developers. > > I'd be very interested to hear any ideas you folks have > on ways to help "make simple things simple" for development > and to allow people to deal with complexity only as they > begin to need it... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.com > > > From dieter@handshake.de Mon Oct 2 21:39:04 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:39:04 +0200 (CEST) Subject: [Zope] ZopeTime().Date() confusion In-Reply-To: <70420886@toto.iv> Message-ID: <14808.61734.808117.717671@lindm.dm> Larry Albert writes: > .... > I am using Zope 2.2.1. Every time the method updates, I update the date > property called last_updated .... > .... checking last update at least 1 day ago .... "ZopeTime()" returns a "DateTime.DateTime" object. Such objects can be substracted giving the difference in days. This means, you can use: to set "last_updated" and = 1"> to check that the last update is at least 1 day ago. Dieter From dieter@handshake.de Mon Oct 2 21:32:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 2 Oct 2000 22:32:52 +0200 (CEST) Subject: [Zope] sendmail tag strangeness In-Reply-To: <68800227@toto.iv> Message-ID: <14808.61477.749840.288959@lindm.dm> Scott Burton writes: > I have searched around about sendmail tag problems on the list and have > found similar answers to my question. However none of them work. > ... > > I pay close attention to not having any whitespace before the To: and From: > headers. > > I receive this error from multiple SMTP hosts: 503 must have sender and > recipient first Is it possible that you installed ZDebug. As several people on the list pointed out, ZDebug is incompatible with "sendmail" (at least some ZDebug versions). Dieter PS: I do not like Mime mails in this list, because the stupid mailman installation discards Mime headers in the digest. As a consequence, my mail reader is unable to decode such messages :-( From steve@spvi.com Mon Oct 2 22:21:54 2000 From: steve@spvi.com (Steve Spicklemire) Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: References: Message-ID: <200010022121.QAA54340@mercury.spvi.com> Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve >>>>> "J" == J Atwood writes: J> http://classic.zope.org:8080/Collector/ J> Does anyone know what product this is and if it is available J> for download? I am looking for something that is similar to J> BugZilla. J> Ethan? Paul? Anyone? J> Thanks, J J> _______________________________________________ Zope maillist - J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No J> cross posts or HTML encoding! ** (Related lists - J> http://lists.zope.org/mailman/listinfo/zope-announce J> http://lists.zope.org/mailman/listinfo/zope-dev ) From mindlace@digicool.com Mon Oct 2 22:34:38 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 02 Oct 2000 17:34:38 -0400 Subject: [Zope] zope.org issues Message-ID: <39D8FF6E.3C5E00CC@digicool.com> Zopatistas, zope.org is currently having some difficulties that can kill the server. We're working on them. Thanks, ~ethan From jatwood@bwanazulia.com Mon Oct 2 23:11:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 02 Oct 2000 18:11:57 -0400 Subject: [Zope] Zope bug collector on zope.org available? In-Reply-To: <200010022121.QAA54340@mercury.spvi.com> Message-ID: Hey Steve, Exactly. It is really full-featured. I am impressed. Thanks, J > From: Steve Spicklemire > Reply-To: steve@spvi.com > Date: Mon, 2 Oct 2000 16:21:54 -0500 (EST) > To: jatwood@bwanazulia.com > Cc: zope@zope.org > Subject: Re: [Zope] Zope bug collector on zope.org available? > > > Hi J., > > Is this what you're looking for? > > http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions > > -steve >>>>>> "J" == J Atwood writes: > > J> http://classic.zope.org:8080/Collector/ > > J> Does anyone know what product this is and if it is available > J> for download? I am looking for something that is similar to > J> BugZilla. > > J> Ethan? Paul? Anyone? > > J> Thanks, J > > > J> _______________________________________________ Zope maillist - > J> Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No > J> cross posts or HTML encoding! ** (Related lists - > J> http://lists.zope.org/mailman/listinfo/zope-announce > J> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From curtis@cardgate.net Mon Oct 2 23:27:12 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 3 Oct 2000 09:27:12 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: <39D850CB.B88DBB0A@nipltd.com> References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> Message-ID: <0010030927120A.02655@localhost.localdomain> On Mon, 02 Oct 2000, Chris Withers wrote: > Curtis Maloney wrote: > > According to a recent study, there are approximately 13 'web safe' > > colours, out of the full 16,777,216. Can you be bothered restricting > > yourself to support the 'lowest common denominator' ? > > What makes the other 15,777,203 'unsafe'? > As I understand it, it's due to system palettes. On low colour machines (256 or even 16colour) some colours are reserved for the system GUI so that you can match the 'theme', leaving you with fewer than the full capacity of the display you are using. Admittedly, since most people these days are running 15bit or higher colour depths, and non-paletted video modes, for the majority of users this isn't a problem. (Thus my 'lowest common denominator' comment.) The only other possible reason I can recall is that some of the 'named' colours are not supported by all browsers, or are not interpreted the same. > cheers, > > Chris Have a better one, Curtis From dario@ita.chalmers.se Mon Oct 2 23:55:45 2000 From: dario@ita.chalmers.se (Dario Lopez-Kästen) Date: Tue, 3 Oct 2000 00:55:45 +0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software Message-ID: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> as seen on cms list. Would this affect Zope in any way? /dario ----- Original Message ----- >From: "Evan Williams" > > Interesting: > ----------------------------- > Information Today: http://www.infotoday.com/it/oct00/news14.htm > "eMedicine, Inc. (http://www.emedicine.com), the medical-education network > and developer of the first online peer-reviewed medical reference series, > has announced that the U.S. Patent and Trademark Office has granted a patent > to the company's proprietary Group Publishing System (GPS) software. The GPS > enables collaborative, enterprisewide publishing and allows authors and > editors to create large, multi-author projects-online content, journals, > books, and manuals-entirely on the Internet. > "Jeff Berezin, chief technical officer and architect of the GPS system, > said: 'The software is unique-it is the only enterprise software that allows > all production to take place on the Internet. The system allows authoring > and editing within the GPS environment or through word-processing programs > like Word.' Software engineer Joanne Berezin, who co-developed the system, > said, 'Our system is a complete authoring, editing, and version-control > system with complete management-tracking tools and a built-in communications > network.'" > ----------------------------- > > -------------------------- > Subscribe: http://www.camworld.com/cms/ > More Info: http://cms.filsa.net/ > Post: cms-list@camworld.com > From tseaver@digicool.com Tue Oct 3 01:53:40 2000 From: tseaver@digicool.com (Tres Seaver) Date: Mon, 02 Oct 2000 20:53:40 -0400 Subject: [Zope] Zope bug collector on zope.org available? References: <200010021900.MAA25416@zope.codeit.com> Message-ID: <39D92E14.28F5EF4C@digicool.com> "J. Atwood" asked: > > http://classic.zope.org:8080/Collector/ > > Does anyone know what product this is and if it is available for download? I > am looking for something that is similar to BugZilla. > > Ethan? Paul? Anyone? The Collector is an *ancient* piece of software -- you probably want Ken Mannheimer's Tracker:: http://www.zope.org/Members/klm/TrackerWiki Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From twcook@iswt.com Tue Oct 3 04:14:41 2000 From: twcook@iswt.com (Tim Cook) Date: Mon, 02 Oct 2000 22:14:41 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> Message-ID: <39D94F21.E0E4D38A@iswt.com> "Dario Lopez-Kästen" wrote: > > as seen on cms list. Would this affect Zope in any way? Standard IANAL disclaimer. But, I read the patent. It looks like Zope is okay. You just can't build an application on it (or anything else where multiple people edit the same document online). Watch ZWiki!!!! :-) -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From lalo@hackandroll.org Tue Oct 3 05:03:48 2000 From: lalo@hackandroll.org (Lalo Martins) Date: Tue, 3 Oct 2000 02:03:48 -0200 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software In-Reply-To: <39D94F21.E0E4D38A@iswt.com>; from twcook@iswt.com on Mon, Oct 02, 2000 at 10:14:41PM -0500 References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> Message-ID: <20001003020348.B27959@hackandroll.org> On Mon, Oct 02, 2000 at 10:14:41PM -0500, Tim Cook wrote: > "Dario Lopez-Kästen" wrote: > > > > as seen on cms list. Would this affect Zope in any way? > > Standard IANAL disclaimer. But, I read the patent. It looks like > Zope is okay. You just can't build an application on it (or > anything else where multiple people edit the same document > online). Watch ZWiki!!!! So wouldn't the original WikiWikiWeb be prior art? []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) News for, uh, whatever it is that we are. http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar From twcook@iswt.com Tue Oct 3 06:07:25 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:07:25 -0500 Subject: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> Message-ID: <39D9698D.81ED236E@iswt.com> Lalo Martins wrote: > > anything else where multiple people edit the same document > > online). Watch ZWiki!!!! > > So wouldn't the original WikiWikiWeb be prior art? I would think there is a lot of prior art. What I wrote above should have been enclosed in tags. :) After citing several other patents there big key is supposed to be not ahving to download a version of the document and work on it locally and then upload it again. Also I noticed that their software only works (according to them) with Mac & MS OS's. I guess DC should file for a patent based on total cross-platform use! Our patent office doesn't have a clue and doesn't seem to research very much either. It's becoming worse than useless. One of the developers that frequents the openhealth mailing lists recently indicated that he had been contacted because he supposedly infringed on someones patent. No details yet but he indicated that it was some basic implementation that many developers have done before. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From sebbacon@email.com Tue Oct 3 10:07:29 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 10:07:29 +0100 Subject: [Zope] Passing parameters to methods - how to? References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> Message-ID: <39D9A1D1.2B4C4D7B@email.com> "César A. K. Grossmann" wrote: > > Maik Roeder wrote: > > > > > Clicking in the "submit" button, it gives me an error, telling that > > > 'username' is not defined. So I included an hidden field with > > > name="username" and value="", but I'm thinking this > > > is not the better way to do that... > That is the real question: how to substitute the > 'someuser' using > hidden fields? M > I'm thinking that maintaining some "session attributes" in a cookie is > another idea, and sustitute the direct call to the method to a call to a > JavaScript, but I don't want to use the most complicated method... There are only two ways of doing this: 1) hidden form inputs 2) cookies 3) session variables (kind of like number 2) Using the former solution, you can make your link be the submit button for the form, either by using Javascript (yuk: someuser) or by making it a graphical button rather than a text link ( as far as I remember, but I might be wrong). Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb From chrisw@nipltd.com Tue Oct 3 10:15:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 10:15:04 +0100 Subject: [Zope] Off Topic: Patent Offices References: <004601c02cc4$1dad1b30$2135b5d4@ita.chalmers.se> <39D94F21.E0E4D38A@iswt.com> <20001003020348.B27959@hackandroll.org> <39D9698D.81ED236E@iswt.com> Message-ID: <39D9A398.27DF2975@nipltd.com> Tim Cook wrote: > > Our patent office doesn't have a clue and doesn't seem to > research very much either. Name me one that does ;-) Chris From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 10:54:54 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 11:54:54 +0200 Subject: [Zope] Guidelines for showing most exciting things of Zope? Message-ID: <3.0.6.32.20001003115454.0092cda0@poirot> Hi, When I tell people about Zope and give a demo, at the end, I always realise that I could have told this and that and that I forgot this and that. Now, has somebody already prepared some things which could be used as a practical guideline when presenting Zope to outsiders? If not, what do you think would need to be told to convince people that it's worth looking at it by themselfs? Do people think such a practical guideline would be usefull? Tom. From Danny@Adair.net Tue Oct 3 11:24:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 3 Oct 2000 12:24:46 +0200 Subject: [Zope] Access problems Message-ID: Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --------------- Attribute Error --------------- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/sites/site3/users/.../2-2-1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 438, in traverse File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line 514, in old_validation (Object: broken) AttributeError: (see above) Furthermore, I have to authenticate on _every_ occasion, even with objects I know are totally available to Anonymous. After (http) authentication I get the above mentioned attribute error. I'm clueless. What is this about? Thanking you so much in advance, Prost, Danny P.S.: Of course I can't recall doing anything rude to my installation, actually I can't recall doing _anything_. (What they all say) From Aitor.Grajal@teleline.es Tue Oct 3 11:39:05 2000 From: Aitor.Grajal@teleline.es (Aitor Grajal) Date: Tue, 03 Oct 2000 12:39:05 +0200 Subject: [Zope] SiteRoot, can i do????? Message-ID: <200010031239050003.0099451F@mailhost.teleline.es> --=====_97056954541=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying do that SiteRoot can this : If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all= links 'http://xyz.mydomain.com/Zope" but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put= in all links 'https://xyz.mydomain.com/Zope" . The second is the new, so can access for http o https at the same contens,= and this is very nice. My idea is change the source code of Site Root. It=B4s possible ?? Somebody can help my? Thanks --=====_97056954541=_ Content-Type: text/html; charset="us-ascii"
Hello, I'm trying do that SiteRoot can this :
 
If somebody put 'http://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'http://xyz.mydomain.com/Zope"
 
but if if somebody put 'https://xyz.mydomain.com/Zope" -> The SiteRoot put in all links 'https://xyz.mydomain.com/Zope" .
 
The second is the new, so can access for http o https at the same contens, and this is very nice.
My idea is change the source code of Site Root.
It´s possible ??
 
Somebody can help my?
 
Thanks
--=====_97056954541=_-- From juliodinis@hotmail.com Tue Oct 3 13:49:42 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Tue, 03 Oct 2000 12:49:42 WEST Subject: [Zope] script execution timeout? Message-ID: Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From magnus@websys.no Tue Oct 3 14:11:14 2000 From: magnus@websys.no (Magnus Alvestad) Date: 03 Oct 2000 15:11:14 +0200 Subject: [Zope] 'websafe' colours In-Reply-To: Curtis Maloney's message of "Tue, 3 Oct 2000 09:27:12 +1100" References: <001b01c02b35$67513450$01d4a8c0@peppe> <00100210275606.02655@localhost.localdomain> <39D850CB.B88DBB0A@nipltd.com> <0010030927120A.02655@localhost.localdomain> Message-ID: [Curtis Maloney] | As I understand it, it's due to system palettes. On low colour | machines (256 or even 16colour) some colours are reserved for the | system GUI so that you can match the 'theme', leaving you with fewer | than the full capacity of the display you are using. Actually the problem with many colours is that there is slight difference between how they are shown in for example BGCOLOR and in a gif. There was an article about this in the online version of Wired. -Magnus From sebbacon@email.com Tue Oct 3 13:19:16 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:19:16 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> Message-ID: <39D9CEC4.32C712DC@email.com> Hello, Whenever I do a > def play(self,sound): > return sound and a > I get a > Error Type: TypeError > Error Value: not enough arguments; expected 2, got 1 Now, I thought 'self' was passed _implicitly_, as explained in http://www.zope.org/Documentation/How-To/ExternalMethods, but I'm actually having to do a > to pass the context to 'self' in the External method. Explanations gratefully received. Thanks, seb. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 13:19:00 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 14:19:00 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello everybody, I started to play with Zope in order to use it as intranet platform. For this I need database access. I tried odbc and MySQL and got it working fine. However we have some existing warehouse queries which take minutes to complete. When I set up ZODBC connection and ZSQL method to access such query, it halts all other Zope activities until it finishes. I tried this both with NT Zope and Linux Zope, ODBC and MySQL DAs. As long as the query runs, no other requests are serviced. I understand that long query blocks database connection, but I thought Zope is threaded, so it should run other requests not using this database connection just fine, no? Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this morning looking for solution to this problem on the net, but with no luck yet. Can anybody enlighten me why is that? And what can I do to fix this. Otherwise I like Zope a lot. Easy, featured, just great. Thanks in advance and Best regards, Petr Hrasky -------------------------------------------- IT Department BNP-Dresdner Bank (CR), a.s. +420-2-57006474 From chrisw@nipltd.com Tue Oct 3 13:33:49 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:33:49 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> Message-ID: <39D9D22D.BB48DFA6@nipltd.com> Shane Hathaway wrote: > I'm not sure how well MailHost scales, but you can certainly store > thousands of names in a ZODB-managed list. Tests done for the > BTreeFolder product prove it. Sadly, I think MailHost doesn't scale too well :-( What it'd need to do if you're sending the mail to a few thousand people is to be non-blocking. IIRC, currently, a method/page with a tag pair in it will only return when the mail has been sent to all the recipients. So, if the mails going to lots of people, the page takes ages to return. This is the problem I had where our mail server was taking lots of time to send messages (it was doing lots of stuff to make sure the address was valid) so submitting posts on Squishdot.org was taking ages too. What, IMHO, is really needed is a mailhost/sendmail tag type thing that gets a message and a list of addresses to send it to. If it could do that in a seperate thread/process/whatever so that whatever calls it doesn't block, that'd be great. Of course, it'd need to have a 'hook back' method provided so any errors that occured could be dealt with. I wonder how mailman does this stuff and if the code could be borrowed for Zope? cheers, Chris From akm@mail.theinternet.com.au Tue Oct 3 13:35:05 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:35:05 +1000 Subject: [Zope] 'self' in external methods In-Reply-To: <39D9CEC4.32C712DC@email.com>; from seb on Tue, Oct 03, 2000 at 01:19:16PM +0100 References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> Message-ID: <20001003223505.D97561@zeus.theinternet.com.au> +-------[ seb ]---------------------- | Hello, | | Whenever I do a | > def play(self,sound): | > return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From sebbacon@email.com Tue Oct 3 13:44:13 2000 From: sebbacon@email.com (seb) Date: Tue, 03 Oct 2000 13:44:13 +0100 Subject: [Zope] script execution timeout? References: Message-ID: <39D9D49D.2B6AA8F9@email.com> > Is there a place to define a script execution timeout? not in the urllib module. Try setting an alarm using the signal module, wrapping the GET request in a try clause, and then setting the alarm to 0 in the finally clause. seb From akm@mail.theinternet.com.au Tue Oct 3 13:32:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Tue, 3 Oct 2000 22:32:44 +1000 Subject: [Zope] database connection problem (halting Zope) In-Reply-To: ; from Hrasky Petr on Tue, Oct 03, 2000 at 02:19:00PM +0200 References: Message-ID: <20001003223243.C97561@zeus.theinternet.com.au> +-------[ Hrasky Petr ]---------------------- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case. | Could it be that the python binary used is not compiled for threading? Perhaps, but, I think Zope will fail to start if your python does not support threading. | I spent yesterday afternoon and this | morning looking for solution to this problem on the net, but with no | luck yet. | | Can anybody enlighten me why is that? And what can I do to fix this. It might be that the ODBC driver for MySQL is serialising all accesses to MySQL (i.e. the MySQL ODBC driver is not threaded). This is a bit of a guess though. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From chrisw@nipltd.com Tue Oct 3 13:52:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 13:52:03 +0100 Subject: [Zope] 'self' in external methods References: <20000926001811.A651@rosa.sferacarta.com> <39D9CEC4.32C712DC@email.com> <20001003223505.D97561@zeus.theinternet.com.au> Message-ID: <39D9D673.532FD8AC@nipltd.com> Andrew Kenneth Milton wrote: > > +-------[ seb ]---------------------- > | Hello, > | > | Whenever I do a > | > def play(self,sound): > | > return sound > > You don't define self as a parameter to an external method, so: > > def play(sound): > > will work fine in an external method. It's not as simple as that. The mechnism involved here is complex and arguably broken. This is becoming a FAQ, see the mailing list archives for previous versions of this discussion which will provide all the detail. cheers, Chris From twcook@iswt.com Tue Oct 3 14:13:13 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 08:13:13 -0500 Subject: [Zope] database connection problem (halting Zope) References: Message-ID: <39D9DB69.4EBC6E70@iswt.com> > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From owrede@khm.de Tue Oct 3 14:39:22 2000 From: owrede@khm.de (Oliver Wrede) Date: Tue, 3 Oct 2000 15:39:22 +0200 Subject: [Zope] SiteAccess2 problem Message-ID: --============_-1241542131==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects. Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one): Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: 'string' object has no attribute 'name' ------------------------------------------------------------------------ Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: www/AccessRuleAdd) (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: www/AccessRuleAdd) File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: manage_getAccessRule(this())) (Info: manage_getAccessRule) File , line 0, in ? File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule (Object: Traversable) AttributeError: (see above) -- .. Oliver Wrede .. owrede@khm.de .. Academy of Media Arts, Cologne .. Peter-Welter-Platz 2 . 50676 Koeln, Germany .. http://www.khm.de .. ICQ# 6580315 .. PGP 6.0 Fingerprint: .. 922C FFA2 9A07 5B8E CB2A 10A2 C370 6A62 2232 196C --============_-1241542131==_ma============ Content-Type: text/html; charset="us-ascii" SiteAccess2 problem
I am trying to use SiteAccess2 with a site which has imported SiteAccess1 objects.

Whenever I try to open "Set access rule" I get this error (so I can't set a new one or delete an existing one):


Zope Error

Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: 'string' object has no attribute 'name'

------------------------------------------------------------------------

Troubleshooting Suggestions

*       The URL may be incorrect.
*      The parameters passed to this resource may be incorrect.
*       A resource that this resource relies on may be encountering an error.


For more detailed information about the error, please refer to the HTML source for this page.

If the error persists please contact the site maintainer. Thank you for your patience.




Traceback (innermost last):
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /www/zope/2.2.2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /www/zope/2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/App/special_dtml.py, line 120, in __call__
    (Object: www/AccessRuleAdd)
    (Info: /www/zope/2.2.2/lib/python/Products/SiteAccess/www/AccessRuleAdd.dtml)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__
    (Object: www/AccessRuleAdd)
  File /www/zope/2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
    (Object: manage_getAccessRule(this()))
    (Info: manage_getAccessRule)
  File <string>, line 0, in ?
  File /www/zope/2.2.2/lib/python/Products/SiteAccess/AccessRule.py, line 76, in getAccessRule
    (Object: Traversable)
AttributeError: (see above)

--
.. Oliver Wrede
.. owrede@khm.de

.. Academy of Media Arts, Cologne
.. Peter-Welter-Platz 2 . 50676 Koeln, Germany
.. http://www.khm.de
.. ICQ# 6580315
.. PGP 6.0 Fingerprint:
.. 922C FFA2 9A07 5B8E CB2A  10A2 C370 6A62 2232 196C
--============_-1241542131==_ma============-- From chalaoux@cybercable.fr Tue Oct 3 14:27:02 2000 From: chalaoux@cybercable.fr (FR Chalaoux) Date: Tue, 03 Oct 2000 15:27:02 +0200 Subject: [Zope] Looking for BSDI version of Zope Message-ID: <39D9DEA6.DD49A6DE@cybercable.fr> Hi, I looking for a recent compiled Zope version running on BSDI/OS 4.0.1 with its python attached Thanks, FR. From Petr.Hrasky@bnp-dresdner-bank.cz Tue Oct 3 15:04:01 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Tue, 3 Oct 2000 16:04:01 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: Hello, thank you for answers. To clarify: I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, Sybase11.5)at work. Oracle connection at work and MySQL (at home just for testing) run looong queries and halt Zope. I have no such queries for Sybase yet. I will try to recompile python for linux, but I can't do so for WinNT as I have no compiler. Anyway I thought the python distributed with binary release of Zope is threaded, no? So, does anybody know of either binary and threaded Zope driver for Oracle , Sybase etc. or the same ODBC driver? And what is the state of python threading on WinNT paltform? Thanks, Petr -----Original Message----- From: Tim Cook [mailto:twcook@iswt.com] Sent: Tuesday, October 03, 2000 3:13 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: Re: [Zope] database connection problem (halting Zope) > Could it be that the python binary > used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From zope@isp.lu Tue Oct 3 15:10:39 2000 From: zope@isp.lu (zope) Date: Tue, 03 Oct 2000 16:10:39 +0200 Subject: [Zope] how to access the items of an array... Message-ID: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Hi In a form, I defined an array variable as follows: After submitting the form, gives me following result: ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] My question is now how to access the different items of that array? Thanks a lot for your help. Marc From evan@4-am.com Tue Oct 3 15:43:35 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 3 Oct 2000 10:43:35 -0400 Subject: [Zope] SiteAccess2 problem References: Message-ID: <004101c02d48$4f320fb0$3e48a4d8@digicool.com> From: Oliver Wrede > I am trying to use SiteAccess2 with a site which has imported > SiteAccess1 objects. Have you used Extensions/updata.py to upgrade these objects? Cheers, Evan @ digicool & 4-am From bkc@murkworks.com Tue Oct 3 15:53:52 2000 From: bkc@murkworks.com (Brad Clements) Date: Tue, 3 Oct 2000 10:53:52 -0400 Subject: [Zope] Only superuser can set Proxy on DTML methods? Message-ID: <39D9BABF.24116.3B75549@localhost> It seems that when I'm managing my website as a Manager (from acl_users folder) I can not set a proxy role for a method or document. I get "you do not have the proxy role" something like that. But I can't see anywhere how to enable my userid to have this proxy role. So only the superuser can set the proxy role for a document. But once I do that, I can't edit it anymore as Manager (expected) So .. how can a Manager grant the proxy role on documents? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From chrisw@nipltd.com Tue Oct 3 15:51:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 03 Oct 2000 15:51:17 +0100 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <39D9F265.62CEB365@nipltd.com> Brad Clements wrote: > > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. The wording is crap. What it means is that the user object you are authenticated with must have the role you are trying to give to the object by proxy. ...which makes sense if you think about it. ...but is frustrating if the role actually nothing to do with you, and has less permissions that your role. For example, you, as someone with only the Manager role, can't give a Customer proxy role to an object, even though Customers can do much less than Managers, because you don't have the Customer role. So, you have to go to acl_users and give yourself the Customer role just to complete the operation, and then, more than likely, remove the Customer role from yourself later... I can see why it's like it is, btu sureyl the Manager could be made to eb an exception? Or mayeb that's what's happening with the Superuser object? > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) Hmm... you imply the superuser has ended up owning an object, which shouldn't be possible (yes, that can of worms again :P) so does anyone know what's going on here? cheers, Chris From maxm@normik.dk Tue Oct 3 16:05:00 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 3 Oct 2000 17:05:00 +0200 Subject: [Zope] Sorting and accessing elements in the Message-ID: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> I am making a mailer zClass where it will only be nessecary to make the form fields with the values you want to send, then the zClass will give you a reply on the webpage and send a nicely formatted e-mail. The problem is that the form elements are unknown but they need to be set up in predictable order to format the output automatically. To do this I need the form values in a sorted order. I can then give the form fields names like this: ------------------------------------ Then the mail can be automatically formatted like this: 1) First Name Max M 2) Last Name Rasmussen etc.... ------------------------------------ I have tried to use the sequence-item as a key in REQUEST.form, but it doesn't work like I want it to. ---------------------------------

:

<---- THIS IS WHAT DOESNT WORK --------------------------------- Regards Max M From joachim.werner@iuveno.de Tue Oct 3 16:17:00 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Tue, 3 Oct 2000 17:17:00 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100317251000.05524@promotor> Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope site. The latter two seem to have been unmaintained for quite a while. Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an alternative solution? We are working on an integrated groupware solution (it will all be open sourced) and want to either store all documents (incl. mail) in a single Zope-based storage or at least simulate that by dynamically wrapping the mails into objects (similar to what Local_FS does with files on the file system). Thanks in advance! Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From jatwood@bwanazulia.com Tue Oct 3 16:56:02 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 03 Oct 2000 11:56:02 -0400 Subject: [Zope] IMAP and Zope! In-Reply-To: <00100317251000.05524@promotor> Message-ID: Why not just pick apart the pieces you need from WorldPilot. It seems a shame to have to start from scratch. J > From: Joachim Werner > Organization: Iuveno - Smart Communication > Date: Tue, 3 Oct 2000 17:17:00 +0200 > To: zope@zope.org > Subject: [Zope] IMAP and Zope! > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have > found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. > > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? > > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > > -- > Iuveno - Smart Communication > > > Joachim Werner > > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) > > From tom.deprez@uz.kuleuven.ac.be Tue Oct 3 17:15:34 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 03 Oct 2000 18:15:34 +0200 Subject: [Zope] List Message-ID: <3.0.6.32.20001003181534.008ef9c0@poirot> Hi, I'm storing a selection of a user to a database as string. This selection is a multiple selection from a select box and is outputted as a list. Now I want to iterate over this list (after retrieving it from the database), but how can I do this? How can I tell Zope that the string is actually a list? How can I typecast in Zope? Thanks, Tom. From andym@ActiveState.com Tue Oct 3 17:37:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:37:28 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <001f01c02d58$383b0d60$ae03a8c0@fork> You need to let item=sequence-item since sequence-item is interpreted in python as a mathemtical operation sequence minus item. : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:38:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:38:34 -0700 Subject: [Zope] Sorting and accessing elements in the References: <7BD10B680501D411B9DF009027E06F32011C0E@exchange> Message-ID: <002601c02d58$5f25f930$ae03a8c0@fork> Although this could be simpler (you dont need the REQUEST.set): : ----- Original Message ----- From: "Max Møller Rasmussen" To: Sent: Tuesday, October 03, 2000 8:05 AM Subject: [Zope] Sorting and accessing elements in the > I am making a mailer zClass where it will only be nessecary to make the form > fields with the values you want to send, then the zClass will give you a > reply on the webpage and send a nicely formatted e-mail. > > The problem is that the form elements are unknown but they need to be set up > in predictable order to format the output automatically. > > To do this I need the form values in a sorted order. I can then give the > form fields names like this: > > > > > ------------------------------------ > > Then the mail can be automatically formatted like this: > > 1) First Name > Max M > > 2) Last Name > Rasmussen > > etc.... > > ------------------------------------ > > I have tried to use the sequence-item as a key in REQUEST.form, but it > doesn't work like I want it to. > > --------------------------------- > > > >

> > > > > :
>

<---- THIS IS WHAT DOESNT > WORK > > > > > --------------------------------- > > Regards Max M > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 3 17:42:17 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:42:17 -0700 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <002c01c02d58$e4037e20$ae03a8c0@fork> If you want to put a string into a list you can use to split a string up. What database are you using and what are actually getting back? ----- Original Message ----- From: "Tom Deprez" To: Sent: Tuesday, October 03, 2000 9:15 AM Subject: [Zope] List > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? > > Thanks, Tom. > > > _______________________________________________ > 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 ) > From kthangavelu@earthlink.net Tue Oct 3 12:38:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 03 Oct 2000 04:38:37 -0700 Subject: [Zope] IMAP and Zope! References: <00100317251000.05524@promotor> Message-ID: <39D9C53D.6CF93A58@earthlink.net> Joachim Werner wrote: > > Hello! > > I am searching for a current IMAP Adapter solution for Zope. What we have found > so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't > really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" > on the classic Zope site. The latter two seem to have been unmaintained for > quite a while. I agree, WorldPilot is nice but its hard to split into component functionality for integration into an a site. > Does anybody use the old IMAP Adapter successfully with Zope 2.2.x or know an > alternative solution? LoginManager. > We are working on an integrated groupware solution (it will all be open > sourced) and want to either store all documents (incl. mail) in a single > Zope-based storage or at least simulate that by dynamically wrapping the mails > into objects (similar to what Local_FS does with files on the file system). > > Thanks in advance! > > Joachim. > > -- > Iuveno - Smart Communication > > Joachim Werner > > _________________________________________ > > Marie-Curie-Straße 6 > 85055 Ingolstadt > > Tel.: +49 841/90 14-325 (Fax -322) > Mobil: +49 179/39 60 327 > E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de > WWW: www.iuveno.de/www.iuveno-net.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 ) From andym@ActiveState.com Tue Oct 3 17:51:52 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 3 Oct 2000 09:51:52 -0700 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <004601c02d5a$3b04c9d0$ae03a8c0@fork> Use the in tag: ----- Original Message ----- From: "zope" To: Sent: Tuesday, October 03, 2000 7:10 AM Subject: [Zope] how to access the items of an array... > Hi > > In a form, I defined an array variable as follows: > > > > > > > > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > > > _______________________________________________ > 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 ) > From peter@grenna.net Tue Oct 3 18:07:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:07:09 +0100 Subject: [Zope] A hint on FSSession References: <39D64D7F.8FA11F0C@rotnet.com.br> <39D65A14.27107C0B@berg.net> <39D8CAB5.DC46529B@fazenda.gov.br> <39D9A1D1.2B4C4D7B@email.com> Message-ID: <002c01c02d5c$7e830210$01d4a8c0@peppe> > Why use javascript to access cookies? You can set and get them purely > using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why > not install a session product (HappySession, FSSession, SQLSession...), > it'll probably make your life easier in the long run... > > seb > Yes, and if you choose to use FSSession, remember to rename the object to something other that "FSSession". Having an object called "FSSession" in more than one place can f**k things up in the namestack, so to be on the safe side, rename (note "rename") the FSSession object to something more unique after having created one. This caused me a lot of brain damage, and I had it explained by a friend after may failed attempts to understand the error messages. From jwashin@vt.edu Tue Oct 3 18:06:58 2000 From: jwashin@vt.edu (Jim Washington) Date: Tue, 03 Oct 2000 13:06:58 -0400 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <39DA1232.D58E830F@vt.edu> Tom Deprez wrote: > > Hi, > > I'm storing a selection of a user to a database as string. This selection > is a multiple selection from a select box and is outputted as a list. > Now I want to iterate over this list (after retrieving it from the > database), but how can I do this? How can I tell Zope that the string is > actually a list? How can I typecast in Zope? Use a python or external method to make a list from your string. I am supposing you are storing a string representation of the list that looks like: "['fred', 'bob', 'mary']" Get rid of any punctuation you do not want with (e.g.) theString = string.replace(theString, '[', ' ') (Yes, there are more efficient ways to do this!) Then, once you have a space-delimited list of items, you may use theList = string.split(theString) which will make a list of the words in the string. Return theList. -- Jim Washington From peter@grenna.net Tue Oct 3 18:26:24 2000 From: peter@grenna.net (Peter Bengtsson) Date: Tue, 3 Oct 2000 18:26:24 +0100 Subject: [Zope] how to access the items of an array... References: <4.3.2.7.2.20001003160431.00ae5710@mail.isp.lu> Message-ID: <005001c02d5f$0ebfae80$01d4a8c0@peppe> > > After submitting the form, gives me following result: > > ['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh'] > > My question is now how to access the different items of that array? > > Thanks a lot for your help. > > Marc > Here's the syntax. where X is an integer. or
> > _______________________________________________ > 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 ) > From SuzetteR@ngc.co.tt Tue Oct 3 19:23:47 2000 From: SuzetteR@ngc.co.tt (Suzette Ramsden) Date: Tue, 3 Oct 2000 14:23:47 -0400 Subject: [Zope] IIS port problem Message-ID: <569FC7E4C179D311ABAF009027B11327198F08@icys> I am hoping someone can help me. I am at the end of my line. I have tried everything and nothing else works. I am trying to install Zope on my web server on which I have a small intranet. I am using Windows NT 4.0 and IIS 4.0. Ideally I was trying to use Squishdot with Zope to create a small discussion forum that can be accessed via the INTRANET. My Web server name is SRNT and is installed on my F:\ partition drive I installed Zope in the root cgi-bin directory and called my website ZopeSite. I selected the "Run as a win32 service" F:\InetPub\wwwroot\cgi-bin\ZopeSite\ I went to my browser (MS Internet Explorer 5.0) and accessed the Zope Site using the URL: http://srnt:8080/manage I successfully accessed my Zope site manager and everything was working just fine. Now comes the problem: I do not want to connect to the Intranet using the server port (8080) in the URL to access the Zope pages . I installed both Squishdot and TinyTables products on Zope and started building a Squishdot site, which I named ChatClub. However, the URL to access the Squishdot site looks like: http://srnt:8080/Control_Panel/Products/Squishdot/ChatClub/index_html I WANT IT TO AT LEAST SAY: http://srnt/Control_Panel/Products/Squishdot/ChatClub/index_html OR http://srnt/ChatClub/index_html I don't want any reference to the server port 8080. I have read several help documents on IIS and PCGI AND THEY ALL SAY DIFFERENT THINGS. One document said to copy the Zope.pcgi to the IIS cgi-bin folder and another said to copy it to the IIS scripts folder. One document showed the Zope.pcgi file path configuration completely different from mine. The document showed : PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py And mine showed PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope The document even had files I didn't have anywhere in my directory like pcgi.soc and some in completely different folders like: Help document: PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid My file: PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid I know there must be a a simple way to accomplish this. I just need someone to tell me how to do it STEP BY STEP. I am a Programmer/Analyst, but I am only a novice when it comes to servers and all the details. PLEASE HELP Regards, Suzette E. Ramsden From klm@digicool.com Tue Oct 3 20:12:29 2000 From: klm@digicool.com (Ken Manheimer) Date: Tue, 3 Oct 2000 15:12:29 -0400 (EDT) Subject: [Zope] Re: 'Offline' mailhost In-Reply-To: <39D9D22D.BB48DFA6@nipltd.com> Message-ID: On Tue, 3 Oct 2000, Chris Withers wrote: > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? I don't have a quick answer. (It's been a long time since i worked on mailman, and this stuff in particular has changed a lot.) It looks like the code in Mailman/Handlers/SMTPDirect.py is what's of interest, and it doesn't depend too elaborately on the rest of mailman, which is good. I'm have no idea whether it solves the problem of doing unblocking delivery in a way that lets the delivery requester get a status back. Ken klm@digicool.com From code@ou.edu Tue Oct 3 20:17:25 2000 From: code@ou.edu (Leichtman, David J) Date: Tue, 3 Oct 2000 14:17:25 -0500 Subject: [Zope] Zope stalls indefinitely Message-ID: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running 2.1.6 on Solaris with pgsql and the ZPyGre adapter and the most recent copy of FSSession. Any thoughts. I've posed this question to a lot of people many times. Now that it's back, I'm hoping for fresh insight. From edc@8days.com Tue Oct 3 21:18:49 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:18:49 -0600 Subject: [Zope] LoginManager Error Message-ID: Hi! I'm getting a type error when I try to add a LoginManager to a folder. Any sugestions on how to get past this? My config: Zope 2.2.1 ZPatterns 0.3.0 LoginManager 0.8.6 The traceback: Error Type: TypeError Error Value: keyword parameter redefined Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addLoginManager) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addLoginManager) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 237, in manage_addLoginManager File /usr/local/zope/lib/python/Products/ZPatterns/PlugIns.py, line 313, in _constructPlugIn TypeError: (see above) From edc@8days.com Tue Oct 3 21:24:42 2000 From: edc@8days.com (Ed Colmar) Date: Tue, 3 Oct 2000 14:24:42 -0600 Subject: [Zope] UserDB plus crypt Message-ID: --============_-1241517811==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" Since I couldn't get LoginManger to work, I started modifying UserDb to handle encrypted passwords... I've changed it so the encrypted password is stored in the DB, but I haven't been able to get it to authenticate. Can anyone offer any insight as to what I need to do? My modified UserDb.py is attached. Thanks! -ed- --============_-1241517811==_============ Content-Id: Content-Type: text/plain; name="UserDb.py"; charset="us-ascii" ; format="flowed" Content-Disposition: attachment; filename="UserDb.py" ; modification-date="Tue, 3 Oct 2000 14:24:04 -0600" """User Db product This product provides support for User Folder-like objects that store data in back-end databases. CREATE TABLE users ( username varchar(255) NOT NULL, password varchar(255) NOT NULL, domains varchar(255), roles varchar(255) ); """ __version__='$Revision: 1.13 $'[11:-2] import Globals, App.Undo, socket, regex from Products.ZSQLMethods.SQL import SQL from Globals import PersistentMapping from Globals import Persistent from Globals import HTMLFile, MessageDialog from string import join,strip,split,lower from App.Management import Navigation, Tabs from Acquisition import Implicit from OFS.SimpleItem import Item from OFS.Document import Document from base64 import decodestring, encodestring from urllib import quote, unquote from ImageFile import ImageFile from AccessControl.Role import RoleManager from AccessControl.User import BasicUser, BasicUserFolder from string import split, join, upper, lower ## Crypt toolkit ## import crypt, random ListType=type([]) class User(BasicUser): icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class UserDb(BasicUserFolder): """ """ meta_type='User Db' id ='acl_users' title ='User Db' icon ='misc_/UserDb/UserDb_icon' isPrincipiaFolderish=1 isAUserFolder=1 encryptedpasswords=1 manage_options=( {'label':'Contents', 'action':'manage_main'}, {'label':'Properties', 'action':'manage_properties'}, {'label':'Security', 'action':'manage_access'}, {'label':'Undo', 'action':'manage_UndoForm'}, ) __ac_permissions__=( ('View management screens', ['manage','manage_menu','manage_main','manage_copyright', 'manage_tabs', 'manage_properties', 'manage_UndoForm']), ('Undo changes', ['manage_undo_transactions']), ('Change permissions', ['manage_access']), ('Manage users', ['manage_users']), ('Change User Dbs', ['manage_edit']), ) manage_properties=HTMLFile('properties', globals()) def __init__(self, conn_id, cookie_mode=0): self.conn_id=conn_id self.cookie_mode=cookie_mode self.docLogin =Document(_docLogin, __name__='docLogin') self.docLogout=Document(_docLogout, __name__='docLogout') self.docLogin.__roles__=None self.docLogout.__roles__=None self.sqlListQuery=SQL('sqlListQuery', '', conn_id, '', _sqlListQuery) self.sqlUserQuery=SQL('sqlUserQuery', '', conn_id, 'username', _sqlUserQuery) self.sqlAddQuery=SQL('sqlAddQuery', '', conn_id, 'username password domains roles', _sqlAddQuery) self.sqlEditQuery=SQL('sqlEditQuery', '', conn_id, 'username password domains roles', _sqlEditQuery) self.sqlDelQuery=SQL('sqlDelQuery', '', conn_id, 'username', _sqlDelQuery) def getUserNames(self): """Returns a list of user names or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: data.append(sqlattr(ob, 'username')) data.sort() return data def getUsers(self): """Return a list of user objects or [] if no users exist""" data=[] try: items=self.sqlListQuery() except: return data for ob in items: user=User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) data.append(user) return data def getUser(self, name): """Return the named user object or None if no such user exists""" if name==self._super.getUserName(): return self._super try: ob=self.sqlUserQuery(username=name) except: return None if not ob: return None ob=ob[0] return User(sqlattr(ob, 'username'), sqlattr(ob, 'password'), sqlattr(ob, 'roles'), sqlattr(ob, 'domains')) def _doAddUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlAddQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlAddQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doChangeUser(self, name, password, roles, domains): if encryptedpasswords: encryptedpass = str(crypt.crypt(password,'ab')) self.sqlEditQuery(username=name, password=encryptedpass, roles=join(roles, ','), domains=join(domains, ',') ) else: self.sqlEditQuery(username=name, password=password, roles=join(roles, ','), domains=join(domains, ',') ) def _doDelUsers(self, names): for name in names: self.sqlDelQuery(username=name) # ---- def old_std_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] # If no authorization, only a user with a # domain spec and no passwd or nobody can # match if not auth: for ob in self.getUsers(): domains=ob.getDomains() if domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob return None # Only do basic authentication if lower(auth[:6])!='basic ': return None name,password=tuple(split(decodestring(split(auth)[-1]), ':')) user=self.getUser(name) if user is None: return None # Try to authenticate user encryptedpass = str(crypt.crypt(str(password),'ab')) #print encryptedpass if not user.authenticate(encryptedpass, request): return None # We need the user to be able to acquire! user=user.__of__(self) # Try to authorize user if user.allowed(parent, roles): return user return None std_validate=BasicUserFolder.validate def cookie_validate(self,request,auth='',roles=None): parent=request['PARENTS'][0] req_has=request.has_key resp=request['RESPONSE'] if req_has('__ac'): c=request['__ac'] c=unquote(c) try: c=decodestring(c) except: resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) name,password=tuple(split(c, ':')) encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): return user resp.expireCookie('__ac', path='/') raise 'LoginRequired', self.docLogin(self, request) if req_has('__ac_name') and req_has('__ac_password'): name=request['__ac_name'] password=request['__ac_password'] encryptedpass = str(crypt.crypt(password,'ab')) # Find user user=self.getUser(name) if user is not None: if user.authenticate(encryptedpass, request): user=user.__of__(self) if user.allowed(parent, roles): token='%s:%s' % (name, password) token=encodestring(token) token=quote(token) resp.setCookie('__ac', token, path='/') request['__ac']=token try: del request['__ac_name'] del request['__ac_password'] except: pass return user raise 'LoginRequired', self.docLogin(self, request) if auth: return None # Try domain matching for ob in self.getUsers(): domains=ob.getDomains() if ob.domains: if ob.authenticate('', request): if ob.allowed(parent, roles): ob=ob.__of__(self) return ob # Allow anonymous access to things under UserDbs, # if the object is public. nobody=self._nobody if nobody.allowed(parent, roles): ob=nobody.__of__(self) return ob raise 'LoginRequired', self.docLogin(self, request) def validate(self,request,auth='',roles=None): if self.cookie_mode: return self.cookie_validate(request, auth, roles) return self.std_validate(request, auth, roles) def __len__(self): return len(self.sqlListQuery()) def enumQueries(self): list=[] type=SQL.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def enumDocuments(self): list=[] type=Document.meta_type for ob in self.__dict__.values(): if hasattr(ob, 'meta_type') and ob.meta_type==type: list.append(ob) return list def manage_edit(self, connection_id, cookie_mode, REQUEST=None): """Change properties""" if connection_id != self.conn_id: # Connection changed - update sql methods! self.conn_id=connection_id for ob in self.enumQueries(): title=ob.title args=ob.arguments_src src=ob.src ob.manage_edit(title, self.conn_id, args, src) self.cookie_mode=cookie_mode if REQUEST: return MessageDialog( title ='UserDb Changed', message='UserDb properties have been updated', action =REQUEST['URL1']+'/manage_properties', target ='manage_main') logout__roles__=None def logout(self, REQUEST): """Logout""" REQUEST['RESPONSE'].expireCookie('__ac', path='/') return self.docLogout(self, REQUEST) manage_addUserDbForm=HTMLFile('addUserDb', globals()) def manage_addUserDb(self, connection_id, cookie_mode=0, REQUEST=None): """ """ if hasattr(self.aq_base, 'acl_users'): return MessageDialog( title ='Item Exists', message='This object already contains a User Folder', action ='%s/manage_main' % REQUEST['PARENT_URL']) ob=UserDb(connection_id, cookie_mode) self._setObject('acl_users', ob) self.__allow_groups__=self.acl_users if REQUEST: return self.manage_main(self,REQUEST,update_menu=1) addr_match=regex.compile('[0-9\.\*]*').match host_match=regex.compile('[A-Za-z0-9\.\*]*').match def domainSpecValidate(spec): for ob in spec: sz=len(ob) if not ((addr_match(ob) == sz) or (host_match(ob) == sz)): return 0 return 1 def domainSpecMatch(spec, request): if request.has_key('REMOTE_HOST'): host=request['REMOTE_HOST'] else: host='' if request.has_key('REMOTE_ADDR'): addr=request['REMOTE_ADDR'] else: addr='' if not host and not addr: return 0 if not host: host=socket.gethostbyaddr(addr)[0] if not addr: addr=socket.gethostbyname(host) _host=split(host, '.') _addr=split(addr, '.') _hlen=len(_host) _alen=len(_addr) for ob in spec: sz=len(ob) _ob=split(ob, '.') _sz=len(_ob) if addr_match(ob)==sz: if _sz != _alen: continue fail=0 for i in range(_sz): a=_addr[i] o=_ob[i] if (o != a) and (o != '*'): fail=1 break if fail: continue return 1 if host_match(ob)==sz: if _hlen < _sz: continue elif _hlen > _sz: _item=_host[-_sz:] else: _item=_host fail=0 for i in range(_sz): h=_item[i] o=_ob[i] if (o != h) and (o != '*'): fail=1 break if fail: continue return 1 return 0 # A getattr-like helper that hopefully can compensate for the # various oddities in data returned by different stupidbases. import Missing mt=type(Missing.Value) def typeconv(val): if type(val)==mt: return '' return val def sqlattr(ob, attr): name=attr if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=upper(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) attr=lower(attr) if hasattr(ob, attr): return typeconv(getattr(ob, attr)) raise NameError, name def absattr(attr): if callable(attr): return attr() return attr def reqattr(request, attr): try: return request[attr] except: return None _docLogin=""" Login

Name
Password
""" _docLogout=""" Logout

You have been logged out of the system.
""" _sqlListQuery=""" This query retrieves rows representing all users schema: username password domains roles SELECT * FROM users """ _sqlUserQuery=""" This query retrieves a row representing a given user schema: username password domains roles SELECT * FROM users """ _sqlAddQuery=""" This query adds a new user INSERT INTO users VALUES ( , , , ) """ _sqlEditQuery=""" This query updates a users data UPDATE users SET password=, domains=, roles= """ _sqlDelQuery=""" This query removes a user DELETE from users """ import __init__ __init__.need_license=1 --============_-1241517811==_============-- From rik.hoekstra@inghist.nl Tue Oct 3 21:39:45 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:39:45 +0200 Subject: [Zope] IIS port problem References: <569FC7E4C179D311ABAF009027B11327198F08@icys> Message-ID: <003f01c02d7a$114ea280$fe5da182@michieltje> > http://srnt/ChatClub/index_html note that most probably the reference will look something like http://srnt/cgi-bin/Zope.pcgi/ChatClub/index_html That is, you'll loose the port, but you rape your url. If you want a shorter url, you most probably have to do other (isapi like) things to IIS > > I don't want any reference to the server port 8080. > I have read several help documents on IIS and PCGI AND THEY ALL SAY > DIFFERENT THINGS. > One document said to copy the Zope.pcgi to the IIS cgi-bin folder and > another said to copy it to the IIS scripts folder. > the main point is you need _one_ (not several) Zope.pcgi file that has the proper locations of all the things needed in it. It does not matter where you put it. In your /pcgi/util directory there is a pcgifile.py script that will help you check the pcgi info file (that is the very Zope.pcgi file I referred to). If this doesn't report any errors, your IIS-pcgi connection will probably work. > One document showed the Zope.pcgi file path configuration completely > different from mine. The document showed : > PCGI_MODULE_PATH=X:\WebSite\lib\python\Main.py > > And mine showed > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\lib\python\Zope > this may be true, but it's a strange place for a Zope installation > The document even had files I didn't have anywhere in my directory like > pcgi.soc and some in completely different folders like: hm, IIRC the soc file is Unix only. > Help document: > PCGI_MODULE_PATH=X:\WebSite\pcgi\pcgi.pid > > My file: > PCGI_MODULE_PATH=F:\InetPub\wwwroot\cgi-bin\ZopeSite\var\pcgi.pid > > I know there must be a a simple way to accomplish this. It can be simple, but it may turn into a nightmare if it doesn't work (you have been warned). As a comfort, it took me no more than a quarter of an hour to get it installed on several different NT machines. I just need someone > to tell me how to do it STEP BY STEP. Your best step by step guide is on http://zdp.zope.org/projects/zbook/book/VII/PlatformInstallation/InstallDraf ts/instwindraft3/ hth Rik From rik.hoekstra@inghist.nl Tue Oct 3 21:45:40 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 22:45:40 +0200 Subject: [Zope] List References: <3.0.6.32.20001003181534.008ef9c0@poirot> <39DA1232.D58E830F@vt.edu> Message-ID: <004901c02d7a$e5509f20$fe5da182@michieltje> > > I'm storing a selection of a user to a database as string. This selection > > is a multiple selection from a select box and is outputted as a list. > > Now I want to iterate over this list (after retrieving it from the > > database), but how can I do this? How can I tell Zope that the string is > > actually a list? How can I typecast in Zope? , but that won't work in this case as you'll get a resultant [something,] > > Use a python or external method to make a list from your string. I am > supposing you are storing a string representation of the list that looks > like: > > "['fred', 'bob', 'mary']" > > Get rid of any punctuation you do not want with (e.g.) > > theString = string.replace(theString, '[', ' ') > > (Yes, there are more efficient ways to do this!) > > Then, once you have a space-delimited list of items, you may use > > theList = string.split(theString) > > which will make a list of the words in the string. Return theList. > a python/external method is more elegant, but if you want this can be done in the same way from DTML: or using dtml-let But whether all this works depends much on what your database returns. Rik From kworth@engin.umich.edu Tue Oct 3 21:52:17 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Tue, 3 Oct 2000 16:52:17 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems Message-ID: I just recently upgraded to 2.2.2. Upon upgrading, all instances of products that I created are broken. The products themselves are not, just every instance of every product that I made. External and standard products work just fine. Strange part coming up: I can make new instaces replacing the broken ones. However, 10-30 minutes after creating these new instances, the new instances are broken. I've tried this twice, with the same results. Anyone have any ideas? Thanks Kevin -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From rik.hoekstra@inghist.nl Tue Oct 3 22:11:52 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 3 Oct 2000 23:11:52 +0200 Subject: [Zope] Only superuser can set Proxy on DTML methods? References: <39D9BABF.24116.3B75549@localhost> Message-ID: <00e001c02d7e$8e15daa0$fe5da182@michieltje> > It seems that when I'm managing my website as a Manager (from > acl_users folder) I can not set a proxy role for a method or document. I > get "you do not have the proxy role" something like that. > > But I can't see anywhere how to enable my userid to have this proxy > role. > > So only the superuser can set the proxy role for a document. But once I > do that, I can't edit it anymore as Manager (expected) > > So .. how can a Manager grant the proxy role on documents? If I read your description correctly, it is closely related to a problem I reported several times to the collector (a year ago), but was never solved. See: http://classic.zope.org:8080/Collector/916/view Rik From dieter@handshake.de Tue Oct 3 22:00:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:00:08 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <97129676@toto.iv> Message-ID: <14810.18474.904823.246608@lindm.dm> =?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes: > Is there a place to define a script execution timeout? I do not think so. > I've been using urllib and there is no way to kill a urllib.open > if its taking too long. Does zope has that implemented? There is a patch to Python's "httplib" providing a socket timeout option. Unfortunately, not all OS support the necessary socket system call, e.g. my Linux 2.0.36 does not. Maybe, your OS does. Dieter From dieter@handshake.de Tue Oct 3 21:56:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 22:56:45 +0200 (CEST) Subject: [Zope] Access problems In-Reply-To: <45749606@toto.iv> Message-ID: <14810.17844.51565.241516@lindm.dm> Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter From dieter@handshake.de Tue Oct 3 22:16:39 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:16:39 +0200 (CEST) Subject: [Zope] database connection problem (halting Zope) In-Reply-To: <110283996@toto.iv> Message-ID: <14810.19006.650936.544140@lindm.dm> Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter From dieter@handshake.de Tue Oct 3 22:05:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 3 Oct 2000 23:05:59 +0200 (CEST) Subject: [Zope] script execution timeout? In-Reply-To: <50582432@toto.iv> Message-ID: <14810.18680.261585.547328@lindm.dm> seb writes: > > Is there a place to define a script execution timeout? > Try setting an alarm using the signal module, wrapping the GET request > in a try clause, and then setting the alarm to 0 in the finally clause. Be very careful with signals of any kind inside Zope: I had to patch ZServer, as the Oracle client library used signals (probably SIGALRM) when the Oracle server was unavailable. Under Solaris 2.7, this resulted in ZServer's "select" call being aborted with "Interrupted system call". Zserver was unprepared for this event and died. Dieter From jatwood@bwanazulia.com Tue Oct 3 22:32:56 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Tue, 3 Oct 2000 17:32:56 -0400 Subject: [Zope] zope 2.1.3 ->2.2.2 transition problems In-Reply-To: References: Message-ID: Hey Kevin, I had the same problem when upgrading from 2.1.6 - 2.2.2 but have not found an answer at all. I followed the directions that I found on Zope.org to the letter but to no avail. I checked the products and they all work in a clean install of 2.2.2 If you find out anything let me know. Thanks, J At 4:52 PM -0400 10/3/2000, Kevin Worth wrote: >I just recently upgraded to 2.2.2. Upon upgrading, all instances of >products that I created are broken. The products themselves are not, >just every instance of every product that I made. External and >standard products work just fine. > >Strange part coming up: I can make new instaces replacing the broken >ones. However, 10-30 minutes after creating these new instances, the >new instances are broken. I've tried this twice, with the same >results. > >Anyone have any ideas? > >Thanks > >Kevin >-- >----------------------------------------------- >Kevin Worth >Computer Systems Specialist II and Adjunct Lecturer >Department of Materials Science and Engineering >University of Michigan >_______________________________________________ >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 ) From fred@ontosys.com Wed Oct 4 00:21:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Tue, 3 Oct 2000 18:21:53 -0500 Subject: [Zope] why does squishdot url_quote email address values? Message-ID: <20001003182153.A16179@enteract.com> Version 0-7-2 of Squishdot seems to use the url_quote option when accessing the value of admin_address in particular, so when a DTML page has code like and admin_address is a property with the value "foo@bar.com", the resulting HTML code is foo%40bar.com which doesn't work correctly, particularly when used as the value of a 'mailto:' URL. So what's the solution? Is Squishdot wrong to use url_quote this way? Why is url_quote hiding the "@" anyway -- I don't see any reason for escaping it this way. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From hannu@tm.ee Wed Oct 4 06:52:43 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 04 Oct 2000 08:52:43 +0300 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> Message-ID: <39DAC5AB.CE9CC1EE@tm.ee> Chris Withers wrote: > > Shane Hathaway wrote: > > I'm not sure how well MailHost scales, but you can certainly store > > thousands of names in a ZODB-managed list. Tests done for the > > BTreeFolder product prove it. > > Sadly, I think MailHost doesn't scale too well :-( > > What it'd need to do if you're sending the mail to a few thousand people > is to be non-blocking. > IIRC, currently, a method/page with a addresses> tag pair in it will only return when the > mail has been sent to all the recipients. So, if the mails going to lots > of people, the page takes ages to return. Perhaps it would be better to solve this by configuring your sendmail (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Also you could send just one message to all the recipients instead of sending individual messages. > This is the problem I had where our mail server was taking lots of time > to send messages (it was doing lots of stuff to make sure the address > was valid) so submitting posts on Squishdot.org was taking ages too. > > What, IMHO, is really needed is a mailhost/sendmail tag type thing that > gets a message and a list of addresses to send it to. If it could do > that in a seperate thread/process/whatever so that whatever calls it > doesn't block, that'd be great. Of course, it'd need to have a 'hook > back' method provided so any errors that occured could be dealt with. > > I wonder how mailman does this stuff and if the code could be borrowed > for Zope? Maybe you could just use mailman as MTA, greating temporary mailing-lists. -------- Hannu From lheber@debis.com Wed Oct 4 08:14:47 2000 From: lheber@debis.com (Lars Heber) Date: Wed, 04 Oct 2000 09:14:47 +0200 Subject: [Zope] Namespace problems... Message-ID: <39DAD8E7.ACB56A3@debis.com> Hi there, I've still got to build a bigger website. So I stored my headers and footers and many other things in root/pub. All the other documents are stored in root/Intra and below. I've got my standard_html_header, with which I can display user-defined titles which may also contain values of global properties. The user-defined title is being built in the document before the header is called, e. g. something like: In the standard_html_header method I'm checking whether there is a titel attribute or not. This works fine. But for general use I want to keep the possibility of displaying the title_or_id of the document when I don't introduce a user-defined title. This would be no problem if s_h_h wasn't situated in root/pub, so I have to call it within the . But doing this, pub is on the top of my namespace, so that calling title_or_id returns the title_or_id of the container of s_h_h, i. e. pub! How can I nevertheless access within the s_h_h to the title_or_id of my original document? Thanks. Lars From frederic.quin@free.fr Wed Oct 4 09:18:05 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Wed, 04 Oct 2000 10:18:05 +0200 Subject: [Zope] A temporary python object defined in a dtml-let tag ??? Message-ID: <39DAE7BD.385186F@free.fr> Hi all, I wonder if it's possible to create temporary a python object in a dtml-let tag. If someone knows more about how to do this, please, help me... Thanks Fred Quin From stephan.goeldi@datacomm.ch Wed Oct 4 10:06:31 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Wed, 04 Oct 2000 09:06:31 GMT Subject: [Zope] SiteRoot Message-ID: I have a problem with SiteAccess: My site runs with Apache and Zope 2.0.0. Apache has 2 Domains: www.domain1.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain1.com/ in Zope exists: /provider/www/domain1.com www.domain2.com ProxyPass to Zope: http://123.123.123.123:8080/provider/www/domain2.com/ in Zope exists: /provider/www/domain2.com In both subdirectories (domain1.com and domain2.com) exist the SiteRoot method. In the SiteRoot method is written: Title: www.domain1.com Base: http://www.domain1.com Path: / When I point my Browser to www.domain1.com everything works ok. Now I create /provider/www/domain2.com OK I create the acl_user domain2.com with a password. OK I create a SiteRoot: Title: www.domain2.com Base: http://www.domain2.com path: / OK I restart Zope and Apache OK Now when I point my Browser to www.domain2.com I get the Website of www.domain1.com. I go to http://www.domain2.com/manage and get the folder: /provider/www/domain1.com instead of /provider/www/domain2.com When I log in as domain1.com I get the folder /provider/www/domain1.com and everything works ok. But I can go up to the folder /provider/www and see what else is in this folder. But domain1.com has no access to this folder, i.e. there is no acl_user in this folder. What goes wrong? I already tried to upgrade to 2.2.1 and 2.2.2 but this destroys the data structure. Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From dzienniak@sawan.com.pl Wed Oct 4 11:06:17 2000 From: dzienniak@sawan.com.pl (Marcin Dzienniak) Date: Wed, 4 Oct 2000 11:06:17 +0100 Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: <001001c02dea$c3a21370$63020101@sawan.com.pl> Hello, I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, I have heard that someone in this community buit DCOracle for NT and I wonder if you can help me. I would be gratefull if you could send me a makefile to this platform or a comliled file (*.pyd). I have Oracle 8i 8.1.6 . Please send me some information for my adress dzienniak@sawan.com.pl Thank you for your attention. From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:08:00 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:08:00 +0200 Subject: [Zope] List In-Reply-To: <39DA1232.D58E830F@vt.edu> References: <3.0.6.32.20001003181534.008ef9c0@poirot> Message-ID: <3.0.6.32.20001004120800.0093a330@poirot> Hi all, Thanks for the lots of correct answers. With a small modification (looking up several python docs :-) ) all things worked! Thanks in advance, Tom. At 13:06 03/10/2000 -0400, you wrote: >Tom Deprez wrote: >> >> Hi, >> >> I'm storing a selection of a user to a database as string. This selection >> is a multiple selection from a select box and is outputted as a list. >> Now I want to iterate over this list (after retrieving it from the >> database), but how can I do this? How can I tell Zope that the string is >> actually a list? How can I typecast in Zope? > >Use a python or external method to make a list from your string. I am >supposing you are storing a string representation of the list that looks >like: > >"['fred', 'bob', 'mary']" > >Get rid of any punctuation you do not want with (e.g.) > >theString = string.replace(theString, '[', ' ') > >(Yes, there are more efficient ways to do this!) > >Then, once you have a space-delimited list of items, you may use > >theList = string.split(theString) > >which will make a list of the words in the string. Return theList. > >-- Jim Washington > From bruno@xs2.greenpeace.org Wed Oct 4 11:13:22 2000 From: bruno@xs2.greenpeace.org (bruno@xs2.greenpeace.org) Date: Wed, 4 Oct 2000 12:13:22 +0200 (MEST) Subject: [Zope] PCGI and images not displaying Message-ID: Hello My set up: Linux (X/OS distribution based on RedHat 6.0), Zope 2.1.6 + PCGI + Apache 1.3.9 We have a DTML document that shows an image based on the selection from the user, something like this: (I snipped all the rest because it's of no interest here). The image is stored as an object in the ZODB. When the user requests that page, sometimes, the image is not returned to the browser. What I see in the log from Apache is a return code 304 (not changed) and a return code 200 in the Z2.log ... Does anyone knows of this? Is there a workaround besides putting the image in the filesystem and serving it as a URL from Zope only? TIA. /B From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 11:28:43 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 12:28:43 +0200 Subject: [Zope] IMAP and Zope! In-Reply-To: References: <00100317251000.05524@promotor> <00100317251000.05524@promotor> Message-ID: <3.0.6.32.20001004122843.00921020@poirot> Hi, I thought that WorldPilot told at the LinuxTag that version 2, would be more modular in design. I guess you can always ask the developers about the new release. Tom From fjesteban@uco.es Wed Oct 4 12:03:03 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 04 Oct 2000 13:03:03 +0200 Subject: [Zope] DCOracle 1.3.2 for Windows NT References: <001001c02dea$c3a21370$63020101@sawan.com.pl> Message-ID: <39DB0E66.2611FC44@uco.es> I'm not tried it yet, but you can get an VC6 Workspace for DCOracle in this page: http://starship.python.net/crew/arpadk/ Marcin Dzienniak escribió: > Hello, > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . > > Please send me some information for my adress dzienniak@sawan.com.pl > > Thank you for your attention. > > _______________________________________________ > 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 ) From Jean@mosaicsoftware.com Wed Oct 4 12:36:22 2000 From: Jean@mosaicsoftware.com (Jean Jordaan) Date: Wed, 4 Oct 2000 13:36:22 +0200 Subject: [Zope] Last-modified header missing -- time-stamps turned off. Message-ID: Hi all Just a note from the blue .. I'm snarfing the ZB using wget -np -m http://www.zope.org/Members/michel/ZB/ and for every document I'm seeing: Last-modified header missing -- time-stamps turned off. What's the significance of this? I assume something to do with the http headers returned by Zope. Does Zope not include last-modified headers since it predominantly serves dynamic pages? Regards, -- Jean Jordaan -- technical writer -- Mosaic Software -- Zope 2.2 on WinNT and W2K From Petr.Hrasky@bnp-dresdner-bank.cz Wed Oct 4 12:37:27 2000 From: Petr.Hrasky@bnp-dresdner-bank.cz (Hrasky Petr) Date: Wed, 4 Oct 2000 13:37:27 +0200 Subject: [Zope] database connection problem (halting Zope) Message-ID: thanks again, yes, the python versions I use are compiled for threads, they link against libpthread under linux. I have also found ZmxODBCDA adapter and it does not work for me yet - it shows in Zope as broken product. I also spoke to local Oracle hotline and they said that ODBC access is not thread safe until 8.1.6.1.1 due to some error in OCI libs. Now I am downloading Oracle for Linux and Sybase for Linux and I will try to compile OracleDA and SybaseDA. Thanks a lot all. Regards, Petr -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Tuesday, October 03, 2000 11:17 PM To: Hrasky Petr Cc: 'zope@zope.org' Subject: RE: [Zope] database connection problem (halting Zope) Hrasky Petr writes: > thank you for answers. To clarify: > I run Zope-2.2.2/Linux2.2.14/MySQL-ZMySQLDA1.1.3nonbin at home and > Zope-2.2.2-binary/NT4.0Workstation/ZODBCDA3.1.0b2 (Oracle 8i ODBC, > Sybase11.5)at work. Oracle connection at work and MySQL (at home just > for testing) run looong queries and halt Zope. I have no such queries > for Sybase yet. > I will try to recompile python for linux, but I can't do so for WinNT > as I have no compiler. Anyway I thought the python distributed with > binary release of Zope is threaded, no? If Python is compiled without threads, there is no module "thread". Zope relies on this module. It dies immediately, if it is not there. Thus, you can be sure, your Python has thread support compiled in. > So, does anybody know of either binary and threaded Zope driver for > Oracle , Sybase etc. or the same ODBC driver? And what is the state of > python threading on WinNT paltform? The Python that comes with Zope has thread support compiled in. Maybe, your Python-ODBC connection "forgets" to release Python's interpreter lock. We, once, had such a problem. Accidentally, the DCOracle module had been set up with a standard Python distribution (with threading disabled) rather than the Zope Python. As a consequence, the DCOracle did not call "releaseLock" and "acquireLock" (as they would not be present in a non-threaded Python). And, of course, database operations blocked Zope. Dieter _______________________________________________ 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 ) From Danny@Adair.net Wed Oct 4 12:59:09 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 13:59:09 +0200 Subject: [Zope] Access problems In-Reply-To: <14810.17844.51565.241516@lindm.dm> Message-ID: >Is it possible, that you upgraded from an earlier Zope installation? > >The traceback suggests that your requests tries to access >the object "broken", probably an object from a broken >product. Thanks, I've found the problem: It was a broken ZPatterns. I've updated to 0.4.2a3, but left an "old" compiled Dynpersist.so in the directory (V 0.3). After updating this, everything was fine. I guess I just have to be prepared to get the weirdest sstuff to see as long as I 1.) use alpha/beta products to authenticate my users on root level, and 2.) keep refusing to wear glasses (Actually, this beta ZPatterns is fine). Thanks, Prost, Danny -----Ursprungliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Dieter Maurer Gesendet: Dienstag, 3. Oktober 2000 22:57 An: Danny@adair.net Cc: zope@zope.org Betreff: Re: [Zope] Access problems Danny William Adair writes: > I have a serious and extremely urgent problem concerning my zope > installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get > the following > ..... > File > /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/BaseRequest.py, line > 514, in old_validation > (Object: broken) > AttributeError: (see above) Is it possible, that you upgraded from an earlier Zope installation? The traceback suggests that your requests tries to access the object "broken", probably an object from a broken product. I suggest, you start Zope with "STUPID_LOG_FILE=zope.log". This should log problems during Zope startup to "zope.log" (you may need to upgrade to Zope 2.2.2, as earlier Zope versions lost one exception log due to a missing "flush"). If you see no problems logged, try to go to "Control_panel/ProductManagement" and check whether there are broken products. Dieter _______________________________________________ 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 ) From maxm@normik.dk Wed Oct 4 13:03:56 2000 From: maxm@normik.dk (=?ISO-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 4 Oct 2000 14:03:56 +0200 Subject: [Zope] Namespace problem with the dtml-sendmail and the smtphost Message-ID: <7BD10B680501D411B9DF009027E06F32011C12@exchange> I have a dtml method in a zClass that looks like this: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! "theSMTPHost" is defined as a property in the zClass. But when i use the method I get a: Error Type: error Error Value: host not found If i write: It gets send without a hitch. and if I write it returns mail.tele.dk as expected. I then try this, which also fails. Mailhost: To: maxm@normik.dk From: test@normik.dk Subject: This is a test A test!!! Is it not possible to set the smtphost to a string in a dtml variabel? Regards Max M From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 13:35:29 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 14:35:29 +0200 Subject: [Zope] Integers in ZSQLMethod Message-ID: <3.0.6.32.20001004143529.0092d4b0@poirot> Hi, Is it possible to use following code in ZSQLMethod : , But also allow null as value for the integer? (Thus not filled in) Thanks in advance, Tom. From jonathan@home-all.org.uk Wed Oct 4 14:10:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 04 Oct 2000 14:10:17 +0100 Subject: [Zope] Detecting Roles not working Message-ID: <39DB2C39.3824562B@home-all.org.uk> Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in the index_html of my zclass i have edit this
so if the user is anonymous or logged in without the Staff role assigned they should not see the "edit this" link ... Doesn't work! It basically never returns a 'true' response thus never displays the edit this link even when logged in. Tried various permutations and variations on this theme without any success. Help! Without this, I am not sure how to customize the interface for different user groups. I am on 2.2.0 but I think it was similar under 2.1.6. Absolutely any clues no matter how obscure would be gratefully received (or indeed the glaringly obvious solution etc :-) Cheers Jonathan From heinkel@cenix-bioscience.com Wed Oct 4 14:12:53 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Wed, 4 Oct 2000 15:12:53 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <3.0.6.32.20001004143529.0092d4b0@poirot> References: <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <00100415145201.00737@celap> On Wed, 04 Oct 2000, you wrote: > Hi, > > Is it possible to use following code in ZSQLMethod : > > , > > But also allow null as value for the integer? (Thus not filled in) > use or the newer syntax Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From tom.deprez@uz.kuleuven.ac.be Wed Oct 4 14:26:05 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 04 Oct 2000 15:26:05 +0200 Subject: [Zope] Integers in ZSQLMethod In-Reply-To: <00100415145201.00737@celap> References: <3.0.6.32.20001004143529.0092d4b0@poirot> <3.0.6.32.20001004143529.0092d4b0@poirot> Message-ID: <3.0.6.32.20001004152605.009222d0@poirot> Argh, dumb me. That I didn't think of this myself. Boy, do I feel myself stupid and red. Tom. At 15:12 04/10/2000 +0200, Ralph Heinkel wrote: >On Wed, 04 Oct 2000, you wrote: >> Hi, >> >> Is it possible to use following code in ZSQLMethod : >> >> , >> >> But also allow null as value for the integer? (Thus not filled in) >> > >use > >or the newer syntax > >Ralph > > >------------------------------------------------------------------ >Ralph Heinkel Cenix Bioscience GmbH >Director of the IT-Unit Tel : +49 6221/387 915 >Meyerhofstr. 1 Fax : +49 6221/387 971 >69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com > From ergul@ccs.neu.edu Wed Oct 4 15:59:20 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Wed, 4 Oct 2000 10:59:20 -0400 (EDT) Subject: [Zope] DCOracle 1.3.2 for Windows NT Message-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-970671560=:2377 Content-Type: TEXT/PLAIN; charset=US-ASCII Marcin Dzienniak wrote: > I 'm looking for oci driver (DCOracle 1.3.2) to Windows NT platform, > I have heard that someone in this community buit DCOracle for NT and I > wonder if you can help me. > I would be gratefull if you could send me a makefile to this > platform or a comliled file (*.pyd). > I have Oracle 8i 8.1.6 . I had compiled DCOracle 1.3.1 b1 libraries as .dll's a while back on WinNT4.0 against Oracle 8.1.6.0 and they worked fine for me until we moved onto Linux. I've attached it hoping it works for you (and maybe others). Ayhan Ergul ---559023410-851401618-970671560=:2377 Content-Type: APPLICATION/ZIP; name="DCOracle-1.3.1b1-compiled.zip" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="DCOracle-1.3.1b1-compiled.zip" UEsDBBQAAgAIAAp+FynlIMBQrZ0AAACQAQAIAAAAb2NpXy5kbGzsW310FFWW r04XSQEFXUpHeiQyjdOuKMhm7TgDJqyASchIhOrudDdMvkSQaSMfGexWZkyU 2N1Oqh89G3aye9iz2bMw45zjqMdlZ5iz0XGhQxNCWMcB1BXWj0XUtTIdNAdm MSpQe+97VZ3OJybHc/afFKdSXe/j3vvuu/d373uvuP8HLZyZ4zgebk3juHaO Xcu4a1+n4Z757Vdmcgem/mFeu6n8D/MqAg8/aq/fvu2H29dvsW9Yv3XrtqD9 wYfs20Nb7Q9vtRev8di3bNv40KIZM6Y5dBpbzm08fFt42m7j7mgz7Z4Pz+f/ md+9lJZN370ZnqvavrV7gd5mA23H7d5OnzNpe/fDGwJYZ8gml3BcuYnnnr79 2SVG2Vlu5rzppmyO64OXBCtbvA/+SPjLxNFfEnvn9T7Gk0uY9HYcl8Wxpuxd SpfjY69k4mrg2ZZj4uSxlLfXxAk3cBO4TFyfafTaRcGHdgTh+fSnukB9XFo+ 47Jz3AOLtm9cH1zPcVeNsdvTOkhfYAPLFrFmXO9j2BHqZf05uF1i0faHNm/b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IAC2gdOdAABCdWZmZXIu ZGxsUEsFBgAAAAACAAIAbgAAAAXpAAAAAA== ---559023410-851401618-970671560=:2377-- From chrisw@nipltd.com Wed Oct 4 16:16:59 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:16:59 +0100 Subject: [Zope] dunno References: <20001003182153.A16179@enteract.com> Message-ID: <39DB49EB.69E89B1A@nipltd.com> Fred Yankowski wrote: > > Version 0-7-2 of Squishdot seems to use the url_quote option when > accessing the value of admin_address in particular, so when a DTML > page has code like > > Where does this code occur? (all occurences please ;-) > and admin_address is a property with the value "foo@bar.com", the > resulting HTML code is > > foo%40bar.com > > which doesn't work correctly, particularly when used as the value of a > 'mailto:' URL. How odd... Where have you got a mailto: URL? I've never had problem with this. What evrsion of Zoep are you using? > So what's the solution? Is Squishdot wrong to use url_quote this way? Dunno... > Why is url_quote hiding the "@" anyway -- I don't see any reason for > escaping it this way. Dunno... Anyone with clues, please give me one :-) cheers, Chris From chrisw@nipltd.com Wed Oct 4 16:19:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 04 Oct 2000 16:19:31 +0100 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: <39DB4A83.6858FB20@nipltd.com> Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. Can you tell me how to set that up with exim? > Also you could send just one message to all the recipients instead of > sending individual messages. Urm, they could be pretty unfriendly mail messages if they're being sent to a coupla thousand people. The bandwidth dcoming out of your server alone would be far higher than it needed to be :-( > > I wonder how mailman does this stuff and if the code could be borrowed > > for Zope? > > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. Any how-to's for this or how hard it would be to set up? cheers, Chris From kthangavelu@earthlink.net Wed Oct 4 11:33:37 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 03:33:37 -0700 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> Message-ID: <39DB0781.C577FBE2@earthlink.net> Jonathan Cheyne wrote: > > Hi all > > I have built the basis of a site with full, form-based webediting of > objects. Coming round to cleanup time and I wanted to remove certain > visible functions from the default object views unless you have already > logged in (with various possible roles) > > in the index_html of my zclass i have > > > edit this
>
> so if the user is anonymous or logged in without the Staff role assigne > they should not see the "edit this" link ... > > Doesn't work! It basically never returns a 'true' response thus never > displays the edit this link even when logged in. try (untested) Cheers Kapil From l.caroti@wayin.net Wed Oct 4 16:41:21 2000 From: l.caroti@wayin.net (Luciano Caroti) Date: Wed, 4 Oct 2000 17:41:21 +0200 Subject: [Zope] Implementing a distributing mirror Message-ID: Hi, I would like to implement a system to distribute PDF document. I would like to use ZOPE on 5 server distributed in Europe. I would like to build a system that send an email to a paying user where I put an URL. I would like that in URL I send temporary authentication information to allow access to a virtual directory where I put only documents or images files that user purchased. Have you any hints on how implement this architecture? Thank you in advance, Luciano Caroti. From amonta@regents.state.la.us Wed Oct 4 16:45:55 2000 From: amonta@regents.state.la.us (Dr. Anthony Monta) Date: Wed, 04 Oct 2000 10:45:55 -0500 Subject: [Zope] help! dtml-if question Message-ID: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Hi, I've tried to find a solution myself but now am stuck. I created a little "Blurb" product for a university department website so that faculty members can announce recent publications on the department's homepage. They create these ZClass instances in their own folders, and a DTML method in the top-level folder grabs and displays them at random. (I want to avoid using ZCatalog for the time being.) What the method does is randomly choose a faculty folder, and then randomly choose a Blurb instance within that folder. Here's the hack I came up with: (end tags omitted) The problem is that this method will produce an Index Error when it comes across a folder that doesn't contain an instance of "Blurb" class. So I need to make the selection of a folder conditional on Zope's finding a Blurb in that folder. Here's what I tried after reading up: Some default Blurb would appear. This method fails. Can someone help? Cheers, Anthony ~~~~~~~~~~~~~~~~ Anthony Brietz Monta Coordinator of Curricular Assessment & Academic Reporting Louisiana Board of Regents 150 Third Street, Suite 129 Baton Rouge, LA 70801-1389 225.342.4253, ext. 143 amonta@regents.state.la.us From klm@digicool.com Wed Oct 4 16:54:40 2000 From: klm@digicool.com (Ken Manheimer) Date: Wed, 4 Oct 2000 11:54:40 -0400 (EDT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DAC5AB.CE9CC1EE@tm.ee> Message-ID: On Wed, 4 Oct 2000, Hannu Krosing wrote: > Perhaps it would be better to solve this by configuring your sendmail > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. This seems like a good idea. It makes it hard to get disposition status for the delivery in the transaction - but that problem is intrinsic to email communications, and probably best addressed by using the "sender" header (i think it is), so delivery failure notifications go to someone who needs to know about the failure. Even better - but lots more complicated: have the failure notifications directed to a program which queues the fact of the failure for the sending program to use. I haven't used it, but contemporary MTAs have catchall aliases, by which you can handle a pattern of recipients. Have the envelope sender fit the pattern, and encode the information about the program that needs to get back the failure information. I think this kind of architecture is necessary for comprehensive mail sending from zope, with delivery failure accounting, since mail sending is inherently asynchronous. > Maybe you could just use mailman as MTA, greating temporary > mailing-lists. This is also a good idea in principle, but would wind up being cumbersome. Mailling list "objects" are heavy weight components in mailman - each one having a list metadata and archive directory, mta aliases, etc. Plus, you may have to leave the list up until the last delivery is completed (successful or not). Better, i think, to adopt techniques and steal code from mailman, to take the pieces you want. Ultimately, i don't think you'd be taking that much - there's a lot in python that gets you a lot of the way. It's the embedded knowledge that's useful... -- Ken klm@digicool.com From joachim.werner@iuveno.de Wed Oct 4 17:00:03 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Wed, 4 Oct 2000 18:00:03 +0200 Subject: [Zope] IMAP and Zope! Message-ID: <00100418001401.10603@promotor> Thanks for the input I got! Just a small wrap-up of what I learned: - The NotMail and old IMAP Adapter code don't seem to be seriously used by anybody - WorldPilot could be a solution, but it only if it was more modular. Ryan Hughes promised to integrate it into Zope by release 2 (incl. a ZODB-based document storage - There is a similar project by Morten W. Petersen that also will feature a ZODB-based message storage that will be searchable, Catalog-aware etc. Joachim. -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de ------------------------------------------------------- -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From bill@carbonecho.com Wed Oct 4 17:11:41 2000 From: bill@carbonecho.com (Bill Welch) Date: Wed, 4 Oct 2000 16:11:41 +0000 (GMT) Subject: [Zope] 'Offline' mailhost In-Reply-To: <39DB4A83.6858FB20@nipltd.com> Message-ID: Techniques for effeciently sending a message to a large number of recipients are covered extensively in majordomo documentation - www.greatcircle.com/majordomo. Also check out ftp://cs.utk.edu/pub/moore/bulk_mailer Bill. On Wed, 4 Oct 2000, Chris Withers wrote: > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( From sfl@beehive.de Wed Oct 4 17:15:16 2000 From: sfl@beehive.de (Sebastian Luehnsdorf) Date: Wed, 4 Oct 2000 18:15:16 +0200 (CEST) Subject: [Zope] cookies & ie5.5 win Message-ID: hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution? any help would be appreciated. ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99 From drusch@globalcrossing.com Wed Oct 4 17:23:20 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 04 Oct 2000 11:23:20 -0500 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> Message-ID: <39DB5978.8F8CF1EF@globalcrossing.com> This works for me, no pun intended :) Dan Kapil Thangavelu wrote: > > Jonathan Cheyne wrote: > > > > Hi all > > > > I have built the basis of a site with full, form-based webediting of > > objects. Coming round to cleanup time and I wanted to remove certain > > visible functions from the default object views unless you have already > > logged in (with various possible roles) > > > > in the index_html of my zclass i have > > > > > > edit this
> >
> > so if the user is anonymous or logged in without the Staff role assigne > > they should not see the "edit this" link ... > > > > Doesn't work! It basically never returns a 'true' response thus never > > displays the edit this link even when logged in. > > try (untested) > > > or (tested) > > > > Cheers > > Kapil > > _______________________________________________ > 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 ) From jwashin@vt.edu Wed Oct 4 17:30:15 2000 From: jwashin@vt.edu (Jim Washington) Date: Wed, 04 Oct 2000 12:30:15 -0400 Subject: [Zope] help! dtml-if question References: <4.3.1.0.20001004101455.00ad1880@regents.state.la.us> Message-ID: <39DB5B17.5050307@vt.edu> Hi, Anthony how about: 0"> Your _.has_key() (I think you meant _.hasattr()) statement was looking for something named "Blurb", not a thing of type"Blurb", so of course it failed. The objectValues(['atype']) statement returns a list of the things of the type, so checking for a non-zero length of the list will do what you need. -- Jim Washington Dr. Anthony Monta wrote: > Hi, > > I've tried to find a solution myself but now am stuck. I created a > little "Blurb" product for a university department website so that > faculty members can announce recent publications on the department's > homepage. They create these ZClass instances in their own folders, > and a DTML method in the top-level folder grabs and displays them at > random. (I want to avoid using ZCatalog for the time being.) What > the method does is randomly choose a faculty folder, and then randomly > choose a Blurb instance within that folder. Here's the hack I came up > with: > > > > > > > > > (end tags omitted) > > The problem is that this method will produce an Index Error when it > comes across a folder that doesn't contain an instance of "Blurb" > class. So I need to make the selection of a folder conditional on > Zope's finding a Blurb in that folder. Here's what I tried after > reading up: > > > > > > > > > > > Some default Blurb would appear. > > This method fails. Can someone help? > From Danny@Adair.net Wed Oct 4 18:57:56 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 4 Oct 2000 19:57:56 +0200 Subject: [Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3 In-Reply-To: <39DB36A2.4080601@cat-box.net> Message-ID: >You can build one yourself on that server. Thanks, I've built one. :-) From grundhan@cs.tu-berlin.de Thu Oct 5 21:21:39 2000 From: grundhan@cs.tu-berlin.de (Hannes) Date: Thu, 05 Oct 2000 21:21:39 +0100 Subject: [Zope] Client.py and timeouts Message-ID: <39DCE2D1.F8EE2D4B@cs.tu-berlin.de> I recently used Client.py to get data from the web into the zope machinery, the setup was exactly as proposed in the ZClient How-To. Maybe I missed something, but the Client module seems to support the setting of an timeout, but I was unable to finger out the right syntax I thought of: web_client(url='http://someserver.com', timeout=60) or some variants of it. (or it doesnt work at all for some other reasons.) Any help would be appreciated.. Hannes From mindlace@digicool.com Wed Oct 4 20:23:42 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 15:23:42 -0400 Subject: [Zope] zope.org restarting Message-ID: <39DB83BE.109AA5AB@digicool.com> Zopatistas, we're tracking down a memory leak. Thanks for your patience, ~ethan From jatwood@bwanazulia.com Wed Oct 4 20:38:43 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 04 Oct 2000 15:38:43 -0400 Subject: [Zope] Wierd 2.2.2 start up problem Message-ID: I have installed 2.2.2 on more than a few machines.... on my fifth machine I got this after doing the install. 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000\003' Traceback (innermost last): File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line 446, in setstate ImportError: No module named Document I have tried wiping it away and trying again like three times. Anyone know what this? Why it is not happening in installs. All RH Linux. Thanks, J From peter@grenna.net Wed Oct 4 21:10:54 2000 From: peter@grenna.net (Peter Bengtsson) Date: Wed, 4 Oct 2000 21:10:54 +0100 Subject: [Zope] Detecting Roles not working References: <39DB2C39.3824562B@home-all.org.uk> <39DB0781.C577FBE2@earthlink.net> <39DB5978.8F8CF1EF@globalcrossing.com> Message-ID: <004001c02e3f$34595160$01d4a8c0@peppe> Stolen somewhere from this list, and I don't remember from who. ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". > > > This works for me, no pun intended :) > > Dan > > Kapil Thangavelu wrote: > > > > Jonathan Cheyne wrote: > > > > > > Hi all > > > > > > I have built the basis of a site with full, form-based webediting of > > > objects. Coming round to cleanup time and I wanted to remove certain > > > visible functions from the default object views unless you have already > > > logged in (with various possible roles) > > > > > > in the index_html of my zclass i have > > > > > > > > > edit this
> > >
> > > so if the user is anonymous or logged in without the Staff role assigne > > > they should not see the "edit this" link ... > > > > > > Doesn't work! It basically never returns a 'true' response thus never > > > displays the edit this link even when logged in. > > > > try (untested) > > > > > > > or (tested) > > > > > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) > From shane@digicool.com Wed Oct 4 21:21:58 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:21:58 -0400 Subject: [Zope] timecards@digicool.com Message-ID: <39DB9166.575C595D@digicool.com> This is a multi-part message in MIME format. --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry for the tardiness. Shane --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000917.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000917.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIA aQBhAGwAMQAaAMgAAAAIALwCAAAAAgClBQFBAHIAaQBhAGwAMQAaAMgAAAAIAJABAAAAAACl BQFBAHIAaQBhAGwAMQAaANwAAgAJALwCAAAAAAClBQFBAHIAaQBhAGwAMQAaAMgAAgAJALwC AAAAAAClBQFBAHIAaQBhAGwAMQAaAMgAAgAIALwCAAAAAAClBQFBAHIAaQBhAGwAMQAaAMgA AAAIAJABAAAAAg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AAAAAAMAg4AAUAAAAAAD1/yAAAPQAAAAAAAAAAMAg4AAUAAAAAAD1/yAAAPQA AAAAAAAAAMAg4AAUAAAAAAD1/yAAAPQAAAAAAAAAAMAg4AAUAAAAAAABACAAAAAAAAAAAAAA AMAg4AAUAAEAKwD1/yAAAPgAAAAAAAAAAMAg4AAUAAEAKQD1/yAAAPgAAAAAAAAAAMAg4AAU AAEACQD1/yAAAPgAAAAAAAAAAMAg4AAUAAEALAD1/yAAAPgAAAAAAAAAAMAg4AAUAAEAKgD1 /yAAAPgAAAAAAAAAAMAg4AAUAAYApAABACAAAAAAAAAAAAAAAIkE4AAUAAcApAABACAAAAAA AAAAAAAAAIkE4AAUAAcApQABACEAAAAAAAAAAAAAAIkE4AAUAAYApAABACIAAAAAAAAAAAAA AIkE4AAUAAcApgABACAAAAAAAAAAAAAAAIkE4AAUAAgApAABACEAAAAAIAAAAAQABAoE4AAU AAkApAABACMAAAAAIAAAAAQABAoE4AAUAAoApAABACEAAAAQEgAECAQABAsE4AAUAAsApAAB ACEAAAAREggECAQABAsE4AAUAAcApAABACAAAAAREggECAQABAsE4AAUAAcApAABACAAAAAB EggACAQABAwE4AAUAAoApAABACEAAAAQEQAECAQABAsE4AAUAAsApAABACEAAAAREQgECAQA BAsE4AAUAAcApAABACAAAAAREQgECAQABAsE4AAUAAcApAABACIAAAAREQgECAQABAsE4AAU AAoApAABACEAAAAREQgECAQABAsE4AAUAAcApAABACAAAAABEQgACAQABAwE4AAUAAoApAAB ACEAAAAQAQAECAAABAsE4AAUAAoApAABACEAAAARAQgECAAABAsE4AAUAAcApAABACAAAAAR AQgECAAABAsE4AAUAAcApAABACAAAAABAQgACAAABAwE4AAUAAwApAABACAAAAAAAAAAAAAA AIkE4AAUAAcApAABACAAAAAAAAAAAAAAAIkEkwIEABCAA/+TAgQAEYAG/5MCBAASgAX/kwIE AACAAP+TAgQAE4AE/5MCBAAUgAf/kgDiADgAAAAAAP///wCAAAAA///AAMDAwAD/AAAA/wD/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gALAAIAIQAeAAAAAQIGAAsAAwAiAH4CCgALAAQA IgAGAAAAvgAQAAsABQAiACIAIgAiACIACQAGACMACwAKAB8AAAAAAAAAAAADAAAAAAANACUL AAsAA8AJwEIBBAABAgYADAAAACAA/QAKAAwAAQAkAB8AAAD9AAoADAACACEAIAAAAAECBgAM AAMAIgC9ABIADAAEACIAGgAAACIAGgAAAAUAvgAOAAwABgAiACIAIgAiAAkABgAjAAwACgAf AAAAAAAAAAAAAwAAAAAADQAlDAAMAAPACcBCAQQAvgAaAA0AAAAgACQAJAAiACIAIgAiACIA IgAiAAkABgAjAA0ACgAfAAAAAAAAAAAAAwAAAAAADQAlDQANAAPACcBCAQQAvgAaAA4AAAAg ACQAJAAiABYAFgAWABYAFgAiAAkABgAjAA4ACgAfAAAAAAAAAAAAAwAAAAAADQAlDgAOAAPA CcBCAQQAvgAaAA8AAAAgACQAJAAiACIAIgAiACIAFgAiAAkABgAjAA8ACgAfAAAAAAAAAAAA AwAAAAAADQAlDwAPAAPACcBCAQQAvgAaABAAAAAgACQAJAAiACIAIgAiABYAIgAiAAkABgAj ABAACgAlAAAAAAAAAAAAAwAAAAAADQAlEAAQAAPACcBCAQQAvgAaABEAAAAgACQAJAAiACIA IgAWACIAIgAiAAkABgAjABEACgAlAAAAAAAAAAAAAwAAAAAADQAlEQARAAPACcBCAQQAvgAa ABIAAAAgACQAJAAiACIAFgAiACIAIgAiAAkABgAjABIACgAlAAAAAAAAAAAAAwAAAAAADQAl EgASAAPACcBCAQQAvgAaABMAAAAgACQAJAAiABYAIgAiACIAIgAiAAkABgAjABMACgAlAAAA AAAAAAAAAwAAAAAADQAlEwATAAPACcBCAQQAvgAaABQAAAAgACQAJAAiABYAFgAWABYAFgAi AAkABgAjABQACgAlAAAAAAAAAAAAAwAAAAAADQAlFAAUAAPACcBCAQQAvgAaABUAAAAgACQA JAAiACIAIgAiACIAIgAiAAkABgAjABUACgAlAAAAAAAAAAAAAwAAAAAADQAlFQAVAAPACcBC AQQAvgAaABYAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABYACgAlAAAAAAAAAAAAAwAA AAAADQAlFgAWAAPACcBCAQQAvgAaABcAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABcA CgAlAAAAAAAAAAAAAwAAAAAADQAlFwAXAAPACcBCAQQAvgAaABgAAAAgACQAJAAiACIAIgAi ACIAIgAiAAkABgAjABgACgAlAAAAAAAAAAAAAwAAAAAADQAlGAAYAAPACcBCAQQAvgAaABkA AAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABkACgAlAAAAAAAAAAAAAwAAAAAADQAlGQAZ AAPACcBCAQQAvgAaABoAAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjABoACgAlAAAAAAAA AAAAAwAAAAAADQAlGgAaAAPACcBCAQQAvgAaABsAAAAgACQAJAAiACIAIgAiACIAIgAiAAkA BgAjABsACgAlAAAAAAAAAAAAAwAAAAAADQAlGwAbAAPACcBCAQQAvgAaABwAAAAgACQAJAAi ACIAIgAiACIAIgAiAAkABgAjABwACgAlAAAAAAAAAAAAAwAAAAAADQAlHAAcAAPACcBCAQQA vgAaAB0AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB0ACgAlAAAAAAAAAAAAAwAAAAAA DQAlHQAdAAPACcBCAQQAvgAaAB4AAAAgACQAJAAiACIAIgAiACIAIgAiAAkABgAjAB4ACgAl AAAAAAAAAAAAAwAAAAAADQAlHgAeAAPACcBCAQQAvgAaAB8AAAAgACQAJAAiACIAIgAiACIA IgAiAAkABgAjAB8ACgAlAAAAAAAAAAAAAwAAAAAADQAlHwAfAAPACcBCAQQAvgAaACAAAAAm ACcAJwAoACgAKAAoACgAKAAoAAkABgAjACAACgApAAAAAAAAAAAAAwAAAAAADQAlIAAgAAPA CcBCAQQACAIQACAAAAALAAGBAAAAAAABDwAIAhAAIQAAAAEAAYEAAAAAAAEPAAgCEAAiAAAA CwABgQAAAAAAAQ8AvgAcACEAAAAWABYAFgAWABYAFgAWABYAFgAWABYACgC+ABQAIgAAABYA FgAWABYAFgAWABYABgD9AAoAIgAHACoAIQAAAL4ACgAiAAgAKgAqAAkABgAjACIACgArAAAA AAAAAAAAAwAAAAAADQAlBAAgAArACsBCAQQA7ABQAA8AAvBIAAAAEAAI8AgAAAABAAAAAAQA AA8AA/AwAAAADwAE8CgAAAABAAnwEAAAAAAAAAAAAAAAAAAAAAAAAAACAArwCAAAAAAEAAAF AAAAPgISALYGAAAAAEAAAAAAAAAAAAAAAB0ADwADAAAAAAAAAQAAAAAAAAAKAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72 Content-Type: application/vnd.ms-excel; name="20000924.xls" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="20000924.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEwAAAAAA AAAAEAAAEQAAAAEAAAD+////AAAAAAAAAAD///////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA CAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAA/v////7////+/////v////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////1IA bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////8AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP// /////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7///8AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA/v///wAAAAAAAAAACQgQAAAGBQC7DcwHAAAAAAYAAADhAAIAsATBAAIA AADiAAAAXABwAAgAAFN0YXJDYWxjICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBCAAIAsARhAQIAAAA9AQIAAQCcAAIADgAZAAIAAAASAAIAAAATAAIA AACvAQIAAAC8AQIAAAA9ABIA4AFaAM8/Tio4AAAAAAABAFgCQAACAAAAjQACAAAAIgACAAAA DgACAAEAtwECAAAA2gACAAAAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgA AAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwA MQAaAMgAAAD/f5ABAAAAAAAABQFBAHIAaQBhAGwAMQAaAMgAAAD/f5ABAAAAAAAABQFBAHIA aQBhAGwAMQAaAMgAAAAIALwCAAAAAgClBQFBAHIAaQBhAGwAMQAaAMgAAAAIAJABAAAAAACl BQFBAHIAaQBhAGwAMQAaANwAAgAJALwCAAAAAAClBQFBAHIAaQBhAGwAMQAaAMgAAgAJALwC AAAAAAClBQFBAHIAaQBhAGwAMQAaAMgAAgAIALwCAAAAAAClBQFBAHIAaQBhAGwAMQAaAMgA AAAIAJABAAAAAgClBQFBAHIAaQBhAGwAMQAaAMgAAAANALwCAAAAAgClBQ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g4AAUAAAAAAD1/yAAAPQA AAAAAAAAAMAg4AAUAAAAAAD1/yAAAPQAAAAAAAAAAMAg4AAUAAAAAAABACAAAAAAAAAAAAAA AMAg4AAUAAEAKwD1/yAAAPgAAAAAAAAAAMAg4AAUAAEAKQD1/yAAAPgAAAAAAAAAAMAg4AAU AAEACQD1/yAAAPgAAAAAAAAAAMAg4AAUAAEALAD1/yAAAPgAAAAAAAAAAMAg4AAUAAEAKgD1 /yAAAPgAAAAAAAAAAMAg4AAUAAYApAABACAAAAAAAAAAAAAAAIkE4AAUAAcApAABACAAAAAA AAAAAAAAAIkE4AAUAAcApQABACEAAAAAAAAAAAAAAIkE4AAUAAYApAABACIAAAAAAAAAAAAA AIkE4AAUAAcApgABACAAAAAAAAAAAAAAAIkE4AAUAAgApAABACEAAAAAIAAAAAQABAoE4AAU AAkApAABACMAAAAAIAAAAAQABAoE4AAUAAoApAABACEAAAAQEgAECAQABAsE4AAUAAsApAAB ACEAAAAREggECAQABAsE4AAUAAcApAABACAAAAAREggECAQABAsE4AAUAAcApAABACAAAAAB EggACAQABAwE4AAUAAoApAABACEAAAAQEQAECAQABAsE4AAUAAsApAABACEAAAAREQgECAQA BAsE4AAUAAcApAABACAAAAAREQgECAQABAsE4AAUAAcApAABACIAAAAREQgECAQABAsE4AAU AAoApAABACEAAAAREQgECAQABAsE4AAUAAcApAABACAAAAABEQgACAQABAwE4AAUAAoApAAB ACEAAAAQAQAECAAABAsE4AAUAAoApAABACEAAAARAQgECAAABAsE4AAUAAcApAABACAAAAAR AQgECAAABAsE4AAUAAcApAABACAAAAABAQgACAAABAwE4AAUAAwApAABACAAAAAAAAAAAAAA AIkE4AAUAAcApAABACAAAAAAAAAAAAAAAIkEkwIEABCAA/+TAgQAEYAG/5MCBAASgAX/kwIE AACAAP+TAgQAE4AE/5MCBAAUgAf/kgDiADgAAAAAAP///wCAAAAA///AAMDAwAD/AAAA/wD/ AAD//wCAAAAAAIAAAAAAgACAgAAAgACAAACAgADAwMAA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wAnAQgEEAAgCEAAgAAAACwABgQAAAAAAAQ8ACAIQACEAAAABAAGBAAAAAAABDwAIAhAAIgAA AAsAAYEAAAAAAAEPAL4AHAAhAAAAFgAWABYAFgAWABYAFgAWABYAFgAWAAoAvgAUACIAAAAW ABYAFgAWABYAFgAWAAYA/QAKACIABwAqACMAAAC+AAoAIgAIACoAKgAJAAYAIwAiAAoAKwAA AAAAAAAAAAMAAAAAAA0AJQQAIAAKwArAQgEEAOwAUAAPAALwSAAAABAACPAIAAAAAQAAAAAE AAAPAAPwMAAAAA8ABPAoAAAAAQAJ8BAAAAAAAAAAAAAAAAAAAAAAAAAAAgAK8AgAAAAABAAA BQAAAD4CEgC2BgAAAABAAAAAAAAAAAAAAAAdAA8AAwAAAAAAAAEAAAAAAAAACgAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAP7////+//////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////8BAP7/AwoAAP////8QCAIAAAAAAMAAAAAAAABGGwAAAE1pY3Jvc29mdCBFeGNl bCA5Ny1UYWJlbGxlAAYAAABCaWZmOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAIA ////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABQA AAAAAAAA --------------F0CA5AA85E22BCE2CE9A7E72-- From shane@digicool.com Wed Oct 4 21:36:21 2000 From: shane@digicool.com (Shane Hathaway) Date: Wed, 04 Oct 2000 16:36:21 -0400 Subject: [Zope] timecards@digicool.com References: <39DB9166.575C595D@digicool.com> Message-ID: <39DB94C5.89CB6B7A@digicool.com> Shane Hathaway wrote: > > Sorry for the tardiness. Uh, ahem, please disregard. Sorry for sending that to the wrong place. Shane From bennettt@am.appstate.edu Wed Oct 4 23:03:28 2000 From: bennettt@am.appstate.edu (TMGB) Date: Wed, 04 Oct 2000 18:03:28 -0400 Subject: [Zope] client proxy setting Message-ID: <39DBA930.875750F0@am.appstate.edu> Can I get the user's client proxy setting using 'REQUEST' or some other syntax, product, or utility. This is not Proxy Roles or ProxyPass, but the client's proxy settings if any. I am working on a help page to debug a user's settings if he or she can't get to certain pages with our proxy server settings on their browser. I've found this to work for testing cookies acceptance:(set a cookie and then try to get it) YES, You Do Have Cookies Enabled NO, Your browser is not accepting cookies Thanx, Thomas -- -------------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org -------------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library bennettt@am.appstate.edu http://www.library.appstate.edu/webmaster/ Voice: 828 262 6587 FAX: 828 262 3001 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine From terry@adroit.net Thu Oct 5 00:25:19 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 05 Oct 2000 09:25:19 +1000 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> Message-ID: <39DBBC5F.9D375761@adroit.net> Chris Withers wrote: > Hannu Krosing wrote: > > Perhaps it would be better to solve this by configuring your sendmail > > (or other SMTP MTA) to be non-blocking, i.e. store-and-forward. > > Can you tell me how to set that up with exim? > > > Also you could send just one message to all the recipients instead of > > sending individual messages. > > Urm, they could be pretty unfriendly mail messages if they're being sent > to a coupla thousand people. The bandwidth dcoming out of your server > alone would be far higher than it needed to be :-( > How would the bandwidth change?? > > > > I wonder how mailman does this stuff and if the code could be borrowed > > > for Zope? > > > > Maybe you could just use mailman as MTA, greating temporary > > mailing-lists. > > Any how-to's for this or how hard it would be to set up? > > 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 ) -- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124 From ewalstad@yahoo.com Wed Oct 4 23:01:53 2000 From: ewalstad@yahoo.com (Eric) Date: Wed, 04 Oct 2000 15:01:53 -0700 Subject: [Zope] external method import error (ImportError)... Message-ID: Hi, To summarize: How do I import modules in an External Method's .py file? I have an external method that points to a .py file that has an import statement at the top. The import statement loads another module of mine (CProject.py). I've placed both files (pwToxml.py and CProject.py) in the Zope/Extensions directory. When I try to create an external method on the pTox.py file with the following parameters: ID = pTox Function Name = pTox Python Module File = pwToxml I get the following error: Error Type: ImportError Error Value: No module named CProject Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addExternalMethod) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 130, in manage_addExternalMethod File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 178, in __init__ (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 201, in manage_edit (Object: pTox) File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 210, in getFunction (Object: pTox) File /usr/local/Zope/lib/python/App/Extensions.py, line 217, in getObject (Info: ('/usr/local/Zope/Extensions/pwToxml.py', 'pwToxml')) File /usr/local/Zope/Extensions/pwToxml.py, line 1, in ? ImportError: (see above) I checked the sys.path for my Python installation and placed the CProject.py file there, but I still get the same error. Here's the top of my pwToxml.py file: import CProject, string def pTox(self, REQUEST): """Function to map pw to CProject Objects""" P=CProject.CProject() dictData = REQUEST.form.items() strTemp = "" strError = "Error Retrieving Dictionary Value" ...etc... Thanks for any help you can provide. From curtis@cardgate.net Wed Oct 4 23:48:38 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 5 Oct 2000 09:48:38 +1100 Subject: [Zope] 'websafe' colours In-Reply-To: References: Message-ID: <00100509483801.00895@localhost.localdomain> On Wed, 04 Oct 2000, Stephan Goeldi wrote: > > > > According to a recent study, there are approximately 13 'web safe' > > > > colours, out of the full 16,777,216. > > > > > > What makes the other 15,777,203 'unsafe'? > > If you mean the 'browsersafe colours' then there are 218. > Yes, my mistake. I did mean 'browser safe'. I was aware of the previous belief of 216 (mostly because of 256 colour modes less 40 system colours), but as I stated, a recent study has "dispelled the myth", claiming (and now I correct myself :) only 22 browser safe colours. http://slashdot.org/articles/00/09/08/1622204.shtml has some more details, and a link to the actual article. > >The only other possible reason I can recall is that some of the 'named' > >colours are not supported by all browsers, or are not interpreted the > > same. > > No, the problem is, that they are not displayed the same. > Not long after posting my message I realised this also. (o8 > -goe- > Have a better one, Curtis Maloney From mindlace@digicool.com Wed Oct 4 23:43:00 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:43:00 -0400 Subject: [Zope] Zope stalls indefinitely References: <372E9068C013D211891F00805F9FD1C2055874BB@mail3.oulan.ou.edu> Message-ID: <39DBB274.2BA7F0D9@digicool.com> "Leichtman, David J" wrote: > > Thought we had a problem of ours fixed, but here it is once again, a month > later. > Zope, every once in a while, will just stall indefinitely. The Zope process > doesn't die, it just hangs. > Any thoughts. I've posed this question to a lot of people many times. Now > that it's back, I'm hoping for fresh insight. hm. have you been using -M to see which things are being called when it hangs? ~ethan From mindlace@digicool.com Wed Oct 4 23:54:50 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Wed, 04 Oct 2000 18:54:50 -0400 Subject: [Zope] Last-modified header missing -- time-stamps turned off. References: Message-ID: <39DBB53A.39A6F0CD@digicool.com> Jean Jordaan wrote: > > Hi all > > Just a note from the blue .. I'm snarfing the ZB using > wget -np -m http://www.zope.org/Members/michel/ZB/ > and for every document I'm seeing: > > Last-modified header missing -- time-stamps turned off. > > What's the significance of this? I assume something to > do with the http headers returned by Zope. Does Zope not > include last-modified headers since it predominantly serves > dynamic pages? This is correct. No Last-Modified headers except for files and images (and that is specific to zope.org). Including a last modified header isn't hard, however: http://www.zope.org/Members/rbeer/caching ~ethan From aboulanger@ldeo.columbia.edu Thu Oct 5 00:31:21 2000 From: aboulanger@ldeo.columbia.edu (Albert Boulanger) Date: Wed, 04 Oct 2000 19:31:21 -0400 Subject: [Zope] WDDX anyone? Message-ID: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also there is full rdf. From: http://www.wddx.org/ Welcome to WDDX.ORG, the home of the WDDX SDK and related projects. WDDX.ORG seeks to empower Web developers with technology that enables them to create new forms of value on the Internet using distributed data and Web syndicate networks. The Web Distributed Data Exchange, or WDDX, is a free, open XML-based technology that allows Web applications created with any platform to easily exchange data with one another over the Web. To learn more about WDDX, check out the Understanding WDDX section of the site. Who created WDDX? Allaire created WDDX in order to solve key problems in exchanging data between Web applications. In particular, Simeon Simeonov, Allaire's language technology architect, created WDDX to support problems of distributed computing within ColdFusion. This work was generalized into a cross-language framework, and resulted in the creation of the WDDX SDK and WDDX.org. The WDDX SDK was created by Nate Weiss, an independent Web developer, with the support of Allaire and a number of other third parties. How does WDDX work? All of the standard programming environments on the Web (ColdFusion, Perl, ASP, Java, JavaScript, PHP, etc) include native data structures such as arrays, record sets or value pairs. WDDX provides a module for each language that will automatically serialize or translate the native data structures into an abstract representation in XML, or deserialize WDDX XML into a native data structure. For example, you could use WDDX to take a complex array in ColdFusion, serialize it into XML, send it to an ASP server, and then deserialize from XML into a VBScript array object with all the types natively converted. This conversion process between languages is relatively transparent to developers by shifting any XML processing and interaction into the WDDX modules, eliminating developers from having to directly program or manipulate XML themselves, This is not an RMI mechanism. Regards, Albert Boulanger aboulanger@vpatch.com From nestor@engendro.com Thu Oct 5 01:06:26 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Wed, 4 Oct 2000 19:06:26 -0500 (COT) Subject: [Zope] Product Testing In-Reply-To: Message-ID: HI, i'm trying to learn how to make products, i have been able to modify the poll product that comes with the product tutorial, and now i'm creating a new product however i need to restart zope for the changes to take effect, i think i can omit this if i can compile (generate the *.pyc) in the product directory, can anybody send me a few bits of how can i made that? thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From twcook@iswt.com Tue Oct 3 06:14:58 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 03 Oct 2000 00:14:58 -0500 Subject: [Zope] ZClasses & UserFolders Message-ID: <39D96B52.EFFB9450@iswt.com> Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _______________________________________________ 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 ) From michel@digicool.com Mon Oct 2 21:41:25 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: [Zope] Fw: ZSQL Methods in ZClasses, not working References: Message-ID: <39D8F2F5.B825620@digicool.com> Just wanted to get this point archived... Thanks Michel. Forwarded by Alexander Schonfeld ---------------- Original message follows ---------------- From: Michel Pelletier To: alex@garage.co.jp Cc: " \(DC Support List\)" Date: Mon, 02 Oct 2000 13:41:25 -0700 Subject: Re: [Support] [ZOPE Collector] Z SQL Methods Bug entry: ZSQL Methods in ZClasses, not working -- alex@garage.co.jp wrote: > > A new bug entry was added with the following information: > > Title: ZSQL Methods in ZClasses, not working > > At: http://classic.zope.org:8080/Collector/Collector/1664/sview > > Submitter: Alex > > Email: alex@garage.co.jp > > Description: Adding a ZSQL method to a ZClass and trying to access it from a method in that class gives permission denied and no matter what the password, denies access. You need to select *Use Database Methods* on your ZClasses *Permissions* view, and then select each ZSQL method you create and map *Use Database Methods* to *Use Database Methods*. I haven't really groked why it's that hard, but it works. -Michel From mandrews@netgenics.com Thu Oct 5 01:17:36 2000 From: mandrews@netgenics.com (Andrews, Martin) Date: Wed, 4 Oct 2000 20:17:36 -0400 Subject: [Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2 Message-ID: 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_000_01C02E61.AA7FFC96 Content-Type: text/plain; charset="iso-8859-1" When I have the 2000-10-02 hotfix installed I can no longer authenticate to zope. I fails with the attached message (Error Type: AttributeError, Error Value: editabsolute_url). I am guessing the problem is related to the fact that I am using GUF 1.2.4 (patched to have the getUserById() method). Any ideas? Martin mandrews@netgenics.com ------_=_NextPart_000_01C02E61.AA7FFC96 Content-Type: application/octet-stream; name="zope.err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zope.err" Zope=0A=

=0A= =0A=
=0A= Zope=0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= 3D"Zope"=0A= =0A=

Zope Error

=0A=

Zope has encountered an error while publishing this resource.=0A=

=0A= =0A=

=0A= Error Type: AttributeError
=0A= Error Value: manageabsolute_url
=0A=

=0A= =0A=
=0A= =0A=

Troubleshooting Suggestions

=0A= =0A=
    =0A=
  • The URL may be incorrect.
  • =0A=
  • The parameters passed to this resource may be incorrect.
  • =0A=
  • A resource that this resource relies on may be encountering an = error.
  • =0A=
=0A= =0A=

For more detailed information about the error, please=0A= refer to the HTML source for this page.=0A=

=0A= =0A=

If the error persists please contact the site maintainer.=0A= Thank you for your patience.=0A=

=0A=
=0A= =0A= =0A=

Last modified: 2000/10/04 15:55:28.369 US/Eastern=0A= =0A= ------_=_NextPart_000_01C02E61.AA7FFC96-- From kthangavelu@earthlink.net Thu Oct 5 00:16:09 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 04 Oct 2000 16:16:09 -0700 Subject: [Zope] WDDX anyone? References: <39DBBDC9.2B5ECAAA@ldeo.columbia.edu> Message-ID: <39DBBA39.8C7C26E1@earthlink.net> Albert Boulanger wrote: > > Has anyone considered WDDX for Zope? This seems like a nice next step to > > exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs > for CF, perl, etc. > > I have some applications in mind for intranet syndication that goes > beyond what RSS can do. Also there is full rdf. > > From: http://www.wddx.org/ > WDDX provides a module for > each language that will automatically serialize or translate the native > data structures into an abstract representation in XML, or deserialize > WDDX XML into a native data structure. For example, you could use WDDX > to take a complex array in ColdFusion, serialize it into XML, send it to > an ASP server, and then deserialize from XML into a VBScript array > object with all the types natively converted. This conversion process > between languages is relatively transparent to developers by shifting > any XML processing and interaction into the WDDX modules, eliminating > developers from having to directly program or manipulate XML themselves, > > This is not an RMI mechanism. So what about this couldn't be emulated with xml-rpc? Curious, Kapil From roman@speeder.org Thu Oct 5 06:35:53 2000 From: roman@speeder.org (Roman Milner) Date: 05 Oct 2000 00:35:53 -0500 Subject: [Zope] LDAP won't work - yes I've applied the patch Message-ID: <871yxvluiu.fsf@blip.speeder.zoe> I'm trying to get ldap methods to work with 2.2.2. I can access the attributes of the objects returned from an ldap method with a python extension fine, but dtml-in'ing the returned list doesn't work. I keep getting an error (traceback below). Any ideas? Thanks, ^Roman Your action caused an unknown error to occur. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From ppetru@ppetru.net Fri Oct 6 04:00:44 2000 From: ppetru@ppetru.net (Petru Paler) Date: Fri, 6 Oct 2000 06:00:44 +0300 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DCE3C8.3E9F6BD2@digicool.com>; from michel@digicool.com on Thu, Oct 05, 2000 at 01:25:44PM -0700 References: <39DCE3C8.3E9F6BD2@digicool.com> Message-ID: <20001006060044.C1065@ppetru.net> On Thu, Oct 05, 2000 at 01:25:44PM -0700, Michel Pelletier wrote: > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > > > Hi Brad - > > > > SOAP is still something we want to do, but it is on hold right > > now (we just don't have the resources at the moment). I've been > > hoping that someone might take the lead and start a project on > > dev.zope.org, but so far that hasn't happened :( > > Take a look at: > > http://classic.zope.org:8080/Collector/1360/view > > I remember glancing at it for a bit, it might be a good start to at > least get it to the same level of support as xml-rpc. Glad to see that people finally show some interest in that :) That patch was the result of a long night, but I'm sure it can be gotten to work properly (right now I think it has problems with exception handling). -- Petru Paler, mailto:ppetru@ppetru.net http://www.ppetru.net - ICQ: 41817235 From kthangavelu@earthlink.net Fri Oct 6 01:55:12 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Thu, 05 Oct 2000 17:55:12 -0700 Subject: [Zope] sudden ZClass breakage References: Message-ID: <39DD22F0.CD3E5F7B@earthlink.net> Timothy Wilson wrote: > > Hi everyone, > > I've been working away on a ZClass-based product that will provide a > searchable job board for our Human Resources Dept. here at school. Things > were going along fine until, it seemed, out of the blue I started getting an > error message about an "Invalid Date-Time String" and a lengthy > traceback. I'm wondering if anyone can glean anything from the > traceback. Is this one of those obvious errors that I'm just missing? I'm > really puzzled. Any advice would be appreciated. Here's the traceback: You're trying to change the zclass properties after creating it but you're not passing in a valid date time string and hence you're getting this error. Make sure the string you're passing in conforms to a date time format. (check ZOPE_HOME/lib/python/DateTime/DateTime.py for the supported formats), or just cast it explicitly like . I've noticed some behavior earlier today where i change all my zclass properties in a manage_changeProperties (depends on where) even ones not listed in the request. if this is your problem and you don't have date_time string set in the REQUEST you can try explicitly passing in a dummy date time string (ZopeTime or distant past), or setting it to its default value, i'd chuck this into the Collector/Tracker. i'm sure others have good solutions. > > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > wilson@visi.com | | http://linux.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 ) From stephan.goeldi@datacomm.ch Fri Oct 6 09:15:26 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 06 Oct 2000 08:15:26 GMT Subject: [Zope] browsable parent directories Message-ID: I successfully installed and used SiteAccess on my Zope 2.2.0. There is a directory /www on my server, where subdirectories are stored. Customer domains point to those subdirectories: /www/domain1 /www/domain2 etc. in domain1 and domain2 are the acl_user folders with manager permission for the customer. And there are the SiteRoot methods as Title = www.domain1.com Base = http://www.domain1.com Path = / When the customer accesses the manage screen, in the left frame everything is correct displayed (as www.domain1.com/). In the right folder it isn't. On the top of the right frame is the current path displayed as: /toplevel/www/domain1 The customer can browse to /toplevel/www and look who else is on this server. This is bad security IMHO. Is there a workaround for this? I downloaded SiteAccess 2, because I didn't know which version I installed some weeks ago. There was no 'Product' directory in my Zope root. So I created the directory and untarred SiteAccess2. I don't know how to delete SiteAccess 1. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From knight@righteous.net Fri Oct 6 09:37:37 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:37:37 -0700 (PDT) Subject: [Zope] redirect to user's folder not working In-Reply-To: <00100610043506.00895@localhost.localdomain> Message-ID: > On Fri, 06 Oct 2000, Andy McKay wrote: > > AUTHENTICATED_USER is not a string so need to cast it before doing the > > string operation: > > > > > > > > effectively does the same thing, it calls the > > string representation of AUTHENTICATED_USER. > > > > A more 'polite' way to get the user name is to use > AUTHENTICATED_USER.getUserName(). Not as short, true, but definitely more > explicit. Agreed. Any remember, several user managers don't completely conform to the AUTHENTICATED_USER "standards", and you might see calling AUTHENTICATED_USER directly fail completely. ;] Knight knight@phunc.com From knight@righteous.net Fri Oct 6 09:41:30 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 01:41:30 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: > How do I get a zope database connection from an enternal method? You can access your db using your existing ZSQL Methods by calling them from the namespace passed in, specifically self. Example: def myextmethod(self): mfl_id = 3 results = self.sqlCountUsers(mfl_id=mfl_id) for result in results: print result[0], result[3] Keep in mind that a list is returned, not a dictionary. Knight knight@phunc.com From knight@righteous.net Fri Oct 6 10:05:26 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 02:05:26 -0700 (PDT) Subject: [Zope] external method database connection In-Reply-To: Message-ID: Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) > > From matt@virtualspectator.com Fri Oct 6 10:55:53 2000 From: matt@virtualspectator.com (matt) Date: Fri, 6 Oct 2000 22:55:53 +1300 Subject: [Zope] XMLDocument create attributes problem Message-ID: <00100622591302.00925@localhost.localdomain> Hi, I'm trying to make an external method create and set some attributes of nodes in an XML document. The following is a fragment of the code, and the error. I can't even get a valid attribute created, let alone set. Does anyone have some examples? Please could you reply to me as well as the list, regards Matt from Products.XMLDocument.XMLDocument import Document def add(self, id, title): ob=Document() ob.title=title ob.id=id id=self._setObject(id, ob) log_node = ob.createElement('log') an_at = ob.createAttribute('attribute1') Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: too many arguments; expected 3, got 4 Traceback (innermost last): File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CreateNewsItem) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: addxmldoc('test', 'some_title_test')) (Info: addxmldoc) File , line 0, in ? File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ExternalMethod/ExternalMethod.py, line 270, in __call__ (Object: addxmldoc) (Info: (('test', 'some_title_test'), {}, None)) File /usr/local/zope/Zope-2.2.0-linux2-x86/Extensions/addxmldoc.py, line 11, in add (Object: Traversable) File /usr/local/zope/Zope-2.2.0-linux2-x86/lib/python/Products/XMLDocument/XMLDocument.py, line 283, in createAttribute (Object: Manageable) TypeError: (see above) From rbeer@uni-goettingen.de Fri Oct 6 12:19:11 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 6 Oct 2000 13:19:11 +0200 Subject: [Zope] Migrating from 2.1.6 to 2.2.2 In-Reply-To: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> References: <4.3.2.7.2.20001005151134.00b2a2d0@lucy.riskmetrics.com> Message-ID: Take a look at http://www.zope.org/Products/Zope/2.2.0/upgrading_to_220. Ragnar >I have a Zope based web site running under 2.1.6. I want to move it >to a different machine which will be running 2.2.2. Can someone >identify the steps I need to take to make this move? What things do >I need to be aware of in moving between these versions? Do I just >need to copy the data.fs along with any required product files, or >do I need move/configure other things. > >Thanks. > > >_______________________________________________ >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 ) From ssmith6@bigpond.net.au Fri Oct 6 13:17:11 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Fri, 6 Oct 2000 22:17:11 +1000 Subject: [Zope] Passing lists to zsql methods Message-ID: <000101c02f8f$5b8a6840$be348490@vic.bigpond.net.au> I have a form comprising two selection lists, each supporting multiple selection. I want the inputs to become parameters to a zsql method. I find the input works if the user selects at least one item from each list, but fails with a 'bad object id' message if either list is left unselected. I have tried providing a default list value, no luck. Any ideas out there? The form looks like:

Use this form to specify the parameters for your query or submission

All fields are optional

Multiple selection is supported - hold down the CONTROL key

and the zsql method reads: use thetable BEGIN transaction INSERT INTO rumours (Description) VALUES () DECLARE @rumourid int SELECT @rumourid = MAX(rumourid) FROM rumours COMMIT INSERT INTO roperators(rumourid, OperatorID) VALUES (@rumourid, ) INSERT INTO rclasses(rumourid, ClassID) VALUES (@rumourid, ) From sebbacon@email.com Fri Oct 6 13:52:37 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 13:52:37 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: I've got a ZClass "A" that subclasses another ZClass "B". I can use the default propertysheets/B/manage method to update B's properties; but how do I access the properties of A through the management interface? Many thanks Seb. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of knight Sent: 06 October 2000 10:05 To: zope@zope.org Cc: Mark Twiddy Subject: Re: [Zope] external method database connection Also, you could always import the specific module for your database, and create a db connection, then execute() and fetch() directly. Although, if you are putting this in an external method, it would be wiser to use your existing ZSQL methods ;] Knight knight@phunc.com On Fri, 6 Oct 2000, knight wrote: > > > How do I get a zope database connection from an enternal method? > > You can access your db using your existing ZSQL Methods by calling them > from the namespace passed in, specifically self. > > Example: > > def myextmethod(self): > mfl_id = 3 > results = self.sqlCountUsers(mfl_id=mfl_id) > for result in results: > print result[0], result[3] > > > > Keep in mind that a list is returned, not a dictionary. > > Knight > knight@phunc.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 ) From knight@righteous.net Fri Oct 6 14:07:20 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 06:07:20 -0700 (PDT) Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Either I don't fully understand your question, or I'm misinterpreting what you are trying to accomplish. If you are subclassing A, calling it B, then it _already_ has the properties of A when it was subclassed. However, if you have two instances running, one A, and one subclass of A called B, then you can not access that data in A from B since they are seperate instances. Maybe you could clarify what you are trying to accomplish (example maybe)... Regards, Knight knight@phunc.com On Fri, 6 Oct 2000, Seb Bacon wrote: > I've got a ZClass "A" that subclasses another ZClass "B". I can use the > default propertysheets/B/manage method to update B's properties; but how do > I access the properties of A through the management interface? > > Many thanks > > Seb. > > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of > knight > Sent: 06 October 2000 10:05 > To: zope@zope.org > Cc: Mark Twiddy > Subject: Re: [Zope] external method database connection > > > Also, you could always import the specific module for your database, and > create a db connection, then execute() and fetch() directly. Although, if > you are putting this in an external method, it would be wiser to use your > existing ZSQL methods ;] > > Knight > knight@phunc.com > > On Fri, 6 Oct 2000, knight wrote: > > > > > > How do I get a zope database connection from an enternal method? > > > > You can access your db using your existing ZSQL Methods by calling them > > from the namespace passed in, specifically self. > > > > Example: > > > > def myextmethod(self): > > mfl_id = 3 > > results = self.sqlCountUsers(mfl_id=mfl_id) > > for result in results: > > print result[0], result[3] > > > > > > > > Keep in mind that a list is returned, not a dictionary. > > > > Knight > > knight@phunc.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 ) > > > _______________________________________________ > 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 ) > > From odeckmyn.list@teaser.fr Fri Oct 6 14:16:23 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 15:16:23 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ Message-ID: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Hi all, What is the new way to apply the "__no_before_traverse__" using SiteAccess2 ? When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not apply ; this enabling to play with the management interface on a broken SiteAcces configuration... What is the "nowadays way to to this (TM)" ? Please help ! Thanx ! --- We are Micro$oft. You will be assimilated. Resistance is futile. From jjunior@cidadei.com.br Fri Oct 6 14:40:05 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Fri, 6 Oct 2000 10:40:05 -0300 Subject: [Zope] variable Message-ID: <70DA17B25830D411AD6500508B11CB4B3689D2@PRIMA-EXC01> It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. From evan@4-am.com Fri Oct 6 15:30:06 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 10:30:06 -0400 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> From: Olivier Deckmyn > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 Two ways, and it's factored so that you can turn SiteAccess objects off more selectively. First, you can turn all SiteRoots or Access Rules in your site off by restarting Zope with environment variables SUPPRESS_SITEROOT and/or SUPPRESS_ACCESSRULE set. Second, you can insert _SUPPRESS_SITEROOT or _SUPPRESS_ACCESSRULE in a URL right after the name of a container that has one you want to suppress. You can include both, in either order, if a folder has both an Access Rule and a SiteRoot that you want to turn off. Cheers, Evan @ digicool & 4-am From odeckmyn.list@teaser.fr Fri Oct 6 15:23:47 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Fri, 6 Oct 2000 16:23:47 +0200 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <033c01c02fa1$0a274600$0d00000a@ODECKMYN2K> the new magic buzz word is : "_SUPPRESS_SITEROOT" et voila ! Olivier. ----- Original Message ----- From: "Olivier Deckmyn" To: Sent: Friday, October 06, 2000 3:16 PM Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ > Hi all, > > What is the new way to apply the "__no_before_traverse__" using SiteAccess2 > ? > > When I was younger, in SiteAccess1, I used to postfix my URL with this (ex : > http://mysite:8080/__no_before_traverse__/manage ), so that SiteRoot did not > apply ; this enabling to play with the management interface on a broken > SiteAcces configuration... > > What is the "nowadays way to to this (TM)" ? > > Please help ! > > Thanx ! > > --- > We are Micro$oft. You will be assimilated. Resistance is futile. > > > > _______________________________________________ > 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 ) > > From lheber@debis.com Fri Oct 6 15:24:48 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:24:48 +0200 Subject: [Zope] Animated GIFs Message-ID: <39DDE0B0.B461CE18@debis.com> Hi there, I've got a strange problem. I want to upload an animated GIF to my Zope, but when I want to view it, animation stops at the last frame instead of looping indefinitely. When not uploaded to Zope, the animation works fine, also, when I download the GIF by rightclick from a Zope site and view it again outside Zope, it works perfectly! What's going on here??? Any ideas? PS.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 15:29:21 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 16:29:21 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <200010061629210601.00EAF59D@mail.inetsysonline.com> --=====_9708425616334=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with Zope speed. I've done benchmarking in two machines, with the same hardware. (K7 700= MHz, 128 MB, 20GB HD) Windows machine : W 2000 Professional with Zope for Windows Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 Windows 2000----------------------------------------------------------- Server Hostname: windows Server Port: 80 Document Path: /index_html Document Length: 486 bytes Concurrency Level: 25 Time taken for tests: 1.807 seconds Complete requests: 1000 Failed requests: 137 (Connect: 0, Length: 137, Exceptions: 0) Non-2xx responses: 864 Total transferred: 660974 bytes HTML transferred: 473471 bytes Requests per second: 553.40 Transfer rate: 365.79 kb/s received Connnection Times (ms) min avg max Connect: 0 0 10 Processing: 11 42 356 Total: 11 42 366 ----------------------------------------------------------------------------= ------- Linux-----------------------------------------------------------------------= ---- Server Hostname: linux Server Port: 8088 Document Path: /Contactos Document Length: 396 bytes Concurrency Level: 25 Time taken for tests: 7.688 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 595000 bytes HTML transferred: 396000 bytes Requests per second: 130.07 Transfer rate: 77.39 kb/s received Connnection Times (ms) min avg max Connect: 0 8 224 Processing: 102 181 54 Total: 102 189 278 ----------------------------------------------------------------------------= --------------------------- There's a big difference in the number of requests per second, four times= more in the Windows machine. Anyone knows why? Does it mean that Zope running in Windows is better than= in Linux? /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Inform=E1tica Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ --=====_9708425616334=_ Content-Type: text/html; charset="us-ascii"
Hi, I have a problem with Zope speed.
I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD)
 
Windows machine : W 2000 Professional with Zope for Windows
Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1
 
Windows 2000-----------------------------------------------------------
 
Server Hostname:        windows
Server Port:            80
 
Document Path:          /index_html
Document Length:        486 bytes
 
Concurrency Level:      25
Time taken for tests:   1.807 seconds
Complete requests:      1000
Failed requests:        137
   (Connect: 0, Length: 137, Exceptions: 0)
Non-2xx responses:      864
Total transferred:      660974 bytes
HTML transferred:       473471 bytes
Requests per second:    553.40
Transfer rate:          365.79 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     0    10
Processing:    11    42   356
Total:         11    42   366
-----------------------------------------------------------------------------------
Linux---------------------------------------------------------------------------
 
Server Hostname:        linux
Server Port:            8088
 
Document Path:          /Contactos
Document Length:        396 bytes
 
Concurrency Level:      25
Time taken for tests:   7.688 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      595000 bytes
HTML transferred:       396000 bytes
Requests per second:    130.07
Transfer rate:          77.39 kb/s received
 
Connnection Times (ms)
              min   avg   max
Connect:        0     8   224
Processing:   102   181    54
Total:        102   189   278
-------------------------------------------------------------------------------------------------------
 
There's a big difference in the number of requests per second, four times more in the Windows machine.
Anyone knows why? Does it mean that Zope running in Windows is better than in Linux?

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 
Aitor Grajal Crespo
Director General
 
INETSYS, S.L.
ETSI Informática
Ctra. Colmenar, km. 15,500
28049 MADRID
SPAIN
Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66
 
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--=====_9708425616334=_-- From lheber@debis.com Fri Oct 6 15:31:38 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 16:31:38 +0200 Subject: [Zope] Problems with animated GIFs Message-ID: <39DDE24A.2F98F486@debis.com> Hi there, I've got a strange problem with animated GIFs: They work fine in any browser. Uploading to Zope, viewing it. Animation goes up to the last frame, but instead of looping indefinitely, it stops at the last frame. Downloading that file from Zope, viewing it in any browser outside Zope, works perfectly! What's going on here??? Any ideas? P.S.: The content_type is image/gif. Do animGifs have another one? Just an idea... Have a nice weekend :-) Lars From joachim.werner@iuveno.de Fri Oct 6 15:16:06 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 6 Oct 2000 16:16:06 +0200 Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> References: <4.3.2.7.2.20001005084339.00add100@mail.isp.lu> Message-ID: <00100616363700.19497@promotor> I also don't get the LDAP Methods to work, even tried on 2.1.6. The test tab works as usual, but when I use them in DTML I don't have success either. Can anybody who got them working please try to explain the syntax step by step? The provided examples don't work for me. That's what I do: 1. I have a working LDAP Connection 2. If I create an LDAP method ("ldapmethod") with the argument "sn" and the filter "sn=" I get the correct result with the test tab. 3. I try to use the method in DTML: ,
This raises an Error Type: KeyError Error Value: sn The strange thing is that the method itselfs seems to work but passes no data: If I just use .
then the number of "." equals the number of entries the method should pass. Also, results in things like "[, ]", again the number of empty elements is correct, they just shouldn't be empty ... ______________________ Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From sebbacon@email.com Fri Oct 6 15:30:09 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 6 Oct 2000 15:30:09 +0100 Subject: [Zope] Base ZClass propertysheet management In-Reply-To: Message-ID: Thanks, I'll rephrase it using my real life problem: I have a Picture class, which comprises image, title, description, etc. I also have a ProductItem class, which subclasses Picture to include a price, etc. So finally I have got a ProductItem class, which has a title, image, price, ... I can access properties inherited from the Picture no problem. The problem is that the default management screen for editing the properties of ProductItem, propertysheets/Details/manage, only provides a means of editing the unique properties of ProductItem. Is there a means of managing all the properties of a ZClass, including those of its parent class? Or do I have to code my own management screen to do this? And if so, what is the correct way of refering to these properties in DTML? Feeling a bit dumb...cheers, Seb From bkc@murkworks.com Fri Oct 6 15:46:54 2000 From: bkc@murkworks.com (Brad Clements) Date: Fri, 6 Oct 2000 10:46:54 -0400 Subject: [Zope] FCGI or PCGI for Zope behind Stronghold for SSL, which way to go? Message-ID: <39DDAD9B.13445.1324009B@localhost> Can anyone offer their suggestion as to which method will be better, both in terms of speed and reliability? I do not need virtual hosting, just SSL. Thanks for comments.. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements From konermann@inf.tu-dresden.de Fri Oct 6 15:54:32 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Fri, 06 Oct 2000 16:54:32 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <39DDE7A8.F5EB9BC2@inf.tu-dresden.de> Hi all. Correct me, if i am wrong, but AFAIK ZServer (coming with Zope) is multi-threaded by default, whereas Apache/Zope uses PCGI or FCGI and is *not* multi-treaded. Best regards, Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From brian@digicool.com Fri Oct 6 16:20:38 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:20:38 -0400 Subject: [Zope] status of SOAP for Zope? In-Reply-To: <39DC9E22.6297.EFF90F6@localhost> Message-ID: > Okay, has anything been done at all? > > Where would I start? What's left to do? Petru Paler contributed some preliminary work: http://classic.zope.org:8080/Collector/1360/view While I think that this is a good thing and I'm glad he did it, I think that experience has shown that just suddenly making *everything* available via a new protocol (xml-rpc, SOAP) is not really the right approach. There are a number of people who have recently voiced their (legitimate) concern that by default *practically everything* on their site is xml-rpc enabled - and they have no easy way to turn it off or make things selectively available. This is a very important point - I think people would rather be able to implement SOAP services selectively rather than by One Big Switch that may expose just about anything. I would very much like to see a project started on dev.zope.org that starts off by drafting a "user manual" that describes how SOAP services would be implemented from the standpoint of a Zope developer. This would give us a good way to come to agreement without worrying about code just yet. Some attention should be given to how SOAP services get exposed by other systems at this point (they do *not* just suddenly expose every in-memory object to SOAP). We should also anticipate some of the work being done in "discoverability" of SOAP services in our draft (which I think will affect how you go about "defining" a Web service. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From brian@digicool.com Fri Oct 6 16:30:39 2000 From: brian@digicool.com (Brian Lloyd) Date: Fri, 6 Oct 2000 11:30:39 -0400 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Linux-------- > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > There's a big difference in the number of requests per second, > four times more in the > Windows machine. Anyone knows why? Does > it mean that Zope running in Windows is better than in Linux? No - look at your results. Every request failed on the win32 box (and they all succeeded on linux). You have some sort of problem in your windows setup, and you'll always get higher throughput for errors than you can for completed requests... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From tom.deprez@uz.kuleuven.ac.be Fri Oct 6 16:27:57 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Fri, 06 Oct 2000 17:27:57 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061629210601.00EAF59D@mail.inetsysonline.com> Message-ID: <3.0.6.32.20001006172757.00948330@poirot> Why do you test the one with ZServer and the other with Apache? If you want correct results you've to test both with ZServer or both with Zope behind Apache. Not? Tom. From wmiller@mediaone.net Fri Oct 6 16:43:51 2000 From: wmiller@mediaone.net (wmiller@mediaone.net) Date: Fri, 06 Oct 2000 15:43:51 -0000 Subject: [Zope] ZSQL returns integer only Message-ID: <8rkrvn+pupe@eGroups.com> The Oracle8i recordset I'm retrieving includes a few columns which are NUMBER(10,0) format which are milliseconds. I would like to divide each by 1000 and use the ROUND function to return a result with one decimal place, e.g. ROUND(column1/1000, 1). This works as expected in SQL*Plus. It returns the results as a number formated to one decimal place. ZSQL however returns only an integer. Any suggestions on how to get the decimal places to show? From jwh@allencreek.com Fri Oct 6 16:50:58 2000 From: jwh@allencreek.com (James Howe) Date: Fri, 06 Oct 2000 11:50:58 -0400 Subject: [Zope] Zope with Apache Message-ID: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> I asked this question a couple of months ago but received no response, so I figured I would ask it again to see if anyone can answer the question... We are running Zope behind an Apache server. We've got things configured so that it mostly works. However, we noticed that the "breadcrumbs" list at the top of a workspace screen doesn't work correctly. For example, if I'm looking at the object /Foo/Bar/Baz, the list of items in the breadcrumbs might look like this: DTMLDocument at / Foo / Bar / Baz The links to Foo and Bar do not correctly take into account the extra item needed to tell Apache that the link goes to the Zope site. For example, the link to Foo needs to say something like http://foo.bar.com/Zope/Foo/manage_workspace instead of http://foo.bar.com/Foo/manage_workspace The tabs for the management screens work fine, however. In looking at what is happening, I believe the problem exists because the links in the breadcrumbs line are relative links. The link to "foo" would look like this: Foo instead of Message-ID: <39DDF5A7.6B4485DA@vt.edu> Hi, Seb Go to the "Views" tab of the ProductItem ZClass. You should be able to add another tab referring to propertysheets/Picture/manage. This has worked for me in a similar situation. -- Jim Washington Seb Bacon wrote: > > Thanks, > > I'll rephrase it using my real life problem: > > I have a Picture class, which comprises image, title, description, etc. > I also have a ProductItem class, which subclasses Picture to include a > price, etc. > > So finally I have got a ProductItem class, which has a title, image, price, > ... > > I can access properties inherited from the Picture no problem. The problem > is that the default management screen for editing the properties of > ProductItem, propertysheets/Details/manage, only provides a means of editing > the unique properties of ProductItem. Is there a means of managing all the > properties of a ZClass, including those of its parent class? Or do I have > to code my own management screen to do this? And if so, what is the correct > way of refering to these properties in DTML? From lheber@debis.com Fri Oct 6 17:25:01 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:25:01 +0200 Subject: [Zope] HTML-Code in variables Message-ID: <39DDFCDD.99EF5C3F@debis.com> Hi again, this time I'd like to put some html-code in a variable via . Unfortunately, when I have the following: ... results in the following string: "<h1>this is some html</h2> What can I do against it??? TIA Lars From frederic.quin@free.fr Fri Oct 6 17:37:46 2000 From: frederic.quin@free.fr (Frederic Quin) Date: Fri, 06 Oct 2000 18:37:46 +0200 Subject: [Zope] Problem with Z SQL Method associated with a class... Message-ID: <39DDFFDA.EBD09896@free.fr> Hi all, I associated a Z SQL Method to a class. This class MUST have attributes but I obtain a Zope error on them. Did anyone know why and what I can do ??? Thanks Fred HERE IS THE ERROR ---------------------------------------- Error Zope has encountered an error while publishing this resource. See below for details. Error Type: AttributeError Error Value: interests_founded Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Version 2.0.1 -- © 2000 Profile For You -- Internal use only. Traceback (innermost last): File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/OFS/DTMLMethod.py, line 146, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: dmProfileCompare) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: sqlSiteProfileDetails( WEBSITEID=REQUEST.id, PAGEID=REQUEST.pg )) File /usr/local/Zope-2.1.6-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: XMLToDict(REQUEST.pstor)) (Info: REQUEST) File , line 0, in ? File /Zope/Extensions/IntranetToolKit.py, line 132, in XMLToDict (Object: Profile4uXMLParser) AttributeError: (see above) HERE IS MY CLASS ---------------------------------------------------- import string import sys from Shared.DC.xml import * from Shared.DC.xml.pyexpat import * class Profile4uXMLParser: # Necessary method to make the pyexpat module works def start_element(self, name, attrs): self.current_name = name # Simple tag for which we just want to store the attributes or the value situated just after the tag if ((name != 'interests') and (self.interests_founded == 0)): for i in range(len(attrs)): if ((i % 2) == 0): self.datas[attrs[i]] = attrs[i+1] # If we have a value just after the tag, it will be associate with the name of the tag after if (name != 'profile'): self.datas[name] = '' # We find the tag interests so... elif (self.interests_founded == 0): self.interests_founded = 1 # Tag founded in the tag interests else: tmp = {} tmp['level'] = string.replace(name,'l','') for i in range(len(attrs)): if ((i % 2) == 0): tmp[attrs[i]] = attrs[i+1] self.interests.append(tmp) # Necessary method to make the pyexpat module works def end_element(self, name): # End of interests : we can find others simple tags if (name == 'interests'): self.interests_founded = 0 # Necessary method to make the pyexpat module works def char_data(self, data): # Association of the value founded just after the tag with the name of the tag if ((self.current_name != 'interest') and (self.interests_founded == 0)): # If the data need to be decoded... if (string.find(data,':') >= 0): tmp2 = {} tmp = string.split(data,':') for i in range(len(tmp)): if ((i % 3) == 0): tmp2[tmp[i]] = [tmp[i+1],tmp[i+2]] self.datas[self.current_name] = tmp2 else: self.datas[self.current_name] = data def XMLToDict(self, dict): self.interests_founded = 0 # To know when we have found the interests self.datas = {} # To store all general informations self.current_name = '' # To associate the information located just after a tag to the name of this tag (see char_data method) self.interests = [] # To store temporaly the interests p = pyexpat.ParserCreate() p.StartElementHandler = self.start_element p.EndElementHandler = self.end_element p.CharacterDataHandler= self.char_data if (self.INTEREST != 'false'): p.Parse(self.INTEREST) dict[self.datas['type']] = [self.datas,self.interests] return dict From lheber@debis.com Fri Oct 6 17:46:56 2000 From: lheber@debis.com (Lars Heber) Date: Fri, 06 Oct 2000 18:46:56 +0200 Subject: [Zope] HTML-Code in variables (addition) Message-ID: <39DE0200.8F65CAF5@debis.com> Sorry, I mixed something up. Normal html is no problem at all. The problem is how to use quotes or such things. Of course I get an error by typing: Yahoo!"> I tried typing " instead of ", but then the """ also goes into the html code on my page - thus the link is broken... Are there any possibilities to let Zope change the " into ", or perhaps there is another way to do it like with the \" in C. Thanks to you all! Lars From Aitor.Grajal@inetsysonline.com Fri Oct 6 17:56:45 2000 From: Aitor.Grajal@inetsysonline.com (Aitor Grajal Crespo) Date: Fri, 06 Oct 2000 18:56:45 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> References: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: <200010061856450247.0171E71C@mail.inetsysonline.com> both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) thanks. *********** REPLY SEPARATOR *********** On 06/10/2000 at 17:27 Tom Deprez wrote: >Why do you test the one with ZServer and the other with Apache? >If you want correct results you've to test both with ZServer or both with >Zope behind Apache. Not? > >Tom. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: Aitor.Grajal@inetsysonline.com INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ From steve@spvi.com Fri Oct 6 19:40:16 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 6 Oct 2000 13:40:16 -0500 (EST) Subject: [Zope] Zope with Apache In-Reply-To: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> (message from James Howe on Fri, 06 Oct 2000 11:50:58 -0400) References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <200010061840.NAA80566@mercury.spvi.com> Hi James, Are you using SiteAccess? If not.. it would probably be worth a try. It will take care of setting BASE0 etc to soemthing intelligent. -steve >>>>> "James" == James Howe writes: James> I asked this question a couple of months ago but received James> no response, so I figured I would ask it again to see if James> anyone can answer the question... James> We are running Zope behind an Apache server. We've got James> things configured so that it mostly works. However, we James> noticed that the "breadcrumbs" list at the top of a James> workspace screen doesn't work correctly. For example, if James> I'm looking at the object /Foo/Bar/Baz, the list of items James> in the breadcrumbs might look like this: James> DTMLDocument at / Foo / Bar / Baz James> The links to Foo and Bar do not correctly take into account James> the extra item needed to tell Apache that the link goes to James> the Zope site. For example, the link to Foo needs to say James> something like James> http://foo.bar.com/Zope/Foo/manage_workspace James> instead of James> http://foo.bar.com/Foo/manage_workspace James> The tabs for the management screens work fine, however. James> In looking at what is happening, I believe the problem James> exists because the links in the breadcrumbs line are James> relative links. The link to "foo" would look like this: James> Foo James> instead of James> request to "foo.bar.com:8080/Zope". When my browser sees James> the relative path, it prepends the "foo.bar.com" instead of James> "foo.bar.com:8080/Zope" because it doesn't know any better. James> I've managed to get around the problem by changing some James> code in the tabs_path_info method found in Management.py. James> Basically I modifed the code to prepend "BASE0" to each of James> the items in the breadcrumbs list. This way, I get James> absolute links instead of relative. However, I'm wondering James> if there is just some additional configuration I need to do James> in Apache to fix this problem without modifying Zope James> itself. Has anyone else encountered this and is this a bug James> in Zope, or is this simply a configuration issue that I James> need to resolve. If its a configuration issue, what would I James> need to change. Any help would be appreciated. James> Thanks. James> James W. Howe mailto:jwh@allencreek.com Allen Creek James> Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann James> Arbor, MI 48103 James> _______________________________________________ Zope James> maillist - Zope@zope.org James> http://lists.zope.org/mailman/listinfo/zope ** No cross James> posts or HTML encoding! ** (Related lists - James> http://lists.zope.org/mailman/listinfo/zope-announce James> http://lists.zope.org/mailman/listinfo/zope-dev ) From simon@joyful.com Fri Oct 6 20:27:57 2000 From: simon@joyful.com (Simon Michael) Date: 06 Oct 2000 12:27:57 -0700 Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ In-Reply-To: "Olivier Deckmyn"'s message of "Fri, 6 Oct 2000 15:16:23 +0200" References: <02e801c02f97$9fe3fda0$0d00000a@ODECKMYN2K> Message-ID: <87r95tbwhu.fsf@joyful.com> You need to set an environment variable and restart zope, see the siteaccess2 documentation on zope.org for more details. -Simon From sdm7g@virginia.edu Fri Oct 6 20:55:51 2000 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Fri, 6 Oct 2000 15:55:51 -0400 (EDT) Subject: [Zope] Can Free Software Manage Your Web Site? Message-ID: Inside magazine has a feature on Zope: "Can Free Software Manage Your Web Site?" ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- "All operating systems want to be unix, All programming languages want to be lisp." From caz@tcdi.com Fri Oct 6 20:53:14 2000 From: caz@tcdi.com (Corey Zimmet) Date: Fri, 6 Oct 2000 15:53:14 -0400 Subject: [Zope] ZopeLDAP 1.0b4 breaks the root directory security tab Message-ID: Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: string member test needs char left operand Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) (Info: /usr/local/Zope/lib/python/AccessControl/access.dtml) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177, in TypeError: (see above) Removing the product returns the system back to normal. Does anyone know what I can patch to remove this? Thanks, Corey From diego@magicwebdesign.com.br Fri Oct 6 20:59:26 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Fri, 6 Oct 2000 16:59:26 -0300 Subject: [Zope] Fwd: Re: [Zope] Zope in Windows is faster than Linux ??? Message-ID: <00100616595700.01857@belzebu.magicwebdesign.com.br> Are you using Zope behind apache under Linux? Or it's a direct request to ZServer? As I can see the files are not the same, try to bench exactly the same file... On Fri, 06 Oct 2000, you wrote: > > Hi, I have a problem with Zope speed. > I've done benchmarking in two machines, with the same hardware. (K7 700 MHz, 128 MB, 20GB HD) > > Windows machine : W 2000 Professional with Zope for Windows > Linux machine : Linux RedHat 6.1, with Apache Server 1.3.12 and Zope 2.2.1 > > Windows 2000----------------------------------------------------------- > > Server Hostname: windows > Server Port: 80 > > Document Path: /index_html > Document Length: 486 bytes > > Concurrency Level: 25 > Time taken for tests: 1.807 seconds > Complete requests: 1000 > Failed requests: 137 > (Connect: 0, Length: 137, Exceptions: 0) > Non-2xx responses: 864 > Total transferred: 660974 bytes > HTML transferred: 473471 bytes > Requests per second: 553.40 > Transfer rate: 365.79 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 0 10 > Processing: 11 42 356 > Total: 11 42 366 > > ----------------------------------------------------------------------------------- > Linux--------------------------------------------------------------------------- > > Server Hostname: linux > Server Port: 8088 > > Document Path: /Contactos > Document Length: 396 bytes > > Concurrency Level: 25 > Time taken for tests: 7.688 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 595000 bytes > HTML transferred: 396000 bytes > Requests per second: 130.07 > Transfer rate: 77.39 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 8 224 > Processing: 102 181 54 > Total: 102 189 278 > > ------------------------------------------------------------------------------------------------------- > > There's a big difference in the number of requests per second, four times more in the Windows machine. > Anyone knows why? Does it mean that Zope running in Windows is better than in Linux? > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.com > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From nestor@engendro.com Fri Oct 6 21:23:36 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:23:36 -0500 (COT) Subject: [Zope] Data.fs has invalid transaction header In-Reply-To: <001b01c02fa1$eca23f30$3e48a4d8@digicool.com> Message-ID: Hi, I was working with zope and try to use the "-D" flag within it but a terrible thing happend when i was restarting the server: Starting Zope................................Traceback (innermost last): File "/usr/sbin/zope-z2", line 558, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/lib/zope/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 301, in __init__ self._pos, self._oid, tid = read_index( File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 1556, in read_index panic('%s has invalid transaction header at %s', name, pos) File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 218, in panic raise CorruptedTransactionError, message ZODB.FileStorage.CorruptedTransactionError: /var/lib/zope/var/Data.fs has invalid transaction header at 46034131 ............................... failed. The problem is that it never start again :'''( so i'am nervous only thinking that i can loose all of my work, there is any way to fix that? Thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From nestor@engendro.com Fri Oct 6 21:31:56 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 15:31:56 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: I forgot: Zope version 2.2.0-1 (On a Debian Potato i386) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 21:39:30 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 13:39:30 PDT Subject: [Zope] Java equivalent to WorldPilot? Message-ID: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From nestor@engendro.com Fri Oct 6 22:05:46 2000 From: nestor@engendro.com (Nestor A. Diaz L.) Date: Fri, 6 Oct 2000 16:05:46 -0500 (COT) Subject: [Zope] Re: Data.fs has invalid transaction header In-Reply-To: Message-ID: Sorry for the spam. Well i was able to fix it, i read the mail list at http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/0d9670dbe206a11c8025687e005919a3?OpenDocument and it tell that i can split the file at position 46034131 i do this: split --bytes=46034131 Data.fs cp xaa Data.fs i loose: 3089 bytes, however i don't know this correspond to. and starts zope, and everything goes OK. i make a final test and provide the "-D" option for Zope and everything comes OK, and better because the traceback is printed in the pages that shows an error. I think the problem was made when i install some products from the mk-zprod package. Well i am happy again :) Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email: nestor@engendro.com - WWW: http://www.engendro.com From hungjunglu@hotmail.com Fri Oct 6 22:22:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Fri, 06 Oct 2000 14:22:25 PDT Subject: [Zope] HTTP user authentication in Python Message-ID: Hi, Where can I find out more information on HTTP user authentication? I have seen the RFC before, but it's a bit too technical to follow. I think Python does not include the authentication/cookie handling part probably because out of concern about abuses. :) Does anyone know where I can find more info on the authentication and cookie protocol stuff? Is there any Python module already written to handle these things? The idea is to be able to fetch external webpages automatically using Python, including providing the necessary auth and cookie info. Of course this opens up a whole can of security worms, but heck, it's open information and someone must already have written something in Python already. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From asc@vineyard.net Fri Oct 6 22:29:46 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 17:29:46 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions Message-ID: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I can't seem to figure out, specifically, which permissions to give a user that will allow them to read ZopeTime(). (see below) For the admin user, I have set the Access content information and View * options globally. I've tried guessing at some others, but there are alot of possible combinations to try so I thought maybe I would just ask. Related, is there a detailed description of the default Security settings? I've checked the mailing lists and the Zope docs and if it's there, I guess I missed it. Thanks, Traceback (innermost last): File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: test) File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: test) File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: test) File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: REQUEST.set('ts', ZopeTime())) (Info: REQUEST) File , line 0, in ? NameError: (see above) From fred@ontosys.com Fri Oct 6 22:42:42 2000 From: fred@ontosys.com (Fred Yankowski) Date: Fri, 6 Oct 2000 16:42:42 -0500 Subject: [Zope] one external method calling another; what possibilities? Message-ID: <20001006164242.A91552@enteract.com> I'm using some example code that defines an External Method to process a form. That External Method calls another utility function to log some data. I'm not quite sure what choices I have for creating that utility function, so I created another External Method for it. Both functions are in the same Python source file in the Extensions folder. Anyway, the main external function calls the utility function like this: self.function2(arg1=valuex, arg2=valuey) I expected that function2 would have to be defined like this: def function2(self, **kwargs) but it turned out that that fails at runtime with a complaint about a mismatch between the number of arguments sent and expected (0 and 1, respectively). The following does work: def function2(**kwargs) So, why isn't function2 called as a method function? Was there some better way I could have implemented function2, rather than as an external method? Where is reference documentation on External Methods? I couldn't find anything other than a very cursory overview in one of the PDF'ed documents (I forget which). -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Charlie.E.Wilkinson@irs.gov Fri Oct 6 23:08:56 2000 From: Charlie.E.Wilkinson@irs.gov (Wilkinson Charlie E) Date: Fri, 6 Oct 2000 18:08:56 -0400 Subject: [Zope] Zope, Threads and Signals Message-ID: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> 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_01C02FE2.05E0E2F4 Content-Type: text/plain; charset="iso-8859-1" It all began when I was a small child, but I'll skip ahead a bit.... Last night I wrote a network client class with plans to use it as an External Method in Zope. Works great from the command line. My first real Python program. Mom and Dad were so proud! However, when I plugged it into Zope and tried to call it from a document method, I got this: Error Type: ValueError Error Value: signal only works in main thread Gack!! Um... Silly me, but I wrote all this code to use sigalarm and blocking I/O. Anyone know how I can overcome this great adversity, aside from rewriting it all to use non-blocking I/O? Know of any good examples of External Method network clients you could point me at? Or would making it a Zope Product somehow fix everything? (Sorry, I had to ask...) -cw- -- Charlie Wilkinson TRIS Development Systems Administrator IS:SD:CT:CC:TD Phone: 202-283-3241 MSMail: Charlie.E.Wilkinson@irs.gov SMTP: cwilkins@tris.irs.gov Home: cwilkins@boinklabs.com This message constructed from 90% post-consumer electrons. ------_=_NextPart_001_01C02FE2.05E0E2F4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Zope, Threads and Signals

It all began when I was a small child, but I'll skip = ahead a bit....  Last night I wrote a network client class with = plans to use it as an External Method in Zope.  Works great from = the command line.  My first real Python program.  Mom and Dad = were so proud!  However, when I plugged it into Zope and tried to = call it from a document method, I got this:

        Error = Type: ValueError
        Error = Value: signal only works in main thread

Gack!!  Um...  Silly me, but I wrote all = this code to use sigalarm and blocking I/O.  Anyone know how I can = overcome this great adversity, aside from rewriting it all to use = non-blocking I/O?  Know of any good examples of External Method = network clients you could point me at?  Or would making it a Zope = Product somehow fix everything?  (Sorry, I had to = ask...)

-cw-

--
Charlie Wilkinson
TRIS Development Systems Administrator
IS:SD:CT:CC:TD
Phone: 202-283-3241
MSMail:   = Charlie.E.Wilkinson@irs.gov
SMTP:  cwilkins@tris.irs.gov
Home:  cwilkins@boinklabs.com
This message constructed from 90% post-consumer = electrons.

------_=_NextPart_001_01C02FE2.05E0E2F4-- From evan@4-am.com Fri Oct 6 23:30:27 2000 From: evan@4-am.com (Evan Simpson) Date: Fri, 6 Oct 2000 18:30:27 -0400 Subject: [Zope] Zope with Apache References: <4.3.2.7.2.20001006114337.02cd0b08@lucy.riskmetrics.com> Message-ID: <010d01c02fe5$07166ba0$3e48a4d8@digicool.com> From: James Howe > We are running Zope behind an Apache server. We've got things configured so > that it mostly works. However, we noticed that the "breadcrumbs" list at > the top of a workspace screen doesn't work correctly. This was broken with respect to virtual hosting, as well, and the fix for that in the CVS trunk may also take care of what you're seeing. Should be in Zope 2.3 (soon, I hope). Cheers, Evan @ digicool & 4-am From peter@grenna.net Sat Oct 7 00:32:53 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 7 Oct 2000 00:32:53 +0100 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? ;-) Especially to all Linux supporters for the badwill of the emails title. I would really be interested in its correct results. Cheers everyone > > Failed requests: 137 > > No - look at your results. Every request failed on the win32 > box (and they all succeeded on linux). You have some sort of > problem in your windows setup, and you'll always get higher > throughput for errors than you can for completed requests... > > > Brian Lloyd brian@digicool.com > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.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 ) > From konermann@inf.tu-dresden.de Sat Oct 7 00:57:40 2000 From: konermann@inf.tu-dresden.de (Ansgar W. Konermann) Date: Sat, 07 Oct 2000 01:57:40 +0200 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: <39DE66F4.EA44AFDB@inf.tu-dresden.de> Hi all! Peter Bengtsson wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? Definitely, yea! > I would really be interested in its correct results. Me too. :-) Cheerio! Ansgar W. Konermann eMail: ak26@inf.tu-dresden.de WWW: http://www.inf.tu-dresden.de/~ak26 From jfarr@real.com Sat Oct 7 02:23:43 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 6 Oct 2000 18:23:43 -0700 Subject: [Zope] Zope, Threads and Signals References: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: <014701c02ffd$3b6e0030$416917ac@poly> I would just use the asynchronous network clients in asyncore and asynchat. Since ZServer also uses them you would be automagically plugged into the ZServer select loop if you were sitting behind ZServer. --jfarr ----- Original Message ----- From: "Wilkinson Charlie E" To: Sent: Friday, October 06, 2000 3:08 PM Subject: [Zope] Zope, Threads and Signals > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From kthangavelu@earthlink.net Fri Oct 6 21:23:30 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 13:23:30 -0700 Subject: [Zope] Java equivalent to WorldPilot? References: Message-ID: <39DE34C2.7277B9C7@earthlink.net> Hung Jung Lu wrote: > > Hi, > > Does anyone know any Java software (commercial or not) that is equivalent to > WorldPilot? > > regards, > > Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal format) and also javawebmail.sourceforge.net From knight@righteous.net Sat Oct 7 02:29:40 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:29:40 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <3.0.6.32.20001006172757.00948330@poirot> Message-ID: On Fri, 6 Oct 2000, Tom Deprez wrote: > Why do you test the one with ZServer and the other with Apache? > If you want correct results you've to test both with ZServer or both with > Zope behind Apache. Not? > > Tom. Exactly, or atleast both ZServer. You can definately attribute some latency due to the Apache integration... (minimal, but still needs to be noted!) Knight knight@phunc.com From knight@righteous.net Sat Oct 7 02:35:21 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:35:21 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <200010061856450247.0171E71C@mail.inetsysonline.com> Message-ID: To get ACCURATE timings, you need to create the situations almost identical, other than the operating system. So, that means: 1) Windows and Linux tunings should be similar; are you running extra daemons on the Linux box that Windows isn't (smtp, ftp, etc)? 2) The server architecture should be the same (identical hardware) 3) The software architecture should be the same; are you running both Zope and Apache on each machine, or are you spliting these services up somehow. A server with Apache+Zope, and then another server with just Zope will NOT match up. Just keep that in mind... Knight knight@phunc.com On Fri, 6 Oct 2000, Aitor Grajal Crespo wrote: > both of them go through the apache server, cos I have installed a proxy server (the reason is that windows is located on a different machine, and the proxy redirects to the windows zserver) > thanks. > > *********** REPLY SEPARATOR *********** > > On 06/10/2000 at 17:27 Tom Deprez wrote: > > >Why do you test the one with ZServer and the other with Apache? > >If you want correct results you've to test both with ZServer or both with > >Zope behind Apache. Not? > > > >Tom. > > > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Aitor Grajal Crespo > Director General > e-mail: Aitor.Grajal@inetsysonline.com > > INETSYS, S.L. > ETSI Informática > Ctra. Colmenar, km. 15,500 > 28049 MADRID > SPAIN > Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 > http://www.inetsysonline.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 ) > > From knight@righteous.net Sat Oct 7 02:37:55 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:37:55 -0700 (PDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:42:49 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:42:49 -0700 (PDT) Subject: [Zope] one external method calling another; what possibilities? In-Reply-To: <20001006164242.A91552@enteract.com> Message-ID: External methods are not extensions to any Zope classes. External methods allow you to incorporate external functionality from Zope, as you already know. You can define classes that are referenced in your functions though. Keep in mind, that the external method that you created that gets called is just a function. By default, self gets passed in, so be sure its in your function definition. When calling _another_ function from your external method, self does NOT get passed, since your external method does not belong to a specific class instance... i.e. there's no container to pass as self. So you have to pass self explicitly. Example: def myextmethod(self, somevar): something() morethings() myotherfunc(self, somevar): def myotherfunc(self, somevar): print somevar If this doesn't help, please clarify what exactly you are trying to do... Knight knight@phunc.com On Fri, 6 Oct 2000, Fred Yankowski wrote: > I'm using some example code that defines an External Method to process > a form. That External Method calls another utility function to log > some data. I'm not quite sure what choices I have for creating that > utility function, so I created another External Method for it. Both > functions are in the same Python source file in the Extensions folder. > > Anyway, the main external function calls the utility function like this: > > self.function2(arg1=valuex, arg2=valuey) > > I expected that function2 would have to be defined like this: > > def function2(self, **kwargs) > > but it turned out that that fails at runtime with a complaint about a > mismatch between the number of arguments sent and expected (0 and 1, > respectively). The following does work: > > def function2(**kwargs) > > So, why isn't function2 called as a method function? > > Was there some better way I could have implemented function2, rather > than as an external method? > > Where is reference documentation on External Methods? I couldn't find > anything other than a very cursory overview in one of the PDF'ed > documents (I forget which). > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From knight@righteous.net Sat Oct 7 02:45:38 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:45:38 -0700 (PDT) Subject: [Zope] Zope, Threads and Signals In-Reply-To: <36E747F41E90D411A6CC0004AC3699EB010C31C8@nct0010mb03.nc.no.irs.gov> Message-ID: cw, Are you spawning additional threads by chance? Or just the threads that Zope creates? Knight knight@phunc.com On Fri, 6 Oct 2000, Wilkinson Charlie E wrote: > It all began when I was a small child, but I'll skip ahead a bit.... Last > night I wrote a network client class with plans to use it as an External > Method in Zope. Works great from the command line. My first real Python > program. Mom and Dad were so proud! However, when I plugged it into Zope > and tried to call it from a document method, I got this: > > Error Type: ValueError > Error Value: signal only works in main thread > > Gack!! Um... Silly me, but I wrote all this code to use sigalarm and > blocking I/O. Anyone know how I can overcome this great adversity, aside > from rewriting it all to use non-blocking I/O? Know of any good examples of > External Method network clients you could point me at? Or would making it a > Zope Product somehow fix everything? (Sorry, I had to ask...) > > -cw- > > -- > Charlie Wilkinson > TRIS Development Systems Administrator > IS:SD:CT:CC:TD > Phone: 202-283-3241 > MSMail: Charlie.E.Wilkinson@irs.gov > SMTP: cwilkins@tris.irs.gov > Home: cwilkins@boinklabs.com > This message constructed from 90% post-consumer electrons. > From knight@righteous.net Sat Oct 7 02:49:56 2000 From: knight@righteous.net (knight) Date: Fri, 6 Oct 2000 18:49:56 -0700 (PDT) Subject: [Zope] Zope in Windows is faster than Linux ??? In-Reply-To: <004701c02fed$c0ff5f10$01d4a8c0@peppe> Message-ID: > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > ;-) > Especially to all Linux supporters for the badwill of the emails title. > > I would really be interested in its correct results. > > Cheers everyone Especially with all this press I've seen in publications over the last month or two regarding Windows 2000 is outperforming *nix. (over my dead _dead_ body) Knight > > > > Failed requests: 137 > > > > No - look at your results. Every request failed on the win32 > > box (and they all succeeded on linux). You have some sort of > > problem in your windows setup, and you'll always get higher > > throughput for errors than you can for completed requests... > > > > > > Brian Lloyd brian@digicool.com > > Software Engineer 540.371.6909 > > Digital Creations http://www.digicool.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 ) > > From asc@vineyard.net Sat Oct 7 04:17:22 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 6 Oct 2000 23:17:22 -0400 (EDT) Subject: [Zope] Newbie question : ZopeTime & permissions In-Reply-To: Message-ID: Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: > Aaron, you left out the error. What was it... > > On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > > > Hi, > > > > My name is Aaron. > > > > I am trying to set up zope with (atleast) three roles : manager, admin, > > user. > > > > I'd like to give the last two the bare minimum Security permissions > > possible and adding them as needed later on. > > > > My problem is that I can't seem to figure out, specifically, which > > permissions to give a user that will allow them to read ZopeTime(). > > > > (see below) > > > > For the admin user, I have set the Access content information and View * > > options globally. I've tried guessing at some others, but there are alot > > of possible combinations to try so I thought maybe I would just ask. > > > > Related, is there a detailed description of the default Security > > settings? I've checked the mailing lists and the Zope docs and if it's > > there, I guess I missed it. > > > > Thanks, > > > > > > > > > > > > > > Traceback (innermost last): > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > > publish_module > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > > publish > > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > > zpublisher_exception_hook > > (Object: Traversable) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > > publish > > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > > mapply > > (Object: test) > > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > > call_object > > (Object: test) > > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > > __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > > 528, in __call__ > > (Object: test) > > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > > 337, in eval > > (Object: REQUEST.set('ts', ZopeTime())) > > (Info: REQUEST) > > File , line 0, in ? > > NameError: (see above) > > > > > > _______________________________________________ > > 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 ) > > > > > > From matt@virtualspectator.com Sat Oct 7 04:20:49 2000 From: matt@virtualspectator.com (matt) Date: Sat, 7 Oct 2000 16:20:49 +1300 Subject: [Zope] xmldocument and properties In-Reply-To: <39DE66F4.EA44AFDB@inf.tu-dresden.de> References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <00100716220803.00855@localhost.localdomain> Does anyone have a simple example of creating and setting the properties of a node within an xml document, using xmldocument and external methods. thanks Matt From kthangavelu@earthlink.net Sat Oct 7 03:40:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Fri, 06 Oct 2000 19:40:58 -0700 Subject: [Zope] Underscore Caracter References: Message-ID: <39DE8D3A.D9618763@earthlink.net> Chris McDonough wrote: > > Yes. Thank you. > > Note however that methods of modules accessed via the underscore namespace > may be filtered individually, so although 'replace' exists as a method of > the Python string module, this does not necessarily make it accessible > implicitly through Zope via _.string.replace. It happens to be accessible > in this case, but I'd bet there are cases in which methods accessible > via modules of the _ namespace have been removed for "safe scripting" > purposes. having recently gone through the code to produce ZModules (defined interface for adding modules to _), it was apparent that all the modules that live in namespace are completely exposed. Kapil From iap@y2fun.com Sat Oct 7 09:58:33 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Sat, 7 Oct 2000 16:58:33 +0800 Subject: [Zope] Problem of Catalog "Find items to ZCatalog" References: <39DE8D3A.D9618763@earthlink.net> Message-ID: <02d201c0303c$c76f3920$6601a8c0@y2fun.com> Hi, In the management view of a Catalog (ex. /Catalog), there is a tab named "Find items to ZCatalog". In that tab, there is a field "Find objects of type:". The options listed there were retrieved from the "factory" of a ZClass. (The "add list name" field, a good feature for people who are not native speakers of English.). I doubt that what "Find items to ZCatalog" actually searched is the meta_type of the objects not the value of "add list name" in its ZClass. Because I have to identify these two in order to find my items to ZCalalog. Is that true? Iap, Singuan From knight@righteous.net Sat Oct 7 10:08:36 2000 From: knight@righteous.net (knight) Date: Sat, 7 Oct 2000 02:08:36 -0700 (PDT) Subject: [Zope] Underscore Caracter In-Reply-To: <39DE8D3A.D9618763@earthlink.net> Message-ID: > Chris McDonough wrote: > > > > Yes. Thank you. > > > > Note however that methods of modules accessed via the underscore namespace > > may be filtered individually, so although 'replace' exists as a method of > > the Python string module, this does not necessarily make it accessible > > implicitly through Zope via _.string.replace. It happens to be accessible > > in this case, but I'd bet there are cases in which methods accessible > > via modules of the _ namespace have been removed for "safe scripting" > > purposes. > > having recently gone through the code to produce ZModules (defined > interface for adding modules to _), it was apparent that all the modules > that live in namespace are completely exposed. What's the problem with that? Aren't most, if not all, the modules living in the _ namespace just standard python modules available anyways? Knight From zope@philosoft.at Sat Oct 7 10:42:32 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Sat, 07 Oct 2000 11:42:32 +0200 Subject: [Zope] HTTP user authentication in Python In-Reply-To: References: Message-ID: <200010071142320968.38BFDB97@192.7.2.223> The core of HTTP authentication is the following (you have to put the authentication into the HTTP header): import httplib h=httplib.HTTP(....) .... h.putheader("AUTHORIZATION", "Basic %s" % string.replace( encodestring("%s:%s" % (self.username, self.password)), "\012", "")) .... there is a xmlrpc howto where you find a detailed description: http://www.zope.org/Members/Amos/XML-RPC good luck phil *********** REPLY SEPARATOR *********** On 06.10.2000 at 14:22 Hung Jung Lu wrote: >Hi, > >Where can I find out more information on HTTP user authentication? I have >seen the RFC before, but it's a bit too technical to follow. I think Python >does not include the authentication/cookie handling part probably because >out of concern about abuses. :) > >Does anyone know where I can find more info on the authentication and cookie >protocol stuff? Is there any Python module already written to handle these >things? > >The idea is to be able to fetch external webpages automatically using >Python, including providing the necessary auth and cookie info. Of course >this opens up a whole can of security worms, but heck, it's open information >and someone must already have written something in Python already. > >regards, > >Hung Jung >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) From tav" hi, i am running into a slight problem due to STILL not being able to understand namespaces perfectly, and would appreciate if someone could help out. ----- the situation is this: ----- i have a dtml document called "pageowners", on which i have a list property called owners. which changes every hour. lets assume right now, it says tav and Bill. now, in the same folder, i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". there is a dtml document corresponding to each owner. each of the three documents have a title and content. parseit simply gives them a table layout, which simplified immensely, looks like:

what i want to do is display whomever is listed as an owner, in such nice tables. ----- the problem is this: ----- in "standard_html_header", it looks up which owners are listed in "pageowners", and then runs through them in a sequence. however, (and this is where it gets tricky), i want the owners to be formatted by running them thru "parseit". however i get stuck when in parseit, as i dont know how to do , i tried to set Bill in the namespace by using , and then tried to call within "parseit" but that doesn't work :/ and, again, i want this to be done automatically, so i dont want to have to manually list Bill, tav, noa, etc.... i am pretty sure that DTML can handle this, and this is one of the reasons why i like zope, because it lends itself to a structured system which is easily maintainable, e.g. the owners could increase from 5 to a 1000, and this would still work. Any help would be much appreciated. Thanks in advance -- best regards, tav From jan@haul.de Thu Oct 5 17:40:44 2000 From: jan@haul.de (Jan H. Haul) Date: Thu, 05 Oct 2000 18:40:44 +0200 Subject: [Zope] 'Offline' mailhost References: <39D40049.28D21513@adroit.net> <39D40CCA.5398331@digicool.com> <39D9D22D.BB48DFA6@nipltd.com> <39DAC5AB.CE9CC1EE@tm.ee> <39DB4A83.6858FB20@nipltd.com> <39DBBC5F.9D375761@adroit.net> Message-ID: <39DCAF0C.3A3EF78D@haul.de> Terry Kerr wrote: > > Chris Withers wrote: > > > Hannu Krosing wrote: > > > > > Also you could send just one message to all the recipients instead of > > > sending individual messages. > > > > Urm, they could be pretty unfriendly mail messages if they're being sent > > to a coupla thousand people. The bandwidth dcoming out of your server > > alone would be far higher than it needed to be :-( > > How would the bandwidth change?? Well, suppose you send a message of, say, 2 KByte (about one page of typed text) to 1,000 recipients. You'll make about 1,000 connections to the recipients' MX hosts. Each of these will be around 42 KByte large. Huh? Why that? you ask. Because in the header of each mail, the whole recipient list will be listed under To: or Cc: (I assumed 40 bytes per address as a roundabout figure). In the envelope (what the SMTP protocol *uses* to deliver the message, only one address will be used, the body To: list is mainly for the recipients' use (to show them who else got it). Besides, there are other problems why you will want separate mails: - privacy: You would not like to have "your" recipients end up on other people's mailing lists - stability: When E-mail bounces, you would like to hanle it intelligently, like trying this address once again (as it could be a temporary outage) and take the address off the list if it still bounces a week or so later - stability again: You woulld not like to be blacklisted as either a spammer or clueless by the recipients' postmaster :-) I would probably use a stable MTA (like qmail, which has good mailing list processing software, or postfix) for the job. Cheers, Jan From dieter@handshake.de Sat Oct 7 13:08:30 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:08:30 +0200 (CEST) Subject: [Zope] Quotes in DTML (Python) expressions (was: [Zope] HTML-Code in variables (addition)) (was: [Zope] HTML-Code in variables (addition)) In-Reply-To: <41808890@toto.iv> Message-ID: <14815.4428.764737.937930@lindm.dm> Lars Heber writes: > Yahoo!
"> I.e. you use Python's hexadecimal (or octal) quoting for '"' (\x22) inside the Python string. Dieter From dieter@handshake.de Sat Oct 7 13:03:29 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 14:03:29 +0200 (CEST) Subject: [Zope] Container Class questions In-Reply-To: <92758925@toto.iv> Message-ID: <14815.4163.366826.967501@lindm.dm> geoff@northernwastes.org writes: > .... product with associated image .... > Should I create a product that can contain said images? If so, how do > I do this? Should I simply force a naming conventions for the images > and tie them together with the sample catalog items that way? I would use a ZClass to model the product. I would inherid from "Folder". This makes the ZClass folder-like. Especially, I can place images and other related objects inside them (if they do not easily fit in properties). Dieter From dieter@handshake.de Sat Oct 7 12:59:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:59:23 +0200 (CEST) Subject: [Zope] Problem with In-Reply-To: <130555996@toto.iv> Message-ID: <14815.3907.275735.867783@lindm.dm> Tim Gildersleeve writes: > The line is > > > Error Type: TypeError > Error Value: number coercion failed I can assure you, that the "number coercion failed" is not raised in the above "REQUEST.set". "set" accepts any type. The problem arises at a later time, probably because "fSTART" or some other computation incredient does not have the correct type. You know about the magic ":type" suffixes in form variables. There is a howto about them at Zope.org. Dieter From dieter@handshake.de Sat Oct 7 12:45:16 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:45:16 +0200 (CEST) Subject: [Zope] external method import error (ImportError)... In-Reply-To: <100746361@toto.iv> Message-ID: <14815.2891.316428.490745@lindm.dm> Eric writes: > To summarize: How do I import modules in an External Method's .py file? I remember, I read this in some "External Method" related documentation. You do *NOT* place such modules inside the folder "Extensions" but put them somewhere else reachable by "PYTHONPATH". The documentation suggests that you create a subpackage inside "Shared", say "Extensions", and place there your module (don't forget "__init__.py" in the subfolder representing the subpackage), say "". Then, in your external method, you would use: from Shared.Extensions import Dieter From dieter@handshake.de Sat Oct 7 12:38:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:38:31 +0200 (CEST) Subject: [Zope] client proxy setting In-Reply-To: <47365137@toto.iv> Message-ID: <14815.2582.805065.344135@lindm.dm> TMGB writes: > Can I get the user's client proxy setting using 'REQUEST' or some other > syntax, product, or utility. This is not Proxy Roles or ProxyPass, but > the client's proxy settings if any. I am working on a help page to > debug a user's settings if he or she can't get to certain pages with our > proxy server settings on their browser. I am not sure, I understand what you want to know. I you mean: how is the browser's proxie configuration: manually, direct connection or automatic (with what configuration file). Then, I fear, you will not get this information. If you want to know, which proxie was used for a given request, then there is some chance. Some proxies set the HTTP "VIA" header. Inside Zope, you access it as "HTTP_VIA". It can tell you through which proxies the request was routed. Dieter From dieter@handshake.de Sat Oct 7 12:31:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:31:15 +0200 (CEST) Subject: [Zope] Wierd 2.2.2 start up problem In-Reply-To: <115532451@toto.iv> Message-ID: <14815.2238.216040.114955@lindm.dm> J. Atwood writes: > I have installed 2.2.2 on more than a few machines.... on my fifth machine I > got this after doing the install. > > 2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\000\003' > Traceback (innermost last): > File /usr/local/Zope-2.2.2-linux2-x86/lib/python/ZODB/Connection.py, line > 446, in setstate > ImportError: No module named Document > > I have tried wiping it away and trying again like three times. Anyone know > what this? Why it is not happening in installs. All RH Linux. On your fifth machine, the ZODB seems to contain an object referencing a module "Document" which apparently is not installed. Activate the logging facility (by starting Zope with "start .... STUPID_LOG_FILE=zope.log ...") and check, whether you see anything suspicious in "zope.log". Dieter From dieter@handshake.de Sat Oct 7 12:50:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 7 Oct 2000 13:50:23 +0200 (CEST) Subject: [Zope] LDAP won't work - yes I've applied the patch In-Reply-To: <32820358@toto.iv> Message-ID: <14815.3305.716063.19539@lindm.dm> Roman Milner writes: > I'm trying to get ldap methods to work with 2.2.2. I can access the > attributes of the objects returned from an ldap method with a python > extension fine, but dtml-in'ing the returned list doesn't work. I keep > getting an error (traceback below). > zope.org) AccessRule in your top (logical) folder to modify your REQUEST object as you like. Dieter From dieter@handshake.de Thu Oct 12 08:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 09:59:43 +0200 (CEST) Subject: [Zope] How to see if two objects are the same (minor fix) In-Reply-To: <40435241@toto.iv> Message-ID: <14821.27476.628244.862590@lindm.dm> Ron Bickers writes: > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 What you see here, is Zope's (more precisely ExtensionClass's) acquisition magic: when you access "object.attribute", you (usually) will not get the object corresponding to "attribute" but a new object: "attribute.__of__(object)" i.e. the attribute object in the context of "object". When you look up an attribute of this object, it will first in the object itself and when it does not success there, it will look in the context. That is what you like with acquisition. The downside: When you access the "same" object via different contexts, you will in fact get different objects (as the contexts are different). "is" will return false, as it should be. But, even, if you use "==", you will get "false". There have been some discussion in the list, whether this is the best behaviour. What can you do? You can use the "aq_base" attribute to strip away any context and get to the base object. At least in Zope 2.2.1, "aq_base" was not exposed to DTML. Thus, you would need an external method, say "getBaseObject", to get at the base: def getBaseObject(object): return getattr(object,'aq_base',object) With this function, you can compare the base objects: Be careful, however: Even, if such a test returns true for two objects, the objects may nevertheless have different behaviour (as the contexts are different). Dieter From amador@alomega.com Thu Oct 12 09:12:06 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Thu, 12 Oct 2000 03:12:06 -0500 Subject: [Zope] int and string comparisons Message-ID: <39E57256.54A427DD@alomega.com> --------------F181E4C9DE8090EF2366B5AC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) --------------F181E4C9DE8090EF2366B5AC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit This is the snippet

   <dtml-in "_.range(1,32,1)">
        <option value="&dtml-sequence-item;"
        <dtml-let item=sequence-item>
        <dtml-if begin_day>
        <dtml-if expr="item == REQUEST.begin_day"> selected </dtml-if>
<dtml-comment>CONVERTIR A INT</dtml-comment>
        </dtml-if>
        </dtml-let>
        >&dtml-sequence-item;</option>
      </dtml-in>

The comparison fails because item is an int and REQUEST.begin_day is a string (i guess).  How can I coerce item into a string, or REQUEST.begin_day into an int?
 I tried python's builtin int() function around REQUEST.begin_day.  Won't work.

Any suggestions?

-- 
Manuel Amador (Rudd-O)
  --------------F181E4C9DE8090EF2366B5AC-- From lheber@debis.com Thu Oct 12 09:29:24 2000 From: lheber@debis.com (Lars Heber) Date: Thu, 12 Oct 2000 10:29:24 +0200 Subject: [Zope] Re: How to use standard html headers and footers properly (was: Re: [Zope] Namespace problems...) [Zope] Namespace problems...) References: <39DAD8E7.ACB56A3@debis.com> <39E54C2D.D071677F@alomega.com> Message-ID: <39E57664.4997EAE3@debis.com> Hi, first, thanks for your advice! "Manuel Amador (Rudd-O)" schrieb: > > > > > > on your document, WILL work fine. > > But I suggest recreating standard_html_header as a METHOD and calling OK, once again: My standard_html_header is still a METHOD!!! And within it, I DO access to the variables of the calling document / method! > > > > That's _exactly_ what I did! I only inserted a to pass this var to standard_html_header. > > Since methods don't have properties, they will use calling object's > properties. Read again. Do NOT use DTML documents for headers and > footers. Use METHODS. I DON'T! >> So I stored my headers and footers and many other things in >> root/intra/pub. >> >> All the other documents are stored in root/intra and below. >> >> I've got my standard_html_header, with which I can display >> user-defined >> titles which may also contain values of global properties. The >> user-defined title is being built in the document before the header >> is >> called, e. g. something like: > Look above! >> In the standard_html_header !!!>>>_method_<<> whether there is a titel attribute or not. > >> This works fine. > >> But for general use I want to keep the possibility of displaying the >> >> title_or_id of the document when I don't introduce a user-defined >> title. >> >> This would be no problem if s_h_h wasn't situated in root/intra/pub, >> so I have >> to call it within the . >> >> But calling it within the , pub is on the top of my >> namespace, so that calling title_or_id returns the title_or_id of >> the container of s_h_h, i. e. >> pub, INSERTED: and not as wanted the title_or_id of the calling >> document! > >> How can I nevertheless access within the s_h_h to the title_or_id of >> my >> original document? INSERTED: i. e. explicitely accessing to a >> layer of the namespace which isn't on its top! > Hope I now explained it well enough. Thank you very much. Lars From chrisw@nipltd.com Thu Oct 12 09:58:44 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 09:58:44 +0100 Subject: [Zope] aq_base References: <14821.27476.628244.862590@lindm.dm> Message-ID: <39E57D44.DC711E9A@nipltd.com> Dieter Maurer wrote: > At least in Zope 2.2.1, "aq_base" was not exposed > to DTML. ...and I don't think it ever would or should be sicne it strips off all security context and would probably let you do 'bad things' :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:05:05 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:05:05 +0100 Subject: [Zope] What contains an object.... References: Message-ID: <39E57EC1.11A1B425@nipltd.com> Ron Bickers wrote: > > > > > So, is there another way in DTML I can see if an object was acquired from > PARENTS[-1] or not? Is there a way to check an objects container out of > context? Hmmm... try the following as a replacement for the above stuff: cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:06:35 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:06:35 +0100 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> Message-ID: <39E57F1B.D2637FDF@nipltd.com> "Geoffrey L. Wright" wrote: > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > The above should now work... ...if it doesn't please explain in what way ;-) cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:08:40 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:08:40 +0100 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> Message-ID: <39E57F98.5610C3B3@nipltd.com> Paul Winkler wrote: > > Hi, > > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? IIRC, zope.org's acl_users has about 11,000 people in it without too many problems... Ethan, can you confirm? cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:12:27 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:12:27 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: Message-ID: <39E5807B.46071A34@nipltd.com> Tony McDonald wrote: > to reply to Andy? In my own reportlab distribution I changed; > import Image > to > from PIL import Image Well, it sounds right and if it works then it probably is ;-) It probably depends exactly where you install PIL, though, which I haven't done yet :-S cheers, Chris From chrisw@nipltd.com Thu Oct 12 10:18:57 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 10:18:57 +0100 Subject: [Zope] int and string comparisons References: <39E57256.54A427DD@alomega.com> Message-ID: <39E58201.7889A0@nipltd.com> "Manuel Amador (Rudd-O)" wrote: > selected Try replacing the above with: ...and stop posting HTML to a non-HTML list! cheers, Chris From sebbacon@email.com Thu Oct 12 10:13:39 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:13:39 +0100 Subject: [Zope] int and string comparisons In-Reply-To: <39E57256.54A427DD@alomega.com> Message-ID: if you're submitting from a form, you can coerce strings into other data types by giving the form items special names, e.g.: Your REQUEST then has variables called foo and bar which are ints and floats, respectively. also, don't post html mail - not everyone can read it. seb. -----Original Message----- From: rudd-o@usm.edu.ec [mailto:rudd-o@usm.edu.ec]On Behalf Of Manuel Amador (Rudd-O) Sent: 12 October 2000 09:12 To: zope@zope.org Subject: [Zope] int and string comparisons This is the snippet >&dtml-sequence-item;
The comparison fails because item is an int and REQUEST.begin_day is a string (i guess). How can I coerce item into a string, or REQUEST.begin_day into an int? I tried python's builtin int() function around REQUEST.begin_day. Won't work. Any suggestions? -- Manuel Amador (Rudd-O) From heinkel@cenix-bioscience.com Thu Oct 12 10:21:34 2000 From: heinkel@cenix-bioscience.com (Ralph Heinkel) Date: Thu, 12 Oct 2000 11:21:34 +0200 Subject: [Zope] SybaseDA and ASA In-Reply-To: <39E54DBD.BA0A33F2@alomega.com> References: <39E54DBD.BA0A33F2@alomega.com> Message-ID: <00101211262701.00750@celap> On Thu, 12 Oct 2000, you wrote: > I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDA against > sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the > latest one). Loading python and importing sy_occ works perfectly. > > BUT, I can't create a SybaseDA SQL connection object . Specifically, > trying to create it sez connection failed. I've tried EVERY POSSIBLE > parameter combination on the creation form. None worked. > > By the way, I'm using Adaptive Server Anywhere for linux, 6.0.3. It is > NOT ASE. It is ASA. > > Does sy_occ work with ASA, or only with ASE? Any experiences? > Last week I was trying to upgrade from Zope V 2.1.6 (with working sybase adapter) to a 2.2.x version, and my sybase adapter stop working (yes I recompiled it). We are using ASE 11.9.2 on a linux box. Seems like Zope has introduced some incompatibilities which no one has discovered so far. Ralph ------------------------------------------------------------------ Ralph Heinkel Cenix Bioscience GmbH Director of the IT-Unit Tel : +49 6221/387 915 Meyerhofstr. 1 Fax : +49 6221/387 971 69117 Heidelberg, Germany eMail: heinkel@cenix-bioscience.com From Marcin.Kasperski@softax.com.pl Thu Oct 12 10:33:31 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Thu, 12 Oct 2000 11:33:31 +0200 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> Message-ID: <39E5856B.43E0755D@softax.com.pl> > > As I finally installed mod_proxy_add_forward, I get original address in > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > The question is: can I do something easy to automatically perform > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > set remote_ip = whatever is in X-Forwarded-For > > logic? In particular, I would like changed IP to be used by Zope access > > control and Zope log. > We have had similar problems. > > Friendly people from NIP made a HowTo patch Apache to let the > information through. > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > AccessRule in your top (logical) folder to modify your > REQUEST object as you like. > Does there exist some sample of such usage? Can such a change be performed before authorization? I use SiteRoot to translate addressess between external and internal (in subdirectories, not in main directory). Can those approaches be merged one with another? -- http://www.mk.w.pl / Marcin.Kasperski | Sztuczki i kruczki w C++: @softax.com.pl | http://www.mk.w.pl/porady/porady_cplusplus @bigfoot.com \ From sebbacon@email.com Thu Oct 12 10:46:38 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:38 +0100 Subject: [Zope] Content Management System Message-ID: This query started out in a separate thread about permissions, but it's sufficiently important to me to pose again here. I've been struggling to make the CMS abilities of zope user-friendly enough for 'joe average' end-users. Really it's designed for a 'power' content manager who delegates, secures, and generally has taken the time to study all the Content Management docs, etc. However, most of my clients don't have those kinds of requirements and aren't that technologically savvy, so I end up coding ultra-simplified interfaces for them on a per-project basis. I know you can restrict permissions on just about every available method, and I am aware of the current skinnable zope project, which may improve the situation drastically. But I'm interested to know, how many of you offer the Zope TTW interface to clients as a content management system, and how many just use it as a development interface? I'm beginning to wonder if content management and system administration should be split out into separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, syndication, etc...). But I'm still far from being a zope power user myself, and have yet to appreciate the range of its potential. What do you people think? Seb. From sebbacon@email.com Thu Oct 12 10:46:40 2000 From: sebbacon@email.com (Seb Bacon) Date: Thu, 12 Oct 2000 10:46:40 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14820.48557.338437.974103@lindm.dm> Message-ID: oops, I forgot to foward my last mail on this subject to the list. My response here to Dieter's response captures contains the main points though... > > > I think, the implementation would be easy. > > > Management, however, would be more difficult, as there are no > > > good defaults for the "URL Traversable" permission. > > > It is not easy, to determine (e.g.) for a DTML method/document > > > whether it is only used as a component (such as > > > "standard_html_header") or is a full grown presentation method. > > > > Um, I don't think I understand. [ snip ] > Currently, Zope tries to have very few explicit, object specific > permissions. The ideal is that permissions are specified high above in > the hierarchy and acquired by lower objects. > This is quite possible with the current scheme. > Implementing an "URL accessible" permission would require > much more tweaking of single object permissions. > > There are other ways to solve your problem by organization > (putting things that should not be seen somewhere else) > that do not require an additional permission. Now I understand... I would disagree, however: I think there is a sensible default value. The default would be that anonymous does not have 'traverable' permission, but the manager / owner does. The cases where an authenticated user is able to traverse some objects but not others would, as you point out, be rare, because you could instead manage these by organisation. You would still use organisation to avoid having to set too many additional permissions. However, this solution would solve the 'security' issue of the anonymous user being able to list objectIds in any folder TTW. It would also allow the developer more flexibilty in how they designed their application, which can only be a Good Thing? seb. From iap@y2fun.com Thu Oct 12 11:08:50 2000 From: iap@y2fun.com (iap_y2fun.com) Date: Thu, 12 Oct 2000 18:08:50 +0800 Subject: [Zope] "from" is a reserved word? References: Message-ID: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Hi,The following dtml couse error, The workaround is to change "from" to other words. Iap, Singuan From tdickenson@geminidataloggers.com Thu Oct 12 11:11:41 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 12 Oct 2000 11:11:41 +0100 Subject: [Zope] Re: Upload just file headers? In-Reply-To: References: <39E4C569.B2E6B51F@yahoo.com> Message-ID: <1e3bus02d70n10b17j81789u3dh94qhfi2@4ax.com> On Wed, 11 Oct 2000 15:41:16 -0700 (PDT), knight wrote: > infilename = REQUEST.form['attached_file'].filename # Get filename > infile = REQUEST.form['attached_file'] # Get the file descriptor > myheader = infile.read(500) # Read up to 500 bytes > infile.close() # Close the stream > >This should be in an external method or product. > >I haven't tested whether or not this will only let the client upload the >first 500 bytes Im sure it wont >it's very possible zope takes in the entire file, and >puts it into a buffer that is like a file descriptor (hence StringIO). File uploads are spooled into a temporary file, and the request is only dispatched into Zope once the whole request has arrived. Anything smarter than that will require some ZServer hacking. Toby Dickenson tdickenson@geminidataloggers.com From chrisw@nipltd.com Thu Oct 12 11:25:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 11:25:00 +0100 Subject: [Zope] doesn't... References: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: <39E5917C.D3D2EB94@nipltd.com> "iap_y2fun.com" wrote: > > > Don't worry... the problems are mainyl caused 'cos doesn't do what most people would expect it to... *grinz* Chris From odeckmyn.list@teaser.fr Thu Oct 12 11:47:18 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 12 Oct 2000 12:47:18 +0200 Subject: [Zope] [Job] Zope Job in France Message-ID: <069f01c03439$cb18e340$0d00000a@ODECKMYN2K> Jeune Start-up dans le monde de l'internet recherche développeurs/chefs de projet Internet / Zope. Diplômé BAC+2/5 (ingénieur ou universitaire), vous avez une première expérience (éventuellement un stage significatif) en développement d'applications avec Zope. Connaissant bien HTML et HTTP, vous maîtrisez parfaitement au moins un langage de programmation objet (Python, Delphi, Java, C++, ...). Vous avez une connaissance de UML et de l'objet en général. Une connaissance de XML et LDAP serait un GROS plus. Vous êtes rigoureux et organisé. De plus, vous avez une bonne connaissance des SGBDR et êtes capable de lire et rédiger des documents en anglais. Votre mission : Vous participez à la conception, au développement et à la gestion du site. Selon votre potentiel, vous évoluerez au sein de la société vers de plus amples responsabilités notamment en prenant une part de plus en plus importante dans le déroulement des projets. Expérience : N'hésitez pas à joindre à votre candidature tout document pouvant démontrer vos compétences (ex : URLs de vos réalisations) Profil : Vous êtes rigoureux et organisé, dynamique et passionné et prêt à travailler dans une équipe jeune et très ambitieuse. Ce poste, basé à Paris-La Défense, est à pourvoir immédiatement dans le cadre d'un CDI. Rémunération proposée : 210KF à 290KF selon profil et expérience. Contact : Merci d'adresser CV et une lettre de motivation à : olivier.deckmyn@experts-md.com Olivier Deckmyn, CTO eXperts-MD.com From rik.hoekstra@inghist.nl Thu Oct 12 13:10:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:10:08 +0200 Subject: [Zope] Content Management System References: Message-ID: <00cf01c03445$5e59b8e0$fe5da182@michieltje> > This query started out in a separate thread about permissions, but it's > sufficiently important to me to pose again here. > > I've been struggling to make the CMS abilities of zope user-friendly enough > for 'joe average' end-users. Really it's designed for a 'power' content > manager who delegates, secures, and generally has taken the time to study > all the Content Management docs, etc. However, most of my clients don't > have those kinds of requirements and aren't that technologically savvy, so I > end up coding ultra-simplified interfaces for them on a per-project basis. > > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? The PTK might offer you some help in this respect. Zope as a CMS _is_ possible, but IMO you'll have to wrap the parts of the management interface that you want to expose to your users and hide the rest. This will effectively limit you as to what you will let your users add to Zope, but in a CMS situation, this will probably be the case anyway. The management interface as is won't mean much to most of them, but custom forms can also call the manage methods. It's probably a good idea to use something like the HTML Widgets product that was recently announced here, or the HiperDom thing. For most of the user management parts you will probably need someone with affinity for web developing, though as long as you keep the tasks constrained, some simple instructions will probably suffice. I have been developing something similar in what should be a course framework (a product that I don't seem to be able able to finish) that is geared toward an educational situation. It's predecessor has been in use at a university for some time and it seems to suffice as least as good as commercial packages. hth Rik From mj@digicool.com Thu Oct 12 13:12:23 2000 From: mj@digicool.com (Martijn Pieters) Date: Thu, 12 Oct 2000 14:12:23 +0200 Subject: [Zope] Re: Upload just file headers? In-Reply-To: <39E4C569.B2E6B51F@yahoo.com>; from slinkp23@yahoo.com on Wed, Oct 11, 2000 at 03:54:17PM -0400 References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> Message-ID: <20001012141223.A9744@zopatista.com> On Wed, Oct 11, 2000 at 03:54:17PM -0400, Paul Winkler wrote: > For example, take a .gif or .jpeg file and throw away all > but the first (let's say) 1 kb of the file. > If you try to open this truncated file with an image editor > (gimp, photoshop, whatever) you'll have problems. But useful > information is still stored in that first part of the file, > as we can see using python and PIL. > Example, on linux: > > head --bytes 1000 foo.gif > foo_truncated.gif > python > ... > >>> import Image > >>> test = Image.open('foo_truncated.gif', 'r') > >>> test.size > (210, 210) > > So in this case, we can find out that foo.gif is 210 x 210 > pixels even if we only have access to the first 1 kb of the > 12 kb file. This doesn't hold true for JPEG's. A JPEG encoded image consists of a set of segments, each encoding some aspect of the image. The image dimensions can be found in the frame header segment, but this segment may be preceded by tables, comments and application specific data. These extra segments could easily take up your 1K chunk. AP press for example, uses an application specific segment to encode image metadata such as subject, caption and photographer. If you have a look at the Image dimension detection code for JPEGs you'll see that it scans for a frame header (marked by C0, C1, C2 or C3 depending on the encoding used). Once found, it extracts the width and height. More information of the JPEG file encoding format can be found at: http://www.w3.org/Graphics/JPEG/itu-t81.pdf For a GIF file, the first 10 bytes should suffice, for a PNG you need the first 24. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From rik.hoekstra@inghist.nl Thu Oct 12 13:37:05 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 14:37:05 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Image module References: <39E5807B.46071A34@nipltd.com> Message-ID: <00fb01c03449$21c528c0$fe5da182@michieltje> > > to reply to Andy? In my own reportlab distribution I changed; > > import Image > > to > > from PIL import Image > > Well, it sounds right and if it works then it probably is ;-) It > probably depends exactly where you install PIL, though, which I haven't > done yet :-S The Photo product and the ExtImage products do more or less the same - this seems to become the standard way. It would be nice to have one place to put PIL, though. the lib/python/shared directory would be a good place I think. Rik From cs@comlounge.net Thu Oct 12 13:59:24 2000 From: cs@comlounge.net (Christian Scholz) Date: Thu, 12 Oct 2000 14:59:24 +0200 Subject: [Zope] Content Management System In-Reply-To: ; from Seb Bacon on Thu, Oct 12, 2000 at 10:46:38AM +0100 References: Message-ID: <20001012145924.B30498@central.comlounge.net> Hi! > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management system, and how > many just use it as a development interface? I'm beginning to wonder if > content management and system administration should be split out into > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > syndication, etc...). But I'm still far from being a zope power user > myself, and have yet to appreciate the range of its potential. > > What do you people think? We have some client who use Zope for (at least partly) doing CMS on their site. But these are quite simple (thus no commitments, etc.) When switching from a database centered approach to a more Zope based (e.g. doing it via Zope Products) I actually splitted the management interface in one for the main manager (we) and one more simple and configurable one for the clients (starting with ..../admin ). I now used it in two subprojects and it seems to work. The only thing I need to think about more specifically is how to factor out the client-side of the management interface more clearly as right now it's very much weaved into the actual classes. Also I am thinking about possibilities to split the actual data from the presentation and to make the presentation pluggable. But this is quite raw at the moment ;-) cheers, Christian From paul.zwarts@oratrix.com Thu Oct 12 15:24:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 16:24:07 +0200 Subject: [Zope] dtml-in loop to capture records Message-ID: <39E5C987.3D0D7D1F@oratrix.com> Hi all, I have a number of simple forms that retrieve all occurences of a table into editable fields in a page. Each input tag is named: ... ...
Note, only the primary key field is actually a hidden type input and the rest are text and so on. In test of the submit button, the dtml-sql method called is structured: update table set field2= where field1= &dtml-sql_delimiter; and the conditions of the method are item:records. The intention is to submit in one go the entire list of occurences and update anything that has changed. You can do this with checkboxes valued on the primary key and other ways. The important thing is to leave something that you use as the key in the WHERE statement. Okay, this works fine, in MOST of my forms, but I have other forms where this doesnt work at all and I get errors saying that the ITEM is a bad request. I dont get it, what am I missing here that this works some places and in other places with almost identical syntax, it falls over. The form is correctly tagged, does the name attrib of the form tag have to do with the ... doesnt seem to be but tried it. Im wondering if because the dtml-document is quite large with seperate subloops and forms that publish in a sequence of events that this doesnt work. Hopefully someone has insight I'm missing here? Cheers and thanks again, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From tony.mcdonald@ncl.ac.uk Thu Oct 12 15:26:18 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 15:26:18 +0100 Subject: [Zope] Using UserDB objects with DreamWeaver Message-ID: Hi all, Has anyone managed to get acl_users folders that use UserDB (and I presume any other kind of cookie-based authentication) to work alongside DreamWeaver. Whenever I try to get into a UserDB locked folder I get FTP authentication errors. Any ideas? tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From rbickers@logicetc.com Thu Oct 12 16:40:14 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Thu, 12 Oct 2000 11:40:14 -0400 Subject: [Zope] RE: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> Message-ID: > -----Original Message----- > From: Chris Withers [mailto:chrisw@nipltd.com] > > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ...and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S Well... aq_base appears to work just fine in a Python method (not external). Is that a bad thing? I ended up creating a sameObject Python method that compares two objects' aq_base and it does what I expect. I'm using it to determine if I need to display the global menu under the local menu, or if the global menu *is* the local menu, so different context behavior isn't an issue. I suppose an upcoming Zope will take care of this problem if it gives the intuitive results with an == comparison. Thanks for all of your help!! _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From 444@hiretechs.com Thu Oct 12 16:53:34 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 08:53:34 -0700 Subject: [Zope] Competing writes and reindexing objects Message-ID: <39E5DE7E.8682AF02@hiretechs.com> Zopists, I am trying to eliminate the competing writes that are plaguing my app at the moment. One way I know of is to make sure that people aren't creating/modifying objects in the same folder at the same time. This is becuase the parent object gets modified too. Does anyone have a "object creation/folder distribution" code that works for them that they would be willing to share? Lastly, even if I distribute my objects, doesn't reindexing any Zope object inthe Catalog at the same time create a conlict? I'd love to know if I'm fighting a losing battle here. All my best, Jason Spisak 444@hiretechs.com From ololo@zeus.polsl.gliwice.pl Thu Oct 12 17:03:25 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Thu, 12 Oct 2000 18:03:25 +0200 (CEST) Subject: [Zope] "from" is a reserved word? In-Reply-To: <001601c03434$6c7c40c0$6601a8c0@y2fun.com> Message-ID: On Thu, 12 Oct 2000, iap_y2fun.com wrote: > Hi,The following dtml couse error, > > > > > > The workaround is to change "from" to other words. "from" is a python reserved word. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From tony.mcdonald@ncl.ac.uk Thu Oct 12 17:18:28 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 12 Oct 2000 17:18:28 +0100 Subject: [Zope] Need preferred 'import' format for ReportLab Image module In-Reply-To: <00fb01c03449$21c528c0$fe5da182@michieltje> References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: At 2:37 pm +0200 12/10/00, Rik Hoekstra wrote: > > > to reply to Andy? In my own reportlab distribution I changed; >> > import Image >> > to >> > from PIL import Image >> >> Well, it sounds right and if it works then it probably is ;-) It >> probably depends exactly where you install PIL, though, which I haven't >> done yet :-S > >The Photo product and the ExtImage products do more or less the same - this >seems to become the standard way. It would be nice to have one place to put >PIL, though. the lib/python/shared directory would be a good place I think. > >Rik Is this because you're thinking of the binary releases of Zope? If you're using the reportlab libraries, then you've probably installed them into /usr/local/lib/python1.5/site-packages (ie you're used to using source distributions). If you can do that, you're probably ok with putting PIL into lib/python/shared. So why not have it in site-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From chrisw@nipltd.com Thu Oct 12 17:17:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 12 Oct 2000 17:17:30 +0100 Subject: [Zope] RE: aq_base References: Message-ID: <39E5E41A.6E32AC97@nipltd.com> Ron Bickers wrote: > > Well... aq_base appears to work just fine in a Python method (not external). > Is that a bad thing? Probably, although someone from DC would need to comment why... Hmm... Evan, should that be the case? cheers, Chris From slinkp23@yahoo.com Thu Oct 12 17:35:27 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 12 Oct 2000 12:35:27 -0400 Subject: [Zope] Re: Upload just file headers? References: <39E3691A.CA9CAEE0@yahoo.com> <39E3FFEB.2E0599C2@yahoo.com> <003f01c0338a$b23c17c0$1f48a4d8@kurtz> <39E4C569.B2E6B51F@yahoo.com> <20001012141223.A9744@zopatista.com> Message-ID: <39E5E84F.203E1111@yahoo.com> Martijn Pieters wrote: > This doesn't hold true for JPEG's. (snip) Aha, thanks. I'll have to think of a way to deal with this... --PW ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From juliodinis@hotmail.com Thu Oct 12 18:34:29 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 12 Oct 2000 17:34:29 WEST Subject: [Zope] Database Pack Message-ID: Hi all, is there a way to do a pack to zodb without using the managment screens pack button? Maybe a python script we could execute from the file system. Regards, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From evan@4-am.com Thu Oct 12 17:39:52 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:39:52 -0400 Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <006801c0346b$0bcc3050$3e48a4d8@digicool.com> From: Marcin Kasperski > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > Does there exist some sample of such usage? Can such a change be > performed before authorization? You could do this with an Access Rule in your root folder, containing: Cheers, Evan @ digicool & 4-am From paul.zwarts@oratrix.com Thu Oct 12 17:38:56 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Thu, 12 Oct 2000 18:38:56 +0200 Subject: [Zope] [Fwd: Re: [Zope] dtml-in loop to capture records] Message-ID: <39E5E920.50BBD0@oratrix.com> Me again, To further explain my dilemna, I just noticed that using the in ITEM loop doesnt seem to work if the dtml-call statement has an extra parameter. I had publish.. ... ... Then use as in other working forms: publish.. ... ... Mdate is the primary key, again. This gave me the ITEM Bad Request error. Now, if I remove the mdate call, and remove the condition in the ZSQL method, i can at least now get an error: File /var/Zope-201/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: ) File /var/Zope-201/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: item) File /var/Zope-201/lib/python/Shared/DC/ZRDB/sqlvar.py, line 168, in render (Object: vswitch) Missing Input: (see above) So, the item is rendering. The variable named item.vswitch is not... nor is mdate which had to be named as an item.mdate instead of being passed in the dtml-call statement as an argument. In forms where this works, i simply call the method and the item renders everything in properly. Now I can do none it seems. One other note is that I var in the form that the input item.fieldname parts are contained, so the calling method to render item is not the same document as the item components. Oi, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From evan@4-am.com Thu Oct 12 17:56:21 2000 From: evan@4-am.com (Evan Simpson) Date: Thu, 12 Oct 2000 12:56:21 -0400 Subject: [Zope] RE: aq_base References: <39E5E41A.6E32AC97@nipltd.com> Message-ID: <008e01c0346d$58def420$3e48a4d8@digicool.com> From: Chris Withers > Ron Bickers wrote: > > > > Well... aq_base appears to work just fine in a Python method (not external). > > Is that a bad thing? > > Probably, although someone from DC would need to comment why... > > Hmm... Evan, should that be the case? Shh! Not so loud! ;-) Yes, sadly, this is an area where the current release of PythonMethod fails to correctly implement security. Cheers, Evan @ digicool & 4-am From phd@phd.dada.ru Thu Oct 12 17:56:19 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Thu, 12 Oct 2000 16:56:19 +0000 (GMT) Subject: [Zope] Database Pack In-Reply-To: Message-ID: On Thu, 12 Oct 2000, Júlio Dinis Silva wrote: > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Just call the pack over HTTP. I run a cron job to do this. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From webmaster@advl.org Thu Oct 12 17:50:29 2000 From: webmaster@advl.org (Emmanuel DISCORS) Date: Thu, 12 Oct 2000 18:50:29 +0200 Subject: [Zope] Thanks : bobo : where to find it ? Message-ID: <00101218243600.01256@sultan> Thanks to you Paul & Jim Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2) - DocumentTemplate - ZPublisher BUT NO BoboPos directory in the lib/python ; only ZODB. Is there a mistake in the README.txt or forget in the lib/python directory ? Need a DB system to try the Trinkets.py (Having ZODB from Zope 2.2.2 and BoboPOS3-alpha1 & BoboPOS-2.0.2 from old backup...) What is the best way ? Old BoboPos or start now with ZODB ? Thanks Emmanuel -- ================ Emmanuel DISCORS Tel & Fax : 02 54 56 80 61 ================ Conception, Informatique, Réseau ADVL ( Au-Delà de Vos Limites ) Site web : http://www.advl.org/ Archives mOdbc : http://www.advl.org/public/mOdbc/ Jim : ==== We o longer distribute Bobo, although I'm sure you can find it on some archive somewhere. Of course, the pieces that made up Bobo are still available, in updated form, as part of the Zope distribution. The medusa bobo is available in the medusa CVS in the contrib directory. If there is still a medusa distribution, I imagine it contains this directory too. Jim Paul : ===== Hello Emmanuel. Bobo has been folded into Zope: http://www.zope.org/ --Paul From hungjunglu@hotmail.com Thu Oct 12 19:51:25 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 11:51:25 PDT Subject: [Zope] Medusa Monitor Message-ID: Thanks for the follow-ups on Medusa Monitor. But as I can see (after using Zope for 1.5 years, now), few people actually use it. Unless one is really into the guts of Zope itself, the monitor is pretty useless for debugging. It of course could be made more useful, but one must implement some Python programs first. Even for dynamic reloading of modules, I usually just write External methods to do the job, instead of firing up the monitor. A more useful debuging tool would be some monitor where you can receive print message logs in real time. That would be great, especially if you have multiple thread problems. regards, Hung Jung _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From wilson@visi.com Thu Oct 12 19:52:14 2000 From: wilson@visi.com (Timothy Wilson) Date: Thu, 12 Oct 2000 13:52:14 -0500 (CDT) Subject: [Zope] Problem with 2.2.2 and date properties? Message-ID: Hi everyone, I'm having trouble with a ZClass I've created that uses, among others, two date properties. I'm suddenly having problems creating new instances or working with existing instances of my ZClass. I can't be sure, but it seems like the onset of the problems coincided with my upgrade to 2.2.2. Has anyone else seen any problems with date properties and Zope 2.2.2? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | | http://linux.com/ From 444@hiretechs.com Thu Oct 12 19:53:56 2000 From: 444@hiretechs.com (Jason Spisak) Date: Thu, 12 Oct 2000 11:53:56 -0700 Subject: [Zope] Catalog and Proximity searches Message-ID: <39E608C4.AA47CBD1@hiretechs.com> Zopsters, Does anyone know if the Catalog is supposed to do proximity searches, ie: "visual basic" would return the phrase. Thanks, Jason Spisak 444@hiretechs.com From gchiu@compkarori.co.nz Thu Oct 12 20:08:34 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 13 Oct 2000 08:08:34 +1300 Subject: [Zope] Tiny tables Message-ID: I would like to run some regular reports based upon sqlmethods. The input to these are a mixture of normal values, and some tokenised values. I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens, it gets changed to just criteria. Any suggestions as to how to store the input as tokens for my reports? -- Graham Chiu From rik.hoekstra@inghist.nl Thu Oct 12 20:14:51 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 12 Oct 2000 21:14:51 +0200 Subject: [Zope] Need preferred 'import' format for ReportLab Imagemodule References: <39E5807B.46071A34@nipltd.com> <00fb01c03449$21c528c0$fe5da182@michieltje> Message-ID: <016401c03480$b3500d00$fe5da182@michieltje> > > > > to reply to Andy? In my own reportlab distribution I changed; > >> > import Image > >> > to > >> > from PIL import Image > >> > >> Well, it sounds right and if it works then it probably is ;-) It > >> probably depends exactly where you install PIL, though, which I haven't > >> done yet :-S > > > >The Photo product and the ExtImage products do more or less the same - this > >seems to become the standard way. It would be nice to have one place to put > >PIL, though. the lib/python/shared directory would be a good place I think. > > > >Rik > > Is this because you're thinking of the binary releases of Zope? yes, that's my reference at least ;-) > > If you're using the reportlab libraries, then you've probably > installed them into /usr/local/lib/python1.5/site-packages (ie you're > used to using source distributions). If you can do that, you're > probably ok with putting PIL into lib/python/shared. So why not have > it in site-packages? ok, that's a good choice if you're working from source distributions. > > Or have I missed something obvious (I probably have - it's been a looong day). no, you missed nothing, I just thought it would be good to make a remark about this. The point is that the Photo product puts the thing in it's own subdirectory (or so it seems, I haven't used it really) _and_ uses the PIL.pth thing. And PIL comes with a PIL.pth itself. If PIL is used by more products, it is a good idea to put it inone place, be it lib/python/shared or /usr/local/lib/python1.5/site-packages or whatever directory in your Python Path. But note that acoording to the site.py documentation these do not exist in windows or mac installations and that .pth file may contain any directory. Rik From karl@digicool.com Thu Oct 12 21:19:09 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:19:09 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Jens Vagelpohl's message of "Wed, 11 Oct 2000 07:43:14 -0400" References: Message-ID: Jens Vagelpohl writes: > terry, > > you forgot the step of actually connecting to the monitor :) there is a very > short howto on using the correct client program to log into the monitor at: > > http://www.zope.org/Members/teyc/howtoMonitorClient > > and similar info at: > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt I don't use the monitor anymore, I just mount the database from a Python prompt: lefty /usr/local/zope/2.2.0/lib/python= python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import ZServer, Zope >>> app = Zope.app() >>> dir(app) ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] >>> I'm not sure what the usefulness of the monitor is these days. I always run ZEO, so I don't have to stop publishing to connect to the database from the prompt. Does the monitor give you something that interactive python doesn't? I do know that python in a shell is more robust than the monitor was - the monitor used to crash when dumping lots of info, like printing a large dictionary. -- Karl Anderson karl@digicool.com From Oliver Bleutgen Thu Oct 12 20:33:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Thu, 12 Oct 2000 21:33:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010121942.MAA00203@zope.codeit.com> Hi, I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4. I encountered a problem with dtml-sqltest and capitals in column names. Well, I simply couldn't get it to work because postgres requires column-names with "special characters" like capitals to be enclosed with quotation marks, ie. "COLUMNNAME" instead of COLUMNNAME - IIRC '_' also won't work. The problem is that dtml-sqltest only renders select * from table where COLUMNNAME='5' which will be interpreted by postgres like select * from table where columnname='5' Unfortunatly throws the obvious error and everything else I tried didn't work too. In the end I patched lib/python/Shared/DC/ZRDB/sqltest.py to do what I want. 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+args['column']+'"' > else: self.column='"'+self.__name__+'"' Any comment whether this would also apply/be necessary for other dbs? And if not, would there a better place (anywhere in ZPopyDA) to change/add some code? Or did I just miss something obvious and there's a sane way to make dtml-sqltest work with postgres and capitals. cheers, oliver From karl@digicool.com Thu Oct 12 21:24:49 2000 From: karl@digicool.com (Karl Anderson) Date: 12 Oct 2000 13:24:49 -0700 Subject: [Zope] Database Pack In-Reply-To: "=?iso-8859-1?q?J=FAlio?= Dinis Silva"'s message of "Thu, 12 Oct 2000 17:34:29 WEST" References: Message-ID: "Júlio Dinis Silva" writes: > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. Mount the database, then call manage_pack (untested python with cwd in lib/python): import ZServer, Zope Zope.app().Control_Panel.Database.manage_pack(days = 1) -- Karl Anderson karl@digicool.com From dieter@handshake.de Thu Oct 12 11:09:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:09:40 +0200 (CEST) Subject: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP? In-Reply-To: <39E5856B.43E0755D@softax.com.pl> References: <14821.27230.559352.393867@lindm.dm> <39E5856B.43E0755D@softax.com.pl> Message-ID: <14821.35947.985554.923938@lindm.dm> Marcin Kasperski writes: > > > As I finally installed mod_proxy_add_forward, I get original address in > > > X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). > > > > > > The question is: can I do something easy to automatically perform > > > if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then > > > set remote_ip = whatever is in X-Forwarded-For > > > logic? In particular, I would like changed IP to be used by Zope access > > > control and Zope log. > > .... > > If you do not want to patch Apache, you can use a SiteAccess (--> zope.org) > > AccessRule in your top (logical) folder to modify your > > REQUEST object as you like. > > > > Does there exist some sample of such usage? Can such a change be > performed before authorization? The SiteAccess HowTo (documentation?) contains an example how to turn a path component into a REQUEST binding. Your case is much simpler, very straight forward. > I use SiteRoot to translate addressess between external and internal (in > subdirectories, not in main directory). Can those approaches be merged > one with another? They can. If you like, you can replace your SiteRoot (which in fact are simple forms of AccessRules) with full blown AccessRules and put the REMOTE_IP justification into them. However, I would do it in the root folder to have it at a single place. Dieter From dieter@handshake.de Thu Oct 12 11:21:12 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 12:21:12 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14820.48557.338437.974103@lindm.dm> Message-ID: <14821.36358.972286.290879@lindm.dm> Seb Bacon writes: > .... > > Currently, Zope tries to have very few explicit, object specific > > permissions. The ideal is that permissions are specified high above in > > the hierarchy and acquired by lower objects. > > This is quite possible with the current scheme. > > Implementing an "URL accessible" permission would require > > much more tweaking of single object permissions. > > > > There are other ways to solve your problem by organization > > (putting things that should not be seen somewhere else) > > that do not require an additional permission. > > Now I understand... > I would disagree, however: I think there is a sensible default value. The > default would be that anonymous does not have 'traverable' permission, but > the manager / owner does.... The "traversable" permission would be an additional requirement to view any object. Its main purpose would be to distinguish between "use via Web" and "use in DTML only". "standard_html_*" would be usable in DTML but could not be viewed via the web. They would not give "traversable" permission to Anonymous. Many DTML objects, however, would need to give the "traversable" permission even to Anonymous in order to be useful. Dieter From dieter@handshake.de Thu Oct 12 12:01:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 13:01:08 +0200 (CEST) Subject: [Zope] Re: aq_base In-Reply-To: <39E57D44.DC711E9A@nipltd.com> References: <14821.27476.628244.862590@lindm.dm> <39E57D44.DC711E9A@nipltd.com> Message-ID: <14821.35597.65242.939789@lindm.dm> Chris Withers writes: > Dieter Maurer wrote: > > At least in Zope 2.2.1, "aq_base" was not exposed > > to DTML. > > ....and I don't think it ever would or should be sicne it strips off all > security context and would probably let you do 'bad things' :-S I do not think, an object without any acquisition (and security) context is a big security risk. The lack of a security context means, that the default security setting built into the Zope security policy is used. In Zope 2.2.2., this means, only "Manager" can do anything, unless the object itself mapped some permissions itself to roles (which then remain valid even for the base object). However, I see another danger. As old (now fixed) bugs in "ZopeFind" have demonstrated, objects stripped of their acquisition context lead to very strange errors, where suddenly even Manager cannot use the object any more. Thus, I agree that "aq_base" should not be exposed, even if for a different reason. Dieter From michel@digicool.com Thu Oct 12 21:27:22 2000 From: michel@digicool.com (Michel Pelletier) Date: Thu, 12 Oct 2000 13:27:22 -0700 Subject: [Zope] Thanks for the comments Message-ID: <39E61EAA.B20B81A7@digicool.com> Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better book and ensuring Zope's future. if you've felt in the past that you may not be technically proficient enough to contribute to the technology of Zope, you can certainly contribute to the documentation by catching our mistakes and making good observations and asking good questions. It is really, really helping. Keep it up, cuz we're not done yet! Thanks, Michel and Amos From fred@ontosys.com Thu Oct 12 21:39:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 12 Oct 2000 15:39:55 -0500 Subject: [Zope] Using ProxyPass and SiteRoot References: Message-ID: <39E6219B.1DAE5026@ontosys.com> It looks to me like you'd need the following in Apache's httpd.conf: NameVirtualHost 206.131.108.102 ServerName www.isd197.k12.mn.us ProxyPass / http://206.131.108.103:8080/ ProxyPassReverse / http://206.131.108.103:8080/ and the following settings in a SiteRoot object at the root of the Zope tree for the site: base: http://www.isd197.k12.mn.us path: / Timothy Wilson wrote: > I've been developing a new Zope site on a separate machine at > http://206.131.108.103:8080/ using just ZServer and I would like to use > ProxyPass to pass a request for www.isd197.k12.mn.us through to this new > site. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From complaw@hal-pc.org Thu Oct 12 22:24:11 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:24:11 GMT Subject: [Zope] and question Message-ID: <200010122123.QAA15858@mail.hal-pc.org> First, thanks for the help these last several days. I'm glad to report that I have a useful Zope site up and running that is the envy of the law firm. Now its time to get a little fancy. Unfortunately, after having read the DTML Reference, and the Zope Quick Reference, I still haven't been able to figure out how to get today's date into a dtml-var. Case in point: I want to put a table of dates and hyperlinks. If the day has already passed, I want to shade the table cell (). In this case, the object has a date property called event_date.
The above code gives me a NameError. Another example would be to simply get the integer value of the year so that it can be included in a copyright statement. E.g., Copyright © , All rights reserved. Unfortunately, this doesn't work either. Can someone point me in the right direction? From complaw@hal-pc.org Thu Oct 12 22:35:16 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 12 Oct 2000 21:35:16 GMT Subject: [Zope] Thanks for the comments Message-ID: <200010122134.QAA20148@mail.hal-pc.org> Just out of curiosity, how often do you update the book (i.e., the version on the web)? Or, put another way, how long should we consider that catching a typo or split infinitive will have already been brought to your attention but hadn't yet made it to the web site? If you update on a continuous basis, then my question is moot. However, if you update on a periodic basis, could you drop me (or this list group) a note to indicate that the next version is available for our hungry eyes? Just a suggestions... Ron ./. > Just thought we'd mention that we have gotten lots of great comments on > the Zope book so far, especially in the last week or so. You're all > helping make it a better book and ensuring Zope's future. if you've > felt in the past that you may not be technically proficient enough to > contribute to the technology of Zope, you can certainly contribute to > the documentation by catching our mistakes and making good observations > and asking good questions. It is really, really helping. Keep it up, > cuz we're not done yet! From dieter@handshake.de Thu Oct 12 22:45:50 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:45:50 +0200 (CEST) Subject: [Zope] dtml-in loop to capture records In-Reply-To: <92589132@toto.iv> Message-ID: <14822.11869.374666.869834@lindm.dm> Paul Zwarts writes: > ... bad request exception from SQL method ... This error indicates, that an input parameter was not provided. The error value gives the list of all missing input parameters. I would suggest, you replace your "SQL method" (the complete "dtml-in") with "" and analyse what form variables do arrive. Dieter From dieter@handshake.de Thu Oct 12 22:33:42 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:33:42 +0200 (CEST) Subject: [Zope] dtml-let ? In-Reply-To: <59788518@toto.iv> Message-ID: <14822.11765.363407.206130@lindm.dm> Mark Twiddy writes: > Im totaling columns returned from a zsql thingy is there an easy way to do > this in dtml. can do that for you. Look at the documentation, section "variables for statistics". Dieter From dieter@handshake.de Thu Oct 12 22:32:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:32:23 +0200 (CEST) Subject: [Zope] Any limit on number of users? In-Reply-To: <32876900@toto.iv> Message-ID: <14822.11473.24132.596177@lindm.dm> Paul Winkler writes: > Has anyone run up against a limitation on the number of > users that can be in > one acl_users folder? Either a hard limit or a practical > limit? "UserFolder" uses a dictionary to manage its users. This implies, if one user object is accessed, the complete dictionary is brought into memory (if it is not already there). This might pose problems for a very large user number. Dieter From dieter@handshake.de Thu Oct 12 22:27:31 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:27:31 +0200 (CEST) Subject: [Zope] help!- version locked up site In-Reply-To: <114600569@toto.iv> Message-ID: <14822.11090.645270.708534@lindm.dm> sean@horse101.com writes: > I cannot view my site...the version has locked it up with the following > message (I cannot even delete the version- which is not currently open): > Error Type: VersionLockError > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > 'h101Latest') Your problem description is not very clear. Are you completely unable to access your site? Apparently not, as you can try to delete the version. Try to go to your version, use the "save/discard" tab and discard (or save) your version. This should remove the look. If you can no longer access your site, it might help to delete "var/Data.fs.tmp". Be carefull! Make a backup before! I do not know, what will happen. Dieter From dieter@handshake.de Thu Oct 12 22:20:37 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:20:37 +0200 (CEST) Subject: [Zope] Computed attribute access (was: [Zope] dtml-with syntax question) In-Reply-To: <103078562@toto.iv> Message-ID: <14822.10841.203981.44604@lindm.dm> Geoffrey L. Wright writes: > I think I am finally getting a decent handle on namespace issues in > Zope, and I can now with the dtml-with tag with reasonable efficacy in > simple situations. But I have run into something of a brick wall on > one issue. > > What I would like to be able to do is something like this: > > > > > > > > > > > Where objectName2 is actually an attribute of objectName1. It seems (though it is not clear) that you want a computed attribute access? Your "objectName2" is an attribute of "objectName1" and contains the "id" of an object in "folder.subfolder"? Then, you use "_.getattr". That's for accessing an attribute you have the name for (and the name is not constant). In your case, you would use it as: Dieter From dieter@handshake.de Thu Oct 12 22:47:35 2000 From: dieter@handshake.de (Dieter Maurer) Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: <38671166@toto.iv> Message-ID: <14822.12583.68373.267795@lindm.dm> Hung Jung Lu writes: > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. You know Zope's logging support? It provides a kind of "print message logs", you receive in real time (in your log file). Dieter From knight@righteous.net Thu Oct 12 22:59:09 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 14:59:09 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <200010122134.QAA20148@mail.hal-pc.org> Message-ID: On a side note, how about also including a PDF version (if possible) for us developers who are busy hacking away at source and don't have time to convert it ourselves... ;] Knight knight@phunc.com On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > Just out of curiosity, how often do you update the book (i.e., the version on > the web)? Or, put another way, how long should we consider that catching a typo > or split infinitive will have already been brought to your attention but hadn't > yet made it to the web site? > > If you update on a continuous basis, then my question is moot. However, if you > update on a periodic basis, could you drop me (or this list group) a note to > indicate that the next version is available for our hungry eyes? > > Just a suggestions... > > Ron > ./. > > > Just thought we'd mention that we have gotten lots of great comments on > > the Zope book so far, especially in the last week or so. You're all > > helping make it a better book and ensuring Zope's future. if you've > > felt in the past that you may not be technically proficient enough to > > contribute to the technology of Zope, you can certainly contribute to > > the documentation by catching our mistakes and making good observations > > and asking good questions. It is really, really helping. Keep it up, > > cuz we're not done yet! > > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Thu Oct 12 23:06:34 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 12 Oct 2000 15:06:34 -0700 Subject: [Zope] Any limit on number of users? References: <14822.11473.24132.596177@lindm.dm> Message-ID: <01de01c03498$af6fffc0$ae03a8c0@fork> Login Manager or Generic User Folder and Shanes excellent BTreeFolder provide a solution for a large number of users. ----- Original Message ----- From: "Dieter Maurer" To: "Paul Winkler" Cc: "Zope mailing list" Sent: Thursday, October 12, 2000 2:32 PM Subject: Re: [Zope] Any limit on number of users? > Paul Winkler writes: > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > "UserFolder" uses a dictionary to manage its users. > This implies, if one user object is accessed, the complete > dictionary is brought into memory (if it is not already there). > This might pose problems for a very large user number. > > > > Dieter > > _______________________________________________ > 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 ) > From gwright@integritysi.com Thu Oct 12 23:34:28 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> Message-ID: <14822.15476.737672.457573@localhost.localdomain> Chris Withers writes: > "Geoffrey L. Wright" wrote: > > > > Where objectName2 is actually an attribute of objectName1. > > > > > > > > > > > > > > > > > > > > > The above should now work... > > ...if it doesn't please explain in what way ;-) Hmmm... OK. Here is my relevant code, complete with resulting error message: etc... And Zope sez: Error Type: KeyError Error Value: short_desc attribute1, attribute2 and attribute3 are all attributes of sidebar_item. If I change the to read (where weepee_the_weewee is the actual name of the object I'm trying to refer to), then I see the short_desc attribute of weepee_the_weewee perfectly. Don't I have to do something in my syntax to indicate that I'm looking for the the value of attribute3 rather than an object with the literal id "attribute3"? > cheers, > > Chris Dazed & Confused, //glw From hungjunglu@hotmail.com Thu Oct 12 23:16:52 2000 From: hungjunglu@hotmail.com (Hung Jung Lu) Date: Thu, 12 Oct 2000 15:16:52 PDT Subject: [Zope] Medusa Monitor Message-ID: I know that, the stupid log file thingy. But you'll have to write an independent thread to display the log file (or peek the file manually each time), or implement some CString stuff to capture the file output (if that is possible). It'll be more fun if all this is already done, and the user can just tap into the monitor console screen (even remotely). A good monitor should actually display hit information, memory usage, etc, and preferably with charts, all in real time. Too much to ask? I don't think so. :) Hung Jung >From: Dieter Maurer >To: "Hung Jung Lu" >CC: zope@zope.org, jens@digicool.com, terry@adroit.net >Subject: Re: [Zope] Medusa Monitor >Date: Thu, 12 Oct 2000 23:47:35 +0200 (CEST) > >Hung Jung Lu writes: > > A more useful debuging tool would be some monitor where you can receive > > print message logs in real time. That would be great, especially if you >have > > multiple thread problems. >You know Zope's logging support? > >It provides a kind of "print message logs", you receive in real time >(in your log file). > > > >Dieter _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From gwright@integritysi.com Thu Oct 12 23:51:43 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" References: Message-ID: <14822.16511.306738.502938@localhost.localdomain> knight writes: > Timothy, > > Without going into too much detail, you are going to want to set up a > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > that virtual host you will want to add your ProxyPass lines similar to my > example: [...] And just for reference, here's another working example with ProxyPass: NameVirtualHost 172.17.10.13 ServerName syslog.integritysi.com ServerAdmin geoff@integritysi.com ProxyPass / http://vishnu.integritysi.com:8080/syslog/ ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ ErrorLog logs/syslog.integritysi.com TransferLog logs/syslog.integritysi.com Good luck, and don't forget to enable the ProxyPass module. //glw From terry@adroit.net Thu Oct 12 23:43:02 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:43:02 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63E76.61F456C4@adroit.net> Useless for debugging? I find it very useful and sometimes necessary....but I right all my products in python so maybe it is different for ZClass people. terry Hung Jung Lu wrote: > Thanks for the follow-ups on Medusa Monitor. > > But as I can see (after using Zope for 1.5 years, now), few people actually > use it. Unless one is really into the guts of Zope itself, the monitor is > pretty useless for debugging. It of course could be made more useful, but > one must implement some Python programs first. Even for dynamic reloading of > modules, I usually just write External methods to do the job, instead of > firing up the monitor. > > A more useful debuging tool would be some monitor where you can receive > print message logs in real time. That would be great, especially if you have > multiple thread problems. > > regards, > > Hung Jung > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From terry@adroit.net Thu Oct 12 23:45:14 2000 From: terry@adroit.net (Terry Kerr) Date: Fri, 13 Oct 2000 09:45:14 +1100 Subject: [Zope] Medusa Monitor References: Message-ID: <39E63EFA.FE2BF947@adroit.net> I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Karl Anderson wrote: > Jens Vagelpohl writes: > > > terry, > > > > you forgot the step of actually connecting to the monitor :) there is a very > > short howto on using the correct client program to log into the monitor at: > > > > http://www.zope.org/Members/teyc/howtoMonitorClient > > > > and similar info at: > > > > http://www.zope.org/Documentation/Misc/DEBUGGING.txt > > I don't use the monitor anymore, I just mount the database from a > Python prompt: > > lefty /usr/local/zope/2.2.0/lib/python= python > Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import ZServer, Zope > >>> app = Zope.app() > >>> dir(app) > ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp'] > >>> > > I'm not sure what the usefulness of the monitor is these days. I > always run ZEO, so I don't have to stop publishing to connect to the > database from the prompt. > > Does the monitor give you something that interactive python doesn't? > I do know that python in a shell is more robust than the monitor was - > the monitor used to crash when dumping lots of info, like printing a > large dictionary. > > -- > Karl Anderson karl@digicool.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 ) -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From sean@horse101.com Thu Oct 12 23:58:21 2000 From: sean@horse101.com (sean@horse101.com) Date: Thu, 12 Oct 2000 15:58:21 -0700 Subject: [Zope] help!- version locked up site In-Reply-To: <14822.11090.645270.708534@lindm.dm> References: <114600569@toto.iv> Message-ID: <39E5DF9D.22490.10755C9F@localhost> Thanks, I did figure it out and when I go into save/discard version and discard I was able to get back to normal. On 12 Oct 2000, at 23:27, Dieter Maurer wrote: > sean@horse101.com writes: > > I cannot view my site...the version has locked it up with the following > > message (I cannot even delete the version- which is not currently open): > > Error Type: VersionLockError > > Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", > > 'h101Latest') > Your problem description is not very clear. > > Are you completely unable to access your site? > Apparently not, as you can try to delete the version. > > Try to go to your version, use the "save/discard" tab > and discard (or save) your version. This should remove > the look. > > If you can no longer access your site, it might help > to delete "var/Data.fs.tmp". Be carefull! Make a backup before! > I do not know, what will happen. > > > Dieter > From phil.harris@zope.co.uk Thu Oct 12 00:19:01 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 00:19:01 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> As another side note, I generally make it into an eBook ready for the Microsoft Reader. If anyone's interested let me know. Phil phil.harris@zope.co.uk ----- Original Message ----- From: "knight" To: Cc: "Michel Pelletier" ; ; ; Sent: Thursday, October 12, 2000 10:59 PM Subject: Re: [Zope] Thanks for the comments > On a side note, how about also including a PDF version (if possible) for > us developers who are busy hacking away at source and don't have time to > convert it ourselves... ;] > > Knight > knight@phunc.com > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > Just out of curiosity, how often do you update the book (i.e., the version on > > the web)? Or, put another way, how long should we consider that catching a typo > > or split infinitive will have already been brought to your attention but hadn't > > yet made it to the web site? > > > > If you update on a continuous basis, then my question is moot. However, if you > > update on a periodic basis, could you drop me (or this list group) a note to > > indicate that the next version is available for our hungry eyes? > > > > Just a suggestions... > > > > Ron > > ./. > > > > > Just thought we'd mention that we have gotten lots of great comments on > > > the Zope book so far, especially in the last week or so. You're all > > > helping make it a better book and ensuring Zope's future. if you've > > > felt in the past that you may not be technically proficient enough to > > > contribute to the technology of Zope, you can certainly contribute to > > > the documentation by catching our mistakes and making good observations > > > and asking good questions. It is really, really helping. Keep it up, > > > cuz we're not done yet! > > > > > > > > _______________________________________________ > > 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 ) From joe@iuveno.de Fri Oct 13 01:15:55 2000 From: joe@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 02:15:55 +0200 Subject: [Zope] Content Management System References: <20001012145924.B30498@central.comlounge.net> Message-ID: <005b01c034aa$cbfe4fe0$af81e491@iuvenonet.de> >> I'm beginning to wonder if > > content management and system administration should be split out into > > separate subsystems. Or if a CMS Tool Kit should be developed. (workflows, > > syndication, etc...). We (iuveno) are currently preparing a major project to write a full-featured CMS on base of Zope. The first client will be a university, but the system will also be usable in commercial environments, and it will be open source from the first day on (except for the client-specific stuff of course). The first draft of the general architecture is as follows: There is a ZClass- or Python-product-based toolkit that provides the standard functionality, like base classes, workflow logic, etc. Plugin ZClasses implement the actual organization logic, so you can choose between building a university, a sports club, or maybe a consulting business by just choosing the corresponding modules. Chromes (logos, stylesheets, ...) and Views (page layouts) are also implemented as plugins. There will be a full-fledged workflow/project management component (at least in the long run). The concept will build upon ideas from the PTK and the ZDP-tools. There is a very simple prototype we will make public after some clean-ups. We are checking at the moment if we should set up a now project homepage or wiki or join an existing effort like the ZDP-tool-based initiative of Maik Röder on or the PTK. BTW: My experience with "dumb users" working with the Zope interface is quite positive. As long as they just have to add, change or delete predefined objects it doesn't seem to be that bad. They just shouldn't have to know about DTML or even acquisition. Joachim. From knight@righteous.net Fri Oct 13 01:23:20 2000 From: knight@righteous.net (knight) Date: Thu, 12 Oct 2000 17:23:20 -0700 (PDT) Subject: [Zope] Thanks for the comments In-Reply-To: <006601c033d9$c30ddf80$c9e831d4@harrisf4scs8le> Message-ID: Send it over ;] On Thu, 12 Oct 2000, Phil Harris wrote: > As another side note, I generally make it into an eBook ready for the > Microsoft Reader. > > If anyone's interested let me know. > > Phil > phil.harris@zope.co.uk > ----- Original Message ----- > From: "knight" > To: > Cc: "Michel Pelletier" ; ; > ; > Sent: Thursday, October 12, 2000 10:59 PM > Subject: Re: [Zope] Thanks for the comments > > > > On a side note, how about also including a PDF version (if possible) for > > us developers who are busy hacking away at source and don't have time to > > convert it ourselves... ;] > > > > Knight > > knight@phunc.com > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > Just out of curiosity, how often do you update the book (i.e., the > version on > > > the web)? Or, put another way, how long should we consider that > catching a typo > > > or split infinitive will have already been brought to your attention but > hadn't > > > yet made it to the web site? > > > > > > If you update on a continuous basis, then my question is moot. However, > if you > > > update on a periodic basis, could you drop me (or this list group) a > note to > > > indicate that the next version is available for our hungry eyes? > > > > > > Just a suggestions... > > > > > > Ron > > > ./. > > > > > > > Just thought we'd mention that we have gotten lots of great comments > on > > > > the Zope book so far, especially in the last week or so. You're all > > > > helping make it a better book and ensuring Zope's future. if you've > > > > felt in the past that you may not be technically proficient enough to > > > > contribute to the technology of Zope, you can certainly contribute to > > > > the documentation by catching our mistakes and making good > observations > > > > and asking good questions. It is really, really helping. Keep it up, > > > > cuz we're not done yet! > > > > > > > > > > > > _______________________________________________ > > > 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 ) > > > _______________________________________________ > 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 ) > > From phil.harris@zope.co.uk Thu Oct 12 01:37:48 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 01:37:48 +0100 Subject: [Zope] Thanks for the comments References: Message-ID: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> I'll stick onto my Zope members page http://zope.org/Members/philh Phil ----- Original Message ----- From: "knight" To: "Phil Harris" Cc: "knight" ; ; "Michel Pelletier" ; ; ; Sent: Friday, October 13, 2000 1:23 AM Subject: Re: [Zope] Thanks for the comments > Send it over ;] > > On Thu, 12 Oct 2000, Phil Harris wrote: > > > As another side note, I generally make it into an eBook ready for the > > Microsoft Reader. > > > > If anyone's interested let me know. > > > > Phil > > phil.harris@zope.co.uk > > ----- Original Message ----- > > From: "knight" > > To: > > Cc: "Michel Pelletier" ; ; > > ; > > Sent: Thursday, October 12, 2000 10:59 PM > > Subject: Re: [Zope] Thanks for the comments > > > > > > > On a side note, how about also including a PDF version (if possible) for > > > us developers who are busy hacking away at source and don't have time to > > > convert it ourselves... ;] > > > > > > Knight > > > knight@phunc.com > > > > > > On Thu, 12 Oct 2000 complaw@hal-pc.org wrote: > > > > > > > Just out of curiosity, how often do you update the book (i.e., the > > version on > > > > the web)? Or, put another way, how long should we consider that > > catching a typo > > > > or split infinitive will have already been brought to your attention but > > hadn't > > > > yet made it to the web site? > > > > > > > > If you update on a continuous basis, then my question is moot. However, > > if you > > > > update on a periodic basis, could you drop me (or this list group) a > > note to > > > > indicate that the next version is available for our hungry eyes? > > > > > > > > Just a suggestions... > > > > > > > > Ron > > > > ./. > > > > > > > > > Just thought we'd mention that we have gotten lots of great comments > > on > > > > > the Zope book so far, especially in the last week or so. You're all > > > > > helping make it a better book and ensuring Zope's future. if you've > > > > > felt in the past that you may not be technically proficient enough to > > > > > contribute to the technology of Zope, you can certainly contribute to > > > > > the documentation by catching our mistakes and making good > > observations > > > > > and asking good questions. It is really, really helping. Keep it up, > > > > > cuz we're not done yet! > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 ) > > > > > > _______________________________________________ > > 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 ) > > > > From gwright@integritysi.com Fri Oct 13 03:24:11 2000 From: gwright@integritysi.com ("Geoffrey L. Wright" Kindly Zopistas: Am curious how to go about building an "alternate Property Sheet View" for custom ZClasses. The default view is great for me and other developers, but I need to build the something that looks a bit more customer-friendly. I spend about 20 minutes looking around the Zope site, but haven't yet turned about any useful information. Perhaps somebody could point me to a relevant HOWTO or some example code? Many thanks! //glw From twcook@iswt.com Fri Oct 13 03:09:59 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:09:59 -0500 Subject: [Zope] dtml-with syntax question References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> Message-ID: <39E66EF7.563F0451@iswt.com> "\"Geoffrey L. Wright\" > Don't I have to do something in my syntax to indicate that I'm looking > for the the value of attribute3 rather than an object with the literal > id "attribute3"? I'm sure someone will correct me if I'm wrong. But I believe you want: -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From twcook@iswt.com Fri Oct 13 03:58:40 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 12 Oct 2000 21:58:40 -0500 Subject: [Zope] non-Zope object attribute admin interface References: <14822.29259.893382.868680@localhost.localdomain> Message-ID: <39E67A60.BCBF6A7@iswt.com> "\"Geoffrey L. Wright\" > > Kindly Zopistas: > > Am curious how to go about building an "alternate Property Sheet View" for > custom ZClasses. The default view is great for me and other > developers, but I need to build the something that looks a bit more > customer-friendly. > > I spend about 20 minutes looking around the Zope site, but haven't yet > turned about any useful information. Perhaps somebody could point me > to a relevant HOWTO or some example code? Take a look at the Job Board HOWTO. HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From ergul@ccs.neu.edu Fri Oct 13 04:26:54 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Thu, 12 Oct 2000 23:26:54 -0400 (EDT) Subject: [Zope] Connection Problem with Oracle Message-ID: > I created a connection to an Oracle database. Frequently, > the connection breaks and I got a database error in the page that > displays the query result. When I logon as a manager I find that the > connection is closed (by itself, nothing changed in Oracle or Zope), > when I try to open it I get an error "Invalid connection string". Even > if I create another connection it can't work.. After a while it > works. Even after restarting the Zope server the problem persists. I'm not sure why the same connection string would work only some of the time. Maybe some other error from sqlnet is misreported. In any case, look for sqlnet.log at the directory where zope was started. You can get more info on the errors you're experiencing. Furthermore try running zope with nohup and monitor the nohup.out file that gets generated. You can see how frequently your zope goes down (if running as deamon under linux). Frequent problems with Oracle setup stem from read permissions on files used by sqlnet (e.g. message files). Make sure such files are readable by whatever user your zope is running as. Ayhan Ergul From bak@nstp.com.my Fri Oct 13 07:29:29 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Fri, 13 Oct 2000 14:29:29 +0800 Subject: [Zope] OT: maybe - max file, proc limits on linux and zope Message-ID: <0010131429290B.00692@tokey.kedai.com.my> hi all, this may be off topic, feel free to ignore. while trying to stop zope i encountered error stating max file limit met. what i did to stop this is running echo "8192" >/proc/sys/fs/file-max can i do this? good bad? any tips on tuning max file open, process open, etc? linux and zope newbie <--that's me. tia -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From mj@digicool.com Fri Oct 13 09:13:17 2000 From: mj@digicool.com (Martijn Pieters) Date: Fri, 13 Oct 2000 10:13:17 +0200 Subject: [Zope] Zope nominated for Webtechniques Web Tools Awards Message-ID: <20001013101317.A17757@zopatista.com> Zope has been nominated for the Webtechniques Webtool Awards, and the pollboxes are open! Go vote by putting you email address (or any email address you like ;)) at the end of the following URL: http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl? So, I voted at the URL ending in ballot_gen.pl?mj@digicool.com. Every email address can vote once. Go give Zope a great showing! -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Fri Oct 13 09:44:12 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 09:44:12 +0100 Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: <14821.36358.972286.290879@lindm.dm> Message-ID: Oh dear, I fear that this is going round and round and round in circles a bit, and that no-one else is following it, but here goes anyway :> > The "traversable" permission would be an additional requirement > to view any object. Its main purpose would be to distinguish > between "use via Web" and "use in DTML only". > "standard_html_*" would be usable in DTML but could not be viewed > via the web. They would not give "traversable" permission to > Anonymous. > Many DTML objects, however, would need to give the "traversable" > permission even to Anonymous in order to be useful. OK, I think we're talking about the same thing now...but could you give me an example of any object that would need to be traversable by Anonymous? index_html, for example, doesn't need to be traversable (I still prefer 'listable'). Viewable TTW, yes, but that's all. seb. From paul.zwarts@oratrix.com Fri Oct 13 11:23:53 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Fri, 13 Oct 2000 12:23:53 +0200 Subject: [Zope] and question References: <200010122123.QAA15858@mail.hal-pc.org> Message-ID: <39E6E2B9.7B97CAEF@oratrix.com> Hi there, I've been having problems with DateTimes as well. My colleague and I (using Zope 201) found a problem with the module that causes any dbase timestamp to be rendered to a non-standard UNIX time that has an annoying DST appended if in the Daylight savings time zone, thus leaving the timestamp as useless when performing expressions against it. In our situation we used a scan from pos 0-29 to trap the proper timestamp syntax. Then from there, I use an expression as follows: This is just a small part of the code, and im sure there is a better way, but hey, it works. Dont know if this helps you, but perhaps will give you an idea.... Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From stephan.goeldi@datacomm.ch Fri Oct 13 11:23:37 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 13 Oct 2000 10:23:37 GMT Subject: [Zope] Non-existing Zope-Security!!! Message-ID: OK let me state that I don't think so (subject line). I had to choose this subject, because it seems to me, that nobody was interested in my previous attempts to get information about my problem. So here is my newbie (?) question again: I have the folders: /www/folder1 /www/folder2 Apache redirects domain1 to folder1 and domain2 to folder2. The manager of folder1 is able to browse to /www and see what folders exist there. He shouldn't, because he only exists in the acl_user of /www/folder1. He even can look into the folder /www/folder2 (but not into the objects). Is it possible to disable the access for the folder1-manager above folder1? It doesn't seem to me. If it really isn't possible, there is no security at all for ISP uses of Zope. But I'm sure, there should be a possibility. I even created a local role in /www/folder1 too. Even with the local role I can browse /www and /www/folder2! Any suggestions? TIA -goe- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From jkinsley@horus.bticc.net Fri Oct 13 11:42:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Fri, 13 Oct 2000 06:42:54 -0400 (EDT) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... Message-ID: I am building a framed site using Zope and I am trying to get functionality that after hours of reading documentation I am beginning to think is not possible, but since what I have read is so obscure I have decided to post a message before giving up. The code examples below *DO NOT* work, but are being used in an attempt to illustrate what I am attempting to do as I thought it would work. After reading documentation for the last several hours I am now more confused then when I started. Given the following URL's: http://...../Files/?dir=/foo/bar/&file=baz.html http://...../?section=/Files&dir=/foo/bar/&file=baz.html And the Following /index_html - DTML Method .... .... /FrameSet - DTML Method .... XXX - How can I negate this? IE. XXX - I do not think calling REQUEST.set() is the best way to accomplish this. What is a better way? .... /ViewFrame - DTML Method .... .... XXX - I can not get this to work at all. Topframe should be set or true if the visitor arrived in the /Files Folder from the top level frameset and /Files/ViewFrame will be loaded into the view_frame target. If the visitor came directly to /Files and topframe is unset or false, then I want to redirect them back to the toplevel /FrameSet to load the top frames then display the /Files/ViewFrame in the view_frame target and pass along dir and file from the URL query string. /Files/Index - DTML Method .... .... XXX - If this method is called from the top level FrameSet method, how to I access dir and file from the original request? /Files/ViewFrame - DTML Method .... .... Over the last few days I have tried all sorts of things to make this work, but all attempts have failed. I am sure there is a very simple solution that one of you Zope Gurus could quickly explain. If you are going to respond with RTFM, the please cite specific references in the manual. ;-) Thanks in advance. Regards, Jarrod Kinsley From twcook@iswt.com Fri Oct 13 12:28:10 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 13 Oct 2000 06:28:10 -0500 Subject: [Zope] Non-existing Zope-Security!!! References: Message-ID: <39E6F1CA.8AA09C20@iswt.com> Stephan Goeldi wrote: > > OK let me state that I don't think so (subject line). I had to choose this > subject, because it seems to me, that nobody was interested in my previous > attempts to get information about my problem. So here is my newbie (?) > question again: > > I have the folders: > > /www/folder1 > /www/folder2 > > Apache redirects domain1 to folder1 and domain2 to folder2. > The manager of folder1 is able to browse to /www and see what folders exist > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > He even can look into the folder /www/folder2 (but not into the objects). > > Is it possible to disable the access for the folder1-manager above folder1? > It doesn't seem to me. If it really isn't possible, there is no security at > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > I even created a local role in /www/folder1 too. Even with the local role I > can browse /www and /www/folder2! > > Any suggestions? Create the user in the top level folder that they are allowed to see. Not in the /www folder HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org From mario@curiango.ipen.br Fri Oct 13 12:47:17 2000 From: mario@curiango.ipen.br (Mario Olimpio de Menezes) Date: Fri, 13 Oct 2000 09:47:17 -0200 (EDT) Subject: [Zope] Converting PHP3 -> Zope Message-ID: Hi, I'm planning to convert (migrate) a entire site from php3 to zope and i'm looking for suggestions, hints, etc on this. It's a GPL management school system done in php3+postgresql, and any user must be authenticated against a database and his privileges are those from the postgresql. The system is in portuguese (www.univates.br/sagu) if someone is interested. Does somebody have experience in such kind of migration (conversion) and can give me some "in advance" advice to avoid this or that or don't do this, etc, etc? Any comments? []s, Mario O.de Menezes "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br From DLANCE@kc.rr.com Fri Oct 13 12:59:37 2000 From: DLANCE@kc.rr.com (Dale Lance) Date: Fri, 13 Oct 2000 06:59:37 -0500 Subject: [Zope] Fw: mysqldb Message-ID: <031a01c0350d$0f89a5e0$0301a8c0@home> Hi, I am trying to build ZMySQLDA 1.20 mysql has been built successfully on RedHat 7.0 and resides in /usr/local/mysql I have followed the instructions for editing /etc/ld/so/conf adding /usr/local/mysql/lib/mysql /usr/local/mysql/lib /usr/local/mysql to it. (just tomake sure) yet I still get the following error anyone know where mysqlclient is supposed to be? Dale > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > _mysqlmodule.so > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make: *** [_mysqlmodule.so] Error 1 > Traceback (innermost last): > File "build.py", line 14, in ? > import MySQLdb > File "MySQLdb.py", line 19, in ? > from _mysql import * > ImportError: No module named _mysql > > From jensebaer@hotmail.com Fri Oct 13 13:44:19 2000 From: jensebaer@hotmail.com (jensebaer) Date: Fri, 13 Oct 2000 14:44:19 +0200 Subject: [Zope] Fw: mysqldb Message-ID: ----- Original Message ----- From: "jensebaer" To: "Dale Lance" Sent: Friday, October 13, 2000 2:43 PM Subject: Re: [Zope] Fw: mysqldb > Hi Dale, > > put this in your setup or/and setup.in file under > ....../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/ > > *shared* > # Only one line should be uncommented. > # Adjust -L and -I as necessary for your local configuration. > # If you have dynamic MySQL libraries, they will need to be on your > # LD_LIBRARY_PATH at runtime. > _mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient > # Uncomment for Windows > #_mysql > _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32 > > > or may _mysql > _mysqlmodule.c -L/usr/local/lib/mysql -I/usr/local/include/mysql -lmysqlclie > nt > > Jens > > ----- Original Message ----- > From: "Dale Lance" > To: > Sent: Friday, October 13, 2000 1:59 PM > Subject: [Zope] Fw: mysqldb > > > > Hi, > > I am trying to build ZMySQLDA 1.20 > > mysql has been built successfully on RedHat 7.0 and resides in > > /usr/local/mysql > > I have followed the instructions for editing /etc/ld/so/conf adding > > /usr/local/mysql/lib/mysql > > /usr/local/mysql/lib > > /usr/local/mysql > > to it. (just tomake sure) > > yet I still get the following error > > anyone know where mysqlclient is supposed to be? > > > > Dale > > > > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > > _mysqlmodule.so > > > /usr/bin/ld: cannot find -lmysqlclient > > > collect2: ld returned 1 exit status > > > make: *** [_mysqlmodule.so] Error 1 > > > Traceback (innermost last): > > > File "build.py", line 14, in ? > > > import MySQLdb > > > File "MySQLdb.py", line 19, in ? > > > from _mysql import * > > > ImportError: No module named _mysql > > > > > > > > > > > > > > _______________________________________________ > > 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 ) > > > > > From phd@phd.dada.ru Fri Oct 13 13:59:25 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Fri, 13 Oct 2000 12:59:25 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so. Check to see it's there. It is usually symlink to libmysqlclient.so.6.23.13 or such. If it is not - find it on your system and put the directory to -L flag, e.g gcc -shared _mysqlmodule.o -L/usr/local/lib/mysql -lmysqlclient -o _mysqlmodule.so Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From joachim.werner@iuveno.de Fri Oct 13 13:59:47 2000 From: joachim.werner@iuveno.de (Joachim Werner) Date: Fri, 13 Oct 2000 14:59:47 +0200 Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> References: <39E6F1CA.8AA09C20@iswt.com> Message-ID: <00101315232701.14779@promotor> > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder That alone wouldn't do it if we are talking about "seeing the objects", e.g. by calling the "objectIds" method in the root folder. You also have to switch off the root folder's "Access contents information" rights for Anonymous and the sub-tree managers. I think Zope security is really a bit weak here because the standard settings are NOT blocking "Access contents information" and blocking it makes programming a bit harder ... BUT: You CAN configure it correctly if you want to. Joachim -- Iuveno - Smart Communication Joachim Werner _________________________________________ Marie-Curie-Straße 6 85055 Ingolstadt Tel.: +49 841/90 14-325 (Fax -322) Mobil: +49 179/39 60 327 E-Mail: joachim.werner@iuveno.de/joachim.werner@iuveno-net.de WWW: www.iuveno.de/www.iuveno-net.de From tseaver@digicool.com Fri Oct 13 14:43:20 2000 From: tseaver@digicool.com (Tres Seaver) Date: Fri, 13 Oct 2000 09:43:20 -0400 Subject: [Zope] How to see if two objects are the same (minor fix) References: <200010111900.MAA11051@zope.codeit.com> Message-ID: <39E71178.68EB60B1@digicool.com> Ron Bickers wrote: > > **** From my previous post, it looked like the parent was changing. I had > the first two lines swapped. Fixed below. > > ---- > > I want to see if an object is the one aqcuired from the root, but I'm > hitting walls. > > > > > > This returns the following when in the root folder context: > > > > 0 > > It returns the following in a folder where there is another myObject: > > > > 0 > > What am I missing in the comparison? You are seeing the result of a (mis)feature of acquisition: the objects you are comparing are actually AcquisitionImplicitWrappers around the real 'myObject'; because the two wrappers are different, and because the underlying object doesn't define a custom '__cmp__()' method, the two wrappers are compared for identity (which is bogus). I recently fixed this in response to a Collector issue: http://classic.zope.org:8080/Collector/1650/view You can get the patch from that page, or just wait for Zope 2.3 (RSN, I'm sure). Tres. -- =============================================================== Tres Seaver tseaver@digicool.com Digital Creations "Zope Dealers" http://www.zope.org From bill@carbonecho.com Fri Oct 13 15:11:23 2000 From: bill@carbonecho.com (Bill Welch) Date: Fri, 13 Oct 2000 14:11:23 +0000 (GMT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: In Debian, this library is in a separate packge. On Fri, 13 Oct 2000, Dale Lance wrote: > anyone know where mysqlclient is supposed to be? From zope_ddi@hotmail.com Fri Oct 13 17:34:28 2000 From: zope_ddi@hotmail.com (Roland C. Reumerman) Date: Fri, 13 Oct 2000 16:34:28 CEST Subject: [Zope] Authentication headers & firewall port redirection Message-ID: As stated in an email some time before I ran into some problems concerning accessing my password protected Zope site. The situation: * Zope 2.2.2 runs on a web server called www.datadistilleries.com on port 8080 * the web site it offers is protected with Zope's own authentication mechanism * the firewall redirects any HTTP requests for www.datadistilleries.com/ddsn (i.e., port 80) to www.datadistilleries.com:8080/ddsn. However, one has to click 3 times on that Login link before the login dialog appears. Then it seems to build up a connection, but doesn't. I click on the login link again, and I'm in and everything works as expected. Now it seems that somehow the combination of Zope-generated authenticated headers and the firewall redirection rule do not match: does the header include URL information? That would imply it tries to access www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly www.datadistilleries.com:80/ddsn (firewall listen port). BTW, it cannot run on port 80 because the default web server is already listening to that port. Question: is it possible to somehow make Zope send HTTP authentication headers that have port 80 included instead of port 8080? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From ecolmar@uswest.net Fri Oct 13 15:40:34 2000 From: ecolmar@uswest.net (ed colmar) Date: Fri, 13 Oct 2000 08:40:34 -0600 Subject: [Zope] LoginManager - with SQL? References: Message-ID: <018101c03523$8c046680$0400000a@caliber> Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would really love to get this working instead of having to revert back to older depreciated products. Thanks for any help! -e- From: "Aleksander Salwa" > > I remember I had some troubles trying to put methods rolesForUser, > domainsForUser, authenticateUser in UserSource class. They can be moved to > user class. I did so. > But your case is harder then mine, cause you don't have objects > representing users in ZODB. Maybe there are problems with retrieveItem > method ? > Maybe you should build wrapper class around your database > data - something like "pluggable brains" ? > I have no more ideas :( From Oliver Bleutgen Fri Oct 13 15:51:16 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Fri, 13 Oct 2000 16:51:16 +0200 Subject: [Zope] dtml-sqltest and capital column names Message-ID: <200010131455.HAA17298@zope.codeit.com> Talking to myself .... A slight correction to my patch so that tablename.columname will be rendered as to "tablename"."columnname". 146c146 < from string import find, split, join, atoi, atof --- > from string import find, split, join, atoi, atof, replace 165,166c165,166 < if has_key('column'): self.column=args['column'] < else: self.column=self.__name__ --- > if has_key('column'): self.column='"'+replace(args['column'], '.', '"."')+'"' > else: self.column='"'+replace(self.__name__, '.', '"."')+'"' It would be nice if someone could comment whether this makes sense for other dbs too. cheers, oliver From sburch@ordway.org Fri Oct 13 16:11:27 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 10:11:27 -0500 Subject: [Zope] Variable name use in with statement Message-ID: I'm working on a simple auction site as a newbe challenge. I am taking bids on three static items, none will be added or removed. I have a folder named bid_records in which there is a folder for each item. These item folders have current bid information in properties and bid history in ZClass items stored in them. When I'm working with a specific auction item I have the name of the folder in a REQUEST variable. I am finding myself doing the following and am sure there is a simpler way to do this. Any help would be greatly appreciated! Thanks. -- Scott B. Burchill, MIS Manager Ordway Center for the Performing Arts 345 Washington Street St. Paul, MN 55102-1495 voice +1 (651) 282-3082 cell +1 (651) 248-2713 pager +1 (612) 818-7600 fax +1 (651) 224-1820 efax +1 (508) 519-6133 http://www.ordway.org \:)> /:(> From grund@zblmath.FIZ-Karlsruhe.DE Fri Oct 13 16:17:03 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Fri, 13 Oct 2000 17:17:03 +0200 Subject: [Zope] ZCatalog question. boolean and wildcards. Message-ID: <00101317244505.31282@donald> Im running Zope 2.2.2 on Linux 2.2.13. When mixing boolean operators and wildcards '*' in queries within a Textindex the 'AND' operator is replaced by 'OR'. Also, the possibility of constructing nested terms using brackets seems to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). The setting is straightforward, several indexes (text-index, keyword-indexes) are used indexing a about 5000 Zclasses. Are there any patches to apply or what else can i do ? Thanks in advance. Hannes. From sebbacon@email.com Fri Oct 13 16:51:08 2000 From: sebbacon@email.com (Seb Bacon) Date: Fri, 13 Oct 2000 16:51:08 +0100 Subject: [Zope] product.dat Message-ID: In the Zope PTK there are a couple of products that have been packaged as product.dats. What format are these? How do I do it? Cheers seb From neeloy_saha@infy.com Fri Oct 13 12:56:03 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Fri, 13 Oct 2000 17:26:03 +0530 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog Message-ID: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Hi all, I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to load the data.fs Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? Thx and regards. -neeloy From complaw@hal-pc.org Fri Oct 13 18:29:47 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Fri, 13 Oct 2000 17:29:47 GMT Subject: [Zope] Any examples of use of manage_addFile()? Message-ID: <200010131729.MAA05467@mail.hal-pc.org> I want to create a user-interface so that users can upload files to my Zope site. I have done this with DTMLDocuments, however I don't quite understand how to get the file itself into the Zope site via ... self.manage_addProduct['OFSP'].manage_addFile() ..that is in Python. I looked through the HOWTO's but didn't find anything. Does someone have an example of a Form/DTMLMethod/Python script that does this sort of thing? Thanks in advance, Ron ./. From mvmendes@emdata.com.br Fri Oct 13 16:33:41 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Fri, 13 Oct 2000 15:33:41 +0000 Subject: [Zope] Database Pack References: Message-ID: <39E72B55.7912A5EA@emdata.com.br> "Júlio Dinis Silva" wrote: > > Hi all, > > is there a way to do a pack to zodb without using the managment screens pack > button? > > Maybe a python script we could execute from the file system. > > Regards, > Júlio Dinis Silva > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.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 ) Hello, I'm using OracleStorage and I'd like know if can I pack my Database as I do with data.fs. Are there any differences? Thanks. Marcus Mendes From gwright@integritysi.com Fri Oct 13 19:00:04 2000 From: gwright@integritysi.com (Geoffrey L. Wright) Date: Fri, 13 Oct 2000 10:00:04 -0800 (AKDT) Subject: [Zope] dtml-with syntax question In-Reply-To: <39E66EF7.563F0451@iswt.com> References: <14820.51242.385602.418871@localhost.localdomain> <39E57F1B.D2637FDF@nipltd.com> <14822.15476.737672.457573@localhost.localdomain> <39E66EF7.563F0451@iswt.com> Message-ID: <14823.19876.493839.469796@localhost.localdomain> Tim Cook writes: > I'm sure someone will correct me if I'm wrong. But I believe you > want: > > Haven't tried it in my code yet, but thanks to your post I found the section about _.getitem(). That'll come in handy all over the place, so many thanks for the pointer! //glw From lehmann@catworkx.de Fri Oct 13 18:24:05 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Fri, 13 Oct 2000 19:24:05 +0200 Subject: [Zope] LoginManager - with SQL? In-Reply-To: <018101c03523$8c046680$0400000a@caliber> References: <018101c03523$8c046680$0400000a@caliber> Message-ID: <00101319240501.00448@cat-pc-holle> Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: > Has anyone been able to use LoginManager with a SQL db? with or without > encryption? > > I'm still baffled by this how-to: > http://www.zope.org/Members/jok/SQL_based_LoginManager > > In this example, there are dtml-methods that do the work of the UserSource, > but there is no retrieveItem? > > I would really love to get this working instead of having to revert back to > older depreciated products. > > Thanks for any help! > > -e- > > From: "Aleksander Salwa" > > > I remember I had some troubles trying to put methods rolesForUser, > > domainsForUser, authenticateUser in UserSource class. They can be moved > > to user class. I did so. > > But your case is harder then mine, cause you don't have objects > > representing users in ZODB. Maybe there are problems with retrieveItem > > method ? > > Maybe you should build wrapper class around your database > > data - something like "pluggable brains" ? > > I have no more ideas :( > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From jfarr@real.com Fri Oct 13 18:57:12 2000 From: jfarr@real.com (Jonothan Farr) Date: Fri, 13 Oct 2000 10:57:12 -0700 Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog References: <8EE756E49A17D21194860008C7F49AFE0452918D@TWRMSG01> Message-ID: <0bfb01c0353f$03a80a50$416917ac@poly> There are some patches floating around to add cataloging to LocalFS objects. I haven't gotten around to including them in the standard distro. --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Friday, October 13, 2000 4:56 AM Subject: [Zope] Ability to catalog "localFS objects" in the portal catalog > Hi all, > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to load the data.fs > > Now. I am running into search problems. How do i do a search the filesystem > file? and also ensure that the search results come from both the filesystem > files and the portal zcatalog.?? > > Thx and regards. > > -neeloy > > _______________________________________________ > 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 ) > From Robert_J_Roberts@rl.gov Fri Oct 13 20:34:08 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Fri, 13 Oct 2000 12:34:08 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D0A@APEXCH11.rl.gov> What are my options for debugging External Methods in Zope running on Windows NT? Is there ANY way to get the external method to run in a DOS window that I can watch? What little tricks/techniques have others use to make debugging external methods easier/possible? Thanks, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From dittmar@snafu.de Fri Oct 13 20:40:24 2000 From: dittmar@snafu.de (Daniel Dittmar) Date: Fri, 13 Oct 2000 21:40:24 +0200 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <39E76528.7D05A2AB@dittmar.net> Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage? Is it simply the convenience to have the data in one place (for backup etc)? Does it scale better? In connection with ZEO? I'm asking because I'm contemplating writing such a storage for a specific RDBMS and I would like to know whether it's worth the trouble. Daniel Dittmar From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 20:58:17 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 14:58:17 -0500 Subject: [Zope] Variable name use in with statement Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B6@innt-73.ata.com> Scott Butchill wonders if: "there is a simpler way to do this." Not much simpler, but how about: From dieter@handshake.de Fri Oct 13 20:41:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 21:41:22 +0200 (CEST) Subject: [Zope] Access Control vs Publishing Protoco In-Reply-To: References: <14821.36358.972286.290879@lindm.dm> Message-ID: <14823.24484.984596.626290@lindm.dm> Seb Bacon writes: > OK, I think we're talking about the same thing now...but could you give me > an example of any object that would need to be traversable by Anonymous? > index_html, for example, doesn't need to be traversable (I still prefer > 'listable'). Viewable TTW, yes, but that's all. I do not agree with you: I should be able to list what I am able to view (in order to learn what I can view). I think, more than 30 per cent of my objects are like "index_html". They are designed to be viewed by Anonymous. The others are not destined to be viewed but to be used as components in viewed objects (like "standard_html_*"). The current Zope security requires that Anonymous has view permissions for them, too. But this allows Anonymous to view them in isolation which almost surely will give strange results (exceptions, empty pages, etc.). My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. If we succeed, then Anonymous can do nothing at all with them and it is no longer necessary to list them (for him). Thus, a solution for this problem may also be a solution for the other problem. However, a "listable" permission would not solve the distinction between directly viewable via the web and only indirectly viewable. Dieter From Jerry.Spicklemire@IFLYATA.COM Fri Oct 13 21:15:36 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 13 Oct 2000 15:15:36 -0500 Subject: [Zope] Q: Advantages of storing ZODB in RDBMS Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338B7@innt-73.ata.com> Daniel asked: "Can anyone explain what the advantages are of using an RDBMS for Zope object storage over the standard file system storage?" The folks I know that have asked for that feature have stated their concerns as being: Keeping everything in a single large file is risky, since if that file becomes corrupted, the entire Web Site will be down until recovery is complete. The other side of that one goes something like, "As if we've never seen systems down for RDBMS recovery". Keeping data in a form that's more accessible by external systems is an advantage. And the comeback for that is, "This stuff is not tabular, it's Web Content, and Code". It's not like you can run queries against it, and print reports. Using an RDBMS that has online backup, and quick recovery features is cheap insurance. Cheap is relative. if you happen to have an expensive RDBMS, maybe you can call using it for one more applicaiotn "cheap". Making a copy of data.fs is pretty easy, and recovery is completed by copying over a damaged file. Not exactly rocket science. Also, Tranalyzer makes it pretty painless to recover up to the last good update, which is usually more than you can get from a backup! As you can see, I don't "get" the arguments, but that's what people say, and if they happen to be the people who can veto Zope, you try to find a way to meet their requirements. Later, Jerry S. From asc@vineyard.net Fri Oct 13 21:23:05 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Fri, 13 Oct 2000 16:23:05 -0400 (EDT) Subject: [Zope] proxied proxies with Zope & Apache Message-ID: Hi, I have Zope set up running with Apache/SSL using mod_proxy and the SiteRoot product. Everything works fine. The thing is, if I understand stuff correctly, all the requests to https://hostname.com get handed off to Zope. I would like to be able use the same hostname for plain old Apache-isms (cgi php etc) because the users of the site shouldn't have to rememeber YA-hostname. I would like to be able to do the following : https://hostname/foo-->https://zope.hostname/foo -->http://hostname:8080/foo https://hostname/bar-->/htdocs/bar a) hostname:443 ProxyPass /foo https://zope.hostname/foo b) zope.hostname:443 ProxyPass / http:hostname:8080/ (where the SiteRoot in the Zope tree points to https://zope.hostname) When I try to do this, regardless of whether I use mod_proxy or mod_rewrite, Apache returns a 403 error : "You don't have permission to access /documents on this server." Should the Zope SiteRoot point to https://hostname instead of https://zope.hostname? I know that I could set up multiple ProxyPass statements (and corresponding SiteRoot objects) in the Apache conf file, but I would really prefer to set up a standalone Zope https setup (mostly for administrative purposes) and then proxy those aspects of Zope that are pubic automagically to the default Apache setup. I am dreaming? The rewrite/proxy stuff is still like voodoo for me most days so any advice or suggestions would be welcome. Thanks, From sburch@ordway.org Fri Oct 13 21:50:00 2000 From: sburch@ordway.org (Burchill, Scott B.) Date: Fri, 13 Oct 2000 15:50:00 -0500 Subject: [Zope] RE: Variable name use in with statement Message-ID: Ok, this worked : Thanks for the direction, Jerry! sbb > -----Original Message----- > From: Spicklemire, Jerry [mailto:Jerry.Spicklemire@IFLYATA.COM] > Sent: Friday, October 13, 2000 2:58 PM > To: 'sburch@ordway.org' > Cc: 'zope@zope.org' > Subject: Variable name use in with statement > > > Scott Butchill wonders if: > > "there is a simpler way to do this." > > Not much simpler, but how about: > > > > > > > > > > > > > > > > From peter@grenna.net Fri Oct 13 22:29:45 2000 From: peter@grenna.net (Peter Bengtsson) Date: Fri, 13 Oct 2000 22:29:45 +0100 Subject: [Zope] Any examples of use of manage_addFile()? References: <200010131729.MAA05467@mail.hal-pc.org> Message-ID: <001f01c0355c$b61e3430$01d4a8c0@peppe> Here you go. This uploads a file in the current working directory. thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you have to put '' double-apostrofies for the ID then. You try. ----- Original Message ----- From: To: Sent: Friday, October 13, 2000 6:29 PM Subject: [Zope] Any examples of use of manage_addFile()? > I want to create a user-interface so that users can upload files to my Zope > site. I have done this with DTMLDocuments, however I don't quite understand how > to get the file itself into the Zope site via ... > > self.manage_addProduct['OFSP'].manage_addFile() > > ..that is in Python. > > I looked through the HOWTO's but didn't find anything. Does someone have an > example of a Form/DTMLMethod/Python script that does this sort of thing? > > Thanks in advance, > > Ron > ./. > > > > _______________________________________________ > 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 ) > From phil.harris@zope.co.uk Thu Oct 12 22:55:38 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 12 Oct 2000 22:55:38 +0100 Subject: [Zope] Thanks for the comments References: <010a01c033e4$a6c74090$c9e831d4@harrisf4scs8le> <39E6B903.7DA9B83D@inghist.nl> Message-ID: <00d001c03497$29fdaa50$84f331d4@harrisf4scs8le> Rik, I've upped both the Zope_book.lit and the Zope quick Reference. The ZQR is not as readable as the zBook due to the formatting. I'll get the XML and reformat it to look a bit better. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Rik Hoekstra" To: "Phil Harris" Sent: Friday, October 13, 2000 8:25 AM Subject: Re: [Zope] Thanks for the comments > > > Phil Harris wrote: > > > > I'll stick onto my Zope members page > > > > http://zope.org/Members/philh > > > except that the http://www.zope.org/Members/philh/zope_book.lit is dead > ;-) > > Rik From michaelangelo@intelligenesis.net Fri Oct 13 22:38:51 2000 From: michaelangelo@intelligenesis.net (michael angelo ruberto) Date: Fri, 13 Oct 2000 17:38:51 -0400 Subject: [Zope] date comparison In-Reply-To: <39E4B716.726347FF@earthlink.net> Message-ID: hi, i had tried something similar already without success. here is the error your script caused: DOH! Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: unsubscriptable object for some reason Zope just doesn't want to compare ZopeTime with bobobase_modification_time. i started reading the readme i found for the python DateTime method but it hasn't shed any light on the situation yet. i will try doing it with javascript. i can write the modification dates of the objects into arrays and do the comparisons using a scripting language that works. thanks -- -----Original Message----- From: ender@earthlink.net [mailto:ender@earthlink.net]On Behalf Of Kapil Thangavelu Sent: Wednesday, October 11, 2000 2:53 PM To: michael angelo ruberto Cc: zope@zope.org Subject: Re: [Zope] date comparison michael angelo ruberto wrote: > > i want to create an index page that displays whether or not a page has been > updated in the past 7 days or the past 20 days. however, i can't figure out > how to get the bobobase_modification_date to compare with ZopeTime. can > someone give me a clue before i rush blindly down Zope's undocumented dark > alleys. > > mike untested
  • New
  • Somewhat New
  • Old
kapil _______________________________________________ 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 ) From dieter@handshake.de Fri Oct 13 21:58:34 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:58:34 +0200 (CEST) Subject: [Zope] and question In-Reply-To: <17863365@toto.iv> Message-ID: <14823.30276.535159.677990@lindm.dm> complaw@hal-pc.org writes: > ... get today's date into a dtml-var ... Look at the "DateTime" documentation, if this does not give you the needed date format. Dieter From dieter@handshake.de Fri Oct 13 21:52:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:52:54 +0200 (CEST) Subject: [Zope] Tiny tables In-Reply-To: <13855503@toto.iv> Message-ID: <14823.30085.867024.89836@lindm.dm> Graham Chiu writes: > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. Probably, This is a ZPublisher feature. It interpretes ":" suffixes of form variable and parameter names to call for a type conversion of the value. As far as I know, there is not escape possibility. Can you change the ':' into a different character? Dieter From dieter@handshake.de Fri Oct 13 21:20:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 22:20:54 +0200 (CEST) Subject: [Zope] Medusa Monitor In-Reply-To: References: Message-ID: <14823.28044.869154.167828@lindm.dm> Hung Jung Lu writes: > I know that, the stupid log file thingy. But you'll have to write an > independent thread to display the log file (or peek the file manually each > time), or implement some CString stuff to capture the file output (if that > is possible). As I understand it, the logging module can be customized to stuck its log into a variable in Zope itself, viewable through the web. You may search the list archive to find the corresponding post. Maybe, you find it, too, via zope.org. > It'll be more fun if all this is already done, and the user can just tap > into the monitor console screen (even remotely). > > A good monitor should actually display hit information, memory usage, etc, > and preferably with charts, all in real time. Too much to ask? I don't think > so. :) Of cause, you can ask for it. However, someone must implement it. Dieter From dieter@handshake.de Fri Oct 13 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] Variable name use in with statement In-Reply-To: <75381091@toto.iv> Message-ID: <14823.31346.354571.370582@lindm.dm> Burchill, Scott B. writes: > .... > I am finding myself doing the following and am sure > there is a simpler way to do this. > > Any help would be greatly appreciated! Thanks. > > > > > > > > > > > > > > > > If you are sure, that only these values can occur in "selection" (as I expect, as otherwise, it would not be a selection), then you can use: Dieter From dieter@handshake.de Fri Oct 13 22:10:55 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:10:55 +0200 (CEST) Subject: [Zope] Authentication headers & firewall port redirection In-Reply-To: <113940424@toto.iv> Message-ID: <14823.31019.45266.485541@lindm.dm> Roland C. Reumerman writes: > Now it seems that somehow the combination of Zope-generated authenticated > headers and the firewall redirection rule do not match: does the header > include URL information? That would imply it tries to access > www.datadistilleries.com:8080/ddsn (Zope generated port) instead of plainly > www.datadistilleries.com:80/ddsn (firewall listen port). I know, that basic authentication is sent by the browser on a domain basis. I do not know, where the domain information originates, but it may well be Zope. You may want to use Shanes excellent "tcpwatch" utility to analyse what really happens between the server and your browser. Alternatively, you may have a look at SiteAccess. This Zope product helps you handle these forms of redirection. Even, if your authentication problem could be solved without it, you will soon hit other problems that require SiteAccess. Thus, go directly for it. Dieter From dieter@handshake.de Fri Oct 13 22:05:15 2000 From: dieter@handshake.de (Dieter Maurer) Date: Fri, 13 Oct 2000 23:05:15 +0200 (CEST) Subject: [Zope] DTML Acquisition & NameSpace Help Needed..... In-Reply-To: <89660556@toto.iv> Message-ID: <14823.30599.585158.779477@lindm.dm> J Kinsley writes: > /FrameSet - DTML Method > ..... > XXX - How can I negate this? IE. > > > > > > XXX - I do not think calling REQUEST.set() is the best way to > accomplish this. What is a better way? It is ineffective, as you do not use "topframe" later (in *this* request). > > > > > > > > ..... > XXX - I can not get this to work at all. Topframe should be set or > true if the visitor arrived in the /Files Folder from the top level > frameset and /Files/ViewFrame will be loaded into the view_frame > target. The frameset and its frames parts are fetched in *different* requests. The "REQUEST.set" only affects the REQUEST object for the frameset. The REQUEST objects for the frame components are not affected. You have two options: * a session product (there are some around on zope.org) it allows you to save information across web requests * passing the additional information through a query string key=value pair (do not forget to "url_quote_plus") > XXX - If this method is called from the top level FrameSet method, > how to I access dir and file from the original request? see above. Dieter From knight@righteous.net Fri Oct 13 23:26:35 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:26:35 -0700 (PDT) Subject: [Zope] Non-existing Zope-Security!!! In-Reply-To: <39E6F1CA.8AA09C20@iswt.com> Message-ID: Also, consider adding an accessrule. This won't stop them from using __no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it 'appear' there is nothing more than the current level. knight knight@phunc.com On Fri, 13 Oct 2000, Tim Cook wrote: > Stephan Goeldi wrote: > > > > OK let me state that I don't think so (subject line). I had to choose this > > subject, because it seems to me, that nobody was interested in my previous > > attempts to get information about my problem. So here is my newbie (?) > > question again: > > > > I have the folders: > > > > /www/folder1 > > /www/folder2 > > > > Apache redirects domain1 to folder1 and domain2 to folder2. > > The manager of folder1 is able to browse to /www and see what folders exist > > there. He shouldn't, because he only exists in the acl_user of /www/folder1. > > He even can look into the folder /www/folder2 (but not into the objects). > > > > Is it possible to disable the access for the folder1-manager above folder1? > > It doesn't seem to me. If it really isn't possible, there is no security at > > all for ISP uses of Zope. But I'm sure, there should be a possibility. > > > > I even created a local role in /www/folder1 too. Even with the local role I > > can browse /www and /www/folder2! > > > > Any suggestions? > > Create the user in the top level folder that they are allowed to > see. > Not in the /www folder > > HTH, > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management > Project Coordinator http://www.freepm.org > OSHCA Founding Supporter http://www.oshca.org > > _______________________________________________ > 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 ) > > From knight@righteous.net Fri Oct 13 23:28:53 2000 From: knight@righteous.net (knight) Date: Fri, 13 Oct 2000 15:28:53 -0700 (PDT) Subject: [Zope] Fw: mysqldb In-Reply-To: <031a01c0350d$0f89a5e0$0301a8c0@home> Message-ID: Have you run ldconfig after editting the /etc/ld/so/conf file? Run ldconfig -v | grep mysqlclient and see if the library appears. If so, everything is all set. Also try an ls -l /usr/local/mysql/lib/libmysql*. Knight knight@phunc.com On Fri, 13 Oct 2000, Dale Lance wrote: > Hi, > I am trying to build ZMySQLDA 1.20 > mysql has been built successfully on RedHat 7.0 and resides in > /usr/local/mysql > I have followed the instructions for editing /etc/ld/so/conf adding > /usr/local/mysql/lib/mysql > /usr/local/mysql/lib > /usr/local/mysql > to it. (just tomake sure) > yet I still get the following error > anyone know where mysqlclient is supposed to be? > > Dale > > > > gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o > > _mysqlmodule.so > > /usr/bin/ld: cannot find -lmysqlclient > > collect2: ld returned 1 exit status > > make: *** [_mysqlmodule.so] Error 1 > > Traceback (innermost last): > > File "build.py", line 14, in ? > > import MySQLdb > > File "MySQLdb.py", line 19, in ? > > from _mysql import * > > ImportError: No module named _mysql > > > > > > > > _______________________________________________ > 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 ) > > From 444@hiretechs.com Sat Oct 14 00:16:24 2000 From: 444@hiretechs.com (Jason Spisak) Date: Fri, 13 Oct 2000 16:16:24 -0700 Subject: [Zope] Creating Recursive Folders Message-ID: <39E797C8.D61D4173@hiretechs.com> Zopists, I am trying to use DTML to create folders within folders for me 3 levels deep. Two levels works, but 3 won't. For example: This works: But this: Throws an unathorized no matter who I am. How can I get 3 levels of recursion. I tried using 'let' to stand for the object, with no luck. BTW, I accidently sent the last post to dev, forgive me. All my best, Jason Spisak 444@hiretechs.com From andres@corrada.com Sat Oct 14 00:40:08 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:40:08 -0400 Subject: [Zope] Tiny tables In-Reply-To: ; from Graham Chiu on Fri, Oct 13, 2000 at 08:08:34AM +1300 References: Message-ID: <20001013194008.A15613@corrada.com> The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such. One quick way to get around this is to quote your field value - "criteria:tokens" You may have to deal with the quotes later on, although I think they get stripped after the value survives the tokenize.py module. On Fri, Oct 13, 2000 at 08:08:34AM +1300, Graham Chiu wrote: > > I would like to run some regular reports based upon > sqlmethods. The input to these are a mixture of normal > values, and some tokenised values. > > I tried storing these in tiny tables, but it doesn't seem > that tiny tables allow one to store tokens. If I specify > the value as say, criteria:tokens, it gets changed to just > criteria. > > Any suggestions as to how to store the input as tokens for > my reports? > > -- > Graham Chiu > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From andres@corrada.com Sat Oct 14 00:43:35 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 13 Oct 2000 19:43:35 -0400 Subject: [Zope] Converting PHP3 -> Zope In-Reply-To: ; from Mario Olimpio de Menezes on Fri, Oct 13, 2000 at 09:47:17AM -0200 References: Message-ID: <20001013194335.B15613@corrada.com> Take a look at my HOWTO: www.zope.org/Members/Mamey/PHP On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote: > > Hi, > > I'm planning to convert (migrate) a entire site from php3 to > zope and i'm looking for suggestions, hints, etc on this. > It's a GPL management school system done in php3+postgresql, and > any user must be authenticated against a database and his privileges > are those from the postgresql. The system is in portuguese > (www.univates.br/sagu) if someone is interested. > Does somebody have experience in such kind of migration > (conversion) and can give me some "in advance" advice to avoid this or > that or don't do this, etc, etc? > Any comments? > > []s, > Mario O.de Menezes "Many are the plans in a man's heart, but > IPEN-CNEN/SP is the Lord's purpose that prevails" > http://curiango.ipen.br/~mario Prov. 19.21 > http://www.revistalinux.com.br > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From peter@grenna.net Sat Oct 14 02:55:10 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sat, 14 Oct 2000 02:55:10 +0100 Subject: [Zope] Python regular expression help Message-ID: <000d01c03581$c98c43c0$01d4a8c0@peppe> [ this might be more of a Python question, but it's got a lot to do with the web and is to be used in Zope ] I want to replace all occurences of email address's and URLs in a textstring, to %s and %s. Must admit that I am not an regex expert, and I wasn't able to find a "precompiled" regex for neither email nor URL. Or is there anything available from the zope/python stack? From matt@virtualspectator.com Sat Oct 14 04:59:07 2000 From: matt@virtualspectator.com (matt) Date: Sat, 14 Oct 2000 16:59:07 +1300 Subject: [Zope] backing up In-Reply-To: <000d01c03581$c98c43c0$01d4a8c0@peppe> References: <000d01c03581$c98c43c0$01d4a8c0@peppe> Message-ID: <00101417011207.01314@localhost.localdomain> Is there a nice way to backup dtml documents and methods from a certain point in the object tree onwards without having to save all the other objects too? regards Matt From matt.bion@eudoramail.com Sat Oct 14 08:00:43 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 14 Oct 2000 20:00:43 +1300 Subject: [Zope] object properties Message-ID: <39E8049B.512E5DCF@eudoramail.com> Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion From dieter@handshake.de Sat Oct 14 11:18:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 12:18:05 +0200 (CEST) Subject: [Zope] ZCatalog question. boolean and wildcards. In-Reply-To: <2337571@toto.iv> Message-ID: <14824.11950.36146.96100@lindm.dm> Hannes Grund writes: > When mixing boolean operators and wildcards '*' in queries within a Textindex > the 'AND' operator is replaced by 'OR'. > Also, the possibility of constructing nested terms using brackets seems > to be not supported (contrary to the chapter 'Searching and indexing' from the Zope book). > The setting is straightforward, several indexes (text-index, keyword-indexes) > are used indexing a about 5000 Zclasses. > Are there any patches to apply or what else can i do ? Sorry, the patch I posted yesterday was not complete. There have been too more problems: * if the wildcard expansion could not find matching words, my patch created an empty subquery. Such queries, unfortunately, can not be handled by "UnTextIndex.evaluate". The new patch, instead creates a new search term, 'no_expansion_for_'. Hopefully, this term is not indexed and thus gives the same results as the empty subquery. Of cause, this is a hack. The ZCatalog maintainer should find a better solution. * The ZCatalog, more precisely, "UnTextIndex.__getitem__" still raises an "IndexError" exception, when one searches for a term that is not indexed. The result is "no data matches your query", even for an "or" query. I had already put a patch for this error in the collector for Zope 2.2.1, but apparently, DC decided not to look at it. Please discard my patch from yesterday. You may give the new patch (appended) a try. Dieter --- lib/python/SearchIndex/:GlobbingLexicon.py Mon Aug 28 19:30:06 2000 +++ lib/python/SearchIndex/GlobbingLexicon.py Sat Oct 14 11:54:24 2000 @@ -230,10 +230,22 @@ if ( (self.multi_wc in w) or (self.single_wc in w) ): wids = self.get(w) - for wid in wids: - if words: - words.append(Or) - words.append(self._inverseLex[wid]) + #for wid in wids: + # if words: + # words.append(Or) + # words.append(self._inverseLex[wid]) + if wids: + words.append(map(self._inverseLex.get,wids)) + else: + words.append('no_expansion_for_' + w) + # We do this here, as "UnTextIndex.evaluate" + # can not handle empty subqueries + # We use as expansion some expression that + # is likely not in the catalog but + # gives some indication to the problem + # in case "ResultList" does something + # with its "src" argument. + # This is a hack, though! else: words.append(w) --- lib/python/SearchIndex/:UnTextIndex.py Fri Oct 13 23:29:00 2000 +++ lib/python/SearchIndex/UnTextIndex.py Sat Oct 14 11:57:38 2000 @@ -347,8 +347,10 @@ if len(src) == 1: src=src[0] if src[:1]=='"' and src[-1:]=='"': return self[src] - r = self._index.get(self.getLexicon(self._lexicon).get(src)[0], - None) + codes= self.getLexicon(self._lexicon).get(src) + if codes: + r = self._index.get(codes[0], None) + else: r= None # maybe do something, if len(codes) > 1 if r is None: r = {} return ResultList(r, (src,), self) @@ -490,11 +492,11 @@ except IndexError: raise QueryError, "Malformed query" t=type(left) - if t is ListType: left = evaluate(left, self) + if t is ListType: left = self.evaluate(left) elif t is StringType: left=self[left] t=type(right) - if t is ListType: right = evaluate(right, self) + if t is ListType: right = self.evaluate(right) elif t is StringType: right=self[right] return (left, right) From matt.bion@eudoramail.com Sat Oct 14 12:53:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 00:53:40 +1300 Subject: [Zope] dtml-tree does weird things References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E84944.5A667EA5@eudoramail.com> Hi, I have the following in a dtmlDocument. the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand the tree node, I get a repeat of the original list of nodes, as if it is listing itself recursively, but not decending down the object hierachy. An when I roll over a node '+' of one of the documents is : http://localhost:8080/admin_test/some_tree_examples?tree-e=eJyLVneEAteqbFt1HQUEvzLZVj0WAIkQCHY#AAAAAAAAEyc= if I expand the tree and roll over the repeat entry I get the same link. What's happening? I am running 2.2.2 stable. By they way : the simple example in the user man doesn't return anyhthing on a folder that itself contains folders and dtml documents. I.e. any help would be greatly appretiated, Matt Bion From kthangavelu@earthlink.net Sat Oct 14 13:47:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 05:47:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> Message-ID: <39E855E1.7C72FBCE@earthlink.net> Matt wrote: > > Can someone give me an example, either in dtml or external methods of > accessing or listing the properties of the current object I am calling a > method on. > > Or point me to a source > > Matt Bion you can ask an object what properties it has and retrieve them through dtml, like or if you want a reference, instead of a string if you want to examine the propertys of an object you can go iterate through its propertysheets (works for a zclass, the rest i'm not sure). You can reference the Zope Quick Reference for more info. Success Kapil From cvogel@fileheap.com Sat Oct 14 07:31:12 2000 From: cvogel@fileheap.com (Chad Vogel) Date: 14 Oct 00 01:31:12 -0500 Subject: [Zope] We would like to include your software Message-ID: <200010141825.NAA11794@s002> This is a multi-part message in MIME format. --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello I am Chad Vogel the Webmaster at FileHeap! I am contacting you because we would like to include your software in our website. FileHeap! is a software index that is targeted to residential and small business users. I would greatly appreciate your help. To add your software to our index go to http://www.fileheap.com and then "submit a file". Thank you, LyonL Inc. Chad Vogel, Webmaster cvogel@fileheap.com --__966EC2E011D4A19BD000A787A9505DB7__ Content-Type: application/octet-stream; name="Chad Vogel.msg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; inline 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAA AQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD///////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// ///////////////////////////////////////////9////BAAAAP7///8FAAAA BgAAAAgAAAAHAAAACQAAAAsAAAAKAAAADAAAAA4AAAANAAAADwAAABEAAAAQAAAA EgAAABQAAAATAAAAFQAAABcAAAAWAAAAGAAAABoAAAAZAAAAGwAAAB0AAAAcAAAA HgAAACAAAAAfAAAAIQAAACMAAAAiAAAAJAAAACUAAAD+////JgAAACcAAAD+//// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// /////////////////////1IAbwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAAUA//////////82AAAA Cw0CAAAAAADAAAAAAAAARgAAAAAAAAAAAAAAAJB2KIyiNcABAwAAAAAeAAAAAAAA XwBfAG4AYQBtAGUAaQBkAF8AdgBlAHIAcwBpAG8AbgAxAC4AMAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACgAAQH//////////wkAAAAAAAAAAAAAAAAAAAAAAAAA AAAAALCtF4yiNcABkEEcjKI1wAEAAAAAAAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAwADAAMAAyADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAwAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADMA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIBAgAAAAQAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAADABAAAAAAAA /v///wIAAAADAAAABAAAAAUAAAD+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7///8tAAAA/v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v////7////+//// /v////7////+/////v////7////+/////v///1AAAAD+/////v////7////+//// /v////7////+/////v////7////+/////v////7////+/////v///18AAABgAAAA YQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAA bQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAD+//// //////////////////////////////////////////8IIAYAAAAAAMAAAAAAAABG BCAGAAAAAADAAAAAAAAARoEyhMGFBdARspAAqgA89nYAAAAAAAAAAAAAAAAAAAAA A4UAAAYAAAAQhQAABgABAFKFAAAGAAIAVIUAAAYAAwCChQAABgAEAEaAAAAIAAUA SYAAAAgABgBIgAAACAAHAEeAAAAIAAgARYAAAAgACQArgAAACAAKAGGAAAAIAAsA goAAAAgADACDgAAACAANAISAAAAIAA4AhYAAAAgADwCSgAAACAAQAJOAAAAIABEA lIAAAAgAEgApgAAACAATACiAAAAIABQABoAAAAgAFQAFgAAACAAWACKAAAAIABcA G4AAAAgAGAAOhQAABgAZACWAAAAIABoAEYUAAAYAGwAYhQAABgAcACaAAAAIAB0A AYAAAAoAHgAGhQAABgAfAAGFAAAGACAAhoUAAAYAIQAngAAACAAiAA6AAAAIACMA EIAAAAgAJAAHgAAACAAlAAAAAAAAAAAAAAAAAAAAAACSgAAACAAQAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA EIUAAAYAAQBShQAABgACAJOAAAAIABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADAAMAAwADQA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v///wAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADAAMAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgEDAAAABwAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAACAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMAAxADAAMQAwADIAAAAAAAAAAAAAAAAAAAAA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AAAqAAIADwAAABMAAAD///// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEAMAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgH///////////////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAATAAAAIAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMQAxADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACARIAAAAVAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABQAAAAgAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAxADIA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIB//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAAACAAAAAAAAAA XwBfAHMAdQBiAHMAdABnADEALgAwAF8AMQAwADEANAAwADEAMAAyAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAACoAAgAUAAAAFgAAAP////8AAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAWAAAACAAAAAAAAABfAF8AcwB1AGIAcwB0AGcA MQAuADAAXwAxADAAMQA5ADAAMQAwADIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA KgACAf////8XAAAA/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAABcAAAAIAAAAAAAAAF8AXwBzAHUAYgBzAHQAZwAxAC4AMABfADEAMAAxAEUA MAAxADAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAIA//////////////// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAgAAAAAAAAA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AAAAAAAAAAAAAAAMAHIAGAAAAAAAAAAAAAAADEB2ABgAAABQAAAADANEA HgAegAYAAAAnAAAAAwAAAAsAH4AGAAAAAAAAAAAAAAADACCABgAAAAAAAAAAAAAA HgAhgAYAAAABAAAAAwAAAAMQIoAGAAAADAAAAAMA0QAeACOABgAAAAEAAAADAAAA HgAkgAYAAAABAAAAAwAAAAMQJYAGAAAAGAAAAAMA0QAeAD0ABgAAAAIAAAADAAAA HgAdDgIAAAALAAAAAwADRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA== --__966EC2E011D4A19BD000A787A9505DB7__-- From leedm@state.mi.us Sat Oct 14 20:11:44 2000 From: leedm@state.mi.us (Darin Lee) Date: Sat, 14 Oct 2000 15:11:44 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sat Oct 14 21:43:40 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 09:43:40 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8C57C.6C3277E9@eudoramail.com> Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the which followed the . If I used instead, then I always got back only two strings, "default" and "webdav". So I guess it is picking something else up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to have what I thought would be the simple ability to loop through properties of an object without knowing what they were before. thanks Matt Bion Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From dieter@handshake.de Sat Oct 14 22:01:52 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:01:52 +0200 (CEST) Subject: [Zope] date comparison In-Reply-To: <120753917@toto.iv> Message-ID: <14824.51495.681497.642199@lindm.dm> michael angelo ruberto writes: > i had tried something similar already without success. here is the error > your script caused: > ... > Error Type: TypeError > Error Value: unsubscriptable object > > for some reason Zope just doesn't want to compare ZopeTime with > bobobase_modification_time. "bobobase_modification_time" is a method (at least for folder), not a value. Use "_['bobobase_modification_time']" instead. Dieter From dieter@handshake.de Sat Oct 14 21:50:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 22:50:33 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <15263697@toto.iv> Message-ID: <14824.50658.712135.693406@lindm.dm> Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From dieter@handshake.de Sat Oct 14 22:14:32 2000 From: dieter@handshake.de (Dieter Maurer) Date: Sat, 14 Oct 2000 23:14:32 +0200 (CEST) Subject: [Zope] dtml-tree does weird things In-Reply-To: <37629070@toto.iv> Message-ID: <14824.52117.989069.735915@lindm.dm> Matt writes: > > > > > the folder folder_of_things contains numerous things, including some > documents and folders. The problem seems to be that each time I expand the > tree node, I get a repeat of the original list of nodes, as if it is > listing itself recursively, but not decending down the object hierachy. You have read the description for "branches_expr" carefully? It is the expression used by Zope to find the branches of the current object. In your case, the expression is independent from the current object. Therefore, it returns always the same branches (as you observe). Try: .... Dieter From matt.bion@eudoramail.com Sat Oct 14 23:56:14 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 11:56:14 +1300 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> Message-ID: <39E8E48E.17172D7B@eudoramail.com> I tried a few things and found the following useful : Property ids of are Kapil Thangavelu wrote: > Matt wrote: > > > > Can someone give me an example, either in dtml or external methods of > > accessing or listing the properties of the current object I am calling a > > method on. > > > > Or point me to a source > > > > Matt Bion > > you can ask an object what properties it has and retrieve them through > dtml, like > > > > or if you want a reference, instead of a string > > > > if you want to examine the propertys of an object you can go iterate > through its propertysheets (works for a zclass, the rest i'm not sure). > You can reference the Zope Quick Reference for more info. > > > > > > > > > > > > > > > > 'barfoo' in PropList or > 'guesswho' in PropList"> > > Success > > > > Kapil From erik@pacific-shores.com Sat Oct 14 23:59:29 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 15:59:29 -0700 Subject: [Zope] trouble compiling DCOracle Message-ID: I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am using the latest DCOracle 1.3.2 and python 1.5.2. I used the included Setup-8.1.5 file with the addition of one library to the *ORACLE_Includes* list: -I$(ORACLE_HOME)/rdbms/public The output from *make* had a number of errors, but compiled the shared objects: gcc -fPIC -I/oradisk01/app/oracle/product/8.1.6/rdbms/demo -I/oradisk01/app/oracle/product/8.1.6/rdbms/public -I/oradisk01/app/oracle/product/8.1.6/network/public -I/oradisk01/app/oracle/product/8.1.6/plsql/public -DDCORACLE8 -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./oci_.c In file included from ./oci_.c:566: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static ./oci_.c: In function `_wrap_odescr': ./oci_.c:2599: warning: assignment from incompatible pointer type gcc -shared oci_.o -L/oradisk01/app/oracle/product/8.1.6/lib/ -L/oradisk01/app/oracle/product/8.1.6/rdbms/lib /oradisk01/app/oracle/product/8.1.6/rdbms/lib/defopt.o -o oci_.so gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./Buffer.c In file included from ./Buffer.c:60: Buffer.h:79: warning: static declaration for `PyImport_Import' follows non-static gcc -shared Buffer.o -o Buffer.so Testing the created shared object files went something like this: [sweetrig@shamalama src]# python DCOracle_test.py Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: libclntsh.so.8.0: cannot open shared object file: No such file or directory I have tried a number of setup files that were on this list for Oracle 8.1.6 and all have produced errors. Any help appreciated. -- Erik Myllymaki erik@pacific-shores.com From cba@mediaone.net Sun Oct 15 01:38:01 2000 From: cba@mediaone.net (Craig Allen) Date: Sat, 14 Oct 2000 20:38:01 -0400 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8E48E.17172D7B@eudoramail.com> Message-ID: <39E8FC69.AFEEDA2D@mediaone.net> Matt wrote: > > I tried a few things and found the following useful : > > Property ids of are > And of you want to actually see property values, you could try which generates id/property tuples. Craig -- Craig Allen - Managing Partner - Mutual Alchemy Web Architecture - http://alchemy.nu From kthangavelu@earthlink.net Sat Oct 14 21:50:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sat, 14 Oct 2000 13:50:29 -0700 Subject: [Zope] object properties References: <39E8049B.512E5DCF@eudoramail.com> <39E855E1.7C72FBCE@earthlink.net> <39E8C57C.6C3277E9@eudoramail.com> Message-ID: <39E8C715.4BCEC766@earthlink.net> Matt wrote: > > Thanks for your response. I tried your methods on a normal folder that > contains some other folders, dtmldocuments, and images, but it failed on the > which followed the "propertysheets.items()">. i made a simple error. this code is tested and works properly (i had set PropList to a string instead of a list) This will show all the properties of an object (zclass, folders, documents, etc). > If I used instead, then I always got back only > two strings, "default" and "webdav". these are the names of the propertysheets of the folder. > So I guess it is picking something else > up. Any ideas? Perhaps I should be using ZClasses, but I just wanted to > have what I thought would be the simple ability to loop through properties of > an object without knowing what they were before. you mentioned above that you tried this in a folder with a couple of other folders and images in it, if what you're trying to do is iterate over them than you're not looking for object properties but subobjects (attrs) which can be iterated through using also check out objectItems, objectValues. or using the ZDOM methods. regardless the http://www.zope.org/Members/ZQR is always your friend. Cheers Kapil From ergul@ccs.neu.edu Sun Oct 15 03:30:16 2000 From: ergul@ccs.neu.edu (Ayhan Ergul) Date: Sat, 14 Oct 2000 22:30:16 -0400 (EDT) Subject: [Zope] trouble compiling DCOracle Message-ID: > The output from *make* had a number of errors, but compiled the shared > objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath and move on. > Testing the created shared object files went something like this: > > [sweetrig@shamalama src]# python DCOracle_test.py > Traceback (innermost last): > File "DCOracle_test.py", line 1, in ? > import Buffer, oci_, sys > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > file or directory Make sure your ORACLE_HOME environment var is properly set before running the test script. You'll probably want to put it in your zope start script too. Ayhan Ergul From knight@righteous.net Sun Oct 15 05:14:40 2000 From: knight@righteous.net (knight) Date: Sat, 14 Oct 2000 21:14:40 -0700 (PDT) Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) In-Reply-To: Message-ID: May I ask what the relevance this post was to the list? Regards, Knight knight@phunc.com On Sat, 14 Oct 2000, Darin Lee wrote: > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From matt.bion@eudoramail.com Sun Oct 15 05:57:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Sun, 15 Oct 2000 17:57:46 +1300 Subject: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th) References: Message-ID: <39E93949.94788D11@eudoramail.com> Just be lucky he only gets the digest ... it looks like an automated reply to me. While I am here, thanks for the replies to my questions, they were very helpful. knight wrote: > May I ask what the relevance this post was to the list? > > Regards, > > Knight > knight@phunc.com > > On Sat, 14 Oct 2000, Darin Lee wrote: > > > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > _______________________________________________ > 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 ) From erik@pacific-shores.com Sun Oct 15 06:29:53 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Sat, 14 Oct 2000 22:29:53 -0700 Subject: [Zope] re: trouble compiling DCOracle Message-ID: --- In zope@egroups.com, Ayhan Ergul wrote: > > The output from *make* had a number of errors, but compiled the shared > > objects: > > Warnings from C compilers are always part of the fun! They say something > can potentially be/go wrong, but not necessarily so. Take a deep breath > and move on. > > > Testing the created shared object files went something like this: > > > > [sweetrig@shamalama src]# python DCOracle_test.py > > Traceback (innermost last): > > File "DCOracle_test.py", line 1, in ? > > import Buffer, oci_, sys > > ImportError: libclntsh.so.8.0: cannot open shared object file: No such > > file or directory > > > Make sure your ORACLE_HOME environment var is properly set before running > the test script. You'll probably want to put it in your zope start script > too. > > > Ayhan Ergul So I tried a different Setup script that I got from a post on the zopesite: ######## START SETUP Script ########## *shared* # Setup file for Oracle 8.1.6 (Tested for Linux on Intel). # # Unfortunately, the libraries needed to link Oracle change from revision # to revision. # # Oracle provides a make file for building "demo" programs in # $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. I have been unable to # use this make file to build Python extensions. Adapting it is # not adequate, because it may change for new Oracle revs. # My approach is to use demo_rdbms.mk to build one of the # demo programs, look at the libraries linked, and start from there. :-( # ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public ORACLE_L=-lJNLSLib3 -lgslsg8 -lnsslb8 -lserver8 -lJNLSTool -lgslssb8 -lntcp8 \ -lsgsl_s8 -lagent8 -lgslssf8 -lntcps8 -lskgxp8 -lgx8 -lntns8 \ -lskgxpd -lnus8 -lslax8 -lclient8 -lldapclnt8 -lnzjs8 \ -lslpm -lclntsh -lmm -locijdbc8 -lsql8 -lcommon8 -ln8 -locijdbc8_g \ -lsqlplus -lcore8 -lnbeq8 -lordim8 -lsvrmgrl -lnent8 -lordim8 \ -ltrace8 -lctx8 -lnhost8 -lordsdo8 -ltracefe8 -lctxc8 -lnjni8 -lordts8 \ -ltracept8 -lctxs8 -lordvirt8 -ldbicx8 -lnl8 -lowm2 \ -lvppdc -lgeneric8 -lnldap8 -lplc8 -lvsn8 -lgslavl8 -lnls8 -lplp8 \ -lwtc8 -lgslber_s8 -lnoname8 -lpls8 -lzx8 -lgsldb8 -lnro8 -lpsa8 -lgslr8 \ -lnsgr8 -lqsmashr ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L) $(ORACLE_L) oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8 Buffer Buffer.c ######## END of SETUP Script ########## This time the error is a little different: Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError: ./oci_.so: undefined symbol: kpumfs I tried the trick in the README - got a list of all symbols in the Oracle libs and it turns out kpumfs is in four, all of which are included in the setup file: % grep kpumfs /var/tmp/oracle.symbols libclient8.a[kpum.o]: kpumfs T 00000140 libclntsh.so: kpumfs T 0018eb10 libclntsh.so.8.0: kpumfs T 0018eb10 libvppdc.so: kpumfs T 000e2a40 I'm at a bit of a loose end here... Thanks again, Erik Myllymaki From Alexander Chelnokov Sun Oct 15 19:20:45 2000 From: Alexander Chelnokov (Alexander Chelnokov) Date: Mon, 16 Oct 2000 00:20:45 +0600 Subject: [Zope] List from another list in DTML? In-Reply-To: <0720.001015@inbox.ru> References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> Message-ID: <13413660806.20001016002045@orto.unets.ru> Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which contains only data fields? Is it possible with DTML only? -- Best regards, Alexander N. Chelnokov Ural Scientific Institute of Traumatology and Orthopaedics 7, Bankovsky str. Ekaterinburg 620014 Russia ICQ: 25640913 From leedm@state.mi.us Sun Oct 15 20:09:51 2000 From: leedm@state.mi.us (Darin Lee) Date: Sun, 15 Oct 2000 15:09:51 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1017 - 17 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Noah@noah.org Sun Oct 15 20:23:06 2000 From: Noah@noah.org (Noah) Date: Sun, 15 Oct 2000 12:23:06 -0700 Subject: [Zope] ZClass derrived from Image does not call "view" from within Message-ID: <009401c036dd$58de4d50$e21ac73f@wingw> Hi, I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work similar to an Image, but the user can insert it directly in DTML using and it will get expanded into HTML (with formatting, tag, caption, etc.) This may be long and complicated, but I thought that #4 below was interesting because it demonstrates how to get at base class methods even if you have overridden them. OK, here's the situation: 1. I created a ZClass derived from Image. 2. I overloaded the index_html to add spit out some HTML instead of the image. 3. If I call an instance of the ZClass directly I get the expected results. The index_html is called and I get back some HTML. Here: http://63.199.26.229:8080/c/gato 4. To get to the image I created an External Method that calls the index_html method of the my base class (Image): # I create an External Method called IMG that calls this Python method: def super_index_html (self): for classy in self.__class__.__bases__: if classy.__name__ == 'Image': return classy.index_html (self, self.REQUEST,\ self.REQUEST.RESPONSE) Example: http://63.199.26.229:8080/c/gato/IMG So far, so good! Now all I want to do is insert my ZClass in some DTML. Here's what happens: 1. I try to insert in instance of my ZClass into a DTML Method using: 2. The Publisher does not call the view method (index_html) of the object! Instead it calls str() which is __str__ in Image and that calls Image.tag(). I can't overload __str__ because Zope does not allow a method to start with _ underscore. I ran this in the debugger, Publish.publish() (line 173) has this code: if result is not response: response.setBody(result) This is where the trouble begins. setBody() calls str() function on the object. How do I insert my ZClass into DTML now? Yours, Noah From matt.bion@eudoramail.com Mon Oct 16 01:18:47 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 13:18:47 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime Message-ID: <39EA4967.222C1D43@eudoramail.com> I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt "paris" is the ID of an image I uploaded into a node inherited when I action this dtml document, so there are no key errors or similar. The result in the email I get is : Feedback from : Matt Comments: Hello there, this is a sample email message for testing. Content-Type: multipart/mixed; boundary="127.0.0.1.500.953.971655250.628.16056" --127.0.0.1.500.953.971655250.628.16056 Content-Type: image/jpeg Content-Transfer-Encoding: 7bit paris --127.0.0.1.500.953.971655250.628.16056-- I understand that the dtml-mime tag is modifying the action of dtml-var that follows it, but what I want is the actual text coded binary to be dumped and not a source tag ... i.e. it's an email, not a webpage. I thought of embedding that in an external method that returns the text coded binary w.r.t the encoding type placed in the attributes, but was wondering if there was a method like this already available, and maybe not just image centric. Matt Bion From p@state-of-mind.de Mon Oct 16 01:59:43 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Mon, 16 Oct 2000 02:59:43 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: Hi, I've been through the Guides, How-Tos and also some of the list-archives. Though I am not a programmer I finally decided to ask that question to all of you... I want to give Users the possibility to add documents in a folder ;-). so far so good ... Then I want to control the IDs simply by assigning an ID to their Form. I found a few articles generating either randomIDs or calculating IDs from ZopeTime(). What is it that I want to do? I want to evaluate the highest ID (all are 'int') within the folder and assign the next highest. I'm sure this is easy to you... If there's a RTFM-document I'd be glad to read that. thanks, p@rick From jensebaer@hotmail.com Mon Oct 16 03:00:13 2000 From: jensebaer@hotmail.com (jensebaer) Date: Mon, 16 Oct 2000 04:00:13 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: Hi, it is not tested but may it works = newid"> Your new id is: may you have to use _.string.atoi(id) instead _.int(id) Viel Glück Jens ----- Original Message ----- From: "Patrick Koetter" To: Sent: Monday, October 16, 2000 2:59 AM Subject: [Zope] NEWBIE: assign next free ID automatically > Hi, > > I've been through the Guides, How-Tos and also some of the list-archives. > Though I am not a programmer I finally decided to ask that question to all > of you... > > I want to give Users the possibility to add documents in a folder > ;-). > so far so good ... Then I want to control the IDs simply by assigning an ID > to their Form. > I found a few articles generating either randomIDs or calculating IDs from > ZopeTime(). > > What is it that I want to do? > I want to evaluate the highest ID (all are 'int') within the folder and > assign the next highest. > I'm sure this is easy to you... > > If there's a RTFM-document I'd be glad to read that. > > thanks, > > p@rick > > > _______________________________________________ > 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 ) > > From kthangavelu@earthlink.net Mon Oct 16 02:35:05 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:35:05 -0700 Subject: [Zope] List from another list in DTML? References: <721116375.20001015165509@orto.unets.ru> <0720.001015@inbox.ru> <13413660806.20001016002045@orto.unets.ru> Message-ID: <39EA5B49.11EBEEB6@earthlink.net> Alexander Chelnokov wrote: > > Hello All, > > A form contains data items ['firstname','secondname','dofb' etc] > and some "service" fields ['submit','sid','form','nform']. > With REQUEST.form.items() all these fields are included in a single > list. How can another list be created from the list which contains > only data fields? Is it possible with DTML only? form is an instance of the python cgi FieldStorage the docs included with your python distro will give you more info. try (untested) REQUEST.form.values() > -- > Best regards, > Alexander N. Chelnokov > Ural Scientific Institute of Traumatology and Orthopaedics > 7, Bankovsky str. Ekaterinburg 620014 Russia > ICQ: 25640913 > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Mon Oct 16 02:46:03 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 18:46:03 -0700 Subject: [Zope] NEWBIE: assign next free ID automatically References: Message-ID: <39EA5DDB.7231C9A2@earthlink.net> ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a dtml-let doc_id=sequence-item to evaluate in pythonish "" dtml although the code below makes it obvious it should also be stated that ids are strings. one caveat, i wouldn't count on the id naming sequence to nesc reflect the order of the items, as an item maybe deleted etc and have new ones created which replace them. if you've not going to be deleting items, another possibility is another caveat, in a heavily hit site you're going to be generating id errors(both methods) because one thread will commit a new doc while the other tries a moment later to commit with the same id. hence the reason why i would just use a random int like kapil jensebaer wrote: > > Hi, > > it is not tested but may it works > > > = newid"> > > > > > Your new id is: > > may you have to use _.string.atoi(id) instead _.int(id) > > Viel Glück > > Jens > > ----- Original Message ----- > From: "Patrick Koetter" > To: > Sent: Monday, October 16, 2000 2:59 AM > Subject: [Zope] NEWBIE: assign next free ID automatically > > > Hi, > > > > I've been through the Guides, How-Tos and also some of the list-archives. > > Though I am not a programmer I finally decided to ask that question to all > > of you... > > > > I want to give Users the possibility to add documents in a folder > > ;-). > > so far so good ... Then I want to control the IDs simply by assigning an > ID > > to their Form. > > I found a few articles generating either randomIDs or calculating IDs from > > ZopeTime(). > > > > What is it that I want to do? > > I want to evaluate the highest ID (all are 'int') within the folder and > > assign the next highest. > > I'm sure this is easy to you... > > > > If there's a RTFM-document I'd be glad to read that. > > > > thanks, > > > > p@rick > > > > > > _______________________________________________ > > 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 ) From anthony@interlink.com.au Mon Oct 16 18:11:21 2000 From: anthony@interlink.com.au (Anthony Baxter) Date: Mon, 16 Oct 2000 17:11:21 +0000 Subject: [Zope] bunch patches for zopeshell uploaded to sourceforge... Message-ID: <200010161711.EAA02996@mbuna.arbhome.com.au> FWIW, I just posted a series of patches for ZopeShell, and a few other bits, that add: editing of PythonMethods and Z SQL Methods (also enables ZSQL through FTP) Add host:port to the prompt Add a 'login' command to switch to a different Zope Server Don't upload the file if the temp file's mtime hasn't changed. Prompt for username and password if not given. see the patch tracker at http://sourceforge.net/projects/zopeshell/ They're patches 101923 - 101927 in the patch tracker. I'll copy the relevant Zope patches into the Collector... Anthony From kthangavelu@earthlink.net Mon Oct 16 03:08:08 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:08:08 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA6308.46157D09@earthlink.net> Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. i don't have much experience with the mime-tags but, if you're problem seems to be that you want the binary data of the image. when the dtml tag renders its just dropping a string link to the Image. what you want here is (i think) the binary data that represents the image. hmmm... looking through the source of Image.py i don't see a web accessible manner to get this info:( another option is to set the mime on the email to text/html and send the image as a link. Kapil From kthangavelu@earthlink.net Mon Oct 16 03:09:31 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Sun, 15 Oct 2000 19:09:31 -0700 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> Message-ID: <39EA635B.9807E529@earthlink.net> spoke to soon.. replace with Kapil Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > action this dtml document, so there are no key errors or similar. > > The result in the email I get is : > > Feedback from : Matt Comments: > Hello there, this is a sample email message for testing. > > Content-Type: multipart/mixed; > boundary="127.0.0.1.500.953.971655250.628.16056" > > --127.0.0.1.500.953.971655250.628.16056 > Content-Type: image/jpeg > Content-Transfer-Encoding: 7bit > > paris height="630" width="472" border="0"> > > --127.0.0.1.500.953.971655250.628.16056-- > > I understand that the dtml-mime tag is modifying the action of dtml-var > that follows it, but what I want is the actual text coded binary to be > dumped and not a source tag ... i.e. it's an email, not a webpage. > > I thought of embedding that in an external method that returns the text > coded binary w.r.t the encoding type placed in the attributes, but was > wondering if there was a method like this already available, and maybe > not just image centric. > > Matt Bion > > _______________________________________________ > 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 ) From matt.bion@eudoramail.com Mon Oct 16 09:05:46 2000 From: matt.bion@eudoramail.com (Matt) Date: Mon, 16 Oct 2000 21:05:46 +1300 Subject: [Zope] image attachments in dtml-sendmail and dtml-mime References: <39EA4967.222C1D43@eudoramail.com> <39EA635B.9807E529@earthlink.net> Message-ID: <39EAB6DA.C11E0E56@eudoramail.com> Thanks Kapil, that works brilliantly, I didn't see a 'data' member in the quick reference and certainly didn't see a data() method which I was expecting. I guess I should be looking at the source. The following is what I ended up with To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Giving the mime tag a name and setting encoding to base64 made it a nicer experience at the other end. thanks Matt Bion Kapil Thangavelu wrote: > spoke to soon.. > > replace > with > > Kapil > > Matt wrote: > > > > I have benn having a problem with attaching images to a dtml-sendmail. > > The following is my dtml code : > > > > > > To: Feedback Recipient > > From: Zope Feedback Form > > Subject: Feedback from the web > > > > Feedback from : Matt > > > > > > > > > > > > > > "paris" is the ID of an image I uploaded into a node inherited when I > > action this dtml document, so there are no key errors or similar. > > > > The result in the email I get is : > > > > Feedback from : Matt Comments: > > Hello there, this is a sample email message for testing. > > > > Content-Type: multipart/mixed; > > boundary="127.0.0.1.500.953.971655250.628.16056" > > > > --127.0.0.1.500.953.971655250.628.16056 > > Content-Type: image/jpeg > > Content-Transfer-Encoding: 7bit > > > > paris > height="630" width="472" border="0"> > > > > --127.0.0.1.500.953.971655250.628.16056-- > > > > I understand that the dtml-mime tag is modifying the action of dtml-var > > that follows it, but what I want is the actual text coded binary to be > > dumped and not a source tag ... i.e. it's an email, not a webpage. > > > > I thought of embedding that in an external method that returns the text > > coded binary w.r.t the encoding type placed in the attributes, but was > > wondering if there was a method like this already available, and maybe > > not just image centric. > > > > Matt Bion > > > > _______________________________________________ > > 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 ) From brabander@fsw.LeidenUniv.nl Mon Oct 16 09:07:59 2000 From: brabander@fsw.LeidenUniv.nl (Cornelis J. de Brabander) Date: Mon, 16 Oct 2000 10:07:59 +0200 Subject: [Zope] backing up In-Reply-To: <00101417011207.01314@localhost.localdomain> Message-ID: <01JVEGCR0TW2C8V7Z1@FSW.LEIDENUNIV.NL> You can export specific folders and save the resulting file either to the server or to your local machine (in the management interface view the content of a folder, choose the import/export tab and click export) cb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of matt > Sent: zaterdag 14 oktober 2000 5:59 > To: zope@zope.org > Subject: [Zope] backing up > > > Is there a nice way to backup dtml documents and methods from a > certain point > in the object tree onwards without having to save all the other > objects too? > > regards > Matt > > > _______________________________________________ > 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 ) > > From stefan@epy.co.at Mon Oct 16 09:40:17 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 16 Oct 2000 10:40:17 +0200 (CEST) Subject: [Zope] ZClass derrived from Image does not call "view" from within In-Reply-To: <009401c036dd$58de4d50$e21ac73f@wingw> Message-ID: On Sun, 15 Oct 2000, Noah wrote: > I'm a Zope beginner. I'm trying to create an ImageTemplate ZClass. This will work > similar to an Image, but the user can insert it directly in DTML using > and it will get expanded into HTML (with formatting, tag, caption, etc.) FWIW the Image object does exactly that already. > 2. The Publisher does not call the view method (index_html) of the object! > Instead it calls str() which is __str__ in Image and that calls Image.tag(). > I can't overload __str__ because Zope does not allow a method to start > with _ underscore. This is the way it works! For creating ZClasses that render on __str__ see http://www.zope.org/Members/lalo/Renderable-ZClass HTH Stefan From soren@roug.org Mon Oct 16 10:39:39 2000 From: soren@roug.org (Soren Roug) Date: Mon, 16 Oct 2000 11:39:39 +0200 Subject: [Zope] I want to use html_quote as a function Message-ID: <39EACCDB.403786A7@roug.org> Hi, I can render text that potentially has html in it safely with but what if I want to assign the quoted result to another variable. I tried It didn't work. How do I solve this problem? Sincerely yours, Soren Roug From chrisw@nipltd.com Mon Oct 16 10:57:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 16 Oct 2000 10:57:23 +0100 Subject: [Zope] Distribution Tab References: Message-ID: <39EAD103.E12F18DA@nipltd.com> Seb Bacon wrote: > > In the Zope PTK there are a couple of products that have been packaged as > product.dats. > What format are these? How do I do it? If you go into any of your TTW products in the Control Panel, you'll see a 'Distribution' management tab. That'll let you create your own distributions... cheers, Chris From richard@dcs.co.uk Mon Oct 16 10:47:32 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 10:47:32 +0100 Subject: [Zope] MySQL and Zope struggles Message-ID: <4.3.2.7.2.20001016103331.023a3370@195.60.12.162> I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk From administrator@consotec.de Mon Oct 16 12:10:54 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 16 Oct 00 11:10:54 UT Subject: [Zope] MySQL and Zope struggles Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes =3D > where note_id =3D > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id =3D 23; > update note set notes =3D 'asdasda' where note-id =3D note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --------------1DD2510B41FE-- From jonathan@home-all.org.uk Mon Oct 16 14:08:17 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 14:08:17 +0100 Subject: [Zope] How to use the date fmt's Message-ID: <39EAFDC1.F1160B04@home-all.org.uk> Hi all, in the various docs it shows various fmt= to display different date types etc. It also shows some date formats that seem more like methods themselves, ie IsCurrentMonth returns true if etc. How can I use these in expressions? Jonathan From PHarris@jimbeam.co.uk Mon Oct 16 14:52:58 2000 From: PHarris@jimbeam.co.uk (Harris Peter) Date: Mon, 16 Oct 2000 14:52:58 +0100 Subject: [Zope] Manipulating acl_users with DTML methods Message-ID: <05BFCA312976D111B3B10060B06B14F286C2B3@UKDH-SV-0003> Hi I am new to this, and probably trying to do things the wrong way but: I have a PostgreSQL table of users for my Zope application, and ZSQL methods for inserting, updating and deleting users from the table. The only reason I am doing this is to associate their real name and email address with their user id. Is it possible to do some kind of dtml-call to insert, update or delete Zope users? I don't want the administrator of the application to have to maintain user information in 2 places. Also, is there some way for a user to change their own password, without them having permissions to manage other users? Peter Harris **************************************************************************** This message and any files transmitted with it are confidential. The contents may not be disclosed or used by anyone other than the addressee. If you have received this communication in error, please delete the message and notify JBB (Greater Europe) Plc immediately on 0141-249-6285. The views expressed in this email are not necessarily the views of JBB (Greater Europe) PLC. As it has been transmitted over a public network, JBB (Greater Europe) PLC makes no representation nor accepts any liability for the email's accuracy or completeness unless expressly stated to the contrary. Should you, as the intended recipient, suspect that the message has been intercepted or amended, please notify JBB (Greater Europe) Plc immediately on 0141-249-6285. **************************************************************************** From tony.mcdonald@ncl.ac.uk Mon Oct 16 15:08:43 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Mon, 16 Oct 2000 15:08:43 +0100 Subject: [Zope] How to use the date fmt's In-Reply-To: <39EAFDC1.F1160B04@home-all.org.uk> References: <39EAFDC1.F1160B04@home-all.org.uk> Message-ID: At 2:08 pm +0100 16/10/00, Jonathan Cheyne wrote: >Hi all, in the various docs it shows various fmt= to display different >date types etc. It also shows some date formats that seem more like >methods themselves, ie IsCurrentMonth returns true if etc. > try this http://www.zope.org/Members/AlexR/CustomDateFormats tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From jonathan@home-all.org.uk Mon Oct 16 15:39:07 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 16 Oct 2000 15:39:07 +0100 Subject: [Zope] Need help with date comparisons Message-ID: <39EB130B.E72DC80A@home-all.org.uk> Hi all again. I have a blank in my mind where I hoped the answer might be to this probably straightforward exercise. I have a zclass containing a date property called event_date. I want a page that loops through the months of the year, starting with the current month, and in each loop displays all the instances from the catalog with an event_date within the month in question. I just get stuck, completely stuck, trying to get the month value from the event_date and to compare it with the current month value. Anyone done this or something like this? Is this hard or am I a bit, you know, dense? thanks Jonathan From jatwood@bwanazulia.com Mon Oct 16 16:33:09 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 11:33:09 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com Message-ID: http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope &number=10&DaysPrune=60&LastLogin= I found this awhile ago and it has been pretty inactive (until last week when I started posting.. :) ). It would be great to see some of the list subscribers here and other members of the Zope community get involved. It is something that I think is much needed on Zope.org (A bulletin board system... I am SURE that I could suggest one!) as it helps Newbies and provides a more solid, long lasting and manageable discussion. Maybe something for ZDP if not for Zope.org. Comments? Suggestions? Thanks, J From 444@hiretechs.com Mon Oct 16 07:34:21 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:34:21 GMT Subject: [Zope] Need help with date comparisons In-Reply-To: <39EB130B.E72DC80A@home-all.org.uk> References: <39EB130B.E72DC80A@home-all.org.uk> Message-ID: <20001016063421.13022.qmail@mail.hiretechs.com> Jonathan: You can try: The source for DateTime() is pretty easy to follow. You can look for you format's there. All my best, > Hi all again. > > I have a blank in my mind where I hoped the answer might be to this > probably straightforward exercise. > > I have a zclass containing a date property called event_date. > > I want a page that loops through the months of the year, starting with > the current month, and in each loop displays all the instances from the > catalog with an event_date within the month in question. > > I just get stuck, completely stuck, trying to get the month value from > the event_date and to compare it with the current month value. > > Anyone done this or something like this? Is this hard or am I a bit, you > know, dense? > > thanks > > Jonathan > > > > > _______________________________________________ > 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 ) > 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. From ecolmar@uswest.net Mon Oct 16 16:49:10 2000 From: ecolmar@uswest.net (ed colmar) Date: Mon, 16 Oct 2000 09:49:10 -0600 Subject: [Zope] LoginManager - With SQL Message-ID: <002501c03788$a0d57ec0$0400000a@caliber> Thanks for the tips everyone! I keep going between UserDb and LoginManager to try to get this to work. UserDb gives me weird errors, and isn't really current, so I'm focusing on LM. I feel like I'm getting closer to a solution, but I'm still having difficuties... I followed jPenny's how to regarding accessing SQL method variables from within python, and wrapped the retrieveItem result in a User Class. It seems like it is at least running my code now, but no authentication... Am I close? Can Anyone working with LoginManager offer any insight into this? Thanks! -e- Here's the code I have in UserSources.py class User(BasicUser): """ A wrapper for the basic user class """ icon='misc_/UserDb/User_icon' def __init__(self, name, password, roles, domains): self.name =name self.__ =password self.roles =filter(None, map(strip, split(roles, ','))) self.domains=filter(None, map(strip, split(domains, ','))) def getUserName(self): return self.name def _getPassword(self): return self.__ def getRoles(self): return self.roles def getDomains(self): return self.domains class PGCryptUserSource(BasicUserSource): """ A sql based encrypted user source """ meta_type="PG Crypt User Source" __plugin_kind__="User Source" def retrieveItem(self, name): try: res=self.getuserbyusername(username=name) except: return None fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] username=res[0][fields2index['username']] password=res[0][fields2index['password']] roles=res[0][fields2index['roles']] domains=res[0][fields2index['domains']] return User(username, password, roles, domains) def rolesForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] roles=res[0][fields2index['roles']] return roles def domainsForUser(self, user): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] domains=res[0][fields2index['domains']] return domains def authenticateUser(self, user, password, request): name = user.getUserName() res = self.getuserbyusername(username=name) fields2index={} fieldnames=res._schema.items() for i in range(len(fieldnames)): fields2index[fieldnames[i][0]]=fieldnames[i][1] passwd=res[0][fields2index['password']] if crypt.crypt(password,'ab')==passwd: return 1 else: return 0 Here's one of the tracebacks that I get: Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 108, in validate (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/LoginMethods.py, line 235, in findLogin (Object: PlugInBase) File /usr/local/zope/lib/python/Products/LoginManager/LoginManager.py, line 65, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/ZPatterns/Rack.py, line 60, in getItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 522, in retrieveItem (Object: ProviderContainer) File /usr/local/zope/lib/python/Products/LoginManager/UserSources.py, line 485, in __init__ TypeError: (see above) From 444@hiretechs.com Mon Oct 16 07:50:02 2000 From: 444@hiretechs.com (Jason Spisak) Date: Mon, 16 Oct 2000 06:50:02 GMT Subject: [Zope] Creating Recursive Folders In-Reply-To: <14824.51816.369709.647151@lindm.dm> References: <14824.51816.369709.647151@lindm.dm> Message-ID: <20001016065002.13406.qmail@mail.hiretechs.com> Dieter: Perhaps you misunderstood me. THis is an example of how convuluted DTML can get, but if you have an example of how to do it clearly, I'd love to see it. > Jason Spisak writes: > > > > > 1).manage_addFolder(_.str(_['sequence-item']), > > _.str(_['sequence-item']))"> > > Throws an unathorized no matter who I am. How can I get 3 levels of > > recursion. I tried using 'let' to stand for the object, with no luck. > That's the just penalty for writing weird code ;-) > Actually, that's the penalty for using DTML. There's a difference. > When you would introduce names for destination folder > and id, you could use the same pattern for *all* levels. I don't understand what you are getting at here. > You and other persons would understand what you do > and you would not accidentally use the attribute "_". > I personally, don't like using the "_" attribute at all. But in situation like this, I don't see another way. Please enlighten me. Jason Spisak 444@hiretechs.com From Marcin.Kasperski@softax.com.pl Mon Oct 16 17:00:21 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Mon, 16 Oct 2000 18:00:21 +0200 Subject: [Zope] Using ProxyPass and SiteRoot References: <14822.16511.306738.502938@localhost.localdomain> Message-ID: <39EB2615.CCADC175@softax.com.pl> "\"Geoffrey L. Wright\" > > knight writes: > > > Timothy, > > > > Without going into too much detail, you are going to want to set up a > > virtual host in apache for the hostname www.isd197.k12.mn.us, and inside > > that virtual host you will want to add your ProxyPass lines similar to my > > example: > > [...] > > And just for reference, here's another working example with ProxyPass: > > NameVirtualHost 172.17.10.13 > > > ServerName syslog.integritysi.com > ServerAdmin geoff@integritysi.com > ProxyPass / http://vishnu.integritysi.com:8080/syslog/ > ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/ > ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_ > ProxyPass /p_ http://vishnu.integritysi.com:8080/p_ > ErrorLog logs/syslog.integritysi.com > TransferLog logs/syslog.integritysi.com > > > Good luck, and don't forget to enable the ProxyPass module. > Some remarks: 1) If you use custom product which contain images, it is useful to add sth like ProxyPass /Control_Panel/Products/Mycustomproduct http://localhost:9673/Control_Panel/Products/Mycustomproduct (otherwise you will not see the images which belong to the product - in my case I couldn't see the product icons on management screens). Reverse pass for this purpose is not needed. 2) ZCatalog does not work with SiteRoot. Smaller problem: the URLs returned are incorrect (you can parse them with dtml). Greater problem: attempt to find new items fails (the only solution I found is to remove SiteRoot, find/update ZCatalog, add SiteRoot again). 3) You loose original IP address (you can use mod_proxy_add_forward custom Apache module to preserve it in the custom X-Forwarded-For header, so far I have not managed to recover original addresses in zope log and for logging verification). -- http://www.mk.w.pl / Marcin.Kasperski | Poradnik dla kupuj±cych mieszkanie: @softax.com.pl | http://www.kupmieszkanie.prv.pl @bigfoot.com \ From rdolense@globalcrossing.com Mon Oct 16 17:01:18 2000 From: rdolense@globalcrossing.com (Ryan M. Dolensek) Date: Mon, 16 Oct 2000 11:01:18 -0500 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> Message-ID: <39EB264E.5F1CFE62@globalcrossing.com> try... ryan Soren Roug wrote: > Hi, > > I can render text that potentially has html in it safely with > > > > but what if I want to assign the quoted result to another variable. > > I tried > > > > It didn't work. How do I solve this problem? > > Sincerely yours, > > Soren Roug > > _______________________________________________ > 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 ) -- Ryan Dolensek Software Engineer Global Crossing (920)405-4812 rdolense@globalcrossing.com From fred@ontosys.com Mon Oct 16 17:06:53 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 11:06:53 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <20001016110653.A4476@enteract.com> I want to include some Flash/SWF objects in a Zope website, but I don't see any built-in way to do this or any Product that would help. Any suggestions? If all else fails, I'm thinking about creating a simple product for this, modeled on ImageFile.py. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From Eric@Walstads.net Mon Oct 16 16:49:51 2000 From: Eric@Walstads.net (Eric Walstad) Date: Mon, 16 Oct 2000 08:49:51 -0700 Subject: [Zope] HELP! Permissions problem, ZClass Message-ID: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new instance of the ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't helping. Any pointers? Thanks, Eric. Here's the traceback: Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access CNewsItem. Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: buildNews) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: buildNews) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: buildNews) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: manage_addProduct['NewsItem']) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: CNewsItem_add(_.None, _, NoRedir=1)) (Info: _) File , line 0, in ? File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: CNewsItem_add) File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: CNewsItem.createInObjectManager(REQUEST['id'], REQUEST)) (Info: CNewsItem) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: buildNews) File /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate Unauthorized: (see above) From Robert_J_Roberts@rl.gov Mon Oct 16 17:27:48 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 16 Oct 2000 09:27:48 -0700 Subject: [Zope] Help Debugging External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> I do pretty much the same things myself. I assign sys.stderr = sys.stdout, then I create my own log file object from a module I wrote a few years ago, and then assign something like sys.stderr = self.logObj. That works well for any errors that occur after those assignments have occurred but doesn't do much for anything that happens earlier. I also run the python code outside of Zope to get it all working. It's just a pain when I have to make some minor change in the Zope to External Method logic and it breaks. That's where I start to lose it some in the debugging. Using something like: import sys, traceback, string try: trysomething() except: type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb ...helps, but even with that I seem to get errors that I just can't seem to catch and report properly. I'm not sure what you are referring to with "...the Python debugger "pdb"...". I've never used it. Thanks for your help, Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, October 14, 2000 1:51 PM To: Robert_J_Roberts@rl.gov Cc: zope@zope.org Subject: Re: [Zope] Help Debugging External Methods Robert_J_Roberts@rl.gov writes: > What are my options for debugging External Methods in Zope running on > Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the output (be sure to flush stdout after "print"). You can also use "zLog" (may be spelled differently!). This writes log entries into the log file. The advantages: will work under Windows, contains a timestamp. If the external method does not need too many Zope infrastructure, I test it outside of Zope and integrate only, when it works properly. When everything else does not work, I use "Test.py" and the Python debugger "pdb". Dieter From Morton@dennisinter.com Mon Oct 16 17:27:53 2000 From: Morton@dennisinter.com (Damien Morton) Date: Mon, 16 Oct 2000 12:27:53 -0400 Subject: [Zope] Microsoft Zope Message-ID: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/DesignKMS ols.htm Looks like MS has embraced the Zope way of doing things From jatwood@bwanazulia.com Mon Oct 16 18:05:34 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 13:05:34 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com> Message-ID: You could just upload them into Zope and point to them. http://www.gotschool.com (see flash demos). It uploads as a "application/octet-stream" I am sure you are talking about much more interaction. J > From: Fred Yankowski > Date: Mon, 16 Oct 2000 11:06:53 -0500 > To: zope@zope.org > Subject: [Zope] how to include Flash/SWF objects in Zope website? > > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. > > -- > Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > _______________________________________________ > 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 ) > > From dale.w.lance@mail.sprint.com Mon Oct 16 17:40:29 2000 From: dale.w.lance@mail.sprint.com (dale.w.lance@mail.sprint.com) Date: Mon, 16 Oct 2000 11:40:29 -0500 Subject: [Zope] MySQL and Zope struggles Message-ID: --openmail-part-2b1fc156-00000001 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline ;Creation-Date="Mon, 16 Oct 2000 11:40:29 -0500" Content-Transfer-Encoding: 7bit Or you could renormalize your data to have: --------- ----------- | Artist | | Note | |---------|-------|-----------| | id | | id | --------- | artist_id | | note_str | ----------- you now have a list of notes by artist_id. You typically won't have a screen that doesn't have an Artist context to be adding a note to. (or to remove all notes from). Of course this means more work to migrate :-( And I don't know all possible scenarios for which you would need the structure you gave, but it is another way around this. It probably doesn't solve real complex scenarios either. JAT Dale -----Original Message----- From: administrator [mailto:administrator@consotec.de] Sent: Monday, October 16, 2000 6:11 AM To: zope Cc: administrator Subject: Re: [Zope] MySQL and Zope struggles I don't know if the following link can solve your problem, but maybe it gives you an idea: http://www.zope.org/Members/Roug/new_record_with_subrecords (How-To: Creating a new record with subrecords in MySQL) Arno > I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL > (Why ? - because I've got a kind offer of free hosting if I use MySQL). > > MySQL offers a limited set of features and is missing, among other things, > the ability to use subqueries - so for example in PostgreSQL you can say > > update note set notes = > where note_id = > (select note_id from artist where ) > > and in MySQL you can't. > > If you were working in a traditional programming environment you could > overcome this by splitting the above into two parts - a select to retrieve > the value of note_id from the artist table followed by an update of the > note table using the returned value of note-id. > > For example > > select note-id into note-id-var from artist where artist-id = 23; > update note set notes = 'asdasda' where note-id = note-id-var; > > The problem is that in Zope I believe you can't use a returned value within > an SQL Method, so the above code would fail. The only way I can see to do > the above is to have two separate SQL Methods, one for the select, > returning the note-id-var and another for the update. This is very clumsy. > > I was wondering if anyone could tell me if there was a better way. > > Many thanks > > > Richard > > Richard Moon > richard@dcs.co.uk > > > > _______________________________________________ > 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 ) > > > To: zope@zope.org --openmail-part-2b1fc156-00000001-- From cvasco@netadvisors-ec.com Mon Oct 16 12:48:04 2000 From: cvasco@netadvisors-ec.com (Carlos Vasconez) Date: Mon, 16 Oct 2000 12:48:04 +0100 Subject: [Zope] Question! Message-ID: <001b01c03766$f3aa25a0$0b0a64be@orbiscorp> This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- ------=_NextPart_000_0018_01C0376F.5371AC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I am read about zope.
Question?
I can use Zope with NT Server, IIS 4 = and SQLServer=20 ?
I have a Database in = SQLServer
 
Thanks
 
Carlos
---------
------=_NextPart_000_0018_01C0376F.5371AC30-- From jwashin@vt.edu Mon Oct 16 19:10:03 2000 From: jwashin@vt.edu (Jim Washington) Date: Mon, 16 Oct 2000 14:10:03 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? References: Message-ID: <39EB447B.4060801@vt.edu> N.B. You probably should add your Flash/SWF objects as "File" objects. DTML Method/Document objects can do amusing things with binary data, which is why there are "File" objects. -- Jim Washington J. Atwood wrote: > You could just upload them into Zope and point to them. > > http://www.gotschool.com (see flash demos). > > It uploads as a "application/octet-stream" > > I am sure you are talking about much more interaction. > > J > From richard@dcs.co.uk Mon Oct 16 19:10:10 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 16 Oct 2000 19:10:10 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: Message-ID: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Nice idea. Trouble is the note table is used to hold notes for many different reasons, so it looks like this - ----------- ------------ -------- | Artist | | Recording | | Label | etc. ----------- ------------ -------- | artist_id | |recording_id| |label_id| | note_id | |note_id | |note_id | ----------- ------------ -------- | | | | | --------------------------------------------------------- | ---------- | Note | ---------- | note_id | | notes | ---------- It looks as if there wasn't anything I was missing - I'm just going to have to break the code up into separate SQL Methods. The example I gave was quite simple compared to some of the updates I have to deal with. Thanks anyway. At 17:40 16/10/00, you wrote: >Or you could renormalize your data to have: > > --------- ----------- >| Artist | | Note | >|---------|-------|-----------| >| id | | id | > --------- | artist_id | > | note_str | > ----------- > >you now have a list of notes by artist_id. >You typically won't have a screen that doesn't have an Artist context >to be adding a note to. (or to remove all notes from). >Of course this means more work to migrate :-( >And I don't know all possible scenarios for which you would >need the structure you gave, but it is another way around this. >It probably doesn't solve real complex scenarios either. > >JAT > >Dale Richard Moon richard@dcs.co.uk From troy.farrell@wilcom.com Mon Oct 16 20:04:30 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Mon, 16 Oct 2000 14:04:30 -0500 Subject: [Zope] Question! Message-ID: Yes you can. You will need ZODBC to connect to the SQLServer. Make sure that SQL server is available as a "System DSN" on it's host. You will also need a username and password to connect. Zope will ask you for this in the DSN string. Best of luck to you. Troy Troy Farrell Video Operations Technician III Williams VYVX Services 918.573.3029 918.573.1441 fax mailto:troy.farrell@wilcom.com http://www.williams.com -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 6:48 AM To: zope@zope.org Subject: [Zope] Question! Hi I am read about zope. Question? I can use Zope with NT Server, IIS 4 and SQLServer ? I have a Database in SQLServer Thanks Carlos --------- From mj@digicool.com Mon Oct 16 20:04:48 2000 From: mj@digicool.com (Martijn Pieters) Date: Mon, 16 Oct 2000 21:04:48 +0200 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016110653.A4476@enteract.com>; from fred@ontosys.com on Mon, Oct 16, 2000 at 11:06:53AM -0500 References: <20001016110653.A4476@enteract.com> Message-ID: <20001016210448.B12837@zopatista.com> On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote: > I want to include some Flash/SWF objects in a Zope website, but I > don't see any built-in way to do this or any Product that would help. > Any suggestions? > > If all else fails, I'm thinking about creating a simple product for > this, modeled on ImageFile.py. I once hacked together a simple 'Flash' object in a Python based Product. It was just a class derived from the File object, which behaved very much like the Image object. If called by DTML, it would return the appropriate HTML to include the Flash animation in the page, whcih could be customized with a special method very much like the '.image()' method on Image objects. Alas, the class was written for a previous employer, and never released as Open Source. But it was dead easy to create. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From fred@ontosys.com Mon Oct 16 20:21:02 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 16 Oct 2000 14:21:02 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <39EB447B.4060801@vt.edu> References: <39EB447B.4060801@vt.edu> Message-ID: <20001016142102.A17053@enteract.com> Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: + create File object with id "foo_swf". + upload my local foo.swf file into foo_swf. + create DTML Method object "foo_flash" to provide all the HTML OBJECT and EMBED elements needed to wrap the flash object, referring to that flash object as '' and 'src="foo_swf"', respectively. + use '' to display the flash object in a DTML Document. On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote: > N.B. You probably should add your Flash/SWF objects as "File" objects. > DTML Method/Document objects can do amusing things with binary data, > which is why there are "File" objects. > > -- Jim Washington > > J. Atwood wrote: > > > You could just upload them into Zope and point to them. > > > > http://www.gotschool.com (see flash demos). > > > > It uploads as a "application/octet-stream" > > > > I am sure you are talking about much more interaction. > > > > J -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From leedm@state.mi.us Mon Oct 16 20:25:55 2000 From: leedm@state.mi.us (Darin Lee) Date: Mon, 16 Oct 2000 15:25:55 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1018 - 39 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From Oliver Sturm" Hi, is there any information available about the general usability of ZEO? Mainly stability is interesting to me, feature completeness is not so important. MfG, Oliver Sturm -- Who is General Failure and why is he reading my disk? -- Oliver Sturm / Key ID: 71D86996 Fingerprint: 8085 5C52 60B8 EFBD DAD0 78B8 CE7F 38D7 71D8 6996 From peter@grenna.net Mon Oct 16 20:19:09 2000 From: peter@grenna.net (Peter Bengtsson) Date: Mon, 16 Oct 2000 20:19:09 +0100 Subject: [Zope] Zope Discussion Forum @ DevShed.com References: Message-ID: <007301c037a8$89a1a740$01d4a8c0@peppe> here here! I definitly agree! Forum's are much easier to categorize and browse for answers than the mailing list. Categorization should be per subject, not per experience. If Zope.org doesn't want to set one up, then let the best man win. (i.e. make it fast) > http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope > &number=10&DaysPrune=60&LastLogin= > > I found this awhile ago and it has been pretty inactive (until last week > when I started posting.. :) ). It would be great to see some of the list > subscribers here and other members of the Zope community get involved. It is > something that I think is much needed on Zope.org (A bulletin board > system... I am SURE that I could suggest one!) as it helps Newbies and > provides a more solid, long lasting and manageable discussion. > > Maybe something for ZDP if not for Zope.org. > > Comments? Suggestions? > > Thanks, > J > > > > > _______________________________________________ > 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 ) > From karl@digicool.com Mon Oct 16 21:18:50 2000 From: karl@digicool.com (Karl Anderson) Date: 16 Oct 2000 13:18:50 -0700 Subject: [Zope] Medusa Monitor In-Reply-To: Terry Kerr's message of "Fri, 13 Oct 2000 09:45:14 +1100" References: <39E63EFA.FE2BF947@adroit.net> Message-ID: Terry Kerr writes: > I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. > > terry Actually, the advantage of the monitor is that it runs in the same process as your server, so you can track resource issues. Mounting the database separately avoids this. -- Karl Anderson karl@digicool.com From bobc@p-wave.com Mon Oct 16 08:50:23 2000 From: bobc@p-wave.com (Bob Corriher) Date: Mon, 16 Oct 2000 03:50:23 -0400 Subject: [Zope] how to include Flash/SWF objects in Zope website? Message-ID: <39EAB33F.50AC6DFB@p-wave.com> Hi Fred, We use Flash in most of the sites we develop with Zope. We just upload the swf file into a File object and call it from the index_html method as follows: splashpage
The File object is named splaspage.swf, but the extension is not necessary. It could have been called splashpage or anything else. Hope this helps. Bob Corriher P-Wave Inc. From jatwood@bwanazulia.com Mon Oct 16 20:50:06 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Mon, 16 Oct 2000 15:50:06 -0400 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: <007301c037a8$89a1a740$01d4a8c0@peppe> Message-ID: I am more than happy to set up a ZUBB somewhere as well. A sort of Zope starter, question and/answer forum. Is this something that the community is generally interested in or not? J > From: "Peter Bengtsson" > Date: Mon, 16 Oct 2000 20:19:09 +0100 > To: "J. Atwood" > Cc: > Subject: Re: [Zope] Zope Discussion Forum @ DevShed.com > > here here! > > I definitly agree! Forum's are much easier to categorize and browse for > answers than the mailing list. > Categorization should be per subject, not per experience. > > If Zope.org doesn't want to set one up, then let the best man win. (i.e. make > it fast) > > > >> http://www.devshed.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=Zope >> &number=10&DaysPrune=60&LastLogin= >> >> I found this awhile ago and it has been pretty inactive (until last week >> when I started posting.. :) ). It would be great to see some of the list >> subscribers here and other members of the Zope community get involved. It is >> something that I think is much needed on Zope.org (A bulletin board >> system... I am SURE that I could suggest one!) as it helps Newbies and >> provides a more solid, long lasting and manageable discussion. >> >> Maybe something for ZDP if not for Zope.org. >> >> Comments? Suggestions? >> >> Thanks, >> J >> >> >> >> >> _______________________________________________ >> 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 ) >> > > From aschneider@cmpweb-dns0.web.cerf.net Mon Oct 16 21:40:28 2000 From: aschneider@cmpweb-dns0.web.cerf.net (aschneider) Date: Mon, 16 Oct 2000 13:40:28 -0700 (PDT) Subject: [Zope] About your ShareWare Message-ID: <200010162040.NAA07202@cmpweb-devel0.web.cerf.net> As a Shareware Author, you should be listing your files on FileMine... it's fast, easy and free! This Week's Most Popular file, Bugtoaster 1.0.00.2710 BETA, has been downloaded 17331 times! There's no reason this can't be your file - use the link below to add it now: http://www.filemine.com/AddYourFiles (This is a one time email and serves as a reminder only. You will not receive any further emails from us or anyone affiliated with us again.) From zope@grewen.de Tue Oct 17 01:28:47 2000 From: zope@grewen.de (Jens Grewen) Date: Tue, 17 Oct 2000 02:28:47 +0200 Subject: [Zope] test Message-ID: <001001c037d1$376607e0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_000D_01C037E1.FA3F5E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_000D_01C037E1.FA3F5E00-- From bak@nstp.com.my Tue Oct 17 03:02:26 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Tue, 17 Oct 2000 10:02:26 +0800 Subject: [Zope] Zope Discussion Forum @ DevShed.com In-Reply-To: References: Message-ID: <00101710022602.04363@tokey.kedai.com.my> On Tuesday 17 October 2000 09:57, J. Atwood wrote: > I am more than happy to set up a ZUBB somewhere as well. A sort of Zope > starter, question and/answer forum. Is this something that the community is > generally interested in or not? > > J > i would think that having a forum at Zope.org or zdp.org is great. this way we can really show how zope scales, and improve and show zope products. if the board is at zope.org/zdp, then i would think most zopistas will be around to answer. forum is unlike mailing lists. you need that extra click to go to a forum. my .02 -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! From kthangavelu@earthlink.net Mon Oct 16 22:34:58 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Mon, 16 Oct 2000 14:34:58 -0700 Subject: [Zope] I want to use html_quote as a function References: <39EACCDB.403786A7@roug.org> <39EB264E.5F1CFE62@globalcrossing.com> Message-ID: <39EB7482.451B73CD@earthlink.net> Hello, "Ryan M. Dolensek" wrote: > > try... > > "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))"> huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about it? > ryan > > Soren Roug wrote: > > > Hi, > > > > I can render text that potentially has html in it safely with > > > > > > > > but what if I want to assign the quoted result to another variable. > > > > I tried > > > > > > > > It didn't work. How do I solve this problem? the html_quote of dtml-var is done on rendering so you really can't capture the variable in a transformed state. the solution is to roll your own pythonmethod. here's one to the trick. html_encode ttw python method PARAMETERS: text BODY string = _.string character_entities={"'&'":"&","<":"<", "'>'":">","\213": '<', "\233":'>','"':"""} text=str(text) for re,name in character_entities.items(): if string.find(text, re) >= 0: text=string.join(string.split(text,re),name) return text /END BODY so for your example you would do qualifying description if you need to. cheers kapil From jfarr@speakeasy.org Tue Oct 17 05:32:10 2000 From: jfarr@speakeasy.org (Jonothan Farr) Date: Mon, 16 Oct 2000 21:32:10 -0700 Subject: [Zope] new LocalFS release: 0.9.6 Message-ID: <009201c037f3$381429c0$0200000a@dreaming.jfarr.org> Changes v0.9.6 - Fixed saving large File and Image objects. - Added ZCatalog support. http://www.zope.org/Members/jfarr/Products/LocalFS/ --jfarr From amador@alomega.com Tue Oct 17 05:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:49:47 -0500 Subject: [Zope] Newbie question : ZopeTime & permissions References: Message-ID: <39EBDA6B.A3262C87@alomega.com> --------------A9875BC7D53E5CDA03940B55 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information I guess. Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and adding them as needed later on. > > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). > > (see below) > > For the admin user, I have set the Access content information and View * > options globally. I've tried guessing at some others, but there are alot > of possible combinations to try so I thought maybe I would just ask. > > Related, is there a detailed description of the default Security > settings? I've checked the mailing lists and the Zope docs and if it's > there, I guess I missed it. > > Thanks, > > > > > > > Traceback (innermost last): > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in > publish > File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in > mapply > (Object: test) > File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in > call_object > (Object: test) > File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in > __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line > 528, in __call__ > (Object: test) > File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line > 337, in eval > (Object: REQUEST.set('ts', ZopeTime())) > (Info: REQUEST) > File , line 0, in ? > NameError: (see above) > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A9875BC7D53E5CDA03940B55 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit access contents information
I guess.

Aaron Straup Cope wrote:

Hi,

My name is Aaron.

I am trying to set up zope with (atleast) three roles : manager, admin,
user.

I'd like to give the last two the bare minimum Security permissions
possible and adding them as needed later on.

My problem is that I can't seem to figure out, specifically, which
permissions to give a user that will allow them to read ZopeTime().

(see below)

For the admin user, I have set the Access content information and View *
options globally. I've tried guessing at some others, but there are alot
of possible combinations to try so I thought maybe I would just ask.

Related, is there a detailed description of the default Security
settings? I've checked the mailing lists and the Zope docs and if it's
there, I guess I missed it.

Thanks,

<dtml-call "REQUEST.set('ts', ZopeTime())">
<dtml-call "REQUEST.set('foo',_.str(_.int(ts)))">

<dtml-var foo>

Traceback (innermost last):
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope.old/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope.old/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: test)
  File /usr/local/zope.old/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: test)
  File /usr/local/zope.old/lib/python/OFS/DTMLDocument.py, line 177, in
__call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_String.py, line
528, in __call__
    (Object: test)
  File /usr/local/zope.old/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object: REQUEST.set('ts', ZopeTime()))
    (Info: REQUEST)
  File <string>, line 0, in ?
NameError: (see above)

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

-- 
Manuel Amador (Rudd-O)
  --------------A9875BC7D53E5CDA03940B55-- From amador@alomega.com Tue Oct 17 06:12:16 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:12:16 -0500 Subject: [Zope] DTML Method not working References: <39E0D1F2.B7C30E8D@hal-pc.org> <003801c0309e$93e8afc0$d183bcd4@harrisf4scs8le> Message-ID: <39EBDFB0.C979F996@alomega.com> --------------0D43265D657296791815E7E1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Phil Harris wrote: > Is the code you used in a DTML Method or a DTML Document? > > Is it in a DTML Method being called from a DTML Document? > > If the answer to either of these is 'yes' then it's doing as you ask! > > The thing that gets most new zope users is that a DTML Document is itself a > container. This means that anytime you use code similar to yours or when > using a it will probably return a blank, as the DTML > Dopcument has no children(?!?). > > Solutions: > > 1. Try moving the code into a DTML Method. > 2. Use a dtml-with around it. > > The second one works most places but if in the root then it's slightly more > difficult as the top object is hard to reference (please someone tell me I'm > wrong here). > > You could try something like: > > >
    > >

  • >
    >
>
> > The resolve_url(BASE0+'/') should give you a reference to the top Zope > object (root). > > hth > > Phil > phil.harris@zweb.co.uk > > ----- Original Message ----- > From: "Ronald L. Chichester" > To: > Sent: Sunday, October 08, 2000 8:58 PM > Subject: [Zope] DTML Method not working > > > I took some code that was in the (work-in-progress) O'Riley book on > > Zope. In that example, then had a DTML Method used for identifying > > folders and hyperlinking to them. The code is as follows: > > > >
    > > > >

  • > >
    > >
> > > > The problem is, it doesn't work. I know the method is being invoked > > because there is some other text that is indeed being inserted. > > Moreover, there are sub-folders in the folder that calls the method. > > > > Does anyone know what the problem is? Is it a permission issue. The > > standard_html_header and _footer, show up just fine, along with logos > > and such. The only part that isn't showing up is the stuff that was > > supposed to be generated by the block. > > > > Any hints? > > > > Thanks in advance. > > > > Ron > > ./. > > > > > > _______________________________________________ > > 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 ) -- Manuel Amador (Rudd-O) --------------0D43265D657296791815E7E1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <dtml-with "PARENT[0]">
<dtml-tree>

Phil Harris wrote:

Is the code you used in a DTML Method or a DTML Document?

Is it in a DTML Method being called from a DTML Document?

If the answer to either of these is 'yes' then it's doing as you ask!

The thing that gets most new zope users is that a DTML Document is itself a
container.  This means that anytime you use code similar to yours or when
using a <dtml-tree ...> it will probably return a blank, as the DTML
Dopcument has no children(?!?).

Solutions:

1.    Try moving the code into a DTML Method.
2.    Use a dtml-with around it.

The second one works most places but if in the root then it's slightly more
difficult as the top object is hard to reference (please someone tell me I'm
wrong here).

You could try something like:

<dtml-with expr="resolve_url(BASE0+'/')">
<ul>
<dtml-in expr="objectValues('Folder')">
 <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
</dtml-in>
</ul>
</dtml-with>

The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).

hth

Phil
phil.harris@zweb.co.uk

----- Original Message -----
From: "Ronald L. Chichester" <complaw@hal-pc.org>
To: <zope@zope.org>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working

> I took some code that was in the (work-in-progress) O'Riley book on
> Zope.  In that example, then had a DTML Method used for identifying
> folders and hyperlinking to them.  The code is as follows:
>
> <ul>
> <dtml-in expr="objectValues('Folder')">
>  <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a><br></li>
> </dtml-in>
> </ul>
>
> The problem is, it doesn't work.  I know the method is being invoked
> because there is some other text that is indeed being inserted.
> Moreover, there are sub-folders in the folder that calls the method.
>
> Does anyone know what the problem is?  Is it a permission issue.  The
> standard_html_header and _footer, show up just fine, along with logos
> and such.  The only part that isn't showing up is the stuff that was
> supposed to be generated by the <dtml-in> block.
>
> Any hints?
>
> Thanks in advance.
>
> Ron
>  ./.
>
>
> _______________________________________________
> 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 )

-- 
Manuel Amador (Rudd-O)
  --------------0D43265D657296791815E7E1-- From amador@alomega.com Tue Oct 17 06:17:53 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:17:53 -0500 Subject: [Zope] Socket.error problem References: <39E00FC8.CEF8A9D0@hal-pc.org> Message-ID: <39EBE100.7BBBB410@alomega.com> --------------3F0FD8D006732218DB5BA327 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit user processes cannot bind to ports lower than 1024. Never forget dat. "Ronald L. Chichester" wrote: > I'm getting the exact same socket.error message that appeared on this > list in March, 2000. (See the attached problem.txt file.) > Specifically, this is the error message that I get when I start zope. > The person who kindly identified the problem didn't provide a solution. > I have my netstat -a results attached as netstat.txt. Could someone > tell me how I can resolve this port conflict? > > Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration. > > Thanks in advance, > > Ron > ./. > > This is the reply that was provided to the first person who encountered > this problem (and submitted it to the list): > > > > You have another process that is "bind" to port 98... > > this is the registered port for "tacnews". > > try "netstat -a" under the shell... > > ----- Message d'origine ----- > De : Ulf Byskov > À : > Envoyé : lundi 13 mars 2000 11:28 > Objet : [Zope] socket problem > > > When I try to start Z Server i get the following error messages: > > > > File > > > "/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a > > syncore.py", > > line 205, in bind > > return self.socket.bind (addr) > > socket.error: (98, 'Address already in use') > > > > > > I don't use the number 98 in any address or port (http=80, ftp='' and > > monitor='') > > so what could this error be about ? > > > > > > > > > > ------------------------------------------------------------------------ > [nobody@localhost Zope-2.2.2-linux2-x86]$ ./start > ------ > 2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt 8 00:31:03 2000 > Hostname: localhost.localdomain > Port:8080 > > Traceback (innermost last): > File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ? > logger_object=lg) > File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__ > apply(ftp_server.__init__, (self, None) + args, kw) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in __init__ self.bind ((self.ip, self.port)) > File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind return self.socket.bind (addr) > socket.error: (98, ?Address already in use?) > > ------------------------------------------------------------------------ > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp 0 0 *:6000 *:* LISTEN > tcp 0 0 *:3053 *:* LISTEN > tcp 0 0 *:8021 *:* LISTEN > tcp 0 0 *:postgres *:* LISTEN > tcp 0 0 *:www *:* LISTEN > tcp 0 0 *:smtp *:* LISTEN > tcp 0 0 *:printer *:* LISTEN > tcp 0 0 *:pop3 *:* LISTEN > tcp 0 0 *:telnet *:* LISTEN > tcp 0 0 *:ftp *:* LISTEN > tcp 0 0 *:auth *:* LISTEN > tcp 0 0 *:sunrpc *:* LISTEN > udp 0 0 *:xdmcp *:* > udp 0 0 *:sunrpc *:* > raw 0 0 *:icmp *:* 7 > raw 0 0 *:tcp *:* 7 > Active UNIX domain sockets (servers and established) > Proto RefCnt Flags Type State I-Node Path > unix 1 [ ] STREAM CONNECTED 26342 @000000d9 > unix 0 [ ACC ] STREAM LISTENING 1402 public/showq > unix 0 [ ACC ] STREAM LISTENING 1398 private/smtp > unix 0 [ ACC ] STREAM LISTENING 1389 private/bounce > unix 0 [ ] STREAM CONNECTED 194 @0000001d > unix 1 [ ] STREAM CONNECTED 26259 @000000cb > unix 0 [ ACC ] STREAM LISTENING 2816 /var/run/pcgi.soc > unix 0 [ ACC ] STREAM LISTENING 1406 private/error > unix 9 [ ] DGRAM 382 /dev/log > unix 0 [ ACC ] STREAM LISTENING 2792 /tmp/.font-unix/fs-1 > unix 0 [ ACC ] STREAM LISTENING 1687 /dev/gpmctl > unix 0 [ ACC ] STREAM LISTENING 1410 private/local > unix 0 [ ACC ] STREAM LISTENING 1414 private/cyrus > unix 1 [ ] STREAM CONNECTED 26267 @000000ce > unix 1 [ ] STREAM CONNECTED 26253 @000000c8 > unix 0 [ ACC ] STREAM LISTENING 2848 /tmp/.X11-unix/X0 > unix 0 [ ACC ] STREAM LISTENING 1418 private/uucp > unix 1 [ ] STREAM CONNECTED 26269 @000000cf > unix 0 [ ACC ] STREAM LISTENING 1422 private/ifmail > unix 1 [ ] STREAM CONNECTED 26263 @000000cc > unix 0 [ ACC ] STREAM LISTENING 1427 private/bsmtp > unix 1 [ ] STREAM CONNECTED 26265 @000000cd > unix 1 [ N ] STREAM CONNECTED 26277 @000000d1 > unix 0 [ ACC ] STREAM LISTENING 473 /dev/printer > unix 1 [ ] STREAM CONNECTED 26292 @000000d2 > unix 0 [ ACC ] STREAM LISTENING 26275 /tmp//kfm_501_1753localhost.localdomain_0 > unix 1 [ ] STREAM CONNECTED 26247 @000000c6 > unix 1 [ ] STREAM CONNECTED 26177 @000000b5 > unix 1 [ N ] STREAM CONNECTED 26271 @000000d0 > unix 1 [ ] STREAM CONNECTED 26180 @000000b6 > unix 0 [ ACC ] STREAM LISTENING 1378 private/cleanup > unix 1 [ ] STREAM CONNECTED 26312 @000000d5 > unix 0 [ ACC ] STREAM LISTENING 1385 private/rewrite > unix 0 [ ACC ] STREAM LISTENING 26273 /tmp//kio_501_1753localhost.localdomain_0 > unix 0 [ ACC ] STREAM LISTENING 2749 /tmp/.s.PGSQL.5432 > unix 0 [ ACC ] STREAM LISTENING 1393 private/defer > unix 0 [ ] DGRAM 26354 > unix 1 [ ] STREAM CONNECTED 26343 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26313 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26293 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26278 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26272 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26270 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26268 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26266 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26264 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26260 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26254 /tmp/.X11-unix/X0 > unix 1 [ ] STREAM CONNECTED 26248 /tmp/.X11-unix/X0 > unix 1 [ N ] STREAM CONNECTED 26181 /tmp/.font-unix/fs-1 > unix 1 [ ] STREAM CONNECTED 26182 /tmp/.X11-unix/X0 > unix 0 [ ] DGRAM 2813 > unix 0 [ ] DGRAM 2812 > unix 0 [ ] DGRAM 1464 > unix 1 [ ] STREAM CONNECTED 1430 > unix 1 [ ] STREAM CONNECTED 1429 > unix 1 [ ] STREAM CONNECTED 1425 > unix 1 [ ] STREAM CONNECTED 1424 > unix 1 [ ] STREAM CONNECTED 1421 > unix 1 [ ] STREAM CONNECTED 1420 > unix 1 [ ] STREAM CONNECTED 1417 > unix 1 [ ] STREAM CONNECTED 1416 > unix 1 [ ] STREAM CONNECTED 1413 > unix 1 [ ] STREAM CONNECTED 1412 > unix 1 [ ] STREAM CONNECTED 1409 > unix 1 [ ] STREAM CONNECTED 1408 > unix 1 [ ] STREAM CONNECTED 1405 > unix 1 [ ] STREAM CONNECTED 1404 > unix 1 [ ] STREAM CONNECTED 1401 > unix 1 [ ] STREAM CONNECTED 1400 > unix 1 [ ] STREAM CONNECTED 1396 > unix 1 [ ] STREAM CONNECTED 1395 > unix 1 [ ] STREAM CONNECTED 1392 > unix 1 [ ] STREAM CONNECTED 1391 > unix 1 [ ] STREAM CONNECTED 1388 > unix 1 [ ] STREAM CONNECTED 1387 > unix 1 [ ] STREAM CONNECTED 1384 > unix 1 [ ] STREAM CONNECTED 1383 > unix 1 [ ] STREAM CONNECTED 1381 > unix 1 [ ] STREAM CONNECTED 1380 > unix 1 [ ] STREAM CONNECTED 1377 > unix 1 [ ] STREAM CONNECTED 1376 > unix 1 [ ] STREAM CONNECTED 1374 > unix 1 [ ] STREAM CONNECTED 1373 > unix 0 [ ] DGRAM 1355 > unix 0 [ ] DGRAM 486 > unix 0 [ ] DGRAM 469 > unix 0 [ ] DGRAM 403 > unix 0 [ ] DGRAM 392 -- Manuel Amador (Rudd-O) --------------3F0FD8D006732218DB5BA327 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit user processes cannot bind to ports lower than 1024.  Never forget dat.

"Ronald L. Chichester" wrote:

I'm getting the exact same socket.error message that appeared on this
list in March, 2000.  (See the attached problem.txt file.)
Specifically, this is the error message that I get when I start zope.
The person who kindly identified the problem didn't provide a solution.
I have my netstat -a results attached as netstat.txt.  Could someone
tell me how I can resolve this port conflict?

Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.

Thanks in advance,

Ron
 ./.

This is the reply that was provided to the first person who encountered
this problem (and submitted it to the list):

<MESSAGE>

You have another process that is "bind" to port 98...

this is the registered port for "tacnews".

try "netstat -a" under the shell...

----- Message d'origine -----
De : Ulf Byskov <ulf.byskov@comptel.com>
À : <zope@zope.org>
Envoyé : lundi 13 mars 2000 11:28
Objet : [Zope] socket problem

> When I try to start Z Server i get the following error messages:
>
>     File
>
"/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a

syncore.py",
> line 205, in bind
>     return self.socket.bind (addr)
>     socket.error: (98, 'Address already in use')
>
>
> I don't use the number 98 in any address or port (http=80, ftp='' and
> monitor='')
> so what could this error be about ?
>
>
>

</MESSAGE>

  ------------------------------------------------------------------------
[nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
------
2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
------
2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt  8 00:31:03 2000
        Hostname: localhost.localdomain
        Port:8080

Traceback (innermost last):
        File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ?
                logger_object=lg)
        File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__
                apply(ftp_server.__init__, (self, None) + args, kw)
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in              __init__ self.bind ((self.ip, self.port))
        File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind           return self.socket.bind (addr)
socket.error: (98, ?Address already in use?)

  ------------------------------------------------------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:6000                  *:*                     LISTEN
tcp        0      0 *:3053                  *:*                     LISTEN
tcp        0      0 *:8021                  *:*                     LISTEN
tcp        0      0 *:postgres              *:*                     LISTEN
tcp        0      0 *:www                   *:*                     LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 *:printer               *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
tcp        0      0 *:telnet                *:*                     LISTEN
tcp        0      0 *:ftp                   *:*                     LISTEN
tcp        0      0 *:auth                  *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
udp        0      0 *:xdmcp                 *:*
udp        0      0 *:sunrpc                *:*
raw        0      0 *:icmp                  *:*                     7
raw        0      0 *:tcp                   *:*                     7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         STREAM     CONNECTED     26342  @000000d9
unix  0      [ ACC ]     STREAM     LISTENING     1402   public/showq
unix  0      [ ACC ]     STREAM     LISTENING     1398   private/smtp
unix  0      [ ACC ]     STREAM     LISTENING     1389   private/bounce
unix  0      [ ]         STREAM     CONNECTED     194    @0000001d
unix  1      [ ]         STREAM     CONNECTED     26259  @000000cb
unix  0      [ ACC ]     STREAM     LISTENING     2816   /var/run/pcgi.soc
unix  0      [ ACC ]     STREAM     LISTENING     1406   private/error
unix  9      [ ]         DGRAM                    382    /dev/log
unix  0      [ ACC ]     STREAM     LISTENING     2792   /tmp/.font-unix/fs-1
unix  0      [ ACC ]     STREAM     LISTENING     1687   /dev/gpmctl
unix  0      [ ACC ]     STREAM     LISTENING     1410   private/local
unix  0      [ ACC ]     STREAM     LISTENING     1414   private/cyrus
unix  1      [ ]         STREAM     CONNECTED     26267  @000000ce
unix  1      [ ]         STREAM     CONNECTED     26253  @000000c8
unix  0      [ ACC ]     STREAM     LISTENING     2848   /tmp/.X11-unix/X0
unix  0      [ ACC ]     STREAM     LISTENING     1418   private/uucp
unix  1      [ ]         STREAM     CONNECTED     26269  @000000cf
unix  0      [ ACC ]     STREAM     LISTENING     1422   private/ifmail
unix  1      [ ]         STREAM     CONNECTED     26263  @000000cc
unix  0      [ ACC ]     STREAM     LISTENING     1427   private/bsmtp
unix  1      [ ]         STREAM     CONNECTED     26265  @000000cd
unix  1      [ N ]       STREAM     CONNECTED     26277  @000000d1
unix  0      [ ACC ]     STREAM     LISTENING     473    /dev/printer
unix  1      [ ]         STREAM     CONNECTED     26292  @000000d2
unix  0      [ ACC ]     STREAM     LISTENING     26275  /tmp//kfm_501_1753localhost.localdomain_0
unix  1      [ ]         STREAM     CONNECTED     26247  @000000c6
unix  1      [ ]         STREAM     CONNECTED     26177  @000000b5
unix  1      [ N ]       STREAM     CONNECTED     26271  @000000d0
unix  1      [ ]         STREAM     CONNECTED     26180  @000000b6
unix  0      [ ACC ]     STREAM     LISTENING     1378   private/cleanup
unix  1      [ ]         STREAM     CONNECTED     26312  @000000d5
unix  0      [ ACC ]     STREAM     LISTENING     1385   private/rewrite
unix  0      [ ACC ]     STREAM     LISTENING     26273  /tmp//kio_501_1753localhost.localdomain_0
unix  0      [ ACC ]     STREAM     LISTENING     2749   /tmp/.s.PGSQL.5432
unix  0      [ ACC ]     STREAM     LISTENING     1393   private/defer
unix  0      [ ]         DGRAM                    26354
unix  1      [ ]         STREAM     CONNECTED     26343  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26313  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26293  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26278  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26272  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26270  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26268  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26266  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26264  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26260  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26254  /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     26248  /tmp/.X11-unix/X0
unix  1      [ N ]       STREAM     CONNECTED     26181  /tmp/.font-unix/fs-1
unix  1      [ ]         STREAM     CONNECTED     26182  /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    2813
unix  0      [ ]         DGRAM                    2812
unix  0      [ ]         DGRAM                    1464
unix  1      [ ]         STREAM     CONNECTED     1430
unix  1      [ ]         STREAM     CONNECTED     1429
unix  1      [ ]         STREAM     CONNECTED     1425
unix  1      [ ]         STREAM     CONNECTED     1424
unix  1      [ ]         STREAM     CONNECTED     1421
unix  1      [ ]         STREAM     CONNECTED     1420
unix  1      [ ]         STREAM     CONNECTED     1417
unix  1      [ ]         STREAM     CONNECTED     1416
unix  1      [ ]         STREAM     CONNECTED     1413
unix  1      [ ]         STREAM     CONNECTED     1412
unix  1      [ ]         STREAM     CONNECTED     1409
unix  1      [ ]         STREAM     CONNECTED     1408
unix  1      [ ]         STREAM     CONNECTED     1405
unix  1      [ ]         STREAM     CONNECTED     1404
unix  1      [ ]         STREAM     CONNECTED     1401
unix  1      [ ]         STREAM     CONNECTED     1400
unix  1      [ ]         STREAM     CONNECTED     1396
unix  1      [ ]         STREAM     CONNECTED     1395
unix  1      [ ]         STREAM     CONNECTED     1392
unix  1      [ ]         STREAM     CONNECTED     1391
unix  1      [ ]         STREAM     CONNECTED     1388
unix  1      [ ]         STREAM     CONNECTED     1387
unix  1      [ ]         STREAM     CONNECTED     1384
unix  1      [ ]         STREAM     CONNECTED     1383
unix  1      [ ]         STREAM     CONNECTED     1381
unix  1      [ ]         STREAM     CONNECTED     1380
unix  1      [ ]         STREAM     CONNECTED     1377
unix  1      [ ]         STREAM     CONNECTED     1376
unix  1      [ ]         STREAM     CONNECTED     1374
unix  1      [ ]         STREAM     CONNECTED     1373
unix  0      [ ]         DGRAM                    1355
unix  0      [ ]         DGRAM                    486
unix  0      [ ]         DGRAM                    469
unix  0      [ ]         DGRAM                    403
unix  0      [ ]         DGRAM                    392

-- 
Manuel Amador (Rudd-O)
  --------------3F0FD8D006732218DB5BA327-- From amador@alomega.com Tue Oct 17 05:55:46 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Mon, 16 Oct 2000 23:55:46 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: Message-ID: <39EBDBD2.B1E59A2D@alomega.com> --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit which publications? it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying. knight wrote: > > Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? > > ;-) > > Especially to all Linux supporters for the badwill of the emails title. > > > > I would really be interested in its correct results. > > > > Cheers everyone > > Especially with all this press I've seen in publications over the last > month or two regarding Windows 2000 is outperforming *nix. (over my dead > _dead_ body) > > Knight > > > > > > > Failed requests: 137 > > > > > > No - look at your results. Every request failed on the win32 > > > box (and they all succeeded on linux). You have some sort of > > > problem in your windows setup, and you'll always get higher > > > throughput for errors than you can for completed requests... > > > > > > > > > Brian Lloyd brian@digicool.com > > > Software Engineer 540.371.6909 > > > Digital Creations http://www.digicool.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 ) > > > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4EB930CA3D0F8F5E5A659AB0 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit which publications?

it sounded like .... dunno, if there is a publication that dares to say that, they ARE lying.

knight wrote:

> Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly?
> ;-)
> Especially to all Linux supporters for the badwill of the emails title.
>
> I would really be interested in its correct results.
>
> Cheers everyone

Especially with all this press I've seen in publications over the last
month or two regarding Windows 2000 is outperforming *nix. (over my dead
_dead_ body)

Knight

>
> > > Failed requests:        137
> >
> > No - look at your results. Every request failed on the win32
> > box (and they all succeeded on linux). You have some sort of
> > problem in your windows setup, and you'll always get higher
> > throughput for errors than you can for completed requests...
> >
> >
> > Brian Lloyd        brian@digicool.com
> > Software Engineer  540.371.6909
> > Digital Creations  http://www.digicool.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 )
>
>

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

-- 
Manuel Amador (Rudd-O)
  --------------4EB930CA3D0F8F5E5A659AB0-- From amador@alomega.com Tue Oct 17 06:31:32 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:31:32 -0500 Subject: [Zope] security quickie References: Message-ID: <39EBE434.24853F76@alomega.com> --------------4E918131C9B66C86068C1D92 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff. It so happens that I have this setup rootfolder + myfolderobjects + inheritedstuff i have an user X in root folder. Roles are so that anonymous doesn't have permission for anything. Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff. He now can see index_html. I proxy-role index_html to the User role so i can that is into myfolderobjects, being somestuff a DTMLmethod. It works. X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects BUT, if I try to , it won't work. Note that the User role does have permission to run SQL methods. That's in my point of view, a mistake in Zope's security policy. If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy. Please help or tip. Thanks =) Seb Bacon wrote: > Does Zope security provide a way of restricting what objects are listed to > an authenticated user inside the Zope 'manage' interface? I'm getting my > head all twisted up over this security / proxy roles /local roles lark. > > Thanks, seb > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------4E918131C9B66C86068C1D92 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I too have a doubt about security stuff.

It so happens that I have this setup

rootfolder
+   myfolderobjects
      +    inheritedstuff

i have an user X in root folder.  Roles are so that anonymous doesn't have permission for anything.   Then, there is a user role, that is allowed some stuff, and i assign local role of User to X into Inheritedstuff.  He now can see index_html.  I proxy-role index_html to the User role
so i can <dtml-var somestuff> that is into myfolderobjects, being somestuff a DTMLmethod.

It works.  X can access index_html which in turn includes somestuff from its parent folder, and I did not have to give him explicit rights to any of the objects into myfolderobjects
 

BUT, if I try to <dtmlvar somesqlmethod>, it won't work.  Note that the User role does have permission to run SQL methods.

That's in my point of view, a mistake in Zope's security policy.  If i proxy-role a document or method, i should be able to acquire anything specified into it, from its parent hierarchy.

Please help or tip.  Thanks =)
 

Seb Bacon wrote:

Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface?  I'm getting my
head all twisted up over this security / proxy roles /local roles lark.

Thanks, seb

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

-- 
Manuel Amador (Rudd-O)
  --------------4E918131C9B66C86068C1D92-- From amador@alomega.com Tue Oct 17 06:34:05 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:34:05 -0500 Subject: [Zope] Zope in Windows is faster than Linux ??? References: <004701c02fed$c0ff5f10$01d4a8c0@peppe> <39DE66F4.EA44AFDB@inf.tu-dresden.de> Message-ID: <39EBE4CD.57CFF596@alomega.com> --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux. a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux. Toby Dickenson wrote: > On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" > wrote: > > >Definitely, yea! > > > >> I would really be interested in its correct results. > > We have been stress testing our Zope application on NT and Linux. Our > conclusion is that OS is not a factor in Zope performance. > > Toby Dickenson > tdickenson@geminidataloggers.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 ) -- Manuel Amador (Rudd-O) --------------5A9018FBEE797DA68B4E7AFC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I feel zserver somewhat dumber on windows 95 than on linux.  a p200 machine with windows 95 is considerably slower inrentering pages than a p166 with linux.
 

Toby Dickenson wrote:

On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
<konermann@inf.tu-dresden.de> wrote:

>Definitely, yea!
>
>> I would really be interested in its correct results.

We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a factor in Zope performance.

Toby Dickenson
tdickenson@geminidataloggers.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 )

-- 
Manuel Amador (Rudd-O)
  --------------5A9018FBEE797DA68B4E7AFC-- From amador@alomega.com Tue Oct 17 06:38:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:38:47 -0500 Subject: [Zope] Animated GIFs References: <39DDE0B0.B461CE18@debis.com> <002f01c02feb$c4940970$01d4a8c0@peppe> <39E1B0D1.3A7C21C8@debis.com> Message-ID: <39EBE5E7.E972E7F5@alomega.com> --------------16F0CA6E3F92DF034E590278 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file. that means zope is mangling the file. try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case. Lars Heber wrote: > Peter Bengtsson schrieb: > > > [Just checking.] > > Have you tried to acctually _use_ the animated gif in context with other HTML? > > I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab. > > > > Excuse the childish suggestion. > > Any help is appreciated!!! > > I tried your suggestion. The animGif works fine with every kind of HTML. > I really think it's a Zope problem. > Also the gif downloaded from Zope works with HTML outside Zope. > The following doesn't work as well: > Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem... > > > the title > > > > I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem! > > Any more ideas, please? > > Thanks. > > Lars > > > ----- Original Message ----- > > From: "Lars Heber" > > To: > > Sent: Friday, October 06, 2000 3:24 PM > > Subject: [Zope] Animated GIFs > > > > > Hi there, > > > > > > I've got a strange problem. > > > > > > I want to upload an animated GIF to my Zope, but when I want to view it, > > > > > > animation stops at the last frame instead of looping indefinitely. > > > > > > When not uploaded to Zope, the animation works fine, > > > also, when I download the GIF by rightclick from a Zope site and view > > > it again outside Zope, it works perfectly! > > > > > > What's going on here??? Any ideas? > > > > > > PS.: The content_type is image/gif. > > > Do animGifs have another one? Just an idea... > > > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------16F0CA6E3F92DF034E590278 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit correct me if i'm wrong, but the repeat attribute is IN the gif file.  that means zope is mangling the file.

try creating the image as a file changing its mimetype and referrring it outside zope via an HTML page, to see if that's the case.
 

Lars Heber wrote:

Peter Bengtsson schrieb:

> [Just checking.]
> Have you tried to acctually _use_ the animated gif in context with other HTML?
> I have experienced problem some single time with images (can't remember what the problem/image was) viewed directly from the View management tab.
>
> Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same problem...

<html>
<head><title>the title</title></head>
<body><img src="http://localhost:8080/animGif"></body>
</html>

I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed what? - same problem!

Any more ideas, please?

Thanks.

Lars

> ----- Original Message -----
> From: "Lars Heber" <lheber@debis.com>
> To: <zope@zope.org>
> Sent: Friday, October 06, 2000 3:24 PM
> Subject: [Zope] Animated GIFs
>
> > Hi there,
> >
> > I've got a strange problem.
> >
> > I want to upload an animated GIF to my Zope, but when I want to view it,
> >
> > animation stops at the last frame instead of looping indefinitely.
> >
> > When not uploaded to Zope, the animation works fine,
> > also, when I download the GIF by rightclick from a Zope site and view
> > it again outside Zope, it works perfectly!
> >
> > What's going on here??? Any ideas?
> >
> > PS.: The content_type is image/gif.
> >         Do animGifs have another one? Just an idea...
>

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

-- 
Manuel Amador (Rudd-O)
  --------------16F0CA6E3F92DF034E590278-- From amador@alomega.com Tue Oct 17 06:48:44 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:48:44 -0500 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39EBE83C.68B62F16@alomega.com> --------------354AC2F22E5025E283A14E15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods. I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form. Heymann William wrote: > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. > > Thanks > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------354AC2F22E5025E283A14E15 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Question marks are used for GET methods.  I think that if you're trying to make a form send you to another page without question marks, you'd have to use POST method in the form.

Heymann William wrote:

I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be assigned to the varialbe
if a valid object can not by found. I don't really have a problem if this
involves python coding I just need a place to start.

Thanks

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

-- 
Manuel Amador (Rudd-O)
  --------------354AC2F22E5025E283A14E15-- From amador@alomega.com Tue Oct 17 06:49:47 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:49:47 -0500 Subject: [Zope] zope 2.2.2 not compiling References: <007b01c03288$138ad2e0$0102a8c0@rokmil.ee> Message-ID: <39EBE87B.3B4454A7@alomega.com> --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment. Or there is a zip around, called UnxUtils.zip. do a google search and get it. Lace its contents into a folder in your PATH. Roland Tepp wrote: > Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on > WinNT to run without pcgi and it fails (console output following this letter). > > I tried to track down the problem but I don't seem to make any progress. > Could You help me please... > > ------------------------------------------------------------------------------ > Compiling python modules > > ------------------------------------------------------------------------------ > Building extension modules > > ------------------------------------------------ > Compiling extensions in lib/python > cp D:\Python/lib/python/config/Makefile.pre.in . > The name specified is not recognized as an > internal or external command, operable program or batch file. > Traceback (innermost last): > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ? > if __name__=='__main__': main(sys.argv[0]) > File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main > import build_extensions > File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ? > make('lib','python') > File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make > do("cp %s ." % wheres_Makefile_pre_in()) > File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do > if i and picky: raise SystemError, i > SystemError: 1 > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------A96A99DD5F1A869E4BA9CBAB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I think you need the cygwin development environment.  Or there is a zip around, called UnxUtils.zip.  do a google search and get it.  Lace its contents into a folder in your PATH.

Roland Tepp wrote:

Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
WinNT to run without pcgi and it fails (console output following this letter).

I tried to track down the problem but I don't seem to make any progress.
Could You help me please...

------------------------------------------------------------------------------
Compiling python modules

------------------------------------------------------------------------------
Building extension modules

------------------------------------------------
Compiling extensions in lib/python
cp D:\Python/lib/python/config/Makefile.pre.in .
The name specified is not recognized as an
internal or external command, operable program or batch file.
Traceback (innermost last):
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 116, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "D:\Python\Zope-2.2.2\wo_pcgi.py", line 104, in main
    import build_extensions
  File "D:\Python\Zope-2.2.2\inst\build_extensions.py", line 96, in ?
    make('lib','python')
  File "D:\Python\Zope-2.2.2\inst\do.py", line 135, in make
    do("cp %s ." % wheres_Makefile_pre_in())
  File "D:\Python\Zope-2.2.2\inst\do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 1

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

-- 
Manuel Amador (Rudd-O)
  --------------A96A99DD5F1A869E4BA9CBAB-- From amador@alomega.com Tue Oct 17 06:53:09 2000 From: amador@alomega.com (Manuel Amador (Rudd-O)) Date: Tue, 17 Oct 2000 00:53:09 -0500 Subject: [Zope] REQUEST.set size References: <39E2DDF0.5D1924@oratrix.com> Message-ID: <39EBE945.9E472ACF@alomega.com> --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: > Hi all, > > I am new to Zope but worked for 2 years in a dev-env called Uniface so > Im fairly up to speed on Zope quickly. But I am having a problem writing > data through a REQUEST.set that is larger than its apparent limit. > (sorry can remember the exact error i get from Zope) > > What I am trying to do is collect in a field a large list of emails that > are gathered in a dtml-in statement with a REQUEST.set('all', all + > email) nested in the loop. While appending the namespace to store the > data in PGSQL, i always get the size error which i assume is coming from > the publisher saying that a the request can only have a byte size of > 1800 bytes or so. > > Im not so hot with straight SQL because Uniface had its own methods, so > Im not sure if I can append data directly to a stored field or if I need > to continue trying to use the REQUEST.set. After the hundreth occurence > in the IN, the namespace I use to store the appended data, so I cannot > fully make a list of 2000 occurences. Any ideas? > > Sorry, no code to show what Im doing but it should be pretty easy to > understand for all you veterans out there... > > TIA, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > _______________________________________________ > 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 ) -- Manuel Amador (Rudd-O) --------------245C6E38D0EACB6D5EC5D549 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit maybe you should try to put your data in a list or a dictionary.  Anyone can help with the syntax?  I can't remember... =)
Paul Zwarts wrote:
Hi all,

I am new to Zope but worked for 2 years in a dev-env called Uniface so
Im fairly up to speed on Zope quickly. But I am having a problem writing
data through a REQUEST.set that is larger than its apparent limit.
(sorry can remember the exact error i get from Zope)

What I am trying to do is collect in a field a large list of emails that
are gathered in a dtml-in statement with a REQUEST.set('all', all +
email) nested in the loop. While appending the namespace to store the
data in PGSQL, i always get the size error which i assume is coming from
the publisher saying that a the request can only have a byte size of
1800 bytes or so.

Im not so hot with straight SQL because Uniface had its own methods, so
Im not sure if I can append data directly to a stored field or if I need
to continue trying to use the REQUEST.set. After the hundreth occurence
in the IN, the namespace I use to store the appended data, so I cannot
fully make a list of 2000 occurences. Any ideas?

Sorry, no code to show what Im doing but it should be pretty easy to
understand for all you veterans out there...

TIA,

--
Paz
Oratrix Development BV
http://www.oratrix.com
GRiNS SMIL Editor
-

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

-- 
Manuel Amador (Rudd-O)
  --------------245C6E38D0EACB6D5EC5D549-- From jacintha.menezes@wipro.com Tue Oct 17 07:43:54 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 17 Oct 2000 12:13:54 +0530 Subject: [Zope] urgent Message-ID: <018901c03805$9df75d40$f5dea8c0@wipro.com> hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha From roos@stanford.edu Tue Oct 17 07:48:02 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Mon, 16 Oct 2000 23:48:02 -0700 (PDT) Subject: [Zope] (no subject) Message-ID: I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: manage_addProperty(name='foo', value='bar', type='string') The 's don't get an error, so I must be popping namespaces on properly. But the manage_addProperty always results in: invalid attribute name, "manage_addproperty(name", for tag , on line 10 of makeSched =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about housing for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From ws@gmd.de Tue Oct 17 08:51:09 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 09:51:09 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: Message-ID: <39EC210D.10012.52485E5@localhost> On 16 Oct 2000, 12:27 Damien Morton wrote: > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > ignKMS ols.htm > > Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From paul.zwarts@oratrix.com Tue Oct 17 09:06:51 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 10:06:51 +0200 Subject: [Zope] Upgrade from 201 to 222 Message-ID: <39EC089B.DB715904@oratrix.com> Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both verisons, but before I was able to export an entire folder and then import it. Now from old to new, I get an error Error Type: TypeError Error Value: ('len() of unsized object', , None) What does this mean? I can still import single objects, but it is a major pain to import one by one, as there so many. Using an XML type doesnt work either because you cannot seem to apply that to a folder of objects either. Does anyone know about any issues that deal with this problem or am I missing something? Cheers and TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From leedm@state.mi.us Tue Oct 17 09:34:03 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 04:34:03 -0400 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of the office Monday, October 16th) office Monday, October 16th) Message-ID: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. From grizel@mouli.net Tue Oct 17 09:38:18 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Tue, 17 Oct 2000 10:38:18 +0200 Subject: [Zope] [OT ?... HTTP ?...] redirect W/ POST data Message-ID: <39EC0FFA.65A792CF@mouli.net> Hi, [This message may be off-topic.... Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=value&so_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed RESPONSE.headers with such data - although I'm not sure of it - but is there a better way (if there is a way...) to do this ?... Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From odeckmyn.list@teaser.fr Tue Oct 17 09:51:58 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Tue, 17 Oct 2000 10:51:58 +0200 Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) References: Message-ID: <018d01c03817$82023580$0d00000a@ODECKMYN2K> Ok...No problem...We will... ----- Original Message ----- From: "Darin Lee" To: Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) > I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. > > > > > > > _______________________________________________ > 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 ) > > From mtaylor@goldridge.net Tue Oct 17 11:37:49 2000 From: mtaylor@goldridge.net (Monty Taylor) Date: Tue, 17 Oct 2000 12:37:49 +0200 Subject: [Zope] MySQL and Zope struggles References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <39EC2BFD.175F7DDA@goldridge.net> You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select note_id, notes from foo; This does assume that the note_id is unique. You may also need to explicitly drop foo, because it goes away when you disconnect, but of course Zope holds connections open. !!! However -- now that I think of it... you can just do: replace into Note select note_id, "New Note" from Artist where artist_id=23; Of couse, this will change all notes for an artist, so it assumes the artist_id is unique as well. (Which I would assume it is from your model.) If you need more complex things, look into temporary tables, but the MySQL extension (like replace) do allow you to do fun things. Hope this helps, Monty Richard Moon wrote: > Nice idea. Trouble is the note table is used to hold notes for many > different reasons, so it looks like this - > > ----------- ------------ -------- > | Artist | | Recording | | Label | etc. > ----------- ------------ -------- > | artist_id | |recording_id| |label_id| > | note_id | |note_id | |note_id | > ----------- ------------ -------- > | | | | | > --------------------------------------------------------- > | > ---------- > | Note | > ---------- > | note_id | > | notes | > ---------- > > It looks as if there wasn't anything I was missing - I'm just going to have > to break the code up into separate SQL Methods. > > The example I gave was quite simple compared to some of the updates I have > to deal with. > > Thanks anyway. > > At 17:40 16/10/00, you wrote: > >Or you could renormalize your data to have: > > > > --------- ----------- > >| Artist | | Note | > >|---------|-------|-----------| > >| id | | id | > > --------- | artist_id | > > | note_str | > > ----------- > > > >you now have a list of notes by artist_id. > >You typically won't have a screen that doesn't have an Artist context > >to be adding a note to. (or to remove all notes from). > >Of course this means more work to migrate :-( > >And I don't know all possible scenarios for which you would > >need the structure you gave, but it is another way around this. > >It probably doesn't solve real complex scenarios either. > > > >JAT > > > >Dale > > Richard Moon > richard@dcs.co.uk > > _______________________________________________ > 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 ) From tony.mcdonald@ncl.ac.uk Tue Oct 17 10:11:56 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 17 Oct 2000 10:11:56 +0100 Subject: [Zope] Medusa Monitor In-Reply-To: References: <39E63EFA.FE2BF947@adroit.net> Message-ID: At 1:18 pm -0700 16/10/00, Karl Anderson wrote: >Terry Kerr writes: > >> I don't think the monitor gives you any advantage? I have never >>used a ptyhon prompt before...I will have to give it a go. >> >> terry > >Actually, the advantage of the monitor is that it runs in the same >process as your server, so you can track resource issues. Mounting >the database separately avoids this. > >-- >Karl Anderson karl@digicool.com Karl, Is there anywhere documented that describes how to track resource issues? I regularly have Zope processes that hit 150 Megs of RAM and would like to know if I'm doing anything dopey. cheers tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hamish_lawson@yahoo.co.uk Tue Oct 17 12:10:52 2000 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Tue, 17 Oct 2000 12:10:52 +0100 (BST) Subject: [Zope] Roles as members of other roles? Message-ID: <20001017111052.73778.qmail@web218.mail.yahoo.com> I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish Lawson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From stefan@epy.co.at Tue Oct 17 12:15:26 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Tue, 17 Oct 2000 13:15:26 +0200 (CEST) Subject: [Zope] Force DTML evaluation? Message-ID: I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could use like like ? My second try was to derive from DTMLDocument but I could for the heck of it not figure out how to call the baseclass' methods. In python I would use baseclassname.method() but this seems impossible in ZClasses... Any insights appreciated, Stefan From chrisw@nipltd.com Tue Oct 17 12:49:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:49:39 +0100 Subject: [Zope] Name lookup emulation with a Product References: <39DC53E3.5D0FAC8E@mouli.net> <39DC55FA.1140FD89@nipltd.com> <39DC5A0D.CFB95BC3@mouli.net> <39DC5F71.D7FAA2F8@nipltd.com> <39DC6173.CAC3FD3A@mouli.net> Message-ID: <39EC3CD3.57D93BD1@nipltd.com> Pierre-Julien Grizel wrote: > > I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) > and, if I must, I can replace m1 and m2 with a __call__ method taking > another parameter specifying what kind of action it has to do. > Well, there's another little gem which got covered in a later bit of that thread. Try defining your method like: m1isDocTemp=1 def m1(self,ignored,md): # Your method here Also, check out the code in: which is really helpful in this area. In fact, a FunctionTemplate may be exactly what you're looking for... HTH, Chris From mdanaii@yahoo.com Tue Oct 17 12:51:43 2000 From: mdanaii@yahoo.com (Marc DANAI) Date: Tue, 17 Oct 2000 04:51:43 -0700 (PDT) Subject: [Zope] Question about Managed Meeting and ZopePTK Message-ID: <20001017115143.5072.qmail@web4005.mail.yahoo.com> Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any suggestion? Thank's __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From complaw@hal-pc.org Tue Oct 17 12:45:00 2000 From: complaw@hal-pc.org (Ronald L. Chichester) Date: Tue, 17 Oct 2000 06:45:00 -0500 Subject: [Zope] DUMB NEWBIE QUESTION References: <"38692F84.AAC1.045E.000*/c=us/admd= /prmd=or.gov/o=MB/ou=gwise/s=Curtis/g=David/"@MHS> Message-ID: <39EC3BBC.905D5ACD@hal-pc.org> I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works for RedHat and Mandrake. Should also work for Turbo Linux and may work for others. That should get you started. Hope that helps. Ron ./. CURTIS David wrote: > Friends of Zope, > > I am trying to get MySQL database connection installed. I was told that I need to use source Zope instead of RPM's ! Fine with me but how do I install Zope source over RPM. I tried unpacking Zope Source and installing but it creates a new directory tar -xvf Zope-2.1 instead of creating a /var/zope. Also zope starts automatically. Are there techniques to work around this??? > > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 17 12:53:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:53:22 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> Message-ID: <39EC3DB2.9474C606@nipltd.com> Michael Bernstein wrote: > On a slightly different note, I think that the permissions > list should be viewable in two more ways: A view where > permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for me :-) cheers, Chris From chrisw@nipltd.com Tue Oct 17 12:58:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 12:58:19 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: Message-ID: <39EC3EDB.229D6181@nipltd.com> Seb Bacon wrote: > edit a document through webDAV but *not* TTW. In my mind, you're either > authenticated to do a task, or you're not. It doesn't matter *how* you do > it. That's why 'listable' or something like it would be a better name for > the permission than 'URL Traversable', IMHO (although they both sound > *ugly*). Very good points :-) Chris From chrisw@nipltd.com Tue Oct 17 13:01:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:01:06 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14818.55701.154156.292890@lindm.dm> <14819.25118.478651.799581@lindm.dm> Message-ID: <39EC3F82.A23EEF1@nipltd.com> Dieter Maurer wrote: > Management, however, would be more difficult, as there are no > good defaults for the "URL Traversable" permission. > It is not easy, to determine (e.g.) for a DTML method/document > whether it is only used as a component (such as > "standard_html_header") or is a full grown presentation method. The defaults should be as it is now, ie: everything is visible/travesable unless you tell it not to be... cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:03:18 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:03:18 +0100 Subject: [Zope] Re: Quoting References: <14818.56839.467717.988389@lindm.dm> <39E2F3F7.FCC24885@nipltd.com> <14819.24453.263795.850378@lindm.dm> Message-ID: <39EC4006.AF926BCE@nipltd.com> Dieter Maurer wrote: > Where would you use this "id_quote"? > The only useful place might be the action of an object creation > or renaming. Exactly... > However, I am not sure, that I would prefer to get a strangely > encoded id rather than an exception that tells me some characters > are not allowed in Id's. But if you're automatically creating ids from text people have typed in (and they'll never need to know the id's) it seems nicer to me for the id to be automatically mangled to what it needs to be ratehr than throwing a confusign error (which doesn't actually tell you which character(s) are not allowed, IIRC) cheers, Chris From chrisw@nipltd.com Tue Oct 17 13:06:03 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 13:06:03 +0100 Subject: [Zope] Access Control vs Publishing Protoco References: <14821.36358.972286.290879@lindm.dm> <14823.24484.984596.626290@lindm.dm> Message-ID: <39EC40AB.CE6395E3@nipltd.com> Dieter Maurer wrote: > My primary concern (and maybe Chris') is, how can we prevent > these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris From neeloy_saha@infy.com Tue Oct 17 13:12:00 2000 From: neeloy_saha@infy.com (neeloy_saha) Date: Tue, 17 Oct 2000 17:42:00 +0530 Subject: [Zope] Searching a LocalFS through Zope Message-ID: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -----Original Message----- From: Guido van Rossum [mailto:guido@python.org] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; 'webmaster@pythonlabs.com' Subject: Re: Migrating website to zope..... Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) > Subject: Migrating website to zope..... > From: neeloy_saha > To: "'pythoneers@beopen.com'" > Cc: "'info@beopen.com'" , > "'webmaster@pythonlabs.com'" > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > Hi all, > > Sorry if u receive this mail multiple times.....I need help desperately. > > I am working in a migration project where I am trying to reenginer my > website from the html/cgi based thing to zope.[something like urs > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy > static html documents which I want to use "as it is". So I have taken help > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used > it to serve the html documents. > > Now I am facing a tricky issue of how to do a search on those files ( html > )as i do not find any patch which makes them a part of the Zcatalog. I am > using the Zcatalog to do the search on other contents of my site. > > I guess u might have faced the same issue and implemented the search. I > desperately need help on this issue. any pointers/code/patches/contact > person /how u went abt it!! would be welcome. > > Thx in advance. > > -neeloy > India From leedm@state.mi.us Tue Oct 17 13:40:49 2000 From: leedm@state.mi.us (Darin Lee) Date: Tue, 17 Oct 2000 08:40:49 -0400 Subject: [Zope] Away Message (Apologies) Message-ID: Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department of Environmental Quality Office of Automation Coordination Phone: (517) 241-5214 Fax: (517) 241-8379 From praveen_katiyar@infy.com Tue Oct 17 14:45:53 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 17 Oct 2000 19:15:53 +0530 Subject: [Zope] Searching through the contents of Pdf/Word/latex Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77CF@TWRMSG01> Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of pdf/doc/latex files. I have looked into HowTo's and the documentation. But being a zope newbie I am finding it difficult to find a way out. I guess that somewhere while making the catalog one has to use converters(pdftotext....and its like) and probably then use that to index those documents. Has anyone done this before. Regards, Praveen Katiyar From nichols@tradingconnections.com Tue Oct 17 15:08:51 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 17 Oct 2000 09:08:51 -0500 Subject: [Zope] how to include Flash/SWF objects in Zope website? In-Reply-To: <20001016142102.A17053@enteract.com> References: <39EB447B.4060801@vt.edu> <39EB447B.4060801@vt.edu> Message-ID: <4.3.2.7.2.20001017090501.00dbad60@tradingconnections.com> At 10/16/00 02:21 PM, Fred Yankowski wrote: >Thank you both for the help. File objects are just the ticket (but it >turns out that Image objects work nearly as well). For the record, >here's what I did: In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols nichols@tradingconnections.com From dsergent@imexpert.com Tue Oct 17 15:52:41 2000 From: dsergent@imexpert.com (dsergent@imexpert.com) Date: Tue, 17 Oct 2000 16:52:41 +0200 Subject: [Zope] dtml-in Message-ID: Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot for your answer. david From mail@okstudio.com.au Tue Oct 17 17:00:16 2000 From: mail@okstudio.com.au (George Osvald) Date: Wed, 18 Oct 2000 02:00:16 +1000 Subject: [Zope] ZSQL question Message-ID: <000001c03853$57c8eac0$95f438cb@gosvald> I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George From chrisw@nipltd.com Tue Oct 17 16:00:56 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 16:00:56 +0100 Subject: [Zope] dtml-in References: Message-ID: <39EC69A8.85755C71@nipltd.com> dsergent@imexpert.com wrote: > But I was only able to print the name of the dtml document, how can I > execute the script write in the dtml document ? The following should do it: cheers, Chris From drusch@globalcrossing.com Tue Oct 17 16:12:10 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 17 Oct 2000 10:12:10 -0500 Subject: [Zope] urgent References: <018901c03805$9df75d40$f5dea8c0@wipro.com> Message-ID: <39EC6C4A.9137897F@globalcrossing.com> To: From: Subject: PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote: > > hi, > i am using zope(2.2.1) for sending mails, but it is not possible to send > attachment. > kindly let me know the reason have made use of mime to send attachment. > thanks, > jacintha > > _______________________________________________ > 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 ) From alexander@limi.net Tue Oct 17 16:20:27 2000 From: alexander@limi.net (Alexander Limi) Date: Tue, 17 Oct 2000 17:20:27 +0200 (CEST) Subject: [Zope] Message exchange between distributed python code Message-ID: Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore the post to this list :), but in essence this is not directly Zope related as much as a Python decision. One of my prerequisites is that the messaging should be as portable as possible. The message format will likely end up being XML-based, but what I want to know is what kind of message exchange methods are there that are portable and easy to move to another programming language if need be? You see, I am prototyping this thing in python, but some parts may be rewritten in C later on. All POSIX features will be available, so maybe I can use some of that? The suggestions I've gotten so far is: -SMTP (use SMTP to transfer a mail to the other machine containing the message, handle the mail with procmail and write it to a file that the other program can read) -XML-RPC (is this lightweight enough? and is it easy to handle, and does it take care of the transport of the message too? What about C clients/servers?) I think what I want is maybe something like Java's RMI, but it should work with both Python and C. Being able to send messages between programs without too much hassle or overhead while still remaining portable is my goal. Any advice appreciated. And please CC me, as I'm not on the list at the moment. -- Alexander Limi alexander@limi.net From Eric@Walstads.net Tue Oct 17 16:25:39 2000 From: Eric@Walstads.net (Eric Walstad) Date: Tue, 17 Oct 2000 08:25:39 -0700 Subject: [Zope] (no subject) In-Reply-To: Message-ID: Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: Hope it helps. Eric. // I want to create a large number of properties for a Zclass. // My Zclass has a propertysheet named Schedule. // // I've tried stuff like this: // // // // // manage_addProperty(name='foo', value='bar', type='string') // // // // // // The 's don't get an error, so I must be popping namespaces on // properly. But the manage_addProperty always results in: // // invalid attribute name, "manage_addproperty(name", for tag , on // line 10 of makeSched // // // =Rob====== // ====J===== // =====Roos= From paul.zwarts@oratrix.com Tue Oct 17 16:39:07 2000 From: paul.zwarts@oratrix.com (Paul Zwarts) Date: Tue, 17 Oct 2000 17:39:07 +0200 Subject: [Zope] ZSQL question References: <000001c03853$57c8eac0$95f438cb@gosvald> Message-ID: <39EC729B.A087D4FD@oratrix.com> > I have a table with lots of data in my Gadfly database. I would like to add > a couple of new columns to that table. Is it at all possible to add columns > to existing table or do I have to create a new table all together? > Nope, ALTER TABLE ADD i think should do it... Let me check ALTER TABLE memberlist ADD name VARCHAR Yep... that does it. Although I had tested this in PGSQL, Im sure it works for GadFly also. Since you are also inserting a new column you may want to initialize all current reocrds with a value, but I cant remember what it was... If you really need it, let me know, I'll dig in for you. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From apancani@topgroup.com.ar Tue Oct 17 17:28:08 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 13:28:08 -0300 Subject: [Zope] Stored Procedures Message-ID: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> This is a multi-part message in MIME format. ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 I=B4m using Zope with an Informix Database conected with ZODBC Product = and I need some information about how to call a STORED PROCEDURE I=B4m trying to call a STORED PROCEDURE that executes a simple query. I = do it using a ZSQL method, but when i try to test it, i receive the = error message "empty column name". Does anybody have any information = about that problem? ------=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
I=B4m using Zope with an Informix = Database conected=20 with ZODBC Product and I need some information about how to call a = STORED=20 PROCEDURE
I=B4m trying to call a STORED PROCEDURE = that executes=20 a simple query. I do it using a ZSQL method, but when i try to test = it, i=20 receive the error message "empty column name". Does anybody have = any=20 information about that problem?
------=_NextPart_000_00EB_01C0383E.16C7E220-- From chrisw@nipltd.com Tue Oct 17 17:51:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 17 Oct 2000 17:51:39 +0100 Subject: [Zope] Re: =?iso-8859-1?Q?R=E9f?= . : Re: [ Zope ] dtml-in References: Message-ID: <39EC839B.A9E22C@nipltd.com> (keep copying to the list so other people can jump in and help) dsergent@imexpert.com wrote: > > thks a lot for your answer. It works, but I've a lot of dtml documents in > my folder, and it's tooooooooooooooooooo slow with the sequence-item tag > (less than one seconde with , and more than 10 secondes, with > . Do you know any explaination about that ??? Of course ;-) is rendering a single string. goes through and renders each whole document, which takes a lot longer... cheers, Chris From ws@gmd.de Tue Oct 17 18:16:51 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:16:51 +0200 Subject: [Zope] Stored Procedures In-Reply-To: <00ee01c03857$3c923960$8901a8c0@topgroup.com.ar> Message-ID: <39ECA5A3.18247.72A6D78@localhost> Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/plain; > > ------=_NextPart_000_00EB_01C0383E.16C7E220 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From evan@4-am.com Tue Oct 17 18:36:07 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 17 Oct 2000 13:36:07 -0400 Subject: [Zope] Message exchange between distributed python code References: Message-ID: <009d01c03860$bb67c5d0$3e48a4d8@digicool.com> From: Alexander Limi > -XML-RPC > (is this lightweight enough? and is it easy to handle, and does it take > care of the transport of the message too? What about C clients/servers?) > > I think what I want is maybe something like Java's RMI, but it should work > with both Python and C. Being able to send messages between programs > without too much hassle or overhead while still remaining portable is my > goal. XML-RPC is fairly lightweight, but lightweight enough? No idea. It's a fairly simple XML-ish marshalling scheme that uses HTTP for transport, and URLs for method addressing. If all you want to send is lists and dicts containing simple types (lists, dicts, strings, numbers) it works great. There are Java libraries, and probably C/C++ as well. Cheers, Evan @ digicool & 4-am From scott@launchpoint.net Tue Oct 17 18:36:12 2000 From: scott@launchpoint.net (Scott Burton) Date: Tue, 17 Oct 2000 10:36:12 -0700 Subject: [Zope] __len__ Errors Message-ID: > 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. --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I seem to be getting __len__ errors: Error type: exceptions.AttributeError Error value: __len__ When accessing any method with an loop. I am running 2.1.6, with the current hot fixes. It seems to have started after installing the hot fixes. I can replicate it with a simple loop in a method. I read somewhere about the hotfix changing objects ownerships. Could this be causing this? If so, how do I remove a hotfix? It has rendered my discussion groups useless. TIA Scott --MS_Mac_OE_3054623773_59425_MIME_Part Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable __len__ Errors I seem to be getting __len__ errors: Error type: exceptions.AttributeError
Error value: __len__
When accessing any method with an <dtml-in > loop.
I am running 2.1.6, with the current hot fixes. It seems to have started af= ter installing the hot fixes.
I can replicate it with a simple <dtml-in> loop in a method. I read s= omewhere about the hotfix changing objects ownerships. Could this be causing= this? If so, how do I remove a hotfix? It has rendered my discussion groups= useless.

TIA

Scott
--MS_Mac_OE_3054623773_59425_MIME_Part-- From ws@gmd.de Tue Oct 17 18:45:48 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 19:45:48 +0200 Subject: [Zope] bobobase_modification_time and .zexp Message-ID: <39ECAC6C.4299.744F0A7@localhost> import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? From asc@vineyard.net Tue Oct 17 19:04:12 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 17 Oct 2000 14:04:12 -0400 (EDT) Subject: [Zope] Determining permissions in a Product Message-ID: Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with the minimum set of permissions. If I understand the docs correctly, I have enabled the right flags but still I get prompted for a username/password when I try to add an item. Obviously, I would like to solve this problem I would be very interested to hear about more general approaches to problem solving products. Thanks, From apancani@topgroup.com.ar Tue Oct 17 19:08:47 2000 From: apancani@topgroup.com.ar (Alejandro Pancani) Date: Tue, 17 Oct 2000 15:08:47 -0300 Subject: [Zope] STORED PROCEDURES Message-ID: <013c01c03865$4bf873c0$8901a8c0@topgroup.com.ar> Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty column name". Does anybody have any information about that problem? From Marcin.Kasperski@softax.com.pl Tue Oct 17 19:18:52 2000 From: Marcin.Kasperski@softax.com.pl (Marcin Kasperski) Date: Tue, 17 Oct 2000 20:18:52 +0200 Subject: [Zope] bobobase_modification_time and .zexp References: <39ECAC6C.4299.744F0A7@localhost> Message-ID: <39EC980C.3C49C228@softax.com.pl> Wolfgang Strobl wrote: > > import/export obviously doesn't preserve time stamps (i.e. > bobobase_modification_time). This is unfortunate for any content > which depends on those timestamps. How do you people out there > solve this problem when it comes to moving content from different > Zope installations into a single one? > I just developed custom document ZClass which basically: - inherits from CatalogAware and DTML Document - contains custom property sheet which contains creationTime attribute (and some others, like meta_keywords or meta_summary) - constains constructor method which sets creationTime to current time. Wherever I need information when the page has been created, I use my creationTime attribute. I do not know how to implement 'modificationTime' attribute (or better: how to change it whenever someone edits or uploads the document). -- http://www.mk.w.pl / Marcin.Kasperski | O kredytach mieszkaniowych: @softax.com.pl | http://www.kupmieszkanie.w.pl/mieszkanie_kredyt @bigfoot.com \ From jburton@scw.org Tue Oct 17 19:21:59 2000 From: jburton@scw.org (Joel Burton) Date: Tue, 17 Oct 2000 14:21:59 -0400 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? Message-ID: <39EC6087.17333.FA79B38@localhost> I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: ... ... However, this requires lots of code. I'm trying to do it like this: Sorted by &dtml-sortby; () I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org) From jfarr@real.com Tue Oct 17 20:25:21 2000 From: jfarr@real.com (Jonothan Farr) Date: Tue, 17 Oct 2000 12:25:21 -0700 Subject: [Zope] Searching a LocalFS through Zope References: <8EE756E49A17D21194860008C7F49AFE045291A5@TWRMSG01> Message-ID: <113401c03870$196e5e50$416917ac@poly> Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr ----- Original Message ----- From: "neeloy_saha" To: ; Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope > Hi all, > > Well I had sent this earlier but i want to resend this again!! I have not > yet received a reply back. > > Can anyone suggest me a way out ??? > > I have lots of old html/ documents that I want to publish through my zope > portal. To ensure that I do not tweak html files I have used the LocalFS > product, also I do not want to **load the data.fs**. Now. I am running into > search problems. How do i do a search the filesystem file? and also ensure > that the search results come from both the filesystem files and the portal > zcatalog.?? > > I guess there are two ways ?? > ** attach a search engine to index on the filesystem files and let zcatalog > take care of the rest. > ** or make all those html files zcatalog aware.But then u cant look inside > pdf/latex/word docs or do u??. > > I guess I would prefer the first one !! gut feel probably that would require > less effort and I can support different file formats . Has anyone used a > FREE external search engine ith zope before.If so which one is it ??? > > -neeloy > > -----Original Message----- > From: Guido van Rossum [mailto:guido@python.org] > Sent: Monday, October 16, 2000 7:53 PM > To: neeloy_saha > Cc: 'pythoneers@beopen.com'; 'info@beopen.com'; > 'webmaster@pythonlabs.com' > Subject: Re: Migrating website to zope..... > > > Strange though it seems, we are *not* Zope experts (yet). We used an > external volunteer to set up our site. I recommend that you post your > question to one of the Zope mailing lists -- see www.zope.org for > pointers. > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > Subject: Migrating website to zope..... > > From: neeloy_saha > > To: "'pythoneers@beopen.com'" > > Cc: "'info@beopen.com'" , > > "'webmaster@pythonlabs.com'" > > > > Date: Mon, 16 Oct 2000 16:00:43 +0530 > > > > Hi all, > > > > Sorry if u receive this mail multiple times.....I need help desperately. > > > > I am working in a migration project where I am trying to reenginer my > > website from the html/cgi based thing to zope.[something like urs > > http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of > legacy > > static html documents which I want to use "as it is". So I have taken help > > of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and > used > > it to serve the html documents. > > > > Now I am facing a tricky issue of how to do a search on those files ( > html > > )as i do not find any patch which makes them a part of the Zcatalog. I am > > using the Zcatalog to do the search on other contents of my site. > > > > I guess u might have faced the same issue and implemented the search. I > > desperately need help on this issue. any pointers/code/patches/contact > > person /how u went abt it!! would be welcome. > > > > Thx in advance. > > > > -neeloy > > India > > _______________________________________________ > 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 ) > From ws@gmd.de Tue Oct 17 20:25:18 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 17 Oct 2000 21:25:18 +0200 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39EC980C.3C49C228@softax.com.pl> Message-ID: <39ECC3BE.15125.7A005BC@localhost> On 17 Oct 2000, 20:18 Marcin Kasperski wrote: > Wolfgang Strobl wrote: > > > > import/export obviously doesn't preserve time stamps (i.e. > > bobobase_modification_time). This is unfortunate for any content > > which depends on those timestamps. How do you people out there solve > > this problem when it comes to moving content from different Zope > > installations into a single one? > > > > I just developed custom document ZClass which basically: > - inherits from CatalogAware and DTML Document > - contains custom property sheet which contains creationTime attribute > (and some others, like meta_keywords or meta_summary) - constains > constructor method which sets creationTime to current time. > > Wherever I need information when the page has been created, I use my > creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? > > I do not know how to implement 'modificationTime' attribute (or > better: how to change it whenever someone edits or uploads the > document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From mj@digicool.com Tue Oct 17 20:51:12 2000 From: mj@digicool.com (Martijn Pieters) Date: Tue, 17 Oct 2000 21:51:12 +0200 Subject: [Zope] Microsoft Zope In-Reply-To: <39EC210D.10012.52485E5@localhost>; from ws@gmd.de on Tue, Oct 17, 2000 at 09:51:09AM +0200 References: <39EC210D.10012.52485E5@localhost> Message-ID: <20001017215112.A25689@zopatista.com> On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: > On 16 Oct 2000, 12:27 Damien Morton wrote: > > > http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des > > ignKMS ols.htm > > > > Looks like MS has embraced the Zope way of doing things > > "You must have scripting enabled in order to view this site. Please modify > your browser's settings accordingly. " > Eeek. Try http://msdn.microsoft.com/library/techart/DesignKMSols.htm -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From sebbacon@email.com Tue Oct 17 20:51:21 2000 From: sebbacon@email.com (Seb Bacon) Date: Tue, 17 Oct 2000 20:51:21 +0100 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? In-Reply-To: <39EC6087.17333.FA79B38@localhost> Message-ID: I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was I'll dig out the patches as send them to you. seb > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > Burton > Sent: 17 October 2000 19:22 > To: zope@zope.org > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > I'd like to create a DTML method that lists objects, sorting either by > name or modified-date. I know I can do this by: > > > > ... > > > ... > > > > However, this requires lots of code. I'm trying to do it like this: > > > Sorted by &dtml-sortby; > > > () > > > > I have a property, sortby, of the enclosing folder set to > "bobobase_modification_time"; when this method is called, it > dutifully reports that sortby=b_m_t; however, it doesn't sort things > this way (I can't tell exactly how it is sorting them, and when I > refresh, the order occasionally changes.) > > Any ideas? > > -- > Joel Burton, Director of Information Systems -*- jburton@scw.org > Support Center of Washington (www.scw.org) > > _______________________________________________ > 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 ) > From shervan@urbanlink.net Tue Oct 17 21:39:10 2000 From: shervan@urbanlink.net (Shervan Agard) Date: Tue, 17 Oct 2000 16:39:10 -0400 Subject: [Zope] Web Mail & Account creation. Message-ID: <39ECB8ED.7482F5D1@urbanlink.net> Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... From CwJohnso@bindview.com Tue Oct 17 21:29:28 2000 From: CwJohnso@bindview.com (Johnson, Chris) Date: Tue, 17 Oct 2000 15:29:28 -0500 Subject: [Zope] non oreilly zope book Message-ID: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj From andym@ActiveState.com Tue Oct 17 21:33:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:33:20 -0700 Subject: [Zope] IIS and PCGI Message-ID: <002001c03879$7cc09cd0$ae03a8c0@fork> Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for example http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope 2.2.1. Anyone encountered this and know the solution? Thanks. -- Andy McKay, Developer. ActiveState. From andym@ActiveState.com Tue Oct 17 21:39:49 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:39:49 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> Message-ID: <037301c0387a$64dd6390$ae03a8c0@fork> Is the same one that got cancelled? > Josh Zeidner wrote: > > > > WROX contacted me a while back saying they wanted to do a Zope book as > > well. Does anyone know anything about this? > > > > -josh > > Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming ----- Original Message ----- From: "Johnson, Chris" To: Sent: Tuesday, October 17, 2000 1:29 PM Subject: [Zope] non oreilly zope book > http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref > =aps_sr_b_1_3/104-9172912-5316749 > > > Take a look at wrox press december publish date for a Zope book. > > > > cj > > _______________________________________________ > 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 ) > From andym@ActiveState.com Tue Oct 17 21:41:46 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 13:41:46 -0700 Subject: [Zope] Web Mail & Account creation. References: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: <037901c0387a$aabd1d60$ae03a8c0@fork> There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... ----- Original Message ----- From: "Shervan Agard" To: Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail & Account creation. > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From rik.hoekstra@inghist.nl Tue Oct 17 21:51:35 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 17 Oct 2000 22:51:35 +0200 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> Message-ID: <011901c0387c$0ac8b600$fe5da182@michieltje> > Is the same one that got cancelled? > the very same Rik From zope@engelhaupt.com Tue Oct 17 22:00:09 2000 From: zope@engelhaupt.com (zope@engelhaupt.com) Date: Tue, 17 Oct 2000 21:00:09 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010172100.QAA30719@dawn.digitaldawn.com> I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin From andym@ActiveState.com Tue Oct 17 22:55:28 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 17 Oct 2000 14:55:28 -0700 Subject: [Zope] non oreilly zope book References: <82D9E4BB02AED311855D0008C756FEBDA2EF1D@BVEW> <037301c0387a$64dd6390$ae03a8c0@fork> <011901c0387c$0ac8b600$fe5da182@michieltje> Message-ID: <0df901c03884$f68e66e0$ae03a8c0@fork> I wont rush out and get a copy then :P ----- Original Message ----- From: "Rik Hoekstra" To: "Andy McKay" ; "Johnson, Chris" ; Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book > > Is the same one that got cancelled? > > > > the very same > > Rik > > > _______________________________________________ > 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 ) > From Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" Tue Oct 17 23:01:48 2000 From: Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http:"//www.alomega.com/" (Rudd-O) Date: Tue, 17 Oct 2000 17:01:48 -0500 Subject: [Zope] Two questions regarding SQL Message-ID: <200010172201.RAA30311@zeus.usm.edu.ec> Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil From zope@grewen.de Tue Oct 17 23:01:36 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 18 Oct 2000 00:01:36 +0200 Subject: [Zope] Web Mail & Account creation. Message-ID: <002c01c03885$d23d1c40$0300a8c0@windows> > Take a look at http://demo.worldpilot.com:8080/site/. > > It´s a Zope product. > > Jens > > > ----- Original Message ----- > From: "Shervan Agard" > To: > Sent: Tuesday, October 17, 2000 10:39 PM > Subject: [Zope] Web Mail & Account creation. > > > > Is it possible to create a hotmail-like web email server using zope? > > Where users create their own account. > > > > I'd like some insight how-to's or any assistant. > > > > > > Thanks... > > Sherv... > > > > > > > > _______________________________________________ > > 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 ) > > > From neves@samba-choro.com.br Wed Oct 18 00:20:54 2000 From: neves@samba-choro.com.br (Paulo Eduardo Neves) Date: Tue, 17 Oct 2000 20:20:54 -0300 Subject: [Zope] GUF and IE friendly error messages Message-ID: <39ECDED6.3FAA7A2E@samba-choro.com.br> Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user friendly error page. If the user is told to change the IE configuration for not showing friendly errors, the login screen appears. It is not easy to setup for unexperienced users. When the http status is 400 (not found) IE shows the friendly error just for pages smaller than 512 bytes. Unfortunately, it doesn't work when the error status is 500 (server error). I've tried to change http status with RESPONSE.setStatus(200) in the standard_html_error, but it doesn't work. Is it possible to change the http status after an exception is raised? Can someone suggest a solution or workaround for this problem? Thanks in advance for any help, -- Paulo Eduardo Neves http://www.samba-choro.com.br From p@state-of-mind.de Tue Oct 17 23:56:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 18 Oct 2000 00:56:18 +0200 Subject: [Zope] AW: [Zope] Web Mail & Account creation. In-Reply-To: <39ECB8ED.7482F5D1@urbanlink.net> Message-ID: Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify the /etc/passwd if I wanted to fullfill the points a), b) and c). Since I don't want anyone to touch that beside of root ;-) I am aiming to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice in connection with zope if you are willing to write something that emulates the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might write some python script to get ridd of 'cyradm'. After creating new users you can log them in using WorldPilot. p@rick > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Shervan Agard > Gesendet: Dienstag, 17. Oktober 2000 22:39 > An: zope@zope.org > Betreff: [Zope] Web Mail & Account creation. > > > Is it possible to create a hotmail-like web email server using zope? > Where users create their own account. > > I'd like some insight how-to's or any assistant. > > > Thanks... > Sherv... > > > > _______________________________________________ > 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 ) > From jprettyman@acm.org Wed Oct 18 00:46:37 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 17 Oct 2000 16:46:37 -0700 Subject: [Zope] Want to access ZClass Instance from external program Message-ID: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon From michel@digicool.com Wed Oct 18 01:51:40 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 17 Oct 2000 17:51:40 -0700 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> Message-ID: <39ECF41C.744A05C7@digicool.com> Chris Withers wrote: > > Michael Bernstein wrote: > > On a slightly different note, I think that the permissions > > list should be viewable in two more ways: A view where > > permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit from super class permissions, so permission could be laid out in a heirarchical fasion. Permission Add Add Foos Edit Edit Bars Delete Delete Bobs View etc... we've thought about this before. implementation makes my brain hurt. -Michel From erik@pacific-shores.com Wed Oct 18 02:11:35 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 17 Oct 2000 18:11:35 -0700 Subject: [Zope] strange problem Message-ID: This is a DTML_Method I call from my standard_error_message: To: Webmaster <> From: ZopeServer <> Subject: Problem at Error Type: Error Value: Error Msg: : I call it like this: The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: : ...it works well. Thanks for you help. -- Erik Myllymaki erik@pacific-shores.com From kthangavelu@earthlink.net Tue Oct 17 23:00:44 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 15:00:44 -0700 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 References: <200010172100.QAA30719@dawn.digitaldawn.com> Message-ID: <39ECCC0C.D05B6916@earthlink.net> hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) >which python they probably aren't the same. just edit the start script accordingly. kapil zope@engelhaupt.com wrote: > > I have a working install of Zope 2.2.2. I installed the python module PoPy > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > README said to run a configure script but there was none. So I just moved the > ZPoPyDA directory it created into the lib/python/Products directory in my zope > home. > > Now for the strange part. When I start zope, I get the following: > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > Traceback (innermost last): > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > (Object: string) > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > ImportError: No module named PoPy > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > on my own. I created a file with the following line: > > import PoPy > > I ran 'python test' and no errors. I added the line: > > import bla > > And then ran 'python test' again just to be sure and it did die saying no such > module bla. I even typed 'import PoPy' in the python interactive shell and > nothing. So outside of zope, python seems to be able to import PoPy, but when > zope tries to import ZPoPyDA it claims there is no PoPy module. > > Any ideas? > > Thanks in advance, > Dustin > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:14:54 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:14:54 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: Message-ID: <39ECDD6E.BA8FD958@earthlink.net> Jon Prettyman wrote: > > I have a folder containing a bunch of ZClass instances that I want to > access from an external (non-web) python application. > > I need to be able to read the values of the instance properties. > > Is there a way to do this with the ZClient stuff? If not, what can I > use. If yes, any pointers? > > -jon its easiest to it with (IMO) xml-rpc and find your zclasses with calls to objectids and query the propertysheets directly for property info. check out http://www.zope.org/Members/Amos/xmlrpclib.py you'll need to fix a base class and an import. www.xml-rpc.com www.xml.com search for amos and zope.org for howtos on xmlrpc Cheers Kapil From kthangavelu@earthlink.net Wed Oct 18 00:16:13 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:16:13 -0700 Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? References: Message-ID: <39ECDDBD.771622A1@earthlink.net> i believe these patches are in the collector on zope.org Seb Bacon wrote: > > I needed to do this a while back and a kind fellow sent me some patches to > do just this. Unfortunately my old email is unavailable at the moment, so > I've forgotten who it was. > > The syntax was > > I'll dig out the patches as send them to you. > > seb > > > -----Original Message----- > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joel > > Burton > > Sent: 17 October 2000 19:22 > > To: zope@zope.org > > Subject: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML? > > > > > > I'd like to create a DTML method that lists objects, sorting either by > > name or modified-date. I know I can do this by: > > > > > > > > ... > > > > > > ... > > > > > > > > However, this requires lots of code. I'm trying to do it like this: > > > > > > Sorted by &dtml-sortby; > > > > > > () > > > > > > > > I have a property, sortby, of the enclosing folder set to > > "bobobase_modification_time"; when this method is called, it > > dutifully reports that sortby=b_m_t; however, it doesn't sort things > > this way (I can't tell exactly how it is sorting them, and when I > > refresh, the order occasionally changes.) > > > > Any ideas? > > > > -- > > Joel Burton, Director of Information Systems -*- jburton@scw.org > > Support Center of Washington (www.scw.org) > > > > _______________________________________________ > > 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 ) From kthangavelu@earthlink.net Wed Oct 18 00:26:33 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 16:26:33 -0700 Subject: [Zope] strange problem References: Message-ID: <39ECE029.DD9A6C9A@earthlink.net> Erik Myllymaki wrote: > > This is a DTML_Method I call from my standard_error_message: > > > To: Webmaster <> > From: ZopeServer <> > Subject: Problem at > > Error Type: > Error Value: > Error Msg: > > > : > > > > I call it like this: > > The mail is sent appropriately including all the REQUEST items, but the page > that is calling this DTML_Method never finishes downloading. > > It seems that the loop through the REQUEST items causes page rendering to > hang? After several minutes, stopping the page download brings up a > *transfer interupted* message and only then do I see the bottom of the page. > > If I leave this out: > > > : > > > ...it works well. > > Thanks for you help. probably because the response is part of the request object, so you loop... do a request.keys() to see whats there literally and a request variables in dtml are in request.other request variables passed in through dtml are in request.form cheers kapil > > -- > Erik Myllymaki > erik@pacific-shores.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 ) From nspurrier@bluelight.com Wed Oct 18 02:52:57 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 17 Oct 2000 18:52:57 -0700 Subject: [Zope] Bypass ZODB and use File System Message-ID: Hi, Is there an easy way that I can get Zope to use the local file system instead of ZODB? I basically want to make it share the local file system with Apache. Will the LocalFS product do what I want? http://yyy.zope.org/Members/jfarr/Products/LocalFS I looked at it, and so far it seems to do the trick. I'm not sure what limitations I might encounter. So far I can't move files between a real Zope directory and a LocalFS directory. I guess I'm just looking for advice to see if I'm on the right track. What we really want to do is to provide a second view to /var/www/htdocs for Apache. I understand that Apache won't serve up our dynamic content, but that's not important. Zope is just viewed as a better solution for managing our static documents. The problem we have in my organization is that there is a lot of resistance to my prototype Zope document management system due to the fact that everything is stored in ZODB. We think this risky -- possibly a data prison. Also people don't want to change from their current habits of editing files via NFS or Samba mounted directories. My original plan was to allow them some sort of syncronization process, but now I think that would be crazy. Yours, Noah From kthangavelu@earthlink.net Wed Oct 18 05:05:29 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Tue, 17 Oct 2000 21:05:29 -0700 Subject: [Zope] Help Debugging External Methods References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <39ED2189.48CEE0BF@earthlink.net> Robert_J_Roberts@rl.gov wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > robert_j_roberts@rl.gov > > -----Original Message----- > From: Dieter Maurer [mailto:dieter@handshake.de] > Sent: Saturday, October 14, 2000 1:51 PM > To: Robert_J_Roberts@rl.gov > Cc: zope@zope.org > Subject: Re: [Zope] Help Debugging External Methods > > Robert_J_Roberts@rl.gov writes: > > What are my options for debugging External Methods in Zope running on > > Windows NT? > I work under Unix. Maybe my technics are not applicable for NT. > > Usually, I use "print" statements for debugging purposes. > Under Unix, I can redirect "stdout" to a file and > view the output (be sure to flush stdout after "print"). > > You can also use "zLog" (may be spelled differently!). > This writes log entries into the log file. > The advantages: will work under Windows, contains a timestamp. > > If the external method does not need too many Zope infrastructure, > I test it outside of Zope and integrate only, when it works > properly. > > When everything else does not work, I use "Test.py" and > the Python debugger "pdb". > > Dieter > > _______________________________________________ > 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 ) From chrisw@nipltd.com Wed Oct 18 10:15:14 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:15:14 +0100 Subject: [Zope] Determining permissions in a Product References: Message-ID: <39ED6A22.F3A73506@nipltd.com> Aaron Straup Cope wrote: > > Obviously, I would like to solve this problem I would be very interested > to hear about more general approaches to problem solving products. When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what needs fixing. Incidnetally, I think this is a bit of a security hole. You shouldn't get told what you're not allowed to see, especially if it's 'cos you got your password wrong. If you see what I mean ;-) cheers, Chris From chrisw@nipltd.com Wed Oct 18 10:48:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 10:48:58 +0100 Subject: [Zope] What Products created What Permissions References: <39DC9E22.6297.EFF90F6@localhost> <39E18F5C.1E2FEE6B@nipltd.com> <39E1DB2E.2D2F2ED4@lvcm.com> <39EC3DB2.9474C606@nipltd.com> <39ECF41C.744A05C7@digicool.com> Message-ID: <39ED720A.68C4A244@nipltd.com> Michel Pelletier wrote: > > Chris Withers wrote: > > > > Michael Bernstein wrote: > > > On a slightly different note, I think that the permissions > > > list should be viewable in two more ways: A view where > > > permissions are grouped into 'subjects', (for example all > > Perhaps a better idea is that Permissions are classes that inherit from > super class permissions, so permission could be laid out in a > heirarchical fasion. I dunno, I'd prefer to see something like: Role | Manager |\/| (dropdown list ;-) DTML Method [] Add [] View ...etc... Squishdot Site [] Add [] View [] Moderate ...etc... rather than the current list where you can have something like: Use [] [] [] ...where someone has carelessly named a permission and you have no idea what product it relates to. cheers, Chris From tdickenson@geminidataloggers.com Wed Oct 18 11:10:51 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 18 Oct 2000 11:10:51 +0100 Subject: [Zope] bobobase_modification_time and .zexp In-Reply-To: <39ECC3BE.15125.7A005BC@localhost> References: <39EC980C.3C49C228@softax.com.pl> <39ECC3BE.15125.7A005BC@localhost> Message-ID: On Tue, 17 Oct 2000 21:25:18 +0200, "Wolfgang Strobl" wrote: >> Wherever I need information when the page has been created, I use my >> creationTime attribute. > >Sure. For your own creations it's somewhat easier, just create your >own timestamps. But what about existing content. Say: what if you >have a Yihawdirectory which has grown for a while, plus a >collection of Zwikis scattered over various Zopes, which I want to >move into a a single new, but already existing on a bigger, greater >and better server? Zopes existing 'find' mechanism lets you apply an operation to all the objects that it matches - use that to patch your existing objects to the new schema. >> I do not know how to implement 'modificationTime' attribute (or >> better: how to change it whenever someone edits or uploads the >> document). > >Well, for a moment I considered hacking ExportImport.py, but it's >not obvious. That's why I'm asking whether somebody perhaps >already has solved the problem. > >There is the option of stripping all the various data.fs and combining >them via mounting, but this is far from elegant, if it works at all. bobobase_modification_time returns the timestamp of the transaction containing the most recent copy of the object. timestamping is fundamental to ZODB. For this alone to work you will need to keep the objects in separate data.fs files forever. Toby Dickenson tdickenson@geminidataloggers.com From sabaini@niil.at Wed Oct 18 12:37:41 2000 From: sabaini@niil.at (Peter Sabaini) Date: Wed, 18 Oct 2000 13:37:41 +0200 (CEST) Subject: [Zope] DCOracle + LOB Message-ID: hi all, i have this shiny brand new oracle 8i server and now read (on the mailinglist) that there's no lob support for oracle 8i in dcoracle 1.3.2, and indeed it does not appear to work. is that true? i need lob support! is there any workaround? through stored procedures maybe? thanks a lot! peter. -- _________________________________________________ peter sabaini, mailto: sabaini@niil.at ------------------------------------------------- From richard@dcs.co.uk Wed Oct 18 12:20:06 2000 From: richard@dcs.co.uk (Richard Moon) Date: Wed, 18 Oct 2000 12:20:06 +0100 Subject: [Zope] MySQL and Zope struggles In-Reply-To: <39EC2BFD.175F7DDA@goldridge.net> References: <4.3.2.7.2.20001016185254.0239db20@195.60.12.162> Message-ID: <4.3.2.7.2.20001018121331.024ceef0@195.60.12.162> Thanks Monty, I did try the temporary table route - problem is that Zope keeps the connection open so the temporary table stays there. Of course you can explicitly drop the temporary table after you've used it. However if the update fails for any reason the temporary table will still exist so next time in the SQL method fails because its trying to create a temporary table that is already there. I know this shouldn't happen etc but I don't like code that has that kind of potential problem in it - it isn't 'fail-safe'. I decided better to use a permanent table. The SQL method locks it, deletes everything in it then writes the data it needs to store. That way its fail safe and I would expect more efficient than creating and dropping tables. However I hadn't appreciate the REPLACE command. That's a real hidden gem. I'm off to see if I can use it - thanks. Richard At 11:37 17/10/00, you wrote: >You can do it with temporary tables. > >Like this- > >create temporary table foo ( > note_id int, > notes varchar >); >insert into foo select Note.note_id, Note.notes from Note, Artist > where Note.note_id=Artist.note_id and Artist.artist_id=23; >update foo set notes="asdlfna"; >replace into Note select note_id, notes from foo; > >This does assume that the note_id is unique. >You may also need to explicitly drop foo, because it goes away when you >disconnect, but of course Zope holds connections open. > >!!! However -- now that I think of it... you can just do: >replace into Note select note_id, "New Note" from Artist where artist_id=23; > >Of couse, this will change all notes for an artist, so it assumes the >artist_id is unique as well. (Which I would assume it is from your model.) > >If you need more complex things, look into temporary tables, but the MySQL >extension (like replace) do allow you to do fun things. > >Hope this helps, >Monty > >Richard Moon wrote: > > > Nice idea. Trouble is the note table is used to hold notes for many > > different reasons, so it looks like this - > > > > ----------- ------------ -------- > > | Artist | | Recording | | Label | etc. > > ----------- ------------ -------- > > | artist_id | |recording_id| |label_id| > > | note_id | |note_id | |note_id | > > ----------- ------------ -------- > > | | | | | > > --------------------------------------------------------- > > | > > ---------- > > | Note | > > ---------- > > | note_id | > > | notes | > > ---------- > > > > It looks as if there wasn't anything I was missing - I'm just going to have > > to break the code up into separate SQL Methods. > > > > The example I gave was quite simple compared to some of the updates I have > > to deal with. > > > > Thanks anyway. > > > > At 17:40 16/10/00, you wrote: > > >Or you could renormalize your data to have: > > > > > > --------- ----------- > > >| Artist | | Note | > > >|---------|-------|-----------| > > >| id | | id | > > > --------- | artist_id | > > > | note_str | > > > ----------- > > > > > >you now have a list of notes by artist_id. > > >You typically won't have a screen that doesn't have an Artist context > > >to be adding a note to. (or to remove all notes from). > > >Of course this means more work to migrate :-( > > >And I don't know all possible scenarios for which you would > > >need the structure you gave, but it is another way around this. > > >It probably doesn't solve real complex scenarios either. > > > > > >JAT > > > > > >Dale > > > > Richard Moon > > richard@dcs.co.uk > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From brocken22@gmx.de Wed Oct 18 13:05:47 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Wed, 18 Oct 2000 14:05:47 +0200 (MEST) Subject: [Zope] Mozilla->back button Message-ID: <5288.971870747@www26.gmx.net> To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? -- Sent through GMX FreeMail - http://www.gmx.net From fjesteban@uco.es Wed Oct 18 13:11:05 2000 From: fjesteban@uco.es (Francisco =?iso-8859-1?Q?Jos=E9?= Esteban =?iso-8859-1?Q?Risue=F1o?=) Date: Wed, 18 Oct 2000 14:11:05 +0200 Subject: [Zope] DCOracle + LOB References: Message-ID: <39ED9359.264E4CF@uco.es> If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully to insert/select text into/from a clob column. Peter Sabaini escribió: > hi all, > > i have this shiny brand new oracle 8i server and now read (on the > mailinglist) that there's no lob support for oracle 8i in dcoracle > 1.3.2, and indeed it does not appear to work. > > is that true? i need lob support! is there any workaround? through > stored procedures maybe? > > thanks a lot! > > peter. > > -- > > _________________________________________________ > peter sabaini, mailto: sabaini@niil.at > ------------------------------------------------- > > _______________________________________________ > 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 ) From ssmith6@bigpond.net.au Wed Oct 18 13:19:25 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Wed, 18 Oct 2000 22:19:25 +1000 Subject: [Zope] SQL cursor error Message-ID: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Anyone know what this means? Error Type: sql.error Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor state' I get this when I try to submit a form which passes control to a dtml method. that method in turn makes a dtml-call to another, which calls a SQL method. Regards Steve Smith From chrism@digicool.com Wed Oct 18 05:44:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Wed, 18 Oct 2000 00:44:41 -0400 Subject: [Zope] transactions howto released Message-ID: <000301c03908$4698bb30$1f48a4d8@kurtz> Hi. There's a short howto describing the semantics of ZODB transactions at http://www.zope.org/Members/mcdonc/HowTos/transaction. Enjoy! From ecolmar@uswest.net Wed Oct 18 14:40:05 2000 From: ecolmar@uswest.net (ed colmar) Date: Wed, 18 Oct 2000 07:40:05 -0600 Subject: [Zope] UserDb - Please just WORK Message-ID: <004401c03908$ec509700$0400000a@caliber> Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the specified user does not exist". Arrggg this task is so simple but REALLY FRUSTRATING... Thank you, thank you, thank you... (to anyone who can help) Error Type: TypeError Error Value: argument 1: expected read-only character buffer, None found Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in traverse File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in validate (Object: RoleManager) File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in validate (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in getUsers (Object: RoleManager) File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in __init__ TypeError: (see above) From cobrien@Radix.Net Wed Oct 18 14:36:13 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? Message-ID: <200010181336.JAA26776@saltmine.radix.net> Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out might see all these seemingly useful things and get frustrated when they dont work. Arrrggg. I just want a bulletin board that works! I know what you are going to say, so I'll start digging through the python code before you yell at me... -- cary From kthangavelu@earthlink.net Wed Oct 18 09:35:27 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:35:27 -0700 Subject: [Zope] Mozilla->back button References: <5288.971870747@www26.gmx.net> Message-ID: <39ED60CF.82677F@earthlink.net> brocken22@gmx.de wrote: > > To support Mozilla I'd like to switch to M18, but in the > Zope-Management-Interface the back-button doesn't seems to work. > What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil From kthangavelu@earthlink.net Wed Oct 18 09:57:10 2000 From: kthangavelu@earthlink.net (Kapil Thangavelu) Date: Wed, 18 Oct 2000 01:57:10 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181336.JAA26776@saltmine.radix.net> Message-ID: <39ED65E6.523E77EF@earthlink.net> Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! perhaps you want to check out ZUBB... kapil From johanc@torped.se Wed Oct 18 15:21:43 2000 From: johanc@torped.se (Johan Carlsson) Date: Wed, 18 Oct 2000 16:21:43 +0200 Subject: [Zope] INSTANCE_HOME breaks cross products import Message-ID: <013c01c0390e$c164ada0$ac0aa8c0@tor.torped.se> Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import anything from the ZPattern module. 2000-10-17T21:59:14 ERROR(200) Zope Couldn't import Products.LoginManager Traceback (innermost last): File /bigshare/zopeservers/Zope-2.2.2-base/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /bigshare/zopeservers/unitedrings/Products/LoginManager/__init__.py, line 1, in ? File /bigshare/zopeservers/unitedrings/Products/LoginManager/LoginManager.py, line 9, in ? ImportError: cannot import name SheetProviderContainer Now this works fine if I start Zope from the base Zope installation. So what goes wrong and why? Does I do anything wrong or should/could this be fixed in the product? If so I guess it would be practical to document som product author guidelines. Regards, Johan Carlsson From phil.harris@zope.co.uk Wed Oct 18 15:29:46 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Wed, 18 Oct 2000 15:29:46 +0100 Subject: [Zope] UserDb - Please just WORK References: <004401c03908$ec509700$0400000a@caliber> Message-ID: <01dd01c0390f$e026dd70$5c773fc1@media1> ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be something like : select username, "PASSWORD",domains,roles from users Note the quotation marks around 'password'. Another solution involves editing UserDB.py, I can't remember the exact place, but you need to tell it to use a different name for the password field, I chose 'password_' at one time, which also fixed the problem. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "ed colmar" To: Sent: Wednesday, October 18, 2000 2:40 PM Subject: [Zope] UserDb - Please just WORK > Since Login Manager isn't doing the trick, I've been trying User DB to > authenticate to my postgresql DB. > > I get some strange errors, like when I try to view a page that is > 'protected' by UserDb, I get the error message below. Also, when I click a > user in the management screen, it says "the specified user does not exist". > > Arrggg this task is so simple but REALLY FRUSTRATING... > > Thank you, thank you, thank you... (to anyone who can help) > > Error Type: TypeError > Error Value: argument 1: expected read-only character buffer, None found > > Traceback (innermost last): > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in > publish_module > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in > publish > File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: Traversable) > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in > publish > File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in > traverse > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in > validate > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in > getUsers > (Object: RoleManager) > File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in > __init__ > TypeError: (see above) > > > > > _______________________________________________ > 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 ) From knight@righteous.net Wed Oct 18 15:24:03 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:24:03 -0700 (PDT) Subject: [Zope] SQL cursor error In-Reply-To: <000401c038fd$a81e1900$be348490@vic.bigpond.net.au> Message-ID: The first problem is your are running Microsoft. Just kidding. On Wed, 18 Oct 2000, steve smith wrote: > Anyone know what this means? > > Error Type: sql.error > Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor > state' > I get this when I try to submit a form which passes control to a dtml > method. that method in turn makes a dtml-call to another, which calls a SQL > method. > > > Regards > Steve Smith > > > _______________________________________________ > 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 ) > > From knight@righteous.net Wed Oct 18 15:26:04 2000 From: knight@righteous.net (knight) Date: Wed, 18 Oct 2000 07:26:04 -0700 (PDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: Cary, I've written some code that requires ZSQL Methods that I've been heavily considering porting over to a Product sometime in the near future. It has been more of a "is there enough demand for a forum product" than anything really. Take a look at http://www.phunc.com/Forums and tell me if it looks any bit appealing to you. If I see enough demand, I'll productize it, otherwise, tough luck ;] Knight knight@phunc.com On Wed, 18 Oct 2000, Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From fred@ontosys.com Wed Oct 18 15:39:20 2000 From: fred@ontosys.com (Fred Yankowski) Date: Wed, 18 Oct 2000 09:39:20 -0500 Subject: [Zope] Help Debugging External Methods In-Reply-To: <39ED2189.48CEE0BF@earthlink.net> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> <39ED2189.48CEE0BF@earthlink.net> Message-ID: <20001018093920.A2884@enteract.com> On Tue, Oct 17, 2000 at 09:05:29PM -0700, Kapil Thangavelu wrote: > The Debugger is your friend > http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend That's a useful page -- thanks for the link. It's interesting that the example fooMethod() function has a major flaw, contrary to what the HowTo says: "There's actually nothing wrong with this method to debug". I would have replied directly to the author, 'michel', but his email address does not appear on that HowTo page or any of the pages that I scanned under http://www.zope.org/Members/michel. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From jatwood@bwanazulia.com Wed Oct 18 15:50:25 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 10:50:25 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181336.JAA26776@saltmine.radix.net> Message-ID: There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > To: zope@zope.org > Subject: [Zope] How about removing broken things like Confera and > ZDiscussions? > > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting out might see all > these seemingly useful things and get frustrated when > they dont work. > > Arrrggg. I just want a bulletin board that works! > > I know what you are going to say, so I'll start digging > through the python code before you yell at me... > > -- cary > > > _______________________________________________ > 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 ) > > From jason_zope@yahoo.com Wed Oct 18 16:57:33 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 18 Oct 2000 08:57:33 -0700 (PDT) Subject: [Zope] GUF, ZODB, and 2.2.2 Message-ID: <20001018155733.22225.qmail@web4601.mail.yahoo.com> Has anyone had luck getting GUF to work using ZODB to store the user info, and Zope version 2.2.2 (no hot fixes)? I had some code working fine in 2.2.1, but in 2.2.2 I am having lots of trouble getting GUF to work. The current implementation I have places a folder in the acl_users (GUF) folder and that is where I've put my own ZClass (representing each user) inside that folder. In a vain attempt to get it working I have made sure that there are no aquired rights in acl_users, and that anonymous has the Can Login, and Access contents rights. I've also changed all of the hooks I have and made them proxy as root. I've had trouble in the past with GUF but I've always gotten it working. Not so here. Has anyone tried this type of setup and gotten it working? __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jprettyman@acm.org Wed Oct 18 17:01:09 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 09:01:09 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Kapil Thangavelu's message of "Tue, 17 Oct 2000 16:14:54 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com" ) print server for k,v in server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): print "%-15s: %s" % (k, v) My ZClass has a propertysheet named ``common'' The error I get is: -2 Unexpected Zope Error Value and a bunch of HTML which boils down to: Resource not found -jon Kapil Thangavelu writes: > its easiest to it with (IMO) > > xml-rpc > > and find your zclasses with calls to objectids and query the > propertysheets directly for property info. > > > check out > > http://www.zope.org/Members/Amos/xmlrpclib.py > you'll need to fix a base class and an import. > > www.xml-rpc.com > > www.xml.com search for amos > > and zope.org for howtos on xmlrpc > > Cheers > > Kapil > > _______________________________________________ > 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 ) From zope@snoman.com Wed Oct 18 17:16:15 2000 From: zope@snoman.com (Dustin) Date: Wed, 18 Oct 2000 16:16:15 -0000 Subject: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7 Message-ID: <200010181616.LAA00374@dawn.digitaldawn.com> Thanks for the help Kapil. That was the problem, but what I did instead was copied the PoPymodule.so from the system python lib folder to /zope_home/lib/python. That did the trick. Dustin Kapil Thangavelu said: > > hi dustin > > your probably not running the same python interpreters. > > check your start shell script and see which python interpreter its using > and compare > it to (i'm kinda of assuming your're on a *nix system) > > >which python > > they probably aren't the same. just edit the start script accordingly. > > kapil > > zope@engelhaupt.com wrote: > > > > I have a working install of Zope 2.2.2. I installed the python module PoPy > > 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA > > README said to run a configure script but there was none. So I just moved the > > ZPoPyDA directory it created into the lib/python/Products directory in my zope > > home. > > > > Now for the strange part. When I start zope, I get the following: > > > > 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA > > Traceback (innermost last): > > File /zope_home/lib/python/OFS/Application.py, line 397, in import_products > > (Object: string) > > File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? > > File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? > > ImportError: No module named PoPy > > > > ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out > > on my own. I created a file with the following line: > > > > import PoPy > > > > I ran 'python test' and no errors. I added the line: > > > > import bla > > > > And then ran 'python test' again just to be sure and it did die saying no such > > module bla. I even typed 'import PoPy' in the python interactive shell and > > nothing. So outside of zope, python seems to be able to import PoPy, but when > > zope tries to import ZPoPyDA it claims there is no PoPy module. > > > > Any ideas? > > > > Thanks in advance, > > Dustin > > > > _______________________________________________ > > 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 ) > From chrisw@nipltd.com Wed Oct 18 17:21:41 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:21:41 +0100 Subject: [Zope] __len__ Errors References: Message-ID: <39EDCE15.EBC8C92C@nipltd.com> Nope, the list might benefit from seeing the traceback though... cheers, Chris Scott Burton wrote: > > They are ZDiscussion based. I might have figured out why. I added my custom > properties to the discussion items. I did not know ZD was python-based and > not entirely ZClassed. > > I have been moving my products over to 2.2 on my server with the exception > of ZDiscussion which seems to be giving me a strange error when I try to > import the ZDiscussion.zexp. It is an A pickle error. I could give you the > trace back it has some strange errors in it regarding other product???. > > I will try some more this evening. > > Thanks, > > Scott > > > From: Chris Withers > > Organization: New Information Paradigms > > Date: Wed, 18 Oct 2000 10:16:34 +0100 > > To: Scott Burton > > Subject: Re: [Zope] __len__ Errors > > > > Scott: No HTML mail! ;-) > > > > Are the discussions groups Squishdot-based? > > > > Any reason you can't upgrade to 2.2.2? > > > > cheers, > > > > Chris > > > > Scott Burton wrote: > >> > >> I seem to be getting __len__ errors: Error type: > >> exceptions.AttributeError > >> Error value: __len__ > >> When accessing any method with an loop. > >> I am running 2.1.6, with the current hot fixes. It seems to have > >> started after installing the hot fixes. > >> I can replicate it with a simple loop in a method. I read > >> somewhere about the hotfix changing objects ownerships. Could this be > >> causing this? If so, how do I remove a hotfix? It has rendered my > >> discussion groups useless. > >> > >> TIA > >> > >> Scott > > From aboulang@ldeo.columbia.edu Wed Oct 18 17:26:28 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Wed, 18 Oct 2000 12:26:28 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: Message-ID: <200010181626.MAA20584@ox.ldgo.columbia.edu> There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a more formal declaration of the dependencies on versions of products relied upon at the download pages -- for some products this has become a tricky and madning process to make sure all the versions are correct for a product to run. This is natural in the progress of Zope and Zope products and will become even more and issue as Zope matures even further. This can be formalized. I do like the way SGI does some of this. Just my cents (sense). Regards, Albert Boulanger aboulanger@vpatch.com From chrisw@nipltd.com Wed Oct 18 17:29:31 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 17:29:31 +0100 Subject: [Zope] Discussions References: <200010181336.JAA26776@saltmine.radix.net> <39ED65E6.523E77EF@earthlink.net> Message-ID: <39EDCFEB.5BB3F2BB@nipltd.com> Kapil Thangavelu wrote: > > Cary O'Brien wrote: > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > perhaps you want to check out ZUBB... Or Squishdot ;-) Who's maintaining ZUBB nowadays? cheers, Chris From cobrien@Radix.Net Wed Oct 18 17:32:14 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:32:14 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181626.MAA20584@ox.ldgo.columbia.edu> from albert boulanger at "Oct 18, 2000 12:26:28 pm" Message-ID: <200010181632.MAA17485@saltmine.radix.net> > > > There is a ZDiscussions that works. It is called ZUBB. > > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > > Might be better to have a more formal declaration of the dependencies > on versions of products relied upon at the download pages -- for some > products this has become a tricky and madning process to make sure all > the versions are correct for a product to run. This is natural in the > progress of Zope and Zope products and will become even more and issue > as Zope matures even further. This can be formalized. I do like the > way SGI does some of this. > Bangs head. Doh! Why the heck don't products have explicit requirements the "package require n.m" in TCL. Heck, python ought to. Import Fred(1.2) from Bedrock Or something like that. -- cary From mvmendes@emdata.com.br Wed Oct 18 15:39:15 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Wed, 18 Oct 2000 14:39:15 +0000 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39EDB613.E94E2A65@emdata.com.br> Take a look at Security View of its ZClass. Give permissions to anonymous users. Marcus Mendes Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From andym@ActiveState.com Wed Oct 18 17:41:09 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 18 Oct 2000 09:41:09 -0700 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? References: <200010181632.MAA17485@saltmine.radix.net> Message-ID: <013b01c03922$38697300$50f47118@cr582427a> How about a tested with version x field on Products? ----- Original Message ----- From: "Cary O'Brien" To: Cc: Sent: Wednesday, October 18, 2000 9:32 AM Subject: Re: [Zope] How about removing broken things like Confera and ZDiscussions? > > > > > > There is a ZDiscussions that works. It is called ZUBB. > > > > http://www.zope.org/Members/BwanaZulia/ZUBB > > > > But, I agree, old product that have been left behind (the old version of > > ZDiscussions/Confera) should be marked and or archived. > > > > J > > > > > > > > Might be better to have a more formal declaration of the dependencies > > on versions of products relied upon at the download pages -- for some > > products this has become a tricky and madning process to make sure all > > the versions are correct for a product to run. This is natural in the > > progress of Zope and Zope products and will become even more and issue > > as Zope matures even further. This can be formalized. I do like the > > way SGI does some of this. > > > > Bangs head. Doh! > > Why the heck don't products have explicit requirements the "package require n.m" > in TCL. Heck, python ought to. > > Import Fred(1.2) from Bedrock > > Or something like that. > > -- cary > > _______________________________________________ > 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 ) > From cobrien@Radix.Net Wed Oct 18 17:41:59 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: from "J. Atwood" at "Oct 18, 2000 10:50:25 am" Message-ID: <200010181641.MAA18455@saltmine.radix.net> > There is a ZDiscussions that works. It is called ZUBB. > But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Arrg. -- cary > http://www.zope.org/Members/BwanaZulia/ZUBB > > But, I agree, old product that have been left behind (the old version of > ZDiscussions/Confera) should be marked and or archived. > > J > > > From: "Cary O'Brien" > > Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) > > To: zope@zope.org > > Subject: [Zope] How about removing broken things like Confera and > > ZDiscussions? > > > > > > Why are things like ZDiscussions and Confera even on the > > zope download pages? They don't work! It would be better > > if they were moved to a section called "Things that worked > > once but aren't being maintained so they don't work > > any more". Otherwise people starting out might see all > > these seemingly useful things and get frustrated when > > they dont work. > > > > Arrrggg. I just want a bulletin board that works! > > > > I know what you are going to say, so I'll start digging > > through the python code before you yell at me... > > > > -- cary > > > > > > _______________________________________________ > > 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 ) > > > > > From jatwood@bwanazulia.com Wed Oct 18 17:51:59 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:51:59 -0400 Subject: [Zope] How about removing broken things like Confera and ZDiscussions? In-Reply-To: <200010181641.MAA18455@saltmine.radix.net> Message-ID: So... add attachments. Not really a big deal. No one product is going to do it all out of the box. That is why it is Open Source.. you open it and provide your own source of code. :) J > From: "Cary O'Brien" > Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) > To: jatwood@bwanazulia.com (J. Atwood) > Cc: cobrien@radix.net, zope@zope.org > Subject: Re: [Zope] How about removing broken things like Confera and > ZDiscussions? > >> There is a ZDiscussions that works. It is called ZUBB. >> > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. > > Arrg. > > -- cary > > >> http://www.zope.org/Members/BwanaZulia/ZUBB >> >> But, I agree, old product that have been left behind (the old version of >> ZDiscussions/Confera) should be marked and or archived. >> >> J >> >>> From: "Cary O'Brien" >>> Date: Wed, 18 Oct 2000 09:36:13 -0400 (EDT) >>> To: zope@zope.org >>> Subject: [Zope] How about removing broken things like Confera and >>> ZDiscussions? >>> >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >>> >>> I know what you are going to say, so I'll start digging >>> through the python code before you yell at me... >>> >>> -- cary >>> >>> >>> _______________________________________________ >>> 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 ) >>> >>> >> > > From jatwood@bwanazulia.com Wed Oct 18 17:54:22 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 12:54:22 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDCFEB.5BB3F2BB@nipltd.com> Message-ID: Yes, Squishdot is a very good option as well. ZUBB, it would seem, it being maintained by little ole me. Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 17:29:31 +0100 > To: Kapil Thangavelu > Cc: "Cary O'Brien" , zope@zope.org > Subject: Re: [Zope] Discussions > > Kapil Thangavelu wrote: >> >> Cary O'Brien wrote: >>> >>> Why are things like ZDiscussions and Confera even on the >>> zope download pages? They don't work! It would be better >>> if they were moved to a section called "Things that worked >>> once but aren't being maintained so they don't work >>> any more". Otherwise people starting out might see all >>> these seemingly useful things and get frustrated when >>> they dont work. >>> >>> Arrrggg. I just want a bulletin board that works! >> >> perhaps you want to check out ZUBB... > > Or Squishdot ;-) > > Who's maintaining ZUBB nowadays? > > 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 ) > > From chrisw@nipltd.com Wed Oct 18 18:04:54 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:04:54 +0100 Subject: [Zope] Squish it References: <200010181641.MAA18455@saltmine.radix.net> Message-ID: <39EDD836.C90CA6A1@nipltd.com> Cary O'Brien wrote: > > > There is a ZDiscussions that works. It is called ZUBB. > > > > But it doesn't do attachments. I really need attachments. > I'm trying to fix Attachments in ZDConfera, but the FileObject > class doesn't seem to exist any more. Squishdot does attachments ;-) Chris PS: It was originally based on ZDConfera, btu has grown a bit since then ;-) From chrisw@nipltd.com Wed Oct 18 18:05:55 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 18 Oct 2000 18:05:55 +0100 Subject: [Zope] Discussions References: Message-ID: <39EDD873.83FA3B7B@nipltd.com> "J. Atwood" wrote: > > Maybe I should write a little "Differences between ZUBB and Squishdot" so > people can figure out where to use one or the other. I'd love to read it :-) Chris From kthangavelu@earthlink.net Wed Oct 18 13:35:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 05:35:12 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> Message-ID: <39ED9900.5219EA03@earthlink.net> Jon Prettyman wrote: > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > server. So far I can retrieve objectIds and retrieve objects via an > objectid, but I can't figure out how to get to the property sheets. > > Here's what I've got: > > server = Server( "http://jonprettyman.com" ) > > print server > > for k,v in > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > print "%-15s: %s" % (k, v) > > My ZClass has a propertysheet named ``common'' > > The error I get is: > -2 Unexpected Zope Error Value > > and a bunch of HTML which boils down to: > > Resource not found > > -jon hmmm... try and take it a step back and query the propertysheet container for names of propertysheets it contains. you'll need to check out the ZQR for the syntax, i think its propertyIds(). you might also want to check that your authenticating with a user that has the proper security roles to query this info. if you're still having problems tell me and i'll play with it once i get back from work. Cheers Kapil From jatwood@bwanazulia.com Wed Oct 18 19:43:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 18 Oct 2000 14:43:57 -0400 Subject: [Zope] Discussions In-Reply-To: <39EDD873.83FA3B7B@nipltd.com> Message-ID: No problem... I have to go look at Squishdot again though. Forgetting some of the features. J > From: Chris Withers > Organization: New Information Paradigms > Date: Wed, 18 Oct 2000 18:05:55 +0100 > To: "J. Atwood" > Cc: Kapil Thangavelu , Cary O'Brien > , zope@zope.org > Subject: Re: [Zope] Discussions > > "J. Atwood" wrote: >> >> Maybe I should write a little "Differences between ZUBB and Squishdot" so >> people can figure out where to use one or the other. > > I'd love to read it :-) > > Chris > From jprettyman@acm.org Wed Oct 18 19:38:22 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 11:38:22 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 05:35:12 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: Adding: try: for k in server.EBQ.id_company_apply_html.propertysheets.propertyIds(): print "%-15s:" % (k) except Error, v: print server print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are properties of server.EBQ. -jon Ender writes: > Jon Prettyman wrote: > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > server. So far I can retrieve objectIds and retrieve objects via an > > objectid, but I can't figure out how to get to the property sheets. > > > > Here's what I've got: > > > > server = Server( "http://jonprettyman.com" ) > > > > print server > > > > for k,v in > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > print "%-15s: %s" % (k, v) > > -jon > > hmmm... > > try and take it a step back and query the propertysheet container for > names of propertysheets it contains. you'll need to check out the ZQR > for the syntax, i think its propertyIds(). > > > you might also want to check that your authenticating with a user > that has the proper security roles to query this info. > > > if you're still having problems tell me and i'll play with it once i get > back from work. > > Cheers > > Kapil > > _______________________________________________ > 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 ) From DBaker@CHW.edu Wed Oct 18 22:44:39 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:44:39 -0700 Subject: [Zope] MySQL and Zope struggles Message-ID: What about one sql method: select @noteid:=note_id from artist where update note set notes = where note_id = @noteid -----Original Message----- From: Richard Moon [mailto:richard@dcs.co.uk] Sent: Monday, October 16, 2000 2:48 AM To: zope@zope.org Subject: [Zope] MySQL and Zope struggles I'm struggling to migrate an application from Zope/PostgreSQL to Zope MySQL (Why ? - because I've got a kind offer of free hosting if I use MySQL). MySQL offers a limited set of features and is missing, among other things, the ability to use subqueries - so for example in PostgreSQL you can say update note set notes = where note_id = (select note_id from artist where ) and in MySQL you can't. If you were working in a traditional programming environment you could overcome this by splitting the above into two parts - a select to retrieve the value of note_id from the artist table followed by an update of the note table using the returned value of note-id. For example select note-id into note-id-var from artist where artist-id = 23; update note set notes = 'asdasda' where note-id = note-id-var; The problem is that in Zope I believe you can't use a returned value within an SQL Method, so the above code would fail. The only way I can see to do the above is to have two separate SQL Methods, one for the select, returning the note-id-var and another for the update. This is very clumsy. I was wondering if anyone could tell me if there was a better way. Many thanks Richard Richard Moon richard@dcs.co.uk _______________________________________________ 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 ) From DBaker@CHW.edu Wed Oct 18 22:46:22 2000 From: DBaker@CHW.edu (Baker, Dennis [sjmr]) Date: Wed, 18 Oct 2000 14:46:22 -0700 Subject: [Zope] Two questions regarding SQL Message-ID: Dunno if someone replied to this, but try GUF. Let's you roll your own authentication. There is a howto out there for using GUF with an SQL server. -----Original Message----- From: //www.alomega.com/ [mailto:amadorm@usm.edu.ec] Sent: Tuesday, October 17, 2000 3:02 PM To: zope@zope.org Subject: [Zope] Two questions regarding SQL Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil _______________________________________________ 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 ) From asc@vineyard.net Wed Oct 18 22:54:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 17:54:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER Message-ID: Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping that I'm not staring right past the problem. Can anyone point out what it is I am doing wrong? Thanks, a) DTML Document : foo b) ZSQL Method : people.lookup_by_username select * from people where username = "" From jprettyman@acm.org Wed Oct 18 23:18:17 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 18 Oct 2000 15:18:17 -0700 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Aaron Straup Cope's message of "Wed, 18 Oct 2000 17:54:57 -0400 (EDT)" References: Message-ID: I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From asc@vineyard.net Thu Oct 19 00:20:57 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Wed, 18 Oct 2000 19:20:57 -0400 (EDT) Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: > I'm pretty sure that all variables have to be passed in explicitly > with SQLMethods. Namespaces are not passed in. > > Try specifying username as an argument in the ZSQLMethods edit form > and pass it in like this: > "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()"> > > (Untested....) > > -jon > > Aaron Straup Cope writes: > > > Hi, > > > > I'm trying to perform a simple MySQL lookup based on the > > AUTHENTICATED_USER. When I test the ZSQL method from the management > > interface, everything works fine. However, when I try to call the method > > from a DTML document, [it] returns nothing. > > > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > > right past the problem. Can anyone point out what it is I am doing > > wrong? Thanks, > > > > a) DTML Document : foo > > > > > > > > > > > > > > > > b) ZSQL Method : people.lookup_by_username > > > > select * from people where username = " > "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > > > > > _______________________________________________ > > 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 ) > > From ssmith6@bigpond.net.au Thu Oct 19 00:19:48 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Thu, 19 Oct 2000 09:19:48 +1000 Subject: [Zope] ZSQL Method & AUTHENTICATED_USER In-Reply-To: Message-ID: <000501c03959$e9c75040$be348490@vic.bigpond.net.au> I have an approach that works for me, but it may be a bit awkward. I have a SQL method (dbGetUserID) which takes AUTHENTICATED_USER as an argument and finds the value from the "userid" field in the database: select userid from users where shortname = When I need to perform database ops on the user, I just call this method and use the resulting id, eg, insert into sometable (userid, otherfield) values (, ) I have AUTHENTICATED_USER in the parameter list for this SQL method as well, though it may not need to be... Steve -----Original Message----- From: jjp@wacko.pdx.net [mailto:jjp@wacko.pdx.net]On Behalf Of Jon Prettyman Sent: Thursday, 19 October 2000 8:18 To: zope@zope.org Subject: Re: [Zope] ZSQL Method & AUTHENTICATED_USER I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested....) -jon Aaron Straup Cope writes: > Hi, > > I'm trying to perform a simple MySQL lookup based on the > AUTHENTICATED_USER. When I test the ZSQL method from the management > interface, everything works fine. However, when I try to call the method > from a DTML document, [it] returns nothing. > > Is this a namespace issue? I'm stumped and hoping that I'm not staring > right past the problem. Can anyone point out what it is I am doing > wrong? Thanks, > > a) DTML Document : foo > > > > > > > > b) ZSQL Method : people.lookup_by_username > > select * from people where username = " "REQUEST.AUTHENTICATED_USER.getUserName()">" > > > > _______________________________________________ > 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 ) From curtis@cardgate.net Thu Oct 19 01:11:05 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 19 Oct 2000 11:11:05 +1100 Subject: [Zope] A clarity problem... Message-ID: <00101911110507.01234@localhost.localdomain> Green things, After seeing yet another problem caused by the 'shorthand' of zope (using "foo" to mean expr="foo") I was wondering just how difficult it would be to REMOVE this useful, but confusing, feature. Personally, I don't have a problem with it, any more. But it seems a sizable portion of traffic on this list is because of people who do. (True, it seems to have dropped off in recent weeks... is this because there is better doco, or have newbie numbers dropped?) Even if it were a build time option or something... just rambling... Curtis Maloney From andreas@ahit.de Thu Oct 19 01:56:29 2000 From: andreas@ahit.de (Andreas) Date: Thu, 19 Oct 2000 02:56:29 +0200 Subject: [Zope] OT: Zope/ReportLab/PDF generate left aligned tables Message-ID: <39EE46BD.69FECE79@ahit.de> Hi, Is anybody out there using ReportLab PDF library ? I successfully installed ReportLab and PIL to serve out pdf files with Zope. Now I'm in trouble with reportlab.platypus.SimpleDocTemplate ,Table. I can't figure out how to draw a table left aligned on a PageTemplate. I can set several styles of table cells but wehrer can I set the alignment of a table within it's frame? ################## # myZopeTable.py # ################## import string from reportlab.platypus import Image,Table, TableStyle, SimpleDocTemplate from reportlab.lib.units import inch, cm from reportlab.lib import colors from reportlab.pdfgen.canvas import Canvas from reportlab.lib.pagesizes import A4, landscape from reportlab.pdfgen.textobject import PDFTextObject from types import * class buffer: def __init__(self): self._buffer = [] self._size = 0 def write(self,line): self._buffer.append(str(line)) def read(self): data = string.join(self._buffer, '') return data def tell(self): return len(self._buffer) def myPage(canvas,doc): canvas.saveState() canvas.setPageCompression(1) canvas.setFont('Times-Roman',9) canvas.setAuthor('andreas@aHit.de') canvas.drawRightString(doc.leftMargin+doc.width,10,"Page %d" % doc.page) canvas.restoreState() def helloworld(self,req): stream = buffer() res=self.SqlWizardQuery() # ZSQLMethod data=[] for i in range(len(res)): row=res[i] items=[] items.append(req.sq+i) for j in range(len(row)): items.append(row[j]) data.append(items) t=Table(data) t.setStyle(TableStyle([('INNERGRID',(0,0),(-1,-1),0.25,colors.black), ('BOX',(0,0),(-1,-1),2.0,colors.black), ('ALIGN',(0,0),(-1,0),'CENTER'), ('ALIGN',(0,1),(0,-1),'RIGHT'), ('FONTSIZE',(0,0),(-1,0),8), ])) lst = [] lst.append(t) doc = SimpleDocTemplate(stream, pagesize=landscape(A4), leftMargin=2*cm, rightMargin=2*cm, topMargin=2.5*cm, bottomMargin=2*cm ,showBoundary=1) doc.build(lst,myPage,myPage) return stream.read() -- _________________________________________________________ Andreas Heckel andreas@aHIT.de From mvmendes@emdata.com.br Thu Oct 19 03:03:08 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 00:03:08 -0200 Subject: [Zope] ZopeTime Question Message-ID: <39EE565C.10E56169@emdata.com.br> Hello, Why the ZopeTime puts the differents values in the code bellow? The first give me todays date; the second give me the tomorrow date!! How can I obtain the todays date using fmt=%A sintaxe? Thanks in advance. Marcus Mendes From akm@mail.theinternet.com.au Thu Oct 19 02:19:13 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Thu, 19 Oct 2000 11:19:13 +1000 Subject: [Zope] ZopeTime Question In-Reply-To: <39EE565C.10E56169@emdata.com.br>; from Marcus Mendes on Thu, Oct 19, 2000 at 12:03:08AM -0200 References: <39EE565C.10E56169@emdata.com.br> Message-ID: <20001019111913.W11738@zeus.theinternet.com.au> +-------[ Marcus Mendes ]---------------------- | Hello, | | Why the ZopeTime puts the differents values in the code bellow? | | | | | | | The first give me todays date; | the second give me the tomorrow date!! | | How can I obtain the todays date using fmt=%A sintaxe? Explicitly pass your TimeZone into ZopeTime as well. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From homewerk@pacbell.net Thu Oct 19 02:40:47 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Wed, 18 Oct 2000 18:40:47 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 Message-ID: <39EE511F.7B02C0C8@pacbell.net> I currently have Zope and Python installed from the source code from the excellent instructions by JShell. But there is one little problem....CPU Utilization shoots above 97% as soon as I access the management screen. If anybody has any ideas or solutions. Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh 320Mb......G4 Thanks Jeff Jeffy.spamtrap.@.spamtrap2.myrealbox.com From kthangavelu@earthlink.net Wed Oct 18 21:38:29 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 18 Oct 2000 13:38:29 -0700 Subject: [Zope] Want to access ZClass Instance from external program References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> Message-ID: <39EE0A45.422DD031@earthlink.net> Sorry Jon, i've lead you down a slippery slope... unlike ttw dtml-methods and the rest of zope which relies on the security context soley, for a filesys python method to be exposed through the web via xml-rpc it must have a doc string as well as have proper credentials. looking through propertysheets there is no 'proper' way to do this... but i lead you down the path, so here is a way back out... there are a couple of options. the easiest is to have dtml_method for this zclass that functions as a helper method, like dtml method -- external_helper and in the client x = root.subfolder.zclass.external_helper() meta_info=eval(x) print meta_info ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) or if external_helper returned propertyItems() [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] if you're working with DateTime values in your propertysheets this will be trickier as you'll need to either retrieve the property you want independently or import Zope's DateTime module. also remember to set the security on the helper method so its not helping somebody hack your site. the rest of the ways are exercises in wasting time... IMO hope that helps out Cheers Kapil Jon Prettyman wrote: > > Adding: > try: > for k in > server.EBQ.id_company_apply_html.propertysheets.propertyIds(): > print "%-15s:" % (k) > except Error, v: > print server > print "ERROR", v > > Gives me output, although I'm pretty shure it's not the right thing. > Output: > title > base > > Both of these are properties of server.EBQ. > > -jon > > Ender writes: > > > Jon Prettyman wrote: > > > > > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > > > server. So far I can retrieve objectIds and retrieve objects via an > > > objectid, but I can't figure out how to get to the property sheets. > > > > > > Here's what I've got: > > > > > > server = Server( "http://jonprettyman.com" ) > > > > > > print server > > > > > > for k,v in > > > server.EBQ.id_company_apply_html.propertysheets.common.propertyItems(): > > > print "%-15s: %s" % (k, v) > > > -jon > > > > hmmm... > > > > try and take it a step back and query the propertysheet container for > > names of propertysheets it contains. you'll need to check out the ZQR > > for the syntax, i think its propertyIds(). > > > > > > you might also want to check that your authenticating with a user > > that has the proper security roles to query this info. > > > > > > if you're still having problems tell me and i'll play with it once i get > > back from work. > > > > Cheers > > > > Kapil > > > > _______________________________________________ > > 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 ) From terry@adroit.net Thu Oct 19 05:10:06 2000 From: terry@adroit.net (Terry Kerr) Date: Thu, 19 Oct 2000 15:10:06 +1100 Subject: [Zope] OT: documentation systems. Message-ID: <39EE741E.5D1B438E@adroit.net> Hi, What documentation systems to people use for developing offline hardcopy and online user documentation for applications that they develop? I am writing an extensive application using zope, and it needs a lot of user documentation. The system I use won't necessarily have to be web based...I just wants something that is effect. terry -- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 708 124 ICQ: 79303381 From Riku.Voipio@tietoenator.com Thu Oct 19 08:07:57 2000 From: Riku.Voipio@tietoenator.com (Riku Voipio) Date: Thu, 19 Oct 2000 10:07:57 +0300 Subject: [Zope] debugging zope? Message-ID: <20001019100757.A1254@samncd.tsd.tieto.com> Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio riku.voipio@tietoenator.com 09-862 60764 From mail@okstudio.com.au Thu Oct 19 11:18:13 2000 From: mail@okstudio.com.au (George Osvald) Date: Thu, 19 Oct 2000 20:18:13 +1000 Subject: [Zope] Z2.log question Message-ID: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George From gchiu@compkarori.co.nz Thu Oct 19 10:50:21 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Thu, 19 Oct 2000 22:50:21 +1300 Subject: [Zope] Tiny tables In-Reply-To: <20001013194008.A15613@corrada.com> Message-ID: On Fri, 13 Oct 2000 19:40:08 -0400 andres@corrada.com wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as such. One > quick way to get around this is to quote your field value > - > > "criteria:tokens" Hi, I tried this, and the tinytables just discarded the column. As a temporary fix, I've just created a ZClass to hold the tokens. What I would like to do now is feed the tokens into a sqlmethod, which then populates a tinytable with new values. My zclass has a string attribute called p_tinytable which holds the name of the tinytable to be changed. However, if I call the function as follows: I get: Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' or I get: Error Type: AttributeError Error Value: manage_editData -- Graham Chiu From jatwood@bwanazulia.com Thu Oct 19 11:18:27 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 19 Oct 2000 06:18:27 -0400 Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> References: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > From bill@carbonecho.com Thu Oct 19 12:40:21 2000 From: bill@carbonecho.com (Bill Welch) Date: Thu, 19 Oct 2000 11:40:21 +0000 (GMT) Subject: [Zope] Z2.log question In-Reply-To: <000001c039b5$e3bdbb60$e0f438cb@gosvald> Message-ID: The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? From Oliver Sturm Thu Oct 19 13:08:40 2000 From: Oliver Sturm (Oliver Sturm) Date: Thu, 19 Oct 2000 14:08:40 +0200 Subject: [Zope] Python/Perl methods? Message-ID: <4615697541.20001019140840@oliver-sturm.de> Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver mailto:sturm@oliver-sturm.de From mvmendes@emdata.com.br Thu Oct 19 23:19:00 2000 From: mvmendes@emdata.com.br (Marcus Mendes) Date: Thu, 19 Oct 2000 22:19:00 +0000 Subject: [Zope] ZopeTime Questions Message-ID: <39EF7354.3A1DA3D9@emdata.com.br> Hello, ->>>> I'm using the following code. ->>>> I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always !!!! ->>> I'm starting my Zope with option -L pt_BR. Any comments or help? Thanks in advance. Marcus Mendes From asc@vineyard.net Thu Oct 19 14:01:58 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Thu, 19 Oct 2000 09:01:58 -0400 (EDT) Subject: [Zope] OT: documentation systems. In-Reply-To: <39EE741E.5D1B438E@adroit.net> Message-ID: I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com There's alreast atleast one XML stylesheet for the outline documents : http://www.whump.com/www/xmlone/source/outline/outline.xsl On Thu, 19 Oct 2000, Terry Kerr wrote: > Hi, > > What documentation systems to people use for developing offline hardcopy > and online user documentation for applications that they develop? I am > writing an extensive application using zope, and it needs a lot of user > documentation. The system I use won't necessarily have to be web > based...I just wants something that is effect. > > terry > > > -- > Terry Kerr (terry@adroit.net) > Adroit Internet Solutions Pty Ltd (www.adroit.net) > Phone: +613 9563 4461 > Fax: +613 9563 3856 > Mobile: +61 414 708 124 > ICQ: 79303381 > > > > > _______________________________________________ > 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 ) > > From cobrien@Radix.Net Thu Oct 19 14:15:20 2000 From: cobrien@Radix.Net (Cary O'Brien) Date: Thu, 19 Oct 2000 09:15:20 -0400 (EDT) Subject: [Zope] ZDiscussions for Zope 2.2.2 Message-ID: <200010191315.JAA08209@saltmine.radix.net> Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a few places. 3) Fix a check for "Cancel" 4) fix the size of __ac_permissions__ I uploaded it to www.zope.org (never done that before, it is pretty nice!). I left the RCS files in place in case anyone wants to critique my um-er work. http://www.zope.org/Members/cobrien/ZDiscussions_zope22 You may be happier with ZUBB or Squishdot. -- cary From taco@scargo.nl Thu Oct 19 14:26:25 2000 From: taco@scargo.nl (Taco Scargo) Date: Thu, 19 Oct 2000 15:26:25 +0200 Subject: [Zope] Help needed with news articles Message-ID: <001501c039d0$2df5d400$53001f0a@TACOTOSHIBA> Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From steve@spvi.com Thu Oct 19 15:14:17 2000 From: steve@spvi.com (Steve Spicklemire) Date: Thu, 19 Oct 2000 09:14:17 -0500 (EST) Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 In-Reply-To: <39EE511F.7B02C0C8@pacbell.net> (message from Jeff Forsyth on Wed, 18 Oct 2000 18:40:47 -0700) References: <39EE511F.7B02C0C8@pacbell.net> Message-ID: <200010191414.JAA58313@mercury.spvi.com> Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve >>>>> "Jeff" == Jeff Forsyth writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions by JShell. But there is one little Jeff> problem....CPU Utilization shoots above 97% as soon as I Jeff> access the management screen. If anybody has any ideas or Jeff> solutions. Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Jeff> Rights Reserved. Power Macintosh Jeff> 320Mb......G4 Jeff> Thanks Jeff Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com Jeff> _______________________________________________ Zope Jeff> maillist - Zope@zope.org Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross Jeff> posts or HTML encoding! ** (Related lists - Jeff> http://lists.zope.org/mailman/listinfo/zope-announce Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From fred@ontosys.com Thu Oct 19 15:15:16 2000 From: fred@ontosys.com (Fred Yankowski) Date: Thu, 19 Oct 2000 09:15:16 -0500 Subject: [Zope] OT: documentation systems. In-Reply-To: References: <39EE741E.5D1B438E@adroit.net> Message-ID: <20001019091515.A36316@enteract.com> Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/license.html) prohibits use starting one year after the first commercial release. On Thu, Oct 19, 2000 at 09:01:58AM -0400, Aaron Straup Cope wrote: > I've been using the RadioUserland (nee Frontier) outliner to document the > Zope system I am building. It saves the outline files as XML documents so > I get to have a full-featured outliner to organzie my thoughts and a > (sort of) universal file format to share with people. -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From webmaven@lvcm.com Thu Oct 19 15:30:04 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:30:04 -0700 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> Message-ID: <39EF056B.C74E25B7@lvcm.com> Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if it's 'cos you got > your password wrong. If you see what I mean ;-) I see what you mean here, Chris, but wouldn't this come under the heading of a 'security through obscurity' hole? ie. you're saying that the system isn't obscure enough? Michael. From webmaven@lvcm.com Thu Oct 19 15:59:53 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Thu, 19 Oct 2000 07:59:53 -0700 Subject: [Zope] Bypass ZODB and use File System References: Message-ID: <39EF0C69.7EBC82EC@lvcm.com> Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my organization is > that there is a lot of resistance to my prototype Zope > document management system due to the fact that everything is > stored in ZODB. We think this risky -- possibly a data prison. The way my organization does it, is to manage the content within Zope, and to regularly run 'wget' on the server to replicate it all to static files, which are then served by Apache on another server. Doing that, plus regular backups of the Data.fs file (you're already making regular backups of your Apache based system, right?), and you should be guarded against any but the most catastrophicly unlikely disaster scenarios (you do have a disaster recovery plan, right?). wget is really a very easy way to get documents back out of Zope, and if your system is designed to do this as a matter of course (perhaps by using 'cron'), it should silence those particular criticisms. > Also people don't want to change from their current habits of > editing files via NFS or Samba mounted directories. My original > plan was to allow them some sort of syncronization process, > but now I think that would be crazy. Hmm. I guess it depends on what percentage of your users want to keep doing this. You can certainly combine LocalFS with the approach that I outlined above. I would make it a special case. Keep the CMS server separate from the Apache server, and only allow the mounted directories on the CMS server. I've found that people appreciate being able to manage their content from anywhere through a browser, and they tend to gravitate toward that as a matter of course, once it's there, if they're not forced to do it. In short, give people options, and see which ones they actually use. HTH, Michael Bernstein. From homewerk@pacbell.net Thu Oct 19 16:25:19 2000 From: homewerk@pacbell.net (Jeff Forsyth) Date: Thu, 19 Oct 2000 08:25:19 -0700 Subject: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2 References: <39EE511F.7B02C0C8@pacbell.net> <200010191414.JAA58313@mercury.spvi.com> Message-ID: <39EF125F.CC8103D4@pacbell.net> I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production. Would upgrading Python to 1.6 or 2.0 solve some problems on MacOS X Server (Rhapsody)? Steve Spicklemire wrote: > Hmmm.. I'm running Zope on mosxb and it works fine... > > http://www.zope.org/Members/sspickle/MacOSXBHFS > > -steve > > >>>>> "Jeff" == Jeff Forsyth writes: > > Jeff> I currently have Zope and Python installed from the source > Jeff> code from the > > Jeff> excellent instructions by JShell. But there is one little > Jeff> problem....CPU Utilization shoots above 97% as soon as I > Jeff> access the management screen. If anybody has any ideas or > Jeff> solutions. > > Jeff> Rhapsody AWS 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST > Jeff> 1999; root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC > Jeff> Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All > Jeff> Rights Reserved. Power Macintosh > > Jeff> 320Mb......G4 > > Jeff> Thanks Jeff > > Jeff> Jeffy.spamtrap.@.spamtrap2.myrealbox.com > > Jeff> _______________________________________________ Zope > Jeff> maillist - Zope@zope.org > Jeff> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jeff> posts or HTML encoding! ** (Related lists - > Jeff> http://lists.zope.org/mailman/listinfo/zope-announce > Jeff> http://lists.zope.org/mailman/listinfo/zope-dev ) From Jerry.Spicklemire@IFLYATA.COM Thu Oct 19 16:22:43 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 19 Oct 2000 10:22:43 -0500 Subject: [Zope] Python/Perl methods? Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338DF@innt-73.ata.com> Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope Book is being compiled as a draft of a document to be delivered in the future. Some of the stuff refered to isn't really "there yet", in terms of inclusion as a standard part of the Zope download package. Python Methods are available, but as an add-on. Perl methods too, but they are even newer, as in less mature / stable / all those positive adjectives. So if you really want to try Python Methods, look here: http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal download from here: http://www.zope.org/Members/4am/PythonMethod and for Perl Methods look here: http://www.zope.org/Wikis/zope-perl/FrontPage and download from here: ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz Later, Jerry S. From troy.farrell@wilcom.com Thu Oct 19 17:16:11 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Thu, 19 Oct 2000 11:16:11 -0500 Subject: [Zope] Question! Message-ID: Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server name. Let me know what else you need to know. Troy -----Original Message----- From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the database Can you help me? Thanks Carlos ------- ----- Original Message ----- From: Farrell, Troy To: 'Carlos Vasconez' ; Sent: Monday, October 16, 2000 8:04 PM Subject: RE: [Zope] Question! > Yes you can. You will need ZODBC to connect to the SQLServer. Make sure > that SQL server is available as a "System DSN" on it's host. You will also > need a username and password to connect. Zope will ask you for this in the > DSN string. Best of luck to you. > > Troy > Troy Farrell > Video Operations Technician III > Williams VYVX Services > 918.573.3029 > 918.573.1441 fax > mailto:troy.farrell@wilcom.com > http://www.williams.com > > > -----Original Message----- > From: Carlos Vasconez [mailto:cvasco@netadvisors-ec.com] > Sent: Monday, October 16, 2000 6:48 AM > To: zope@zope.org > Subject: [Zope] Question! > > > Hi > > I am read about zope. > Question? > I can use Zope with NT Server, IIS 4 and SQLServer ? > I have a Database in SQLServer > > Thanks > > Carlos > --------- > From zope@grewen.de Thu Oct 19 18:09:06 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 19 Oct 2000 19:09:06 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <000a01c039ef$8d2a4ae0$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0007_01C03A00.0D95B560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
------=_NextPart_000_0007_01C03A00.0D95B560-- From jeffrey@Digicool.com Thu Oct 19 18:18:49 2000 From: jeffrey@Digicool.com (Jeffrey P Shell) Date: Thu, 19 Oct 2000 13:18:49 -0400 Subject: [Zope] WriteLocking Project Initialized Message-ID: WriteLocking became a full fledged Fishbowl Project this week, and I've been spending the past couple of days getting the initial Artifacts and structure of the Project site together. The current structure should stand through elaboration. There is no planned schedule yet as the Risks themselves are still being scoped out and the UseCases haven't even been started on yet, but it is currently planned to get the proposed functionality into Zope 2.3. The main pages of interest right now are: VisionStatement (what the project is about, from the original proposal) RecentChanges CurrentStatus (I really will work on keeping this up to date) There are other pages outlining o RiskFactors (this is the one most actively being worked on right now), o TargetClients (LOCKing WebDAV clients we're planning to test against), o ProjectGlossary (Terms and definitions) And the general ProjectDiscussion page at I ask that if you make comments on the proposal to either do them on the ProjectDiscussion page or on the zope-dev@zope.org list. Please read the Scope section of the VisionStatement first, which outlines both what the intended goals Are and Are Not. Remember that the project is still in the early stages of Elaboration, and some of the artifacts are incomplete. In light of this election season, I pledge to you I will try my hardest to go to work 50+ miles south of Washington and fight to keep the information flowing through the Wiki updated and available to ALL Zope people, everywhere. No fuzzy math in these parts! From turhan.arun@superonline.net Thu Oct 19 18:20:09 2000 From: turhan.arun@superonline.net (Turhan Arun) Date: Thu, 19 Oct 2000 20:20:09 +0300 Subject: [Zope] Solaris,iPlanet,Oracle and Zope Message-ID: <802691ADD49ED411AD220008C74C9B2619FB62@postman.superonline.net> Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring these? I am having problems and you are my only source. Thanks in advance... turhan From jprettyman@acm.org Thu Oct 19 18:53:43 2000 From: jprettyman@acm.org (Jon Prettyman) Date: 19 Oct 2000 10:53:43 -0700 Subject: [Zope] Want to access ZClass Instance from external program In-Reply-To: Ender's message of "Wed, 18 Oct 2000 13:38:29 -0700" References: <39ECDD6E.BA8FD958@earthlink.net> <39ED9900.5219EA03@earthlink.net> <39EE0A45.422DD031@earthlink.net> Message-ID: This works like a charm. Thanks much for the help. -jon Ender writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the web via xml-rpc it must have a doc string as well as have > proper credentials. > > looking through propertysheets there is no 'proper' way to do this... > but i lead you down the path, so here is a way back out... > > there are a couple of options. > > the easiest is to have dtml_method for this zclass that functions as a > helper method, > like > > dtml method -- external_helper > > > > and in the client > > x = root.subfolder.zclass.external_helper() > meta_info=eval(x) > print meta_info > ({'id': 'vvv', 'type': 'int', 'meta': {}, 'mode': 'w'}, {'id': 'aaa', > 'type': 'lines', 'meta': {}, 'mode': 'w'}, {'id': 'ssss', 'type': > 'tokens', 'meta': {}, 'mode': 'w'}, {'id': '122', 'type': 'date', > 'meta': {}, 'mode': 'w'}, {'id': 'ff', 'type': 'float', 'meta': {}, > 'mode': 'w'}, {'id': '>>', 'type': 'text', 'meta': {}, 'mode': 'w'}) > > or if external_helper returned propertyItems() > > [('vvv', 1), ('aaa', ['bbbb']), ('ssss', ['ss', 'aa1113', '3', '4']), > ('122', DateTime('1900/01/01')), ('ff', 455.0), ('>>', '')] > > > if you're working with DateTime values in your propertysheets this will > be trickier as you'll need to either retrieve the property you want > independently or import Zope's DateTime module. also remember to set the > security on the helper method so its not helping somebody hack your > site. > From meden@ccpace.com Thu Oct 19 19:20:39 2000 From: meden@ccpace.com (meden@ccpace.com) Date: Thu, 19 Oct 2000 18:20:39 -0000 Subject: [Zope] pcgi authentication Message-ID: <8sne1n+ie87@eGroups.com> We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "allow anonymous" and "challenge response" through IIS. When we try to access the root level "manage" screen in Zope we are getting the manage_menu page in the left frame, but we are getting the index_html document in the right frame instead of the mnage_workspace page. From aem@byu.edu Thu Oct 19 21:34:09 2000 From: aem@byu.edu (Adrian Madrid) Date: Thu, 19 Oct 2000 13:34:09 -0700 (PDT) Subject: [Zope] Roxen & Zope, not working Message-ID: <20001019203410.18523.qmail@web515.mail.yahoo.com> --0-327254586-971987649=:16564 Content-Type: text/plain; charset=us-ascii I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what I get when I try mysite.com: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Error: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET / HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  * And this is what I get when I try mysite.com/Zope.cgi: Roxen version: Roxen/2.1.135 NTPike version: Pike v7.0 release 230Requested URL: /Zope.cgiError: Unknown extension .cgimodules/scripting/cgi.pike (version 2.47):547: create(".cgi")modules/scripting/cgi.pike: NTOpenCommand()modules/scripting/cgi.pike (version 2.47):812: create(RequestID())modules/scripting/cgi.pike: CGIScript()modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID())/roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0)/roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0)/roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID())/roxen/server/protocols/http.pike (version 1.277):1951: handle_request()/roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n")pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback()Request data:GET /Zope.cgi HTTP/1.1Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*Accept-Language: en-usAccept-Encoding: gzip, deflateUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)Host: 128.187.66.215:7070Connection: Keep-Alive  Any ideas? Anybody running both Zope and Roxen on a Windows machine? Adrian Madrid --------------------------------- Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564 Content-Type: text/html; charset=us-ascii

I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get:

* This is what I get when I try mysite.com:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: / Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) modules/directories/indexfiles.pike (version 1.16):50: parse_directory(RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1214: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET / HTTP/1.1\r\n"+[317]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET / HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

* And this is what I get when I try mysite.com/Zope.cgi:

Roxen version: Roxen/2.1.135 NT Pike version: Pike v7.0 release 230 Requested URL: /Zope.cgi Error: Unknown extension .cgi modules/scripting/cgi.pike (version 2.47):547: create(".cgi") modules/scripting/cgi.pike: NTOpenCommand() modules/scripting/cgi.pike (version 2.47):812: create(RequestID()) modules/scripting/cgi.pike: CGIScript() modules/scripting/cgi.pike (version 2.47):959: find_file("Zope.cgi",RequestID()) /roxen/server/base_server/configuration.pike (version 1.377):1144: low_get_file(RequestID(),0) /roxen/server/base_server/configuration.pike (version 1.377):1334: get_file(RequestID(),0,0) /roxen/server/base_server/configuration.pike (version 1.377):1309: handle_request(RequestID()) /roxen/server/protocols/http.pike (version 1.277):1951: handle_request() /roxen/server/protocols/http.pike (version 1.277):2175: got_data(0,"GET /Zope.cgi HT"+[325]+": Keep-Alive\r\n\r\n") pike/lib/pike/modules/Stdio.pmod/module.pmod (version 1.83):308: __stdio_read_callback() Request data: GET /Zope.cgi HTTP/1.1 Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: 128.187.66.215:7070 Connection: Keep-Alive  

Any ideas? Anybody running both Zope and Roxen on a Windows machine?

Adrian Madrid



Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE. --0-327254586-971987649=:16564-- From terry@lambton.on.ca Thu Oct 19 21:37:02 2000 From: terry@lambton.on.ca (Terry Babbey) Date: Thu, 19 Oct 2000 16:37:02 -0400 Subject: [Zope] dtml-if problem Message-ID: <39EF5B6E.1E4EECD@lambton.on.ca> The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________ From andym@ActiveState.com Thu Oct 19 21:46:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 19 Oct 2000 13:46:25 -0700 Subject: [Zope] dtml-if problem References: <39EF5B6E.1E4EECD@lambton.on.ca> Message-ID: <034d01c03a0d$a5de2980$ae03a8c0@fork> Could be that you are not evaluting the string of Area try: ----- Original Message ----- From: "Terry Babbey" To: Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. > > > > Area is a variable I am passing to my method and I want to check to > see if the variable is set to BIS, but it never returns true even > though a displays BIS. > > Confused as always, > Terry > > -- > __________________________________________________________________ > Terry Babbey > Technical Support Specialist > Lambton College, Sarnia, Ontario, Canada > __________________________________________________________________ > > > > _______________________________________________ > 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 ) > From ewalstad@energywright.com Thu Oct 19 22:17:45 2000 From: ewalstad@energywright.com (Eric Walstad) Date: Thu, 19 Oct 2000 14:17:45 -0700 (PDT) Subject: [Zope] dtml-if problem Message-ID: <20001019211745.26715.qmail@web1804.mail.yahoo.com> Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is:
Length of the 'strip'ped value of Area is:
If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you have either white space in your Area variable or a linefeed charater, or... If that's the case, here's a working if statement: You could also try: 0"> which will search for an instance of 'BIS' in the value of the Area variable Hope it helps, Eric. // -----Original Message----- // From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Terry // Babbey // Sent: Thursday, October 19, 2000 1:37 PM // To: zope@zope.org // Subject: [Zope] dtml-if problem // // // The following will not evaluate true and I am stumped again. // // // // Area is a variable I am passing to my method and I want to check to // see if the variable is set to BIS, but it never returns true even // though a displays BIS. // // Confused as always, // Terry // // -- // __________________________________________________________________ // Terry Babbey // Technical Support Specialist // Lambton College, Sarnia, Ontario, Canada // __________________________________________________________________ // // // // _______________________________________________ // 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 ) // __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jfarr@real.com Fri Oct 20 00:35:47 2000 From: jfarr@real.com (Jonothan Farr) Date: Thu, 19 Oct 2000 16:35:47 -0700 Subject: [Zope] Bypass ZODB and use File System References: <39EF0C69.7EBC82EC@lvcm.com> Message-ID: <054f01c03a25$4ebfd690$416917ac@poly> As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, not even as much as a 'title' property. If you need that ability then LocalFS is not the way to go. I don't see how Michael's wget solution will help you there either, though. --jfarr ----- Original Message ----- From: "Michael Bernstein" To: Cc: Sent: Thursday, October 19, 2000 7:59 AM Subject: Re: [Zope] Bypass ZODB and use File System > Noah wrote: > > > > What we really want to do is to provide a second view to > > /var/www/htdocs for Apache. I understand that Apache won't > > serve up our dynamic content, but that's not important. > > Zope is just viewed as a better solution for managing our > > static documents. The problem we have in my organization is > > that there is a lot of resistance to my prototype Zope > > document management system due to the fact that everything is > > stored in ZODB. We think this risky -- possibly a data prison. > > The way my organization does it, is to manage the content > within Zope, and to regularly run 'wget' on the server to > replicate it all to static files, which are then served by > Apache on another server. Doing that, plus regular backups > of the Data.fs file (you're already making regular backups > of your Apache based system, right?), and you should be > guarded against any but the most catastrophicly unlikely > disaster scenarios (you do have a disaster recovery plan, > right?). > > wget is really a very easy way to get documents back out of > Zope, and if your system is designed to do this as a matter > of course (perhaps by using 'cron'), it should silence those > particular criticisms. > > > Also people don't want to change from their current habits of > > editing files via NFS or Samba mounted directories. My original > > plan was to allow them some sort of syncronization process, > > but now I think that would be crazy. > > Hmm. I guess it depends on what percentage of your users > want to keep doing this. You can certainly combine LocalFS > with the approach that I outlined above. I would make it a > special case. Keep the CMS server separate from the Apache > server, and only allow the mounted directories on the CMS > server. I've found that people appreciate being able to > manage their content from anywhere through a browser, and > they tend to gravitate toward that as a matter of course, > once it's there, if they're not forced to do it. > > In short, give people options, and see which ones they > actually use. > > HTH, > > Michael Bernstein. > > _______________________________________________ > 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 ) > From gchiu@compkarori.co.nz Fri Oct 20 00:51:40 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 12:51:40 +1300 Subject: [Zope] Why doesn't this method work? Message-ID: I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu From curtis@cardgate.net Fri Oct 20 01:30:46 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 11:30:46 +1100 Subject: [Zope] Why doesn't this method work? In-Reply-To: References: Message-ID: <0010201130460D.01234@localhost.localdomain> On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeError > Error Value: 'string' object has no attribute > 'manage_editData' > This error is the giveaway. table is a "string", not a "tiny table". > -- > Graham Chiu Have a better one, Curtis Maloney. From gchiu@compkarori.co.nz Fri Oct 20 02:06:38 2000 From: gchiu@compkarori.co.nz (Graham Chiu) Date: Fri, 20 Oct 2000 14:06:38 +1300 Subject: [Zope] Why doesn't this method work? In-Reply-To: <0010201130460D.01234@localhost.localdomain> Message-ID: On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doesn't use the getitem() function. -- Graham Chiu From jkinsley@horus.bticc.net Fri Oct 20 02:05:54 2000 From: jkinsley@horus.bticc.net (J Kinsley) Date: Thu, 19 Oct 2000 21:05:54 -0400 (EDT) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? Message-ID: I am probably missing something simple here, however I can not get this to work properly.... Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? .... .... This returns: Errot Type: ValueError Error Value: unsupported format character 'a' (0x61) If i drop the %a from the fmt string as follows: .... .... I get the following Zope Error: Error Type: Type Error Error Value: illegal argument type for built-in operation Mtime was initially declared as a string in the ZSQL Method arguments list, and changing it to date had no effect. I have searched the documentation and all examples I have found that use strftime formatting indicate that this should work. I have successfully been able to change the format using the to_char(mtime) PostgreSQL function, but then order by mtime does not work properly and besides, I would like to make the format style customizable from within Zope instead of on the SQL server. Thanks in advance for any suggestions.... Regards, Jarrod Kinsley From vtwiddy@senet.com.au Fri Oct 20 04:31:10 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 13:01:10 +0930 (CST) Subject: [Zope] dtml-sqlvar quote Message-ID: Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this ..... group by foo,blah order by thanks mark From curtis@cardgate.net Fri Oct 20 04:55:47 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Fri, 20 Oct 2000 14:55:47 +1100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: References: Message-ID: <0010201455470J.01234@localhost.localdomain> On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > ..... > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one, Curtis Maloney From vtwiddy@senet.com.au Fri Oct 20 06:40:37 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 15:10:37 +0930 (CST) Subject: [Zope] submit buttons Message-ID: Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example thanks again Mark From brad@netarchitects.com.au Fri Oct 20 07:58:12 2000 From: brad@netarchitects.com.au (Brad Moulton) Date: Fri, 20 Oct 2000 16:58:12 +1000 Subject: [Zope] submit buttons In-Reply-To: Message-ID: -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: zope@zope.org Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like
some action here
does anyone have an example hope this helps ---------------------------------------------------- ----------------------------------------------------- thanks again Mark _______________________________________________ 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 ) From tony.mcdonald@ncl.ac.uk Fri Oct 20 08:17:29 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Fri, 20 Oct 2000 08:17:29 +0100 Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: > >Hi all > >How can i pass a string to a sql method that won't be quoted. > >i.e so i can do somthing like this > >..... >group by foo,blah >order by > > >thanks mark > don't quote it? ... order by I use this all the time for things like select * from data where like '%%' tone From stephan.goeldi@datacomm.ch Fri Oct 20 09:20:45 2000 From: stephan.goeldi@datacomm.ch (Stephan Goeldi) Date: Fri, 20 Oct 2000 08:20:45 GMT Subject: [Zope] Newsletter in Zope Message-ID: I am looking for a way to enable a Newsletter in Zope. I want the visitors to subscribe to the newsletter. Then they receive a mail to verify the subscription. Later I can write and send a Newsletter to all subscripted visitors. Is there already a solution in Zope for that? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From vtwiddy@senet.com.au Fri Oct 20 09:21:32 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Fri, 20 Oct 2000 17:51:32 +0930 (CST) Subject: [Zope] dtml-sqlvar quote In-Reply-To: Message-ID: Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) > From chrisw@nipltd.com Fri Oct 20 09:25:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:25:19 +0100 Subject: [Zope] IIS and Zope share same problem :-S Message-ID: <39F0016F.B62F6D@nipltd.com> > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > by Dave Murphy, member@itrain.org > > Microsoft is scrambling to repair damage caused by a > security hole in its IIS 4 & 5 webserver that runs on > Windows NT/2000. Microsoft claims over four million > IIS websites, and each one of them is at risk of > releasing sensitive data through the security hole. > Called the "Web Server Folder Traversal" error, the > flaw allows users to execute files on an IIS website by > requesting a specific web address. http://www.zope.org/standard_html_header for example ;-) http://www.zope.org/objectIds as another... > The bug allows access to any file on the webserver via > a specified URL. Like all webservers, IIS is supposed > to prevent access to files that aren't intended to be > part of the website. Maybe Zope should too.... > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > Live well, do good, > > --Dave Murphy cheers, Chris From akm@mail.theinternet.com.au Fri Oct 20 09:30:44 2000 From: akm@mail.theinternet.com.au (Andrew Kenneth Milton) Date: Fri, 20 Oct 2000 18:30:44 +1000 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0016F.B62F6D@nipltd.com>; from Chris Withers on Fri, Oct 20, 2000 at 09:25:19AM +0100 References: <39F0016F.B62F6D@nipltd.com> Message-ID: <20001020183043.B88131@zeus.theinternet.com.au> +-------[ Chris Withers ]---------------------- | > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE | > by Dave Murphy, member@itrain.org | > | > Microsoft is scrambling to repair damage caused by a | > security hole in its IIS 4 & 5 webserver that runs on | > Windows NT/2000. Microsoft claims over four million | > IIS websites, and each one of them is at risk of | > releasing sensitive data through the security hole. | > Called the "Web Server Folder Traversal" error, the | > flaw allows users to execute files on an IIS website by | > requesting a specific web address. | | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... | http://www.zope.org/objectIds as another... To be fair this is not the same as the bug described below. | | > The bug allows access to any file on the webserver via | > a specified URL. Like all webservers, IIS is supposed | > to prevent access to files that aren't intended to be | > part of the website. Knowing the file is there is not the same as accessing it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| From stefan@epy.co.at Fri Oct 20 09:48:40 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 10:48:40 +0200 (CEST) Subject: [Zope] How do I format date/time in dtml from a ISO-8601 SQL timestamp field? field? In-Reply-To: Message-ID: On Thu, 19 Oct 2000, J Kinsley wrote: > Given mtime = YYYY-MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how > do I get the following to work without errors? > > > .... > > .... > > > This returns: > Errot Type: ValueError > Error Value: unsupported format character 'a' (0x61) AFAIK the fmt cannot be used like that What I usually do is create a DateTime object and then use the DateTime's methods and string formatting e.g. Modify the above for your needs. A list of DateTime's methods can be found in the appendix of the DTML Users Guide HTH, Stefan From chrisw@nipltd.com Fri Oct 20 09:49:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 09:49:33 +0100 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> Message-ID: <39F0071D.10C767F3@nipltd.com> Andrew Kenneth Milton wrote: > > | > | http://www.zope.org/standard_html_header for example ;-) > > Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally do something to solve it. ...and yes, there are discussions about this on Zope-dev right now, which will hopefully produce a solution :-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:36:00 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:36:00 +0100 Subject: [Zope] Determining permissions in a Product References: <39ED6A22.F3A73506@nipltd.com> <39EF056B.C74E25B7@lvcm.com> Message-ID: <39F01200.9E714E33@nipltd.com> Michael Bernstein wrote: > > Chris Withers wrote: > > > > Incidnetally, I think this is a bit of a security hole. You shouldn't > > get told what you're not allowed to see, especially if it's 'cos you got > > your password wrong. If you see what I mean ;-) > > I see what you mean here, Chris, but wouldn't this come > under the heading of a 'security through obscurity' hole? > ie. you're saying that the system isn't obscure enough? Not really... I'm saying it shouldn't tell you stuff you _never_ need to know, like where on your file system the Zope files live. A lot of this comes from standard_error_message not being used for authorizaion errors, and Zope's insistence of tacking the traceback onto error pages it returns, even in production mode :-S Might have to have a look at this some time ;-) cheers, Chris From chrisw@nipltd.com Fri Oct 20 10:41:24 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 20 Oct 2000 10:41:24 +0100 Subject: [Zope] ZDiscussions for Zope 2.2.2 References: <200010191315.JAA08209@saltmine.radix.net> Message-ID: <39F01344.FED0450C@nipltd.com> Cary O'Brien wrote: > 2) add __allow_access_to_unprotected_subobjects__ in > a few places. That's not good :-S But hey, I had to do it to get Squishdot to work with Zope 2.2 as well :-( cheers, Chris From grizel@mouli.net Fri Oct 20 11:04:49 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Fri, 20 Oct 2000 12:04:49 +0200 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> Message-ID: <39F018C1.E230AA8F@mouli.net> Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with something quite secure & secret. P.-J. Chris Withers wrote: > > > MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE > > by Dave Murphy, member@itrain.org > > > > Microsoft is scrambling to repair damage caused by a > > security hole in its IIS 4 & 5 webserver that runs on > > Windows NT/2000. Microsoft claims over four million > > IIS websites, and each one of them is at risk of > > releasing sensitive data through the security hole. > > Called the "Web Server Folder Traversal" error, the > > flaw allows users to execute files on an IIS website by > > requesting a specific web address. > > http://www.zope.org/standard_html_header for example ;-) > http://www.zope.org/objectIds as another... > > > The bug allows access to any file on the webserver via > > a specified URL. Like all webservers, IIS is supposed > > to prevent access to files that aren't intended to be > > part of the website. > > Maybe Zope should too.... > > > This article is posted to http://itrain.org/itinfo/2000/it001017.html > > > > Live well, do good, > > > > --Dave Murphy > > 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 ) -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From rbeer@uni-goettingen.de Fri Oct 20 12:47:23 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 13:47:23 +0200 Subject: [Zope] ZMySQL and MySQLdb Versions Message-ID: Howdy! When I go to the download section on zope.org looking for a way to connect Zope and MySQL I can find the following: - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) Now how should anybody new to Zope know what to use? Especially when ZMySQLDA goes up to at least version 2.0.0 (I tried to look it up but couldn't connect to starship.python.net) and MySQLdb at least to version 0.2.1. I'm still using ZMySQLDA 1.1.3 with MySQLdb 0.1.3 which can't be found in the download section. Confusing, isn't it? What could we possibly do about it? Ragnar From zope@grewen.de Fri Oct 20 13:07:57 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 14:07:57 +0200 Subject: [Zope] Re: [Zope-dev] Problems with offline MS IE 5 References: <4.3.2.7.0.20001019230055.00b5e7d8@pop.mindspring.com> Message-ID: <002c01c03a8e$6a7392a0$0300a8c0@windows> I was fighting with the same problem and I thought it depends on my proxy setting. But now I thing it depends on the Browser version because I installed IE5.5 and the problem was gone. (ocularly same settings). ----- Original Message ----- From: "Ross Boylan" To: Sent: Friday, October 20, 2000 8:09 AM Subject: [Zope-dev] Problems with offline MS IE 5 > I recently tried doing some Zope development on a laptop and ran into a > problem: when I updated a product the updates did not "take." In > particular, when I edited the text in a .dtml file and restarted Zope, I > still saw the old text when I got to the appropriate point (the file was > wrapped in an HTMLFile() and used for creating a new instance of one of the > products in the package). > > I think I checked all of the following: > * the file was getting updated > * all instances of explorer were shut down > * MSIE options set to "Check for newer version of stored page on every > visit to the page" > > A notable peculiarity was that whenever I tried to access my local zope, I > would get a "you are offline, do you wish to go online" message (I even > used localhost as the machine name!). I would say yes, it would say it > couldn't connect and ask if I wanted to try again. I said yes, but then I > ran into the problems described above. > > Zope 2.2.2 on MS W2K with MS IE 5.0. > > Does this ring any bells with anyone? Is it an IE problem? a Zope > problem? an interaction? > > > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > From rbeer@uni-goettingen.de Fri Oct 20 13:14:04 2000 From: rbeer@uni-goettingen.de (Ragnar Beer) Date: Fri, 20 Oct 2000 14:14:04 +0200 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: As I already suggested ages ;) ago (and still didn't put into practice) it would here again be best to deny everything that isn't explicitly allowed (e.g. allow whatever ends with _html or .html and deny everything else) but then I would have to go over the whole website and make bazillions of changes ... I fixed the problem temporarily by adding some "FilesMatch/LocationMatch + deny from all" in my httpd.conf. But what else do I have to deny apart from objectIds? Ragnar >Andrew Kenneth Milton wrote: >> >> | >> | http://www.zope.org/standard_html_header for example ;-) >> >> Not that old chestnut again... > >Yes, that old chestnut again. If it's considered a serious security flaw >by Microsoft, maybe the Zope community should finally do something to >solve it. > >...and yes, there are discussions about this on Zope-dev right now, >which will hopefully produce a solution :-) > >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 ) From stefan@epy.co.at Fri Oct 20 13:47:01 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Fri, 20 Oct 2000 14:47:01 +0200 (CEST) Subject: [Zope] ZMySQL and MySQLdb Versions In-Reply-To: Message-ID: On Fri, 20 Oct 2000, Ragnar Beer wrote: > - Zope MySQL Database Adapter, 2000/07/20 by mordred (ZMySQLDA-1.2.0.tar.gz) > - ZMySQLDA, 2000/07/20 by MikeP (ZMySQLDA-1.1.3-nonbin.tar.gz) > - An Interface for MySQL, 2000/07/20 by adustman (MySQLdb-0.1.2.tar.gz) I recently got confused myself about even which of the above I am using on my system and in the process complained to Andy Dustman about a (small) bug in mordred's adapter... ;) MySQLdb is a python wrapper, designed to be used from plain python. But some of it's components are *used* (and required) by mordred's DA. To add to the fuzz the IMHO lates and greates ZMySQLDA (2.0.0a1) is on Andy Dustmans website and AFAIK *not* linked from zope.org http://dustman.net/andy/python/ HTH, Stefan From zope@grewen.de Fri Oct 20 17:03:33 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 18:03:33 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <001801c03aaf$4d10ac40$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID =3D 418 and MERCHANTPAYMENT.PYID =3D = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the = correct resut but under zope sql methode I get no result. (There was no = data matching) Any ideas Jens Grewen ------=_NextPart_000_0015_01C03AC0.0FD011C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have a problem with an SQL Methode = with the this=20 sql statement
 
select PAYMENT.PYNAME, = PAYMENT.PYPRICE
from=20 MERCHANTPAYMENT, PAYMENT
where MERCHANTPAYMENT.MEID =3D 418 and=20 MERCHANTPAYMENT.PYID =3D PAYMENT.PYID
 
on the following tables:
 
 
MERCHANTPAYMENT
---------------------------------
MPID int(30)
MEID int(30)
PYID int(30)
---------------------------------
 
PAYMENT
---------------------------------
PYID int(30)
PYNAME varchar(50)
PYPRICE varchar(50)
---------------------------------
 
the statement runs under MS ACCESS = (link over=20 myODBC) and I get the correct resut but under zope sql methode I get no = result.=20 (There was no data=20 matching)
 
Any ideas
 
Jens Grewen
 
------=_NextPart_000_0015_01C03AC0.0FD011C0-- From troy.farrell@wilcom.com Fri Oct 20 18:59:14 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 12:59:14 -0500 Subject: [Zope] dtml-sqlvar quote Message-ID: It is not safe if you have malicious users. You will need to pass your through a filter. This will help. A better example is a user taking advantage of an insert method: insert into data values (, , ) where the user has found the Zsqlmethod by looking at http://yourzopehost/objectIds and calls it like this: http://yourzopehost/sqlADDUSER?value_3=randomvalue);SELECT%20*%20FROM%20secr etpasswordtable/ Fortunately, Zope responds with a "testing the sql method" form if you are authorized. Troy -----Original Message----- From: Mark Twiddy [mailto:vtwiddy@senet.com.au] Sent: Friday, October 20, 2000 3:22 AM To: zope@zope.org Subject: Re: [Zope] dtml-sqlvar quote Hi all thanks for the help. Just on that. Is it safe to do select * from data where like '% as search_term could contain '; drop table blah; ' or what ever. I thought by using you could use untrusted values. Thanks again Mark On Fri, 20 Oct 2000, Tony McDonald wrote: > > > >Hi all > > > >How can i pass a string to a sql method that won't be quoted. > > > >i.e so i can do somthing like this > > > >..... > >group by foo,blah > >order by > > > > > >thanks mark > > > > don't quote it? > > ... > order by > > > I use this all the time for things like > > select * from data where like '%%' > > tone > > > _______________________________________________ > 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 ) From roos@stanford.edu Fri Oct 20 19:38:23 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 11:38:23 -0700 (PDT) Subject: [Zope] Recursively creating folders in python Message-ID: This is something I need to have done yesterday... iterates over a list, and adds namespaces, but how do I recursively enter INTO a folder, creating objects within that folder from *it's* point of view? Is this even possible in dtml, or do i need to use raw python? If so, do you have any hints about doing it in python? =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From andym@ActiveState.com Fri Oct 20 19:44:14 2000 From: andym@ActiveState.com (Andy McKay) Date: Fri, 20 Oct 2000 11:44:14 -0700 Subject: [Zope] IIS and PCGI References: <002001c03879$7cc09cd0$ae03a8c0@fork> Message-ID: <004201c03ac5$be40cce0$ae03a8c0@fork> Well I fixed this using a ISAPI filter which I will release soon (once I have some time) that takes a url /a/b/c/x.pcgi/f/g/h, and passes /a/b/c/x.pcgi to IIS so the file will run and /f/g/h to Zope. My next question is has anyone succeeded in getting this to work to another box over a mapped or shared win32 drive? I mapped g:\ to my zope host, and then specified PCGI_PUBLISHER=g:\pcgi\pcgi_publisher.py in my pcgi file. The problem seems to pcgi-wrapper.exe which does not like a mapped drive. (line 485 of parseinfo.c keeps spitting out missing publisher)... Thanks in advance and apologies for the cross post to zope-dev but it is more of a zope-dev question. ----- Original Message ----- From: "Andy McKay" To: Sent: Tuesday, October 17, 2000 1:33 PM Subject: [Zope] IIS and PCGI > Im fiddling with IIS and PCGI, I've looked at > (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server > to work correctly in that http://127.0.0.1/zope.pcgi is the same as > http://127.0.0.1:8080/ > > However it doesnt seem to be carrying through the trailing path info (or / > 's) for example > http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope > 2.2.1. > > Anyone encountered this and know the solution? > > Thanks. > -- > Andy McKay, Developer. > ActiveState. > > > _______________________________________________ > 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 ) > From roos@stanford.edu Fri Oct 20 20:21:39 2000 From: roos@stanford.edu (Robert Joseph Roos) Date: Fri, 20 Oct 2000 12:21:39 -0700 (PDT) Subject: [Zope] How to type check OR better list selector ways Message-ID: causes a name error, while other python builtins like _.string(some_int) work fine. What gives? Is there some other "zopist" way to type-check? More generally, is there a better way to deal with the annoying fact that multiple selectors return a list UNLESS there are <=1 items selected, in which case they return a single item or None? (rather than a list with only one member, in the case of 1 object selected, or an empty list, in the case of none, which would SEEM to be the consistant way to do things, since wouldn't choke.) =Rob====== ====J===== =====Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about using for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown From kworth@engin.umich.edu Fri Oct 20 20:28:05 2000 From: kworth@engin.umich.edu (Kevin Worth) Date: Fri, 20 Oct 2000 15:28:05 -0400 Subject: [Zope] unauthorized error Message-ID: Upon upgrading from 2.1.3 to 2.2.2, I have run into a strange problem. I have a couple of custom products (developed here, but not by me, so I'm not sure of the specifics, but i can find them out. I can edit current instances of the product, but I cannot add new ones because give me an unauthorized error. No matter what username/password I provide, it fails. I import these from my previous installation (the 2.1.3 version) I assume this has to do with the change in the way security is handled in zope 2.2.x, but I haven't figured out how to fix it. A traceback looks like this: Traceback (innermost last): File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in publish File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in publish File H:\MSEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File H:\MSEWEB~1\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: standard_html_header) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: breadcrumbs) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob (Object: rev) File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_With.py, line 146, in render (Object: sequence-item) File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 194, in validate (Object: Procedure_addForm) File H:\MSEWEB~1\lib\python\AccessControl\SecurityManager.py, line 139, in validate File H:\MSEWEB~1\lib\python\AccessControl\ZopeSecurityPolicy.py, line 159, in validate Unauthorized: id Any help would be appreciated. -- ----------------------------------------------- Kevin Worth Computer Systems Specialist II and Adjunct Lecturer Department of Materials Science and Engineering University of Michigan From haonan@stat.wisc.edu Fri Oct 20 20:49:35 2000 From: haonan@stat.wisc.edu (Haonan Tan) Date: Fri, 20 Oct 2000 14:49:35 -0500 Subject: [Zope] Server Access Control Message-ID: <39F0A1CF.6ED3B55@stat.wisc.edu> How to enforce access control on client IP or host name in the same way that Apache .htaccess does it. Or are there better ways doing it in Zope? Many thanx. Haonan Tan From Dmitry Slusarchuk" I'm new to Zope development but I have already encountered such a problem: from dtml document generates the following: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: __call__ this problem disappears when I do smth like from dtml method. what should I do? In addition I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. Thanks to ev'body for a HELP! From richard@folwell.com Fri Oct 20 20:53:23 2000 From: richard@folwell.com (Richard Folwell) Date: Fri, 20 Oct 2000 20:53:23 +0100 Subject: [Zope] dtml-in loop to capture records In-Reply-To: <39E5C987.3D0D7D1F@oratrix.com> Message-ID: <001401c03acf$67cb6c80$1002a8c0@ente.riverside.uk.net> > Okay, this works fine, in MOST of my forms, but I have other forms where > this doesnt work at all and I get errors saying that the ITEM is a bad > request. I dont get it, what am I missing here that this works some > places and in other places with almost identical syntax, it falls over. I came across this error today. (The problem may not be the same.) In our case it occurred because the SQL, whilst well-formed and valid, violated a database constraint - was trying to put zero length strings into fields of a table where this was not allowed. The problem was tracked down by firstly displaying the request data using: then trying to input the same data manually. HTH, Richard From troy.farrell@wilcom.com Fri Oct 20 21:04:24 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Fri, 20 Oct 2000 15:04:24 -0500 Subject: [Zope] Problems with mysql and sql methode Message-ID: You may try: SELECT pyname, pyprice FROM payment WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid I have a feeling mysql is not liking you for not selecting results from table MERCHANTPAYMENT becuase you said you would. Troy -----Original Message----- From: Jens Grewen [mailto:zope@grewen.de] Sent: Friday, October 20, 2000 11:04 AM To: Zope Maillist Subject: [Zope] Problems with mysql and sql methode Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICE from MERCHANTPAYMENT, PAYMENT where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT --------------------------------- MPID int(30) MEID int(30) PYID int(30) --------------------------------- PAYMENT --------------------------------- PYID int(30) PYNAME varchar(50) PYPRICE varchar(50) --------------------------------- the statement runs under MS ACCESS (link over myODBC) and I get the correct resut but under zope sql methode I get no result. (There was no data matching) Any ideas Jens Grewen From jwashin@vt.edu Fri Oct 20 21:05:56 2000 From: jwashin@vt.edu (Jim Washington) Date: Fri, 20 Oct 2000 16:05:56 -0400 Subject: [Zope] How to type check OR better list selector ways References: Message-ID: <39F0A5A4.17646BAF@vt.edu> Hi, Robert BTW, this is a FAQ, but: use the :list extension in your html. e.g., Works for checkboxes, too! -- Jim Washington Robert Joseph Roos wrote: > > > > causes a name error, while other python builtins > like _.string(some_int) work fine. What gives? > Is there some other "zopist" way to type-check? > > More generally, is there a better way to deal with the annoying > fact that multiple selectors return a list UNLESS there are > <=1 items selected, in which case they return a single item or None? > > (rather than a list with only one member, in the case of 1 object > selected, or an empty list, in the case of none, > which would SEEM to be the consistant way to do things, > since wouldn't choke.) From michel@digicool.com Fri Oct 20 21:09:03 2000 From: michel@digicool.com (Michel Pelletier) Date: Fri, 20 Oct 2000 13:09:03 -0700 Subject: [Zope] O'Reilly Book Tecnical Reviewers Message-ID: <39F0A65F.45EC4326@digicool.com> Greetings, O'Reilly is looking for 4 or 5 technical reviewers for the book. http://www.zope.org/Members/michel/ZB/ Technical reviewers get paid either a small honorarium or get free copies of the book (I am unaware of the exact details). I'm sure this message will elicit a *flood* of candidates, and I'm afraid we can't accept them all (of course, that doesn't mean you can't do it for free ;). Further, this will be a time consuming task, requiring you to scrutinize all details, try examples, etc. You will probably give more effort than you are monitarily compensated with, but you will also get unending glory and mucho zen master points from your zopista peers. So please consider this opertunity to work directly with us to make a great book. If you are interested in the sweat and the glory, please send an email to docs@digicool.com with the subject "I Wanna Be A Technical Reviewer", and maybe a brief bio about you, your Zope experience and (bonus points) if you've every technically reviewed a book before. Thanks! -Michel From zope@grewen.de Fri Oct 20 21:52:16 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 20 Oct 2000 22:52:16 +0200 Subject: [Zope] Problems with mysql and sql methode References: Message-ID: <000001c03ad7$bbb8bd40$0300a8c0@windows> Ok know I get this problem Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in where clause") ---------------------------------------------------------------------------- ---- SQL used: select PYNAME, PYPRICE from PAYMENT where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID other ideas? Thanks Jens Grewen ----- Original Message ----- From: "Farrell, Troy" To: "'Jens Grewen'" ; "Zope Maillist" Sent: Friday, October 20, 2000 10:04 PM Subject: RE: [Zope] Problems with mysql and sql methode > You may try: > > SELECT pyname, pyprice > FROM payment > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > I have a feeling mysql is not liking you for not selecting results from > table MERCHANTPAYMENT becuase you said you would. > > Troy > > -----Original Message----- > From: Jens Grewen [mailto:zope@grewen.de] > Sent: Friday, October 20, 2000 11:04 AM > To: Zope Maillist > Subject: [Zope] Problems with mysql and sql methode > > > Hi, > > I have a problem with an SQL Methode with the this sql statement > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > from MERCHANTPAYMENT, PAYMENT > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > on the following tables: > > > MERCHANTPAYMENT > --------------------------------- > MPID int(30) > MEID int(30) > PYID int(30) > --------------------------------- > > PAYMENT > --------------------------------- > PYID int(30) > PYNAME varchar(50) > PYPRICE varchar(50) > --------------------------------- > > the statement runs under MS ACCESS (link over myODBC) and I get the correct > resut but under zope sql methode I get no result. (There was no data > matching) > > Any ideas > > Jens Grewen > > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:20:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:20:54 -0500 Subject: [Zope] Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Hi Zope Fans, I ran into an odd quirk today, and I'm hoping someone has an insight to share. There is a simple text string stored as a DTML Method, with ID = "set_table_0", e.g.: 'border="0" cellpadding="0" cellspacing="0"' When set_table_0 is in the Zope root folder, it isn't discovered through normal acquisition, but no error occurs. creates a table with defaults, e.g. border is visible. However, when set_table_0 is moved to a subfolder of the Zope root folder, with the name "table_settings", and the reference is made like so:
the DTML Method is found successfully, and the table border isn't displayed. The question is, why is the folder "table_settings" found in the Zope Root Folder, but not the method? Does Acquisition give higher preference to folders (container), objects than a DTML Method? Thanks, Jerry S. From Jerry.Spicklemire@IFLYATA.COM Fri Oct 20 22:41:33 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 20 Oct 2000 16:41:33 -0500 Subject: [Zope] Acquisitiver and Acquisitiver Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F0@innt-73.ata.com> OK, now I'm really confused. I stumbled on a way to make the DTML Method work, that is, the one that wasn't being found before, via Acquisition. All I have to do is forget to add the terminating ';' in :
so that it looks like so:
Any guesses? Thanks again, Jerry S. From cesar@rotnet.com.br Sat Oct 21 02:45:09 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Fri, 20 Oct 2000 23:45:09 -0200 Subject: [Zope] GUF error: Unauthorized... Message-ID: <39F0F525.C8A49178@rotnet.com.br> Hi! I have created a GUFTest folder. It runs perfectly with the user 'jorge', provided with the GUF. After I have changed the acl to use a SQL connection, I'm getting the error bellow (in the log of the system): GUF[7909]: http://localhost.localdomain:8080/GUFTest/acl_users/userAuthenticate raised an exception (('Unauthorized', 'crypt', )) The source of the HTML page contains (I don't know if it's correct, because I suspect that Netscape reloads the page when you ask it to show the source of the page): What is wrong? I have created a local role called 'Usuario'. This role have the rights to: /GUFTest: Access contents information Can Login an Logout Use database methods View /GUFTest/acl_users: Access contents information Can Login an Logout Use database methods View The Anonymous role have the rights: /GUFTest: _no_roles_ /GUFTest/acl_users: Access contents information Can Login and Logout The userAuthenticate, userDomains, userList, adn userRoles DTML Methods are configurated to proxy the Manager role. I'm using Zope 2.2.1, on a Conectiva Linux 5.0 (Linux i386 2.2.14, python 1.5.2, glibc 2.1.3). TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is generally understood. Indeed, the world is ruled by little else. -- John Maynard Keyes From robert@redcor.ch Sat Oct 21 11:28:53 2000 From: robert@redcor.ch (robert) Date: Sat, 21 Oct 2000 12:28:53 +0200 Subject: [Zope] I wonder how to access a zope siet Message-ID: <001101c03b49$b7fd8330$0a01a8c0@Stravinsky> Hi there, I started to work through the Zope tutorial as layed out in the Content Manager Guide. I came across a coupple of problems I am seeking help for: 1. Stan (the tutorial avatar) is told to create a ZAcme folder in his root folder. Where is Stans root folder? If it is just the folder which is accessed when Stan logs in why is it not displayed in any of the screenshots in the tutorial. I have the impression the rest of the screenshots are very "acurate". 2. How do I access any of the folders from outside the management screen? I tried to use Http://localhost/ZAcme for the tutorial site, but only get an accesserror thrown at me by IE5. 3.Do I have to create the tutorialals pages in Stans root folder or in the ZAcme folder? Thank you for helping a newby of a great product. regards Robert From steve@spvi.com Sat Oct 21 14:09:21 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 08:09:21 -0500 (EST) Subject: [Zope] Acquisitive In-Reply-To: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D8497338EF@innt-73.ata.com> Message-ID: <200010211309.IAA71276@mercury.spvi.com> Hi Jerry, I'm guessing the the problem is that &dtml-xxx; does an implicit "html_quote" format on whatever expression you provide.. so
should produce:
Which the browser doesn't grok.... try:
> -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> I ran into an odd quirk today, and I'm hoping someone has an JS> insight to share. There is a simple text string stored as a JS> DTML Method, with ID = "set_table_0", e.g.: JS> 'border="0" cellpadding="0" cellspacing="0"' JS> When set_table_0 is in the Zope root folder, it isn't JS> discovered through normal acquisition, but no error occurs. JS>
JS> creates a table with defaults, e.g. border is visible. JS> However, when set_table_0 is moved to a subfolder of the Zope JS> root folder, with the name "table_settings", and the reference JS> is made like so: JS>
JS> the DTML Method is found successfully, and the table border JS> isn't displayed. JS> The question is, why is the folder "table_settings" found in JS> the Zope Root Folder, but not the method? JS> Does Acquisition give higher preference to folders JS> (container), objects than a DTML Method? JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From swallace@trilobyte.net Sat Oct 21 19:38:49 2000 From: swallace@trilobyte.net (swallace@trilobyte.net) Date: Sat, 21 Oct 2000 11:38:49 -0700 Subject: [Zope] Strings, Names and dtml-var Message-ID: <200010211737.LAA19596@trilobyte.net> Ok, Being fairly new at Zope, I am really confused, I think I have looked through all the FAQs, How to's, examples, and what ever, but I still can not get the right combination to get this to work (many combinations tried :-)...). The basic intent is to easily change a property "color_source" in a directory that will cause the "color1" property to be looked up from a different directory. The directory name "default" could be one of many that holds different color themes. Thanks in advance. ***************************Code This does not work: get_color method This works: which renders #FFFFFF ***************************Key get_color = a method, /Business/Base/get_color color_selection = a property in the current directory containing the string "default" without quotes Colors = a folder, /Business/Colors default = a folder, /Business/Colors/default color1 = is a property under default containing the string "#FFFFFF" without quotes Zope = 2.2.2 OS = Win98 ***************************Error Message Error Type: KeyError Error Value: Colors.default.color1 Troubleshooting Suggestions This resource may be trying to reference a nonexistent object or variable Colors.default.color1. The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. From taco@scargo.nl Sat Oct 21 22:08:00 2000 From: taco@scargo.nl (Taco Scargo) Date: Sat, 21 Oct 2000 14:08:00 -0700 Subject: [Zope] Help needed with news articles Message-ID: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Unfortunately nobody responded, so I am reposting this question again. I just need a link to an example or explanation. Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco From kthangavelu@earthlink.net Sat Oct 21 17:08:12 2000 From: kthangavelu@earthlink.net (Ender) Date: Sat, 21 Oct 2000 09:08:12 -0700 Subject: [Zope] Strings, Names and dtml-var References: <200010211737.LAA19596@trilobyte.net> Message-ID: <39F1BF6C.C3F8B2B3@earthlink.net> swallace@trilobyte.net wrote: tested > > Ok, Being fairly new at Zope, I am really confused, I think I have > looked through all the FAQs, How to's, examples, and what ever, but > I still can not get the right combination to get this to work (many > combinations tried :-)...). The basic intent is to easily change a > property "color_source" in a directory that will cause the "color1" > property to be looked up from a different directory. The directory > name "default" could be one of many that holds different color > themes. Thanks in advance. > ***************************Code > This does not work: get_color method > > > > This works: > which renders #FFFFFF > ***************************Key > get_color = a method, /Business/Base/get_color > color_selection = a property in the current directory containing > the string "default" without quotes > Colors = a folder, /Business/Colors > default = a folder, /Business/Colors/default > color1 = is a property under default containing the string > "#FFFFFF" without quotes > Zope = 2.2.2 > OS = Win98 > ***************************Error Message > Error Type: KeyError > Error Value: Colors.default.color1 > > Troubleshooting Suggestions > This resource may be trying to reference a nonexistent object > or variable Colors.default.color1. > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering > an error. > > _______________________________________________ > 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 ) From steve@spvi.com Sun Oct 22 01:05:44 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sat, 21 Oct 2000 19:05:44 -0500 (EST) Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: <200010220005.TAA72971@mercury.spvi.com> Hi Taco, How about something like this: >>>>> "Taco" == Taco Scargo writes: Taco> Unfortunately nobody responded, so I am reposting this Taco> question again. I just need a link to an example or Taco> explanation. Taco> Basically I want to create a page listing the last 4 Taco> articles from a Zope folder. The articles need a publish Taco> from/to field, title and (dtml) text. I somehow need to be Taco> able to find and display the article from another dtml Taco> document. I read many FAQs and tried working with zcatalogs, Taco> but somehow I am not getting there. It is probably not so Taco> difficult. If there is somebody how can help me or give me a Taco> link to a clear explanation or example I would be very very Taco> grateful. Thanks ! Taco> Taco Taco> _______________________________________________ Zope Taco> maillist - Zope@zope.org Taco> http://lists.zope.org/mailman/listinfo/zope ** No cross Taco> posts or HTML encoding! ** (Related lists - Taco> http://lists.zope.org/mailman/listinfo/zope-announce Taco> http://lists.zope.org/mailman/listinfo/zope-dev ) From dcinege@psychosis.com Sun Oct 22 04:56:59 2000 From: dcinege@psychosis.com (Dave Cinege) Date: Sat, 21 Oct 2000 23:56:59 -0400 Subject: [Zope] Request for donation of site. Linux Router Project Message-ID: <39F2658B.DF50796B@psychosis.com> I'm lead dev for the Linux Router Project. (LRP is a powerful thin-server OS that taks up less then 2MB of boot space) As you can see http://www.linuxrouter.org/ is not exactly what you would call an amazing site. I've played with zope a little bit and really like it, but I lack both the time to learn zope, and any general artistic ability. : > The project has become quite large and yet we lack a 'professional' web pressence, as well as disorganized documentation. I'd like to see the LRP site 'zopified' with a portal flare. Some thing that would really have is devs (and users) being able to build up a FAQ's and docs online. The more extensive the better, but I'd be happy if someone stepped forward with something 'nice'. (IE basic zopification plus a touch up on graphics) Any person/company willing to take on this endeavor will recieve a plug on the LRP sponsors page if they so desire. Hey it may even look good on resume. Please mail me personally if you're interested. Dave From richard@dcs.co.uk Sun Oct 22 12:19:35 2000 From: richard@dcs.co.uk (Richard Moon) Date: Sun, 22 Oct 2000 12:19:35 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <000001c03ad7$bbb8bd40$0300a8c0@windows> References: Message-ID: <4.3.2.7.2.20001022121642.00e78370@195.60.12.162> MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the same as merchantpayment. Other databases (Postgresql, Informix) are not. Perhaps the Access/ODBC interface hides the case-sensitivity while the direct ZMySQLDA does not ? Richard At 21:52 20/10/00, you wrote: >Ok know I get this problem >Error, _mysql.OperationalError: (1109, "Unknown table 'MERCHANTPAYMENT' in >where clause") >---------------------------------------------------------------------------- >---- >SQL used: > >select PYNAME, PYPRICE >from PAYMENT >where MERCHANTPAYMENT.MEID = '418' and MERCHANTPAYMENT.PYID = PYID > >other ideas? > >Thanks > >Jens Grewen > >----- Original Message ----- >From: "Farrell, Troy" >To: "'Jens Grewen'" ; "Zope Maillist" >Sent: Friday, October 20, 2000 10:04 PM >Subject: RE: [Zope] Problems with mysql and sql methode > > > > You may try: > > > > SELECT pyname, pyprice > > FROM payment > > WHERE merchantpayment.meid = 418 AND merchantpayment.pyid = payment.pyid > > > > I have a feeling mysql is not liking you for not selecting results from > > table MERCHANTPAYMENT becuase you said you would. > > > > Troy > > > > -----Original Message----- > > From: Jens Grewen [mailto:zope@grewen.de] > > Sent: Friday, October 20, 2000 11:04 AM > > To: Zope Maillist > > Subject: [Zope] Problems with mysql and sql methode > > > > > > Hi, > > > > I have a problem with an SQL Methode with the this sql statement > > > > select PAYMENT.PYNAME, PAYMENT.PYPRICE > > from MERCHANTPAYMENT, PAYMENT > > where MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID > > > > on the following tables: > > > > > > MERCHANTPAYMENT > > --------------------------------- > > MPID int(30) > > MEID int(30) > > PYID int(30) > > --------------------------------- > > > > PAYMENT > > --------------------------------- > > PYID int(30) > > PYNAME varchar(50) > > PYPRICE varchar(50) > > --------------------------------- > > > > the statement runs under MS ACCESS (link over myODBC) and I get the >correct > > resut but under zope sql methode I get no result. (There was no data > > matching) > > > > Any ideas > > > > Jens Grewen > > > > > > _______________________________________________ > > 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 ) Richard Moon richard@dcs.co.uk From jonathan@home-all.org.uk Sun Oct 22 15:02:08 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Sun, 22 Oct 2000 15:02:08 +0100 (BST) Subject: [Zope] date off by one day per year cummulative Message-ID: Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding or not. Not good. Quite grim, actually. It only happens when you use the fmt="xyz" to reformat the dates into UK dd/mm/yy (from the default yy/mm/dd). Should I just work around for now, or is this likely to remain like this for a while. If so then zope gets mildly unusable outside the USA. cheers Jonathan From jatwood@bwanazulia.com Sun Oct 22 15:17:00 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:17:00 -0400 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: Hey Steve, Don't have any examples with SQL (although, in theory it is just a call to some data and is treated the same as any other data) but take a look at this. http://www.zope.org/Members/BwanaZulia/tell_a_friend/ Cheers, J At 10:01 PM +1000 1/22/2001, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Sun Oct 22 15:21:33 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 10:21:33 -0400 Subject: [Zope] Help needed with news articles In-Reply-To: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> References: <00a901c03ba3$00eacdb0$8121090a@TACOTOSHIBA> Message-ID: Hey Taco, Try this... -

Mix in your own elements where 'news' is a folder with news documents/methods in it. Add new properties for the from to if you want. You also might want to check out the Yihaw Product which does and has code for all of this. http://www.zope.org/Members/Roug/Yihaw Cheers, J At 2:08 PM -0700 10/21/2000, Taco Scargo wrote: >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From kedai@kedai.com.my Sun Oct 22 16:10:04 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 22 Oct 2000 23:10:04 +0800 Subject: [Zope] Help needed with news articles Message-ID: <003601c03c3a$28ef1220$8530bcca@kedai> try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. (and other stuff/properties) the above code should be in a DTML Method -----Original Message----- From: Taco Scargo To: zope@zope.org Date: Sunday, October 22, 2000 5:23 AM Subject: [Zope] Help needed with news articles >Unfortunately nobody responded, so I am reposting this question again. I >just need a link to an example or explanation. > >Basically I want to create a page listing the last 4 articles from a Zope >folder. The articles need a publish from/to field, title and (dtml) text. I >somehow need to be able to find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >_______________________________________________ >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 ) From chrism@digicool.com Sun Oct 22 18:29:20 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 22 Oct 2000 13:29:20 -0400 Subject: [Zope] date off by one day per year cummulative References: Message-ID: <038c01c03c4d$9d656470$63c48ad0@kurtz> Jonathan, Would you be kind enough to put this bug into the collector on Zope.org? ----- Original Message ----- From: "Jonathan Cheyne" To: Sent: Sunday, October 22, 2000 10:02 AM Subject: [Zope] date off by one day per year cummulative > > Hi all, Zope 2.2.0, displaying a date property from a zclass has been out > by one day for a while, trick was just to +1 to the dtml. THought this > was fine til dates into 2001 needed to go on and hey, they become one > day too far now ... so now I need to add code to determine the year before > adding or not. > > Not good. Quite grim, actually. > > It only happens when you use the fmt="xyz" to reformat the dates into > UK dd/mm/yy (from the default yy/mm/dd). > > Should I just work around for now, or is this likely to remain like this > for a while. If so then zope gets mildly unusable outside the USA. > > cheers > > Jonathan > > > > _______________________________________________ > 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 ) > > From salvatore.didio@wanadoo.fr Sun Oct 22 21:31:07 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:31:07 +0200 Subject: [Zope] Help creating Object Message-ID: <39F34E8B.A5F496D7@wanadoo.fr> Hello, In the manage folder I can't create any object. I got a message telling that the object can not be owned by the superuser. (line 217 in file Owned.py). Can someone help me ? Thanks From Noah@noah.org Sun Oct 22 21:29:07 2000 From: Noah@noah.org (Noah) Date: Sun, 22 Oct 2000 13:29:07 -0700 Subject: [Zope] Multiple queries in a ZSQL method? Message-ID: <003901c03c66$c0a937e0$e21ac73f@wingw> Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the record that I just inserted. Something like this: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ); select LAST_INSERT_ID(); If I put this into two different methods then I'm afraid that I will have some threading problems due to the fact that another client might come in and do an insert using the database connection I was using. LAST_INSERT_ID is safe as long as you have an unshared connection. Zope does connection pooling, so I worry that using two separate ZSQL Methods may not always work. And WILL NOT work if Zope gives me a different connection for the second ZSQL call. Is there a better way to do this? Yours, Noah From salvatore.didio@wanadoo.fr Sun Oct 22 21:41:39 2000 From: salvatore.didio@wanadoo.fr (Salvatore DIDIO) Date: Sun, 22 Oct 2000 22:41:39 +0200 Subject: [Zope] Creating Object Message-ID: <39F35103.CE1D139@wanadoo.fr> Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much From kthangavelu@earthlink.net Sun Oct 22 16:56:43 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:56:43 -0700 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <39F30E3B.556097F2@earthlink.net> Salvatore DIDIO wrote: > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much i feel for you, in zope 2.2 and above the initial account, the superuser, isn't allowed to create/own objects. what you're supposed to do is create a new user in the acl_users of the root directory which will be your first working account. after you create a user in acl_users, logout by shutting down the browser and than try logging into the system with a new browser. you can escape shutting down the browser by editing one of the existing methods to have this section of code. when asked to reauthenticate type in the name of the new user. than click cancel and reload the /manage page, you should be able to login as the new user. Log out Cheers Kapil From kthangavelu@earthlink.net Sun Oct 22 16:57:27 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 08:57:27 -0700 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <39F30E67.83993A99@earthlink.net> multiple non-select statements (max 1 select) are done through the use of kapil Noah wrote: > > Hi, > > I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. > After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the > record that I just inserted. Something like this: > > insert into author > (id, name, sort_name, email, bio, initials) > values > (null, > , > , > , > , > ); > > select LAST_INSERT_ID(); > > If I put this into two different methods then I'm afraid that I will have some > threading problems due to the fact that another client might come in and > do an insert using the database connection I was using. LAST_INSERT_ID > is safe as long as you have an unshared connection. Zope does > connection pooling, so I worry that using two separate ZSQL Methods > may not always work. And WILL NOT work if Zope gives me a different connection > for the second ZSQL call. > > Is there a better way to do this? > > Yours, > Noah > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:02:02 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:02:02 +0100 Subject: [Zope] Multiple queries in a ZSQL method? References: <003901c03c66$c0a937e0$e21ac73f@wingw> Message-ID: <00b801c03ba2$2c288e50$0202a8c0@typhoon> Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ) select LAST_INSERT_ID() hth Phil Phil.harris@zope.co.uk ----- Original Message ----- From: "Noah" To: Sent: Sunday, October 22, 2000 9:29 PM Subject: [Zope] Multiple queries in a ZSQL method? | Hi, | | I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. | After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the | record that I just inserted. Something like this: | | insert into author | (id, name, sort_name, email, bio, initials) | values | (null, | , | , | , | , | ); | | select LAST_INSERT_ID(); | | If I put this into two different methods then I'm afraid that I will have some | threading problems due to the fact that another client might come in and | do an insert using the database connection I was using. LAST_INSERT_ID | is safe as long as you have an unshared connection. Zope does | connection pooling, so I worry that using two separate ZSQL Methods | may not always work. And WILL NOT work if Zope gives me a different connection | for the second ZSQL call. | | Is there a better way to do this? | | Yours, | Noah | | | | | | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Sat Oct 21 22:05:20 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 21 Oct 2000 22:05:20 +0100 Subject: [Zope] Creating Object References: <39F35103.CE1D139@wanadoo.fr> Message-ID: <00c001c03ba2$a3146f20$0202a8c0@typhoon> Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the possibles. hth Phil ----- Original Message ----- From: "Salvatore DIDIO" To: "Zope" Sent: Sunday, October 22, 2000 9:41 PM Subject: [Zope] Creating Object | Hello, | | I am new to Zope | I've just installed Zope on Linux. I just can't create any object !. | I receive the following message : | the object can not be owned by the superuser | (line 217 in file Owned.py) | Could someone help me ? | | Thank you very much | | | | _______________________________________________ | 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 ) From jatwood@bwanazulia.com Sun Oct 22 22:18:23 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Sun, 22 Oct 2000 17:18:23 -0400 Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> References: <39F35103.CE1D139@wanadoo.fr> Message-ID: You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote: >Hello, > >I am new to Zope >I've just installed Zope on Linux. I just can't create any object !. >I receive the following message : > the object can not be owned by the superuser >(line 217 in file Owned.py) >Could someone help me ? > >Thank you very much > > > >_______________________________________________ >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 ) From mark@kaivo.com Sun Oct 22 22:28:48 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 15:28:48 -0600 (MDT) Subject: [Zope] Creating Object In-Reply-To: <39F35103.CE1D139@wanadoo.fr> from "Salvatore DIDIO" at Oct 22, 2000 10:41:39 PM Message-ID: <200010222128.PAA27072@CatInTheHat.kaivo.com> You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created. You should be able to create objects. Mark > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much > > > > _______________________________________________ > 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 ) > From bill@noreboots.com Sun Oct 22 22:09:18 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:09:18 -0600 Subject: [Zope] IIS and Zope share same problem :-S References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <39F3577E.8EF9D4BF@noreboots.com> Chris Withers wrote: > > Andrew Kenneth Milton wrote: > > > > | > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > which will hopefully produce a solution :-) > > cheers, As soon as you can tell us how to get Zope to go executing _files_ on the server (read, in the filesystem), as opposed to objects in the site.... I might accept it as the same bug. :^)= Then-again,-I-might-_use_-that-capability-if-I-could-ly y'rs Bill -- E PLURIBUS LINUX From bill@noreboots.com Sun Oct 22 22:11:22 2000 From: bill@noreboots.com (Bill Anderson) Date: Sun, 22 Oct 2000 15:11:22 -0600 Subject: [Zope] Roxen & Zope, not working References: <20001019203410.18523.qmail@web515.mail.yahoo.com> Message-ID: <39F357FA.B3E5BEB7@noreboots.com> Adrian Madrid wrote: > > I'm having problems running Zope on top of Roxen on a Win2k machine. > They both run just fine separate but I can't make it work together. I > followed the instructions from > http://www.zope.org/Members/magnus/Roxen but I never got it to see the > first page. Here are the tracebacks I get: > > * This is what I get when I try mysite.com: These are all Roxen tracebacks, try their lists for details (good luck). Bill (I run many sites just fine with Roxen/Zope, but that's on Linux) -- E PLURIBUS LINUX From taco@scargo.nl Sun Oct 22 22:56:21 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 14:56:21 -0700 Subject: [Zope] Problems with sequence-item Message-ID: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> I get errors when sequence-item is being called to list the contents of a folder E.g. correctly outputs 3 2 1 When I do it correctly outputs all ids in the folder. But will fail with an error Error Type: AttributeError Error Value: __call__ What am I doing wrong ? Thanks, Taco Scargo ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From curtis@cardgate.net Sun Oct 22 23:30:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:30:17 +1100 Subject: [Zope] IIS and Zope share same problem :-S In-Reply-To: <39F0071D.10C767F3@nipltd.com> References: <39F0016F.B62F6D@nipltd.com> <20001020183043.B88131@zeus.theinternet.com.au> <39F0071D.10C767F3@nipltd.com> Message-ID: <0010230930170K.01234@localhost.localdomain> On Fri, 20 Oct 2000, Chris Withers wrote: > Andrew Kenneth Milton wrote: > > | http://www.zope.org/standard_html_header for example ;-) > > > > Not that old chestnut again... > > Yes, that old chestnut again. If it's considered a serious security flaw > by Microsoft, maybe the Zope community should finally do something to > solve it. > > ...and yes, there are discussions about this on Zope-dev right now, > wwhich will hopefully produce a solution :-) > Now, I may be missing the point of the fine grained access control of ZOPE, but knowing an objects ID is not at all the same as being able to access it, or even invoke it correctly. The MS bug "allows access to any file on the webserver". Whilst in ZOPE you may be able to enter the URL and invoke the object to some degree, unless you have the permissions to do whatever it does, what harm can you do? To me, this seems like more of a "patch by sensible admin" problem than a security hole. > cheers, > > Chris > Have a better one, Curtis Maloney. From curtis@cardgate.net Sun Oct 22 23:41:56 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 09:41:56 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> References: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> Message-ID: <0010230941560L.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > Your problem appears to be in the using of objectValues(). This returns the actual objects. So, in the second loop () you are referencing the 'id' member of each object. Nothing wrong there. However, in the third loop () you are trying to render the object itself. This will 'call' each object, which some of them (obviously) object to. (No pun intended) If you want to render all the DTML Documents and DTML Methods in the folder , try something like: but this could get very messy with a large folder. (o8 > Thanks, > > Taco Scargo > Have a better one, Curtis Maloney From mark@kaivo.com Sun Oct 22 23:52:59 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Sun, 22 Oct 2000 16:52:59 -0600 (MDT) Subject: [Zope] Problems with sequence-item In-Reply-To: <005001c03c72$eb2e6b00$7a686f40@TACOTOSHIBA> from "Taco Scargo" at Oct 22, 2000 02:56:21 PM Message-ID: <200010222252.QAA27926@CatInTheHat.kaivo.com> > > I get errors when sequence-item is being called to list the contents of a > folder > > E.g. > > > > > correctly outputs 3 2 1 > > When I do > > > > > > it correctly outputs all ids in the folder. > > But > > > > > > will fail with an error > Error Type: AttributeError > Error Value: __call__ > > What am I doing wrong ? > In this example, is actually trying to call the items in the folder. In this case, at least one of the items is not callable ( like another folder). If you did something like this: You would see the results of 'viewing' or calling every DTML Method in folder. Mark > Thanks, > > Taco Scargo > > > > > ________________________________________________________ > 1stUp.com - Free the Web > Get your free Internet access at http://www.1stUp.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 ) > From taco@scargo.nl Mon Oct 23 02:34:52 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:34:52 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> Message-ID: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. Fails with the error: Error Type: AttributeError Error Value: __call__ I am really clueless.... Thanks, Taco ----- Original Message ----- From: "Mark N. Gibson" To: "Taco Scargo" Cc: Sent: Sunday, October 22, 2000 3:52 PM Subject: Re: [Zope] Problems with sequence-item > In this example, is actually trying to call the items > in the folder. In this case, at least one of the items is not callable like > another folder). If you did something like this: > > > > > > You would see the results of 'viewing' or calling every DTML Method in folder. > > Mark From curtis@cardgate.net Mon Oct 23 02:57:50 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 23 Oct 2000 12:57:50 +1100 Subject: [Zope] Problems with sequence-item In-Reply-To: <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> Message-ID: <0010231257500N.01234@localhost.localdomain> On Mon, 23 Oct 2000, Taco Scargo wrote: > Had already tried that, but it doesn't work. > I have 8 DTML Documents in a folder called artikelen. > > > > > > Fails with the error: > Error Type: AttributeError > Error Value: __call__ > > I am really clueless.... > Any chance you could post the WHOLE traceback, so we might be able to see which object it's choking on? > Thanks, > > Taco Curtis. From taco@scargo.nl Mon Oct 23 02:54:42 2000 From: taco@scargo.nl (Taco Scargo) Date: Sun, 22 Oct 2000 18:54:42 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> Message-ID: <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Please feel free to look at it at http://www.gezondheidskrant.nl:8080/mainframe Taco ----- Original Message ----- From: "Curtis Maloney" To: "Taco Scargo" ; "Mark N. Gibson" ; Sent: Sunday, October 22, 2000 6:57 PM Subject: Re: [Zope] Problems with sequence-item > Any chance you could post the WHOLE traceback, so we might be able to see > which object it's choking on? From kthangavelu@earthlink.net Sun Oct 22 23:38:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:38:51 -0700 Subject: [Zope] Problems with sequence-item References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> Message-ID: <39F36C7B.906C48FC@earthlink.net> I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen document. zope renders these subtemplates slightly differently than a template called directly by the browser, when you're calling the addressen subobject from the document call it like this or in a if that doesn't solve it for you, than it would be helpful to have the relevant src of the document. i tried without success to duplicate the exact same error, but i'm pretty sure that the problem has something to do with this. Kapil Taco Scargo wrote: > > Please feel free to look at it at > > http://www.gezondheidskrant.nl:8080/mainframe > > Taco > ----- Original Message ----- > From: "Curtis Maloney" > To: "Taco Scargo" ; "Mark N. Gibson" ; > > Sent: Sunday, October 22, 2000 6:57 PM > Subject: Re: [Zope] Problems with sequence-item > > Any chance you could post the WHOLE traceback, so we might be able to see > > which object it's choking on? > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Sun Oct 22 23:43:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Sun, 22 Oct 2000 15:43:02 -0700 Subject: [Zope] HELP! Permissions problem, ZClass References: Message-ID: <39F36D76.50D2C358@earthlink.net> trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new instance of the > ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't > helping. > > Any pointers? > > Thanks, > > Eric. > > Here's the traceback: > Zope Error > > Zope has encountered an error while publishing this resource. > > Unauthorized > > You are not authorized to access CNewsItem. > > Traceback (innermost last): > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 222, in publish_module > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 187, in publish > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 171, in publish > File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: buildNews) > File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line > 112, in call_object > (Object: buildNews) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 172, > in __call__ > (Object: buildNews) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: buildNews) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 146, in render > (Object: manage_addProduct['NewsItem']) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: CNewsItem_add(_.None, _, NoRedir=1)) > (Info: _) > File , line 0, in ? > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 168, > in __call__ > (Object: CNewsItem_add) > File > /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 528, in > __call__ > (Object: CNewsItem_add) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, > line 133, in render > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, > line 331, in eval > (Object: CNewsItem.createInObjectManager(REQUEST['id'], > REQUEST)) > (Info: CNewsItem) > File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 194, > in validate > (Object: buildNews) > File > /usr/local/Zope/lib/python/AccessControl/SecurityManager.py, line 139, in > validate > File > /usr/local/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in > validate > Unauthorized: (see above) > > _______________________________________________ > 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 ) From maxm@normik.dk Mon Oct 23 09:12:31 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 10:12:31 +0200 Subject: [Zope] NEWBIE: assign next free ID automatically Message-ID: <7BD10B680501D411B9DF009027E06F32197A8D@exchange> This is untested, but an idea: It is still subject to failure if 2 or more processes are writing an article in the same time. Furthermore it has to find and sort all the items in the folder. That could take a long time if there are lots of them. Maybe you should somehow insert a dtml-try until you succed in writing the article. Another aproach would be to have the folder with your articles have a property "lastID" and let "nexID" be a method that automatically would increment lastID end return it. Maybe it is possible to lock the lastID property?? >From: Patrick Koetter [mailto:p@state-of-mind.de] >What is it that I want to do? >I want to evaluate the highest ID (all are 'int') within the folder and >assign the next highest. >I'm sure this is easy to you... From Oliver Bleutgen Mon Oct 23 09:41:27 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 10:41:27 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010230845.BAA02278@zope.codeit.com> > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > same as merchantpayment. > Other databases (Postgresql, Informix) are not. > Perhaps the Access/ODBC interface hides the case-sensitivity while the > direct ZMySQLDA does not ? Hmm, I'm not very clear about differences between handling of (table, column) names in sql-databases, but postgres IS case sensitive (in some sense). Few days ago I wrote to messages to this list describing my problems with postgres and capitals in column-names. The handling of these will render useless, because it doesn't quote the name of the vars. I that case postgres will not respect capital letter (will turn them lowercase) but also won't find the column which name is written uppercase. I think it would be usefull to collect the behaviour of different databases and try to find a solution which will work with all of them. The solution we have now clearly doesn't do that. cheers, oliver From brocken22@gmx.de Mon Oct 23 10:06:08 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 23 Oct 2000 11:06:08 +0200 (MEST) Subject: [Zope] Working with versions Message-ID: <4833.972291968@www32.gmx.net> Hallo, I've got a question concerning versions. The working with versions in the management screen is obvious to me, but what about hiding the management-screen and working with them. I want to add ZClasses programmatically but some users should only be able to add them after a Controller has checked that everything is o.k. What are the right methods to use??? -- Sent through GMX FreeMail - http://www.gmx.net From chrism@digicool.com Mon Oct 23 10:30:27 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 05:30:27 -0400 Subject: [Zope] Working with versions References: <4833.972291968@www32.gmx.net> Message-ID: <065101c03cd3$e2576c00$63c48ad0@kurtz> Hi... You need to open a versioned database connection manually. This is probably harder than it should be. For more info, see http://www.zope.org/Documentation/Developer/Models/ZODB and look under Architecture --> DB. ----- Original Message ----- From: To: Sent: Monday, October 23, 2000 5:06 AM Subject: [Zope] Working with versions > Hallo, > I've got a question concerning versions. > The working with versions in the management screen is obvious to me, but > what about hiding the management-screen and working with them. > I want to add ZClasses programmatically but some users should only be able > to add them after a Controller has checked that everything is o.k. > What are the right methods to use??? > > -- > Sent through GMX FreeMail - http://www.gmx.net > > > _______________________________________________ > 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 ) > > From Olivier Ricou Mon Oct 23 10:48:54 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 11:48:54 +0200 Subject: [Zope] newbie questions ? Message-ID: <20001023114854.E3390@hermes> Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. Here are two questions I did not find the answers : - how to ask for authentification to see my web pages (not manage, just see) ? In Apache one has to put a .htaccess file in the directory. - how to limit the size a folder ? I want to give login to friends so they can add photos in a folder but I don't want to receive more than 200MB of data in this folder. Thanks, Olivier. From sean@digitome.com Mon Oct 23 11:16:09 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 11:16:09 +0100 Subject: [Zope] GET requests in Medusa web server Message-ID: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Hello all, Why does the Medusa server in Zope not handle GET requests which specify a full URI? For example, if I have a web server running on web.mydomain.com, and I want to get a file called "file.html", doing a GET request of the form GET http://web.mydomain.com/file.html HTTP/1.1 gives me a 404. Doing a GET of the form GET /file.html HTTP/1.1 works fine. If I understand RFC 2068 correctly, a HTTP 1.1 compliant server is expected to handle both cases (5.1.12 of RFC 2068), although HTTP 1.1 clients are not supposed to generate these unless talking to a proxy. In our case, the software which generates the request is a WAP gateway (Ophelia, http://www.3ui.com), and it always assumes it is talking to a proxy server, and requires a code change to change it. I've tested Apache and IIS with this, and they handle both forms. Thanks in advance. From chrism@digicool.com Mon Oct 23 11:38:57 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:38:57 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> Message-ID: <002801c03cdd$72ac3020$1f48a4d8@kurtz> > Hi, > > I spent my week-end learning how to use Zope, it was a nice painful > experience. Nice thanks to Zope itself, painful because of the poor > docs. The How-Tos helped me a lot but it is a real mess. We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/. > Here are two questions I did not find the answers : > > - how to ask for authentification to see my web pages (not manage, just > see) ? In Apache one has to put a .htaccess file in the directory. This answer is definitely in the Zope book. If it's not, there's the (unfinished) chapter of the Zope Product Developer's Guide Security chapter at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > - how to limit the size a folder ? I want to give login to friends > so they can add photos in a folder but I don't want to receive > more than 200MB of data in this folder. There is no quota support in Zope. You'd need to write code to enforce a constraint on total upload size. From chrism@digicool.com Mon Oct 23 11:43:06 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 06:43:06 -0400 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> Message-ID: <003e01c03cde$070ea360$1f48a4d8@kurtz> And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) ----- Original Message ----- From: "Chris McDonough" To: "Olivier Ricou" ; Sent: Monday, October 23, 2000 6:38 AM Subject: Re: [Zope] newbie questions ? > > Hi, > > > > I spent my week-end learning how to use Zope, it was a nice painful > > experience. Nice thanks to Zope itself, painful because of the poor > > docs. The How-Tos helped me a lot but it is a real mess. > > We know. :-) Have you checked out the Zope book? > http://www.zope.org/Members/michel/ZB/. > > > Here are two questions I did not find the answers : > > > > - how to ask for authentification to see my web pages (not manage, just > > see) ? In Apache one has to put a .htaccess file in the directory. > > This answer is definitely in the Zope book. If it's not, there's the > (unfinished) chapter of the Zope Product Developer's Guide Security chapter > at http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. > > > - how to limit the size a folder ? I want to give login to friends > > so they can add photos in a folder but I don't want to receive > > more than 200MB of data in this folder. > > There is no quota support in Zope. You'd need to write code to enforce a > constraint on total upload size. > > > > _______________________________________________ > 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 ) > > From richard@dcs.co.uk Mon Oct 23 11:00:22 2000 From: richard@dcs.co.uk (Richard Moon) Date: Mon, 23 Oct 2000 11:00:22 +0100 Subject: [Zope] Problems with mysql and sql methode In-Reply-To: <200010230845.BAA02278@zope.codeit.com> Message-ID: <4.3.2.7.2.20001023103517.02359840@195.60.12.162> At 09:41 23/10/00, you wrote: > > MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the > > same as merchantpayment. > > > Other databases (Postgresql, Informix) are not. > > > Perhaps the Access/ODBC interface hides the case-sensitivity while the > > direct ZMySQLDA does not ? > >Hmm, I'm not very clear about differences between handling of (table, >column) names >in sql-databases, but postgres IS case sensitive (in some sense). Well I'm confused !!! I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both with the same schema. Both have a table 'artist'. The following SQL Method (Zope 2.2.1) works with both select a.artist_id,a.known_name,a.initials from artist a where Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where it still works with PostgreSQL but with MySQL I get "Table 'tunedb.ARTIST' doesn't exist" Change this to select a.artist_id,a.known_name,a.initials from ARTIST a where Then it still works with PostgreSQL, provided you also change the argument to the SQL Method from surname to SURNAME. When you click on the Test tab of an SQL Method it shows the SQL generated and you can see, in the above example, that the uppercase words are passed through unchanged to the database viz. select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = 'Molloy' In what circumstances is PostgreSQL case-sensitive ? Richard >Few days ago I wrote to messages to this list describing my problems >with postgres and capitals in column-names. The handling of these will >render useless, because it doesn't quote the name of the >vars. I that case postgres will not respect capital letter (will turn them >lowercase) but also won't find the column which name is written uppercase. > >I think it would be usefull to collect the behaviour of different databases >and try to find a solution which will work with all of them. >The solution we have now clearly doesn't do that. > >cheers, >oliver > > > > > > > >_______________________________________________ >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 ) Richard Moon richard@dcs.co.uk From olpa@sybcom.de Mon Oct 23 11:48:06 2000 From: olpa@sybcom.de (olpa@sybcom.de) Date: Mon, 23 Oct 2000 12:48:06 +0200 (CEST) Subject: [Zope] ZCatalog question Message-ID: Hi Folks, i have a ZCatalog over a bunch of items with attributes A and B. Now I want to search all elements with attribute A set to value 1 and AT THE SAME TIME with attribute B set to value 2. So a sort of AND combination with two different attributes. How to do ? Regards oliver --- "All language designers are arrogant. Goes with the territory..." (By Larry Wall) --- Oliver Pabst .-------------------------. mailto:olpa@sybcom.de : : phone :+49 681 56600600 : project department : SYBCOM GmbH fax :+49 681 56600660 : : http://www.sybcom.de From hohage@muenster.de Mon Oct 23 13:38:13 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 13:38:13 +0100 Subject: [Zope] Working with versions Message-ID: <39F3CE19@muepubb> Hallo Chris, thank you for your reply, but I don't understand what I have to do. I looked into the documentation but it is obscure to me. Sven >===== Original Message From "Chris McDonough" ===== >Hi... > >You need to open a versioned database connection manually. This is probably >harder than it should be. For more info, see >http://www.zope.org/Documentation/Developer/Models/ZODB and look under >Architecture --> DB. > >----- Original Message ----- >From: >To: >Sent: Monday, October 23, 2000 5:06 AM >Subject: [Zope] Working with versions > > >> Hallo, >> I've got a question concerning versions. >> The working with versions in the management screen is obvious to me, but >> what about hiding the management-screen and working with them. >> I want to add ZClasses programmatically but some users should only be able >> to add them after a Controller has checked that everything is o.k. >> What are the right methods to use??? >> >> -- >> Sent through GMX FreeMail - http://www.gmx.net >> >> >> _______________________________________________ >> 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 ) >> >> From Oliver Bleutgen Mon Oct 23 12:41:59 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Mon, 23 Oct 2000 13:41:59 +0200 Subject: [Zope] Problems with mysql and sql methode Message-ID: <200010231146.EAA08582@zope.codeit.com> > At 09:41 23/10/00, you wrote: >>Hmm, I'm not very clear about differences between handling of (table, >>column) names >>in sql-databases, but postgres IS case sensitive (in some sense). > Well I'm confused !!! > I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both > with > the same schema. Both have a table 'artist'. The following SQL Method > (Zope > 2.2.1) works with both > select a.artist_id,a.known_name,a.initials >>from artist a > where > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > it still works with PostgreSQL but with MySQL I get > "Table 'tunedb.ARTIST' doesn't exist" > Change this to > select a.artist_id,a.known_name,a.initials >>from ARTIST a > where > Then it still works with PostgreSQL, provided you also change the argument > to the SQL Method from surname to SURNAME. > When you click on the Test tab of an SQL Method it shows the SQL generated > and you can see, in the above example, that the uppercase words are passed > through unchanged to the database > viz. > select a.artist_id,a.known_name,a.initials from ARTIST a where SURNAME = > 'Molloy' > In what circumstances is PostgreSQL case-sensitive ? First, sorry for my (nearly) full-quote, but I think it makes this discussion more readable. To your question, from my testing (I did this with column names only, but I suspect the same behavior for table-names), postgres is case sensitive, but - as I wrote - in another sense. If you don't quote the column-names, they are converted to or interpreted as lowercased names. _But_ if the real name of the table/column is _uppercase_, it will not be matched by this lowercased name - in this sense postgres is case-sensitive. Postgres needs quoted names in sql-queries to respect capitalization (sp?) - and I couldn't get to generate them. This was a major problem for me, because I had to work with a bunch of tables which were exported from foxpro and dbase, and their names were uppercased in the process. cheers, oliver From taco@scargo.nl Mon Oct 23 12:59:35 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 04:59:35 -0700 Subject: [Zope] Almost there, but I am still having a little problem References: <200010222252.QAA27926@CatInTheHat.kaivo.com> <001d01c03c91$71346ec0$8121090a@TACOTOSHIBA> <0010231257500N.01234@localhost.localdomain> <000501c03c94$367d1f90$8121090a@TACOTOSHIBA> <39F36C7B.906C48FC@earthlink.net> Message-ID: <009b01c03ce8$b7d5b850$7b231440@TACOTOSHIBA> Thank you all for helping me out. The hints got me almost there. I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com From baehr@dfki.de Mon Oct 23 13:35:57 2000 From: baehr@dfki.de (Jan-Thies Baehr) Date: Mon, 23 Oct 2000 14:35:57 +0200 Subject: [Zope] again: install Zope under Solaris 8 Message-ID: <39F430AD.8084E944@dfki.uni-kl.de> Hi, I just want to resume a thread from september. Has anyone else encountered problems installing Zope (in our case 2.2.2) under Solaris 8? And more important: Do you know a solution? Python is unable to import the ExtensionClass. I tried it from commandline (python 1.5.2 (#1, Oct 19 2000, 13:55:34) [GCC 2.95.3 19991030 (prerelease)] on sunos5) also and got the same Import Error: --------------- command and traceback following ---------------------------- [~/Zope-2.2.2] ./start Traceback (innermost last): File "/...../Zope-2.2.2/z2.py", line 554, in exec "import "+MODULE in {} File "", line 1, in File "/...../Zope-2.2.2/lib/python/Zope/__init__.py", line 94, in import ZODB, ZODB.ZApplication, imp File "/...../Zope-2.2.2/lib/python/ZODB/__init__.py", line 85, in import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol not found ------------------------------------------------------------------------------ Thanks, Thies Bähr. -- ----------------------------------------------------------------------- Jan-Thies Bähr Intelligent Visualization & Simulation DFKI GmbH Email: baehr@dfki.uni-kl.de D-67608 Kaiserslautern (Germany) Phone: +49 (0) 631 205-4565 ----------------------------------------------------------------------- From arevalo@iam.unibe.ch Mon Oct 23 14:57:03 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 15:57:03 +0200 (MET DST) Subject: [Zope] a problem with 'start' command Message-ID: hi all, I am a starter with Zope and i have a simple question. I need to execute 'start' command to start the server again. when i tried to do it, it gives me the message: command not found I looked at the directory, i can find the start command, and the permissions are -rwx--x--x. Can somebody help me with this ? Thanks Gaby From ws@gmd.de Mon Oct 23 14:59:47 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Mon, 23 Oct 2000 15:59:47 +0200 Subject: [Zope] Zope 2.2.2 breaks YihawDirectory ? Message-ID: <39F46073.11918.12C6AEA@localhost> When installing the actual Version of YihawDirectory (http://www.zope.org/Members/Roug/Yihaw) by importing it into a 2.2.2 Zope, I got the following traceback. This happens both with and without the current hotfixes. Importing it into 2.2.1 equipped with the current hotfixes works without flaws. Any ideas what's going on here? I don't want to go back to 2.2.1 :-/ Zope has encountered an error while publishing this resource. Error Type: Could not load oid  5, pickled data in traceback info may contain clues Error Value: None Traceback (innermost last): File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 526, in manage_importObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 278, in _setObject (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\OFS\ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 421, in manage_afterAdd (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZClasses\ZClass.py, line 374, in _register (Object: YihawChannel) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 447, in setstate File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 213, in _persistent_load (Info:  5) File E:\var\disk2\sites\WEBSIT~2\lib\python\ZODB\Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\0225', '(cExtensionClass\012ExtensionClass\012q\001(U\013EventFolderq \002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.Re nderable.Renderable\012Renderable\012q\004cZClasses.ObjectMa nager\012ObjectManager\012q\005cOFS.SimpleItem\012SimpleIte m\012q\006tq\007}q\010(U\016searchMaxItemsq\011U\00250q\012 U\004helpq\013(U\010\000\000\000\000\000\000\022jq\014(U\017ZC lasses.Methodq\015U\003MWpq\016ttq\017QU\012titleColorq\020U \007#ffffccq\021U\016contextMessageq\022U\011Event Logq\023U\024validateDocumentFormq\024(U\010\000\000\000\000 \000\000\022Jq\025(h\015U\003MWpq\026ttq\027QU\006_p_oidq\0 30U\010\000\000\000\000\000\000\020=q\031U\012yearBreaksq\03 2U\0013U\014titleFgColorq\033U\007#000000q\034U\011meta_type q\035U\013EventFolderq\036U\012__module__q\037U\031*RPVpt5 0D1IjExz+kMxPcyw==q U\012index_htmlq!(U\010\000\000\000\000\000\000\022Kq"(h\015U\ 003MWpq#ttq$QU\012useOverlibq%U\000U\011adder_gifq&(U\010\ 000\000\000\000\000\000\022Lq\'(h\015U\003MWpq(ttq)QU\016neat ManageViewq*(U\010\000\000\000\000\000\000\022Mq+(h\015U\00 3MWpq,ttq- QU\013eventSearchq.(U\010\000\000\000\000\000\000\022Nq/(h\01 5U\003MWpq0ttq1QU\022__ac_permissions__q2((U\022Add EventDocumentsq3)(U\007Managerq4tq5t(U\017Add EvDocAddersq6)h5t(U\016Add EvDocDatesq7)h5ttq8U\013newAddendumq9(U\010\000\000\000\00 0\000\000\022Oq:(h\015U\003MWpq;ttq(h\015U\003MWpq?ttq@QU\ 014titleBgColorqAU\007#ffffccqBU\004iconqCU9Control_Panel/Prod ucts/EventFolder/EventFolder/ziconImageqDU\011webmasterqEU\0 22nobody@nowhere.comqFU\010nicknameqGU\011Event LogqHU\023docGridDisplayColorqIU\007#0000ccqJU\017mgmt_bat ch_sizeqKU\00220qLU\014deleteEventsqM(U\010\000\000\000\000\ 000\000\022QqN(h\015U\003MWpqOttqPQU\010year_tokqQ]qR(U\ 0042000qSU\0042001qTeU\015lightbulb_gifqU(U\010\000\000\000\0 00\000\000\022RqV(h\015U\003MWpqWttqXQU\012batch_sizeqYU \00225qZU\012dateSearchq[(U\010\000\000\000\000\000\000\022S q\\(h\015U\003MWpq]ttq^QU\006formccq_U\007#e0e0e0q`U\014ne wEventFormqa(U\010\000\000\000\000\000\000\022Uqb(h\015U\003 MWpqcttqdQU\014edListSearchqe(U\010\000\000\000\000\000\000 \022Vqf(h\015U\003MWpqgttqhQU\021makeBatcherStringqi(U\010\ 000\000\000\000\000\000\022Wqj(h\015U\003MWpqkttqlQU\016dat eRangeResetqm(U\010\000\000\000\000\000\000\022_qn(h\015U\0 03MWpqottqpQU\012renderYearqq(U\010\000\000\000\000\000\000 \022Hqr(h\015U\003MWpqsttqtQU\014allowPostingquU\002onqvU\0 13bordercolorqwU\007#000033qxU\012_p_changedqyK\001U\007__ doc__qzU\037Folder to contain event objectsq{U\015maxTitleCharsq|K(U\013makeItAListq}(U\010\000\00 0\000\000\000\000\022[q~(h\015U\003MWpq\177ttq\200QU\011mo deratedq\201U\002onq\202U\016propertysheetsq\203U\010\000\000 \000\000\000\000\022]q\204QU\013eventReportq\205(U\010\000\00 0\000\000\000\000\022^q\206(h\015U\003MWpq\207ttq\210QU\016l astDayOfMonthq\211(U\010\000\000\000\000\000\000\022cq\212(h\ 015U\003MWpq\213ttq\214QU\016headingBgColorq\215U\007#000 000q\216U\011thismonthq\217(U\010\000\000\000\000\000\000\022 Zq\220(h\015U\003MWpq\221ttq\222QU\024isPrincipiaFolderishq\2 23U\001YU\013bodyBgColorq\224U\007#ffffffq\225U\011pixel_gifq\2 26(U\010\000\000\000\000\000\000\022Xq\227(h\015U\003MWpq\23 0ttq\231QU\016undo_hook_linkq\232(U\010\000\000\000\000\000\0 00\022Iq\233(h\015U\003MWpq\234ttq\235QU\017newAddendumFo rmq\236(U\010\000\000\000\000\000\000\022`q\237(h\015U\003MW pq\240ttq\241QU\013subobjTypesq\242(U\010\000\000\000\000\000 \000\022aq\243(h\015U\003MWpq\244ttq\245QU\010newEventq\24 6(U\010\000\000\000\000\000\000\022bq\247(h\015U\003MWpq\250 ttq\251QU\011_p_serialq\252U\010\0036b\014\023S\230\273q\253U \011dateRangeq\254(U\010\000\000\000\000\000\000\022Yq\255(h\ 015U\003MWpq\256ttq\257QU\006go_gifq\260(U\010\000\000\000\0 00\000\000\022Tq\261(h\015U\003MWpq\262ttq\263QU\020AboutE ventFolderq\264(U\010\000\000\000\000\000\000\022dq\265(h\015U\ 003MWpq\266ttq\267QU\012meta_typesq\270(}q\271(U\012permiss ionq\272U\022Add EventDocumentsq\273U\004nameq\274U\016Event Documentq\275U\007productq\276U\013EventFolderq\277U\006acti onq\300U3manage_addProduct/EventFolder/EventDocument_factor yq\301utq\302U\013borderwidthq\303U\0012U\014subjectNamesq\3 04]q\305(U\007Generalq\306U\004Artsq\307U\007Theatreq\310U\00 6Sportsq\311U\012Governmentq\312U\005Clubsq\313U\006Schoolq \314U\011Religiousq\315eU\006prefixq\316U\000U\012whole_yearq\ 317(U\010\000\000\000\000\000\000\022eq\320(h\015U\003MWpq\3 21ttq\322QU\014showCalendarq\323(U\010\000\000\000\000\000\00 0\022fq\324(h\015U\003MWpq\325ttq\326QU\021filterHtmlInFormsq \327U\002onq\330U\016manage_optionsq\331(}q\332(U\005labelq\3 33U\010Contentsq\334U\004helpq\335(U\013EventFolderq\336U\01 0MainViewq\337tU\006actionq\340U\016neatManageViewq\341u}q\ 342(U\005labelq\343U\022Zope Contents Viewq\344U\004helpq\345(h\336U\020ZopeContentsViewq\346tU\00 6actionq\347U\013manage_mainq\350u}q\351(U\005labelq\352U\00 4Viewq\353U\006actionq\354U\014showCalendarq\355u}q\356(U\00 5labelq\357U\012Propertiesq\360h\345(h\336U\020FolderProperties q\361tU\006actionq\362U propertysheets/properties/manageq\363u}q\364(U\005labelq\365U\0 10Securityq\366U\006actionq\367U\015manage_accessq\370u}q\37 1(U\005labelq\372U\004Undoq\373U\006actionq\374U\016undo_hoo k_linkq\375u}q\376(U\005labelq\377U\006ReadMer\000\001\000\000 U\006actionr\001\001\000\000U\020AboutEventFolderr\002\001\000\ 000utr\003\001\000\000U\007xSearchr\004\001\000\000(U\010\000\ 000\000\000\000\000\022gr\005\001\000\000(h\015U\003MWpr\006\ 001\000\000ttr\007\001\000\000QU\012ziconImager\010\001\000\00 0(U\010\000\000\000\000\000\000\022\\r\011\001\000\000(U\011OF S.Imager\012\001\000\000U\005Imager\013\001\000\000ttr\014\001\ 000\000QU\014eventlog_gifr\015\001\000\000(U\010\000\000\000\00 0\000\000\022hr\016\001\000\000(h\015U\003MWpr\017\001\000\00 0ttr\020\001\000\000QU\013ctlsBgColorr\021\001\000\000U\007#ccf fccr\022\001\000\000U\006renderr\023\001\000\000(U\010\000\000\ 000\000\000\000\022ir\024\001\000\000(h\015U\003MWpr\025\001\ 000\000ttr\026\001\000\000QU\013bodyFgColorr\027\001\000\000U\ 007#000000r\030\001\000\000U\005titler\031\001\000\000U\011Eve nt Logr\032\001\000\000U\021wrapSearchResultsr\033\001\000\000(U\ 010\000\000\000\000\000\000\022kr\034\001\000\000(h\015U\003M Wpr\035\001\000\000tr\036\001\000\000tr\037\001\000\000QU\017li nkRelFontSizer \001\000\000U\002- 1r!\001\000\000U\016headingFgColorr"\001\000\000U\007#ffffffr#\001 \000\000utr$\001\000\000t.N.')) Could not load oid  5, pickled data in traceback info may contain clues: (see above) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From maxm@normik.dk Mon Oct 23 15:06:27 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Mon, 23 Oct 2000 16:06:27 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> What am I doing wrong here ... please !! I am trying to make an autoincrementing counter for use in a diskussion forum. It's purpose is to autogenereate id's for new messages. It is important that the id's are in order, so I need to make them this way. I have a zClass (objectmanger) with a property called "lastID", on a propertysheet called "hidden". I have then written a dtml mehtod that should return the id incremented by 1 and then sets the lastID to this new id. the dtml for the "newID()" dtml method looks like this: ---------- ---------- When I try to get the property directly via the browser i get a result of "1" The default value for lastID=0 to begin with so this sounds plausible, but when I refresh the browser nothing happens. So I guess that lastID isn't updated in the above code. How do I do that? Also when I the try to insert "newID()" in my "mxm_comment_add" method in my zClass, to autogenerate numbers, like this: I get the following traceback: (And I would expect it to run at least 1 time with "1" as a new id.) Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\mxmZope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\mxmZope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: index_html) File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: index_html) File C:\mxmZope\lib\python\App\Factory.py, line 178, in index_html (Object: RoleManager) File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 172, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: mxm_comment_add) File C:\mxmZope\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: mxm_comment.createInObjectManager(newID(), REQUEST)) (Info: newID) File <string>, line 0, in ? File C:\mxmZope\lib\python\OFS\DTMLMethod.py, line 168, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: newID) File C:\mxmZope\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: REQUEST.set('new_id', lastID+1)) (Info: REQUEST) File <string>, line 0, in ? NameError: (see above) From ghaley@venaca.com Mon Oct 23 15:19:12 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 23 Oct 2000 10:19:12 -0400 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F448E0.C533E384@venaca.com> steve smith wrote: > > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > hi steve. one of the worst things with zope sendmail is that you cannot indent things the way you might with clean coding use. but, you can use some very nice sql calls within you sendmail, including appropriate indentation. below is a sendmail method that i use to read a string of email address from a mysql database, and the text of the email from a second database, which gets parsed via an external python script (to parse the string of text into lines of <= 75 chars, otherwise the text gets sent as single lines). also, it checks for non-existent email addresses or missing names (the database is a list of people and companies, whether connected to the net or not). it may not be the most efficient, but it works; and any suggestions as to making it more efficient will be most appreciated. ciao! greg. venaca.com ********************************** clip ************************************

''"> '' and primary_name <> ''"> To: <> From: Subject: To: <> From: Subject: From phil.harris@zope.co.uk Mon Oct 23 15:25:49 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 15:25:49 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <00f501c03cfd$26dddac0$5c773fc1@media1> Gaby, If you are in the Zope directory, since most uni(x)es don't have the current directory in the path, you need to start zope with './start'. hth Phil ----- Original Message ----- From: "Gabriela Arevalo" To: Sent: Monday, October 23, 2000 2:57 PM Subject: [Zope] a problem with 'start' command > hi all, > I am a starter with Zope and i have a simple question. > I need to execute 'start' command to start the server again. > when i tried to do it, it gives me the message: > command not found > I looked at the directory, i can find the start command, and the > permissions are -rwx--x--x. > > Can somebody help me with this ? > > Thanks > > Gaby > > > _______________________________________________ > 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 ) From Jerry.Spicklemire@IFLYATA.COM Mon Oct 23 15:33:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 23 Oct 2000 09:33:07 -0500 Subject: [Zope] RE: Acquisitive Message-ID: <977A39E65CFCD3119ABF00D0B741D8497338F5@innt-73.ata.com> Steve wrote: > I'm guessing the the problem is that > > &dtml-xxx; does an implicit "html_quote" format > on whatever expression you provide.. so > >

> > should produce: > >
> > Which the browser doesn't grok.... > > try: > >
> That works! It turned out that this was also complicated by some flakey behavior displaying nested tables, in MS IE. It seems that sometimes it doesn't matter what you specifiy for a table's properties, the parent tables properties take precedence. Thanks! Jerry S. From hohage@muenster.de Mon Oct 23 16:40:02 2000 From: hohage@muenster.de (hohage) Date: Mon, 23 Oct 2000 16:40:02 +0100 Subject: [Zope] Adding many instances at once Message-ID: <39F44BCE@muepubb> Hallo, how can you add many ZClass-instances at once. I mean with the correct content,title and other properties.The example(adding zclass to a zclass)is always adding one class.The next problem is how to deal with the properties in a form if you don't know how many items are added by the user?? User A is adding three news-items at once, the next is adding 5. From brian@digicool.com Mon Oct 23 15:42:02 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 23 Oct 2000 10:42:02 -0400 Subject: [Zope] GET requests in Medusa web server In-Reply-To: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: > Why does the Medusa server in Zope not handle GET requests which specify > a full URI? For example, if I have a web server running on > web.mydomain.com, > and I want to get a file called "file.html", doing a GET request > of the form > > GET http://web.mydomain.com/file.html HTTP/1.1 > > gives me a 404. Doing a GET of the form > > GET /file.html HTTP/1.1 > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > compliant server > is expected to handle both cases (5.1.12 of RFC 2068) > ... Hi Sean - What version of Zope are you seeing this with? I seem to remember fixing something along these lines fairly recently. Is it still the case in Zope 2.2.2? Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From arevalo@iam.unibe.ch Mon Oct 23 16:23:27 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Mon, 23 Oct 2000 17:23:27 +0200 (MET DST) Subject: [Zope] a problem with 'start' command In-Reply-To: <00f501c03cfd$26dddac0$5c773fc1@media1> Message-ID: Phil, thanks for your suggestion, i understood it > If you are in the Zope directory, since most uni(x)es don't have the current > directory in the path, you need to start zope with './start'. but now when i execute the command i have the following message: ----------------------------------------------------------------------------- Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in ? zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", line 204, in run pf.close() IOError: [Errno 49] Disc quota exceeded aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname ------ 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct 23 17:18:55 2000 Hostname: aurora Port:8080 ------ 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 17:18:55 2000 Authorizer:None Hostname: aurora Port: 8021 ------ 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. ------ 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 17:18:55 2000 Unix socket: /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc ------ 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on port 8099 Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in ? pf.close() IOError: [Errno 49] Disc quota exceeded ------------------------------------------------------------------------------ what does this message mean ? what can i do ? in fact, my problem is when i tried to execute "localhost":8080/pecos/ where i have the information i need, there seems to have problems, because the connection is not possible. first thing i thought is just to try to start the server again, but i can not. thanks for any help have a nice evening. Gaby From brianw@hilgraeve.com Mon Oct 23 16:24:17 2000 From: brianw@hilgraeve.com (Brian Withun) Date: Mon, 23 Oct 2000 11:24:17 -0400 Subject: [Zope] argument type of list for ZSQL ? Message-ID: <000901c03d05$4f3ef230$ecdb5bcf@mikew> Is it possible to create a ZSQL Method which has a list-type as an argument? ..something that might support a call like this (or similar): where inside the ZSQL Method I might iterate over dept_members INSERT DepartmentMembers ( department_id, employee_id ) VALUES ( , ) If this can be written as shown (or similar) what would be the syntax used to populate the 'dept_members' field on the TEST view of the ZSQL Method? Would it just be: dept_member_ids: ----------------------- | [22,150,89] | ----------------------- or dept_member_ids: ----------------------- | "[22,150,89]" | ----------------------- or ... ? ------------ Brián Withun From bill.anderson@libc.org Mon Oct 23 16:02:18 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 09:02:18 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <39F452FA.969F6F7@libc.org> Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > it makes my skin crawl. :-) Amen. That and "...to adminstrate a server". :^)= Bill -- E PLURIBUS LINUX From andym@ActiveState.com Mon Oct 23 17:00:43 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 09:00:43 -0700 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <00d201c03d0a$660bf1c0$ae03a8c0@fork> [..] > When I try to get the property directly via the browser i get a result of > "1" The default value for lastID=0 to begin with so this sounds plausible, > but when I refresh the browser nothing happens. So I guess that lastID isn't > updated in the above code. I think this is a class - object problem. Each time you create an object based on your ZClass, the lastID becomes 0. Each object has its own lastID, rather than what you are expecting which is one instance of last id. My advice... download and install FSCounter from Zope.org (http://www.zope.org/Members/andym/FSCounter) Add an FSCounter, call it "Unique" and turn Cookie? to OFF (very important). This will generate and keep track of an incrementing value on the file system Then in your constructor add / change: That should work like a charm. From Olivier Ricou Mon Oct 23 17:01:52 2000 From: Olivier Ricou (Olivier Ricou) Date: Mon, 23 Oct 2000 18:01:52 +0200 Subject: [Zope] newbie questions ? In-Reply-To: <003e01c03cde$070ea360$1f48a4d8@kurtz>; from chrism@digicool.com on Mon, Oct 23, 2000 at 06:43:06AM -0400 References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> Message-ID: <20001023180152.T3390@hermes> On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my standard_html_header Il faut un compte pour voir ces pages. and I add a new type of user with no rights in the acl_user folder. Hence each person with want to see the site should have an account, at least a no right account. Olivier. ps: the french sentence is useless since it never appears. From Robert_J_Roberts@rl.gov Mon Oct 23 17:22:02 2000 From: Robert_J_Roberts@rl.gov (Robert_J_Roberts@rl.gov) Date: Mon, 23 Oct 2000 09:22:02 -0700 Subject: [Zope] Lost External Methods Message-ID: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> I am running Zope 2.1.4 (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 I have several external methods. Just recently, they started to be good for one run only. The external methods run fine once. The next run, they error out with: "Could not execute external method: ExtMthdName" If I reload that method [Edit button it] it runs fine again for one run. Any suggestions? And... while I'm at it, is there a way in Zope to programmatically reload [Edit button] an external method (in case I can't get the problem to go away and just out of general curiosity)? Robert J. Roberts LMSI-SD&I 509.376.6343 robert_j_roberts@rl.gov From juliodinis@hotmail.com Mon Oct 23 18:53:16 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Mon, 23 Oct 2000 17:53:16 WEST Subject: [Zope] Request size limit Message-ID: Hi, Is there a place to define the max request size limit zserver can serve. Thanx, Julio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From sean@digitome.com Mon Oct 23 17:17:02 2000 From: sean@digitome.com (Sean McGrath) Date: Mon, 23 Oct 2000 17:17:02 +0100 Subject: [Zope] GET requests in Medusa web server In-Reply-To: References: <4.3.0.20001023111433.00af5c60@mail.digitome.com> Message-ID: <4.3.2.7.0.20001023171545.00b7d760@mail.digitome.com> At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote: > > Why does the Medusa server in Zope not handle GET requests which specify > > a full URI? For example, if I have a web server running on > > web.mydomain.com, > > and I want to get a file called "file.html", doing a GET request > > of the form > > > > GET http://web.mydomain.com/file.html HTTP/1.1 > > > > gives me a 404. Doing a GET of the form > > > > GET /file.html HTTP/1.1 > > > > works fine. If I understand RFC 2068 correctly, a HTTP 1.1 > > compliant server > > is expected to handle both cases (5.1.12 of RFC 2068) > > ... > >Hi Sean - > >What version of Zope are you seeing this with? I seem to >remember fixing something along these lines fairly recently. >Is it still the case in Zope 2.2.2? I am using Zope 2.1.6. regards, Sean http://www.pyxie.org - an Open Source XML Processing library for Python From andym@ActiveState.com Mon Oct 23 18:41:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 23 Oct 2000 10:41:47 -0700 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <009a01c03d18$843a3310$ae03a8c0@fork> You could also do (and I would recommend it) by using the security system Zope give you. For example if you go to your root zope folder, click on security and deselect View for Anonymous User, this will have the same effect. ----- Original Message ----- From: "Olivier Ricou" To: Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ? > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) > > Here is the solution I found to do the .htaccess feature (I haven't found > where it is written) : I put in my standard_html_header > > > > Il faut un compte pour voir ces pages. > > > > and I add a new type of user with no rights in the acl_user folder. > Hence each person with want to see the site should have an account, > at least a no right account. > > Olivier. > > ps: the french sentence is useless since it never appears. > > _______________________________________________ > 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 ) > From robin@jessikat.fsnet.co.uk Mon Oct 23 19:09:37 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Mon, 23 Oct 2000 19:09:37 +0100 Subject: [Zope] overriding manage methods Message-ID: In my Z-Class I would like to hook various standard methods in a dtmlish way. The frame work would call my dtml method say manage_delObjects and within that method I would like to call the original manage_delObjects. I guess this must be a very standard requirement as I see that there are methods called afterAdd and beforeDelete etc in the object manager. I just don't know the proper namespace magic to override and eventually call these. -- Robin Becker From verzani@postbox.csi.cuny.edu Mon Oct 23 19:45:13 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 23 Oct 2000 13:45:13 -0500 Subject: [Zope] A ZClass for LaTeX documents Message-ID: Hi, I've been using a ZClass for LaTeX documents that I put together in a manner very similar to the one described in making a ZClass for STX documents at http://www.zope.org/Members/tseaver/STX_Document I like to mark things up in LaTeX as I can type it faster than HTML, I can create very nice printouts in PDF or PostScript and there is a nice renderer into HTML called tth. There are a few annoyances that I would like some help on. * I am using tth (http://hutchinson.belmont.ma.us/tth/) which can convert LaTeX into HTML quite well. In order to do so, when uploading the tex file or changing the tex file, I call tth and store the HTML along with the tex source. My DTML for this is Which if there is a new file upload stores it in body_tex, and then takes body tex and run tth on this to create the body_html. When I do this though, the tth is called on the old body_tex data, not the recently stored one. Because of this, I have to change the file twice. Any ideas as to why and how I can fix this? My guess is subtransactions, but I don't know how to fix that. * Ideally, I would like to be able to call the latex file this way (or even better just as ) where tth is a method which takes a latex document and returns HTML. I couldn't figure out how to do this though. How does one go about defining new format methods for ZClasses? I would imagine it isn't hard, I just need to know where to look. * If that isn't too hard, I would also like to know how to make this an option for markup in SquishDot. I have a math class using this as a discussion board, and it would be nice to let them use basic LaTeX for math markup. Thanks for any pointers. John Verzani -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From mindlace@digicool.com Mon Oct 23 16:09:05 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 11:09:05 -0400 Subject: [Zope] How: /foo?var=bar equiv to /foo/bar References: Message-ID: <39F45491.580D28A9@digicool.com> Heymann William wrote: > > I am trying to get rid of those question marks in my urls since it > seems to confuse the users but I am not sure really how to do that. I have > heard that it can but done but so far I have not found out how it can be > done. I want for the last piece of the url to be assigned to the varialbe > if a valid object can not by found. I don't really have a problem if this > involves python coding I just need a place to start. You're looking for the DirArg product: http://www.zope.org/Members/itsafire/releases/DirArg Found in http://www.zope.org/Products/Helpers -- -mindlace- Zopatista Community Liason From maxmcorp@worldonline.dk Mon Oct 23 20:58:21 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 23 Oct 2000 21:58:21 +0200 Subject: [Zope] A ZClass for LaTeX documents In-Reply-To: Message-ID: From: John Verzani >* Ideally, I would like to be able to call the latex file this way > > > (or even better just as ) Why not then just make an external method that can be called like: That isn't to ugly. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From rob@isso.org Mon Oct 23 21:14:34 2000 From: rob@isso.org (Robert Miller) Date: Mon, 23 Oct 2000 13:14:34 -0700 Subject: [Zope] Looking for short term Zope contractor Message-ID: <39F49C2A.8020705@isso.org> Hi, I'm looking for someone to work on a short (2-3 weeks long) Zope project. The details of the project are fairly straightforward; we have a relatively small database of information that is currently being injected into MySQL, and we'll need this database to be viewable/searchable from the web. The job is in San Francisco, and, while physical proximity is not absolutely necessary, preference will be given to those who are local. Interested parties should email a resume (text only, no attachments, please) to me at rob@isso.org. Thanks for your time and attention, and we now return you to your regularly scheduled zope@zope.org mailing list traffic. -rob -- +--------------------------------------------------+ Rob Miller Director of Systems Engineering International Space Sciences Organization rob@isso.org +--------------------------------------------------+ From phil.harris@zope.co.uk Sun Oct 22 21:27:36 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 22 Oct 2000 21:27:36 +0100 Subject: [Zope] a problem with 'start' command References: Message-ID: <001101c03c66$888d5b70$0202a8c0@typhoon> Gaby, I'd say you need to get your disk quota extended. If your not the sysadmin then you need to speak to the relevant person about it. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Gabriela Arevalo" To: Cc: Sent: Monday, October 23, 2000 4:23 PM Subject: Re: [Zope] a problem with 'start' command | Phil, | | thanks for your suggestion, i understood it | | > If you are in the Zope directory, since most uni(x)es don't have the current | > directory in the path, you need to start zope with './start'. | | but now when i execute the command i have the following message: | | -------------------------------------------------------------------------- --- | | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in | ? | zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) | File | "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", | line 204, in run | pf.close() | IOError: [Errno 49] Disc quota exceeded | aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ | 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct | 23 17:18:55 2000 | Hostname: aurora | Port:8080 | | ------ | 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 | 17:18:55 2000 | Authorizer:None | Hostname: aurora | Port: 8021 | ------ | 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. | ------ | 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 | 17:18:55 2000 | Unix socket: | /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc | ------ | 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on | port 8099 | Traceback (innermost last): | File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in | ? | pf.close() | IOError: [Errno 49] Disc quota exceeded | | -------------------------------------------------------------------------- ---- | | what does this message mean ? what can i do ? | | in fact, my problem is when i tried to execute | "localhost":8080/pecos/ where i have the information i need, there seems | to have problems, because the connection is not possible. | first thing i thought is just to try to start the server again, but i can | not. | | thanks for any help | | have a nice evening. | | Gaby | | | _______________________________________________ | 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 ) From mindlace@digicool.com Mon Oct 23 17:44:20 2000 From: mindlace@digicool.com (ethan mindlace fremen) Date: Mon, 23 Oct 2000 12:44:20 -0400 Subject: [Zope] (no subject) References: Message-ID: <39F46AE4.D6816F3D@digicool.com> Robert Joseph Roos wrote: > invalid attribute name, "manage_addproperty(name", for tag manage_addProperty(name='foo', value='bar', type='string')>, on > line 10 of makeSched don't know if anybody helped you on this already, but any method call is an expression, and should be (pedantically) spelled: hope that helps, -- -mindlace- Zopatista Community Liason From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:48:35 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:48:35 +0200 (CEST) Subject: [Zope] Lost External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D25@APEXCH11.rl.gov> Message-ID: On Mon, 23 Oct 2000 Robert_J_Roberts@rl.gov wrote: > And... while I'm at it, is there a way in Zope to programmatically reload > [Edit button] an external method (in case I can't get the problem to go away > and just out of general curiosity)? This code must have permission to do it, of course. (proxy roles) ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From dieter@handshake.de Mon Oct 23 21:31:23 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 23 Oct 2000 22:31:23 +0200 (CEST) Subject: [Zope] Help Debugging External Methods In-Reply-To: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> References: <3DD47760A109D411BE8A009027E5D46201454D12@APEXCH11.rl.gov> Message-ID: <14836.40496.302287.33843@lindm.dm> .... the Python debugger "pdb".... It's a Python module used to debug Python programs. It can set breakpoints, single step and print expressions. It is activated automatically, when you start "ZPublisher/Test.py" with the "-D" option. Usually, I do not use it this way, however, as it takes too long, before I reach the interesting point. Instead, I use: import pdb; pdb.set_trace() at the point in Python code, where I want to get control. Then I use "Test.py" without "-D". Dieter From k_hester@bellsouth.net Mon Oct 23 23:08:52 2000 From: k_hester@bellsouth.net (Kathy Hester) Date: Mon, 23 Oct 2000 17:08:52 -0500 Subject: [Zope] newbie question Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello and thanks for your patience! I am beginning to learn zope. I am going through the tutorials in "the book". I have run into a problem creating an external method. I know I must be doing something stupid! I have my addEntry.py saved in the Extension folder in the Zope folder as it installed it (i'm in win 2k). I have the dtml method to call addEntry. When I try to add an external method id/function name/file name are all addEntry. (Supposedly to keep me from messing up...). I get this error message- "Zope has encountered an error while publishing this resource. Error Type: SyntaxError Error Value: invalid syntax Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. " There must be a simple solution. I have looked at the o'reilly book/on-line docs/how tos and I am still not seeing my error. Please feel free to e-mail me directly at k_hester@bellsouth.net . I thought I had found a work around by installing python method – but I am not sure what I need to put in the parameter list…. Any help would be greatly appreciated! ===== Kathy Hester to feel powerful often to act powerful sometimes to overpower others seldom to share power whenever possible - unknown ------=_NextPart_000_0033_01C03D13.EB30F0E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello and thanks for your =
patience!<=
/pre>
 <=
/pre>
I am beginning to learn zope. I am going through the =
tutorials in "the book". I have run into a problem creating an =
external method.<=
/pre>
 <=
/pre>
I know I must be doing something stupid!<=
/pre>
 <=
/pre>
I have my addEntry.py saved in the Extension folder in the =
Zope folder as it installed it (i'm in win 2k). I have the dtml method =
to call addEntry.<=
/pre>
 <=
/pre>
When I try to add an external method id/function name/file =
name are all addEntry. (Supposedly to keep me from messing up...). =
<=
/pre>
 <=
/pre>
I get this error message- <=
/pre>
 <=
/pre>
"Zope has encountered an error while publishing this =
resource. <=
/pre>
 <=
/pre>
Error Type: SyntaxError<=
/pre>

Error Value: invalid =
syntax<=
/pre>
Troubleshooting Suggestions<=
/pre>
 <=
/pre>
The URL may be incorrect. <=
/pre>
The parameters passed to this resource may be incorrect. =
<=
/pre>
A resource that this resource relies on may be encountering =
an error. <=
/pre>
For more detailed information about the error, please refer =
to the HTML source for this page. <=
/pre>
 <=
/pre>
If the error persists please contact the site maintainer. =
Thank you for your patience. "<=
/pre>
 <=
/pre>
There must be a simple solution. I have looked at the =
o'reilly book/on-line docs/how tos and I am still not seeing my error. =
Please feel free to e-mail me directly at k_hester@=
bellsouth.net.<=
/pre>
 <=
/pre>
I thought I had found a work around by installing python =
method – but I am not sure what I need to put in the parameter =
list…. Any help would be greatly appreciated!<=
/pre>
 <=
/pre>
 <=
/pre>
=3D=3D=3D=3D=3D
Kathy Hester<=
/pre>
 <=
/pre>
to feel powerful often<=
/pre>
to act powerful sometimes<=
/pre>
to overpower others seldom<=
/pre>
to share power whenever possible<=
/pre>
-  =
unknown<=
/pre>

 

------=_NextPart_000_0033_01C03D13.EB30F0E0-- From Menard.Jean-Francois@hydro.qc.ca Mon Oct 23 17:28:51 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Mon, 23 Oct 2000 12:28:51 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D0147BCBD@msxvpti10.vpi.hydro.qc.ca> I developped a toggle button to let the users hide/show the menus. I use a cookie to store the current value. The code I use is: in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. Why??? I know I could use a session product, but I'm worried about session expiration. Could I set one of these products to expirate ***only*** when the browser is closed? And, why a session variable doesn't exist? It's the ONLY thing I miss from ASP... Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 From p@state-of-mind.de Tue Oct 24 00:14:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 01:14:18 +0200 Subject: [Zope] AW: [Zope] a problem with 'start' command In-Reply-To: Message-ID: Hi Gaby, I am not on of the zope-gods on this list, but there is something in the message that you sent that makes me stop and think: IOError: [Errno 49] Disc quota exceeded I believe the problem is not zope itself, but the amout of diskspace that you or the user 'pecos' is allowed to use in the dir /home/pecos/... Why this? Something, I presume it's the "quota daemon" of the "solaris-machin" that you are working on, tells your zope, that the 'Disc quota exceeded'. So what to do about that? 1. get rid of files you don't need anymore --> try to start zope 2. ask your sysadmin to give you more diskspace. this can be a hard one ;-) --> try to start zope I'm sure that after you've solved this problem, you are going to run into 'zope-problems' ;-) Try to go for the Zope Book online . gruezi ;-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Gabriela Arevalo > Gesendet: Montag, 23. Oktober 2000 17:23 > An: zope@zope.org > Cc: phil.harris@zope.ac.uk > Betreff: Re: [Zope] a problem with 'start' command > > > Phil, > > thanks for your suggestion, i understood it > > > If you are in the Zope directory, since most uni(x)es don't > have the current > > directory in the path, you need to start zope with './start'. > > but now when i execute the command i have the following message: > > ------------------------------------------------------------------ > ----------- > > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in > ? > zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) > File > "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py", > line 204, in run > pf.close() > IOError: [Errno 49] Disc quota exceeded > aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % ------ > 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct > 23 17:18:55 2000 > Hostname: aurora > Port:8080 > > ------ > 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23 > 17:18:55 2000 > Authorizer:None > Hostname: aurora > Port: 8021 > ------ > 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file. > ------ > 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23 > 17:18:55 2000 > Unix socket: > /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc > ------ > 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on > port 8099 > Traceback (innermost last): > File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in > ? > pf.close() > IOError: [Errno 49] Disc quota exceeded > > ------------------------------------------------------------------ > ------------ > > what does this message mean ? what can i do ? > > in fact, my problem is when i tried to execute > "localhost":8080/pecos/ where i have the information i need, there seems > to have problems, because the connection is not possible. > first thing i thought is just to try to start the server again, but i can > not. > > thanks for any help > > have a nice evening. > > Gaby > > > _______________________________________________ > 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 ) > From michel@digicool.com Tue Oct 24 00:50:12 2000 From: michel@digicool.com (Michel Pelletier) Date: Mon, 23 Oct 2000 16:50:12 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll Message-ID: <39F4CEB4.ACB6253B@digicool.com> We will be conducting a community poll to decide what to call Python (Perl, insert your language here) Methods. Many candidates have been discussed, but I'm afraid I don't have enough time to cull all the candidates from the discussions. So, before the poll, we are calling for nominiations from the community. Please send me an email containing one or more candidate names. These names will be added to the list. No pre-screening will be done, so please exercise some discretion if your favorite name is more tounge-in-cheek than practical (you never know what the masses will decide though!). Later this week, I will create a web poll where you can vote for your favorite. thanks, -Michel From kthangavelu@earthlink.net Mon Oct 23 20:05:02 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:05:02 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> Message-ID: <39F48BDE.FDC8496@earthlink.net> Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: k_vertigo@yahoo.com kthangavelu@earthlink.net http://lostworld.imeme.net http://sindev.dhs.org 2445 E. Del Mar Apartment 238 Pasadena, CA 91107 (626) 405-9877 (home) Objective: To obtain a challenging position in which I can use my experience in creating community based web applications. Desired Job: Full-Time Employee Preferred Site Location: Pasadena, CA Education: College of William & Mary BS in Computer Science & History Graduated May 2000 Professional Skills: Areas of Expertise: - very skilled in Python, C, HTML, JavaScript - very skilled in Zope, Open Source Web Application Server and Oracle/ACS4/Aolserver - skilled in Java, Perl, C++, XML, TCL/TK - well-versed in underlying Internet Protocols: HTTP(S), TCP/IP, DNS/BIND, DHCP, SMTP, IMAP, POP Areas of Proficiency: - Strong Knowledge of Linux Kernel, multi-threaded programming, process management - RDBMS Design and SQL (PostGresSQL, ORACLE) - Skilled in Systems Adminstration - Redhat, Mandrake, Suse - Knowledgable of different Web Application Platforms: Enhydra, Servlets, Apache, AOLServer/ACS, Midguard Work Experience: OpenSource Developer - July - August 2000 Developing OpenSource Zope/Python Products. Product releases include a Mailman (www.list.org) search/archive, and a NewsSyndication Product based on RSS/OCS. BootCamp - ArsDigita.com - June - July 2000 Participated in the ArsDigita bootcamp. Acquired skills in Aolserver, Oracle, Tcl scripting and the ACS community system. Web Application Developer - ASTi February 2000 - May 2000 Hired by ASTi, member of the Python Consortium, to implement a prototype of their corporate intranet, designed to manage project workflow and production. Technologies used Zope/XML/Python/SQL. I talked with ASTi employees regarding site requirements and project management. I designed and implemented a working prototype to fufill those requirements and the workflow guidelines I was given. After the prototype was build, I turned over the project to their web master, and educated him regardings its construction and extensibility. Some of the things that I designed and implemented and integrated with the corporate intranet. * RDBMS schema for ASTi's parts and production components as well as installation and setup of RDBMS (PostgreSQL) * A validating xml-parser/dom interface for ASTi's internal project parts. The Product created subvendor orders based on a customer's product spec/purchase order. * A searchable email archive for communications between ASTi's sales engineer and clients. * A flexible user system, to allow for automatic messaging for various phases of workflow and presentation of intranet menus based on user roles. Director of Development - Information Technology @ College of William & Mary Fall 1999 - May 2000 www.sin.wm.edu Selected to be the architect of the next generation Student Information Network at the College, an information portal for students. I investigated various Web Application Platforms, before settling on Zope, Python , and PostgreSQL, to replace an aging code-base of mod_perl scripts. Taught the developers about Zope Architecture and Python and lead them in designing and implementing a new functionality and reimplementation. Designed and Implemented Session Management(cookie-less), IMAP authentication, Team Web Site for Distrvuted Development, Online Rideboard, Message Board, Housing Market, Local Jobs. Choice of tools, technology, and design/implementation focused on easy maintenance, rapid development, and extensibility. Skills Acquired - Management of the Software Life Cycle - Object Oriented esign - Team Managment Field Consultant - Technology Support Center @ College of William & mary Summer 1999 - Spring 2000 Assisted in training of on-call support specialist. Made field visits to various problem sites doing network troubleshooting (DHCP, SMB, TCP/IP), operating systems troubleshooting (Linux, WIN98), and application troubleshooting (Email Clients, MS Office). HTML -PERL/CGI Developer - Information Technology @ College of William & Mary Spring 1998- Spring 1999 Designed and Implemented Entertainment Section for the Student Information Network in Perl/HTML/CGI with a Unix DBM backend. This section of the site served as a repository of local entertainment, movies, and restaurants in the Williamsburg, VA area. Lab Technician: Computer Center @ College of William & Mary Fall 1997- Spring 1998 Worked for the Computer Center at the College of William & Mary maintaining and installing NT Workstation 4 and hardware troubleshooting new and broken components. Contact References and Code Samples for all Work Experiences are available to interested parties Affiliations: Member of the Python Software Activity. http://www.python.org/psa Last Modified: 2000/08/11 04:23:14.377 US/Pacific From kthangavelu@earthlink.net Mon Oct 23 20:28:31 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 12:28:31 -0700 Subject: [Zope] Looking for short term Zope contractor References: <39F49C2A.8020705@isso.org> <39F48BDE.FDC8496@earthlink.net> Message-ID: <39F4915F.88816024@earthlink.net> Doh!, i've gotten far to use to hitting reply all on my emails:) kapil From eileen@orbell.com Tue Oct 24 02:29:09 2000 From: eileen@orbell.com (Eileen Orbell) Date: Mon, 23 Oct 2000 21:29:09 -0400 Subject: [Zope] New to list & Zope Message-ID: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Hi, I run debian 2.2 and have Zope installed and apache. On bootup my Zope server starts automatic. I am wondering how I configure Zope with an Apache server? I am very very new to Zope so really want a little help in starting off. My network works fine by the way and I use cabke modem with a static IP for my website. Thanks for any help. Right now I only see Zope in my cgi-bin and thought I should have a file zope.cgi? As you can see I am a little lost :-) Eileen Orbell Software & Internet Applications Capitol College mailto:eileen@orbell.com Don't Fear the Penguin. From curtis@cardgate.net Tue Oct 24 02:40:17 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Tue, 24 Oct 2000 12:40:17 +1100 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <0010241240170R.01234@localhost.localdomain> On Tue, 24 Oct 2000, Eileen Orbell wrote: > Hi, Greetings, and welcome, new Zopista! > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. Always handy. (o8 > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost > :-) > The way we run it at work is to use ProxyPass in Apache. Check your Apache docs, or even easier is to search for ProxyPass on the Zope web site ( www.zope.com ) > > > Eileen Orbell > Software & Internet Applications > Capitol College > mailto:eileen@orbell.com > Don't Fear the Penguin. > Have a better one, Curtis Maloney Developer Cardgate.Net From bill.anderson@libc.org Tue Oct 24 02:38:01 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:38:01 -0600 Subject: [Zope] newbie questions ? References: <20001023114854.E3390@hermes> <002801c03cdd$72ac3020$1f48a4d8@kurtz> <003e01c03cde$070ea360$1f48a4d8@kurtz> <20001023180152.T3390@hermes> Message-ID: <39F4E7F9.1F08E0F3@libc.org> Olivier Ricou wrote: > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > And by the way, it's "authentication". Every time I see "authentification", > > guess how we say in french :) I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX From bill.anderson@libc.org Tue Oct 24 02:44:39 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Mon, 23 Oct 2000 19:44:39 -0600 Subject: [Zope] Updating auto incrementing counter in a propertysheet References: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: <39F4E987.41C4FFF6@libc.org> Max Møller Rasmussen wrote: > > What am I doing wrong here ... please !! > > I am trying to make an autoincrementing counter for use in a diskussion > forum. It's purpose is to autogenereate id's for new messages. > > It is important that the id's are in order, so I need to make them this way. Is it more important that they be in an order, or that they be in a specific sequential list? For example, an id based upon time stamp would indeed provide IDs that re orderable (thus handling the in order part). While a list od IDs named 1,2,3,4... is more like a 'linked list', where you know what follows and what precedes a given id. However, by using objectIds, you can obtian a list of ids in a given object (folder), and thus provide one for yourself, if needed. FTR, I have implemented both ways of doing it. I am leaning towards the timestamp as being more effective, & simpler. -- E PLURIBUS LINUX From knight@righteous.net Tue Oct 24 03:14:43 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:14:43 -0700 (PDT) Subject: [Zope] New to list & Zope In-Reply-To: <0010241240170R.01234@localhost.localdomain> Message-ID: Greetings! Great to have yet another Zope follower; hopefully you will decide to stick with it... Just be patient, you will find out that after a solid month of using Zope that is has never ending power (thanks to python and the awesome coders at digital creations). You can use ProxyPass (mod_proxy) or Rewrite (mod_rewrite) to communicate with Zope from Apache. This basically creates a "tunnel" between Apache and Zope, and data gets exchanged between the two. Some people find that ProxyPass doesn't work for them, so Rewrite is great as well (I personally use Rewrite because it suits my site). Confer with www.zope.org, or come to #zope on irc.zope.net with an irc client. Regards, Knight On Tue, 24 Oct 2000, Curtis Maloney wrote: > On Tue, 24 Oct 2000, Eileen Orbell wrote: > > Hi, > > Greetings, and welcome, new Zopista! > > > > > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > > server starts automatic. > > Always handy. (o8 > > > I am wondering how I configure Zope with an Apache server? I am very very > > new to Zope so really want a little help in starting off. My network works > > fine by the way and I use cabke modem with a static IP for my > > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > > thought I should have a file zope.cgi? As you can see I am a little lost > > :-) > > > > The way we run it at work is to use ProxyPass in Apache. Check your Apache > docs, or even easier is to search for ProxyPass on the Zope web site ( > www.zope.com ) > > > > > > > Eileen Orbell > > Software & Internet Applications > > Capitol College > > mailto:eileen@orbell.com > > Don't Fear the Penguin. > > > > Have a better one, > Curtis Maloney > Developer > Cardgate.Net > > _______________________________________________ > 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 ) > > From knight@righteous.net Tue Oct 24 03:18:07 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:18:07 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <39F4E7F9.1F08E0F3@libc.org> Message-ID: Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote: > Olivier Ricou wrote: > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > And by the way, it's "authentication". Every time I see "authentification", > > > > guess how we say in french :) > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > -- > E PLURIBUS LINUX > > > _______________________________________________ > 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 ) > > From chrism@digicool.com Tue Oct 24 04:02:07 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 23 Oct 2000 23:02:07 -0400 Subject: [Zope] newbie questions ? References: Message-ID: <02db01c03d66$cbdb7690$63c48ad0@kurtz> That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) ----- Original Message ----- From: "knight" To: "Bill Anderson" Cc: Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? > Heh. authentification hah. > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > Check that out... same kind of humor. Grin. > > Knight > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > Olivier Ricou wrote: > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > And by the way, it's "authentication". Every time I see "authentification", > > > > > > guess how we say in french :) > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > -- > > E PLURIBUS LINUX > > > > > > _______________________________________________ > > 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 ) > > From knight@righteous.net Tue Oct 24 03:44:24 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:44:24 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: Uh oh, you got me ;] Probably related to the cold medicine. grin. On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From knight@righteous.net Tue Oct 24 03:46:08 2000 From: knight@righteous.net (knight) Date: Mon, 23 Oct 2000 19:46:08 -0700 (PDT) Subject: [Zope] newbie questions ? In-Reply-To: <02db01c03d66$cbdb7690$63c48ad0@kurtz> Message-ID: http://www.phunc.com/Humor/Signs/ChineseRestaurant There. ;] On Mon, 23 Oct 2000, Chris McDonough wrote: > That's pretty funny, but what's actually funnier is you mispelling > "restaurant" in your URL. :-) > > ----- Original Message ----- > From: "knight" > To: "Bill Anderson" > Cc: > Sent: Monday, October 23, 2000 10:18 PM > Subject: Re: [Zope] newbie questions ? > > > > Heh. authentification hah. > > > > http://www.phunc.com/Humor/Signs/ChineseRestraunt > > > > Check that out... same kind of humor. Grin. > > > > Knight > > > > On Mon, 23 Oct 2000, Bill Anderson wrote: > > > > > Olivier Ricou wrote: > > > > > > > > On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: > > > > > And by the way, it's "authentication". Every time I see > "authentification", > > > > > > > > guess how we say in french :) > > > > > > I guess since I took 3 years of it, I am barred from guessing? ;^) > > > > > > > > > > > > -- > > > E PLURIBUS LINUX > > > > > > > > > _______________________________________________ > > > 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 ) > > > > > > From taco@scargo.nl Tue Oct 24 05:04:48 2000 From: taco@scargo.nl (Taco Scargo) Date: Mon, 23 Oct 2000 21:04:48 -0700 Subject: [Zope] One last request Message-ID: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of the title. If I use the 'inleiding' property it reports that it does not exist. If I just use sequence-item it returns the complete item ok. Any clues ? Thanks, Taco http://www.gezondheidskrant.nl:8080/mainframe : From kthangavelu@earthlink.net Tue Oct 24 00:45:54 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 23 Oct 2000 16:45:54 -0700 Subject: [Zope] One last request References: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> Message-ID: <39F4CDB2.8ADDC0F3@earthlink.net> Taco Scargo wrote: > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > try this instead kapil From ololo@zeus.polsl.gliwice.pl Mon Oct 23 21:44:54 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Mon, 23 Oct 2000 22:44:54 +0200 (CEST) Subject: [Zope] Updating auto incrementing counter in a propertysheet In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A8F@exchange> Message-ID: On Mon, 23 Oct 2000, Max Møller Rasmussen wrote: > I have a zClass (objectmanger) with a property called "lastID", on a > propertysheet called "hidden". > > I have then written a dtml mehtod that should return the id incremented by 1 > and then sets the lastID to this new id. > > the dtml for the "newID()" dtml method looks like this: > ---------- > > In the above line --- do you want to set up new value for ZClass property, isn't it ? If so, you have to use manage_changeProperties method of property sheet. ololo@zeus.polsl.gliwice.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/ From mark@kaivo.com Tue Oct 24 06:58:14 2000 From: mark@kaivo.com (Mark N. Gibson) Date: Mon, 23 Oct 2000 23:58:14 -0600 (MDT) Subject: [Zope] One last request In-Reply-To: <001101c03d6f$8db6b740$8121090a@TACOTOSHIBA> from "Taco Scargo" at Oct 23, 2000 09:04:48 PM Message-ID: <200010240558.XAA24351@CatInTheHat.kaivo.com> > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead of the title. If I use the > 'inleiding' property it reports that it does not exist. If I just use > sequence-item it returns the complete item ok. > > Any clues ? > > Thanks, > > Taco > > > http://www.gezondheidskrant.nl:8080/mainframe : > > > > > > > > > > > > > > > > instead, try this: THIS actually 'calls' sequence-item Mark > > _______________________________________________ > 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 ) > From jacintha.menezes@wipro.com Tue Oct 24 07:10:09 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 24 Oct 2000 11:40:09 +0530 Subject: [Zope] question In-Reply-To: <39F44071.604752C7@globalcrossing.com> Message-ID: <000f01c03d81$0fdd22c0$f5dea8c0@wipro.com> Hi, Two more questions for you: 1. kindly let me know how to export an output of any method to word ,msexcel etc from zope, where output may be a tree structure or tabular form data etc. 2. Let me also know how to send a report(output) to the printer. Thanks bye, jacintha From nspurrier@bluelight.com Tue Oct 24 08:24:17 2000 From: nspurrier@bluelight.com (Noah) Date: Tue, 24 Oct 2000 00:24:17 -0700 Subject: [Zope] Simple Question? Message-ID: This seems like a simple question. How do I include a Method in a different folder? I have two folders and two methods: /editor/ edit /mojo/art/ add_art_html In my file "add_art_html" I want to add this code: But when I try to view it I get a KeyError. I also tried: I tried some complicated things with and , but I couldn't get this to work; although, at least did not give a KeyError. Yours, Noah From maxm@normik.dk Tue Oct 24 08:30:50 2000 From: maxm@normik.dk (Max Moller Rasmussen) Date: Tue, 24 Oct 2000 09:30:50 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A93@exchange> From: Aleksander Salwa [mailto:ololo@zeus.polsl.gliwice.pl] >> >> >In the above line --- do you want to set up new value for ZClass property, >isn't it ? >If so, you have to use manage_changeProperties method of property sheet. Yes I am afraid that this is the problem. That seems like such a messy solution too. I will try and make a Python based product instead, for this particular solution. My current zClass solution allready seem to be a bit verbose for my liking. And the program logic isn't to nice in dtml either. Regards Max M From maxm@normik.dk Tue Oct 24 08:39:48 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 09:39:48 +0200 Subject: [Zope] Updating auto incrementing counter in a propertysheet Message-ID: <7BD10B680501D411B9DF009027E06F32197A94@exchange> From: Bill Anderson [mailto:bill.anderson@libc.org] >Is it more important that they be in an order, or that they be in a >specific sequential list? Actually what is important is that they are integers and in a specific order. So the datestamp method isn't that feasible for me. (I'm trying to make a "fake tree" for a diskussion product.) It is really easy to implement and doesn't use recursion, so traversing the tree is done with a simple for loop. It uses a dictionary with tupples as keys to emulate the recursive structure. Simple example here if anybody cares. ------------------------- class fakeTree: def __init__(self): #create tree and insert root element self.treeKeys = {} self.treeKeys[0] = (0,) self.tree = {} self.tree[(0,)] = '' def insert(self, id, parent, value): # create new key keyList = list(self.treeKeys[parent]) newKeyList = keyList.append(id) newKeyTuple = tuple(newKeyList) self.treeKeys[id] = newKeyTuple # insert in tree with new tuple key self.tree[newKeyTuple] = value def print(self): sortedKeys = treeKeys.keys() sortedKeys.sort() spacesInIndent = 3 for key in sortedKeys: print key print spacesInIndent * len(key) * ' ' + treeKeys[key] tree = fakeTree() tree.insert(1, 0, 'max m') tree.insert(2, 0, 'gitte') tree.insert(3, 1, 'magnus') tree.print() From jornd@falch.net Tue Oct 24 09:39:18 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 10:39:18 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <87itqi7hvt.fsf@ranga.falch.net> Hi all! I am aware of , but I am looking for at way to make Apache serve Zope from the root URL. It is possible to make the apache front end be served by zope backend , but what really want is to make apache frontend be served by Zope, and still be able to serve static content from selected locations. Example: <- Zope w/Apache frontend <- Apache static Am I clear? Is it possible to do that without NameVirtualHost? -- Jørn Helge B. Dahl System Administrator http://falch.net From phil.harris@zope.co.uk Tue Oct 24 10:37:07 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 10:37:07 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net> Message-ID: <017501c03d9d$fadcad60$5c773fc1@media1> Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two ways to do it. 1. use the LocalFileSystem product, http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg z 2. use Apache to intercept calls to a specific dir before passing it onto Zope, e.g. use a RewriteRule. hth Phil ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 9:39 AM Subject: [Zope] Apache in front of ZServer > Hi all! > > I am aware of , > but I am looking for at way to make Apache serve Zope from the root URL. > > It is possible to make the apache front end > be served by zope backend > , but what really want is to make apache > frontend be served by Zope, and still be > able to serve static content from selected locations. Example: > > <- Zope w/Apache frontend > <- Apache static > > Am I clear? Is it possible to do that without NameVirtualHost? > -- > Jørn Helge B. Dahl > System Administrator > http://falch.net > > > _______________________________________________ > 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 ) From jornd@falch.net Tue Oct 24 10:49:47 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 11:49:47 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 10:37:07 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> Message-ID: <87aebu7emc.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | It's perfectly possible, you just need to do a little work ;) That's OK, that way it'll be more fun :-) | Your proxy pass will be something like this: | | ProxyPass / http://myserver.com:8080/ | ProxyPassReverse http://myserver.com:8080/ / I had that one already figured out. but I thought the ProxyPassReverse directive was to be the other way around: To be exactly like the ProxyPass directive? | for the other part of serving static content, it really depends what you | want but here are two ways to do it. | | 1. use the LocalFileSystem product, | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | z That I already do, so that one is okay. | 2. use Apache to intercept calls to a specific dir before passing it onto | Zope, e.g. use a RewriteRule. Yup, this is what I need. I think was being unclear about what I really -wanted: I want to still be able to use php and such thing, even if I serve Zope from root. So the RewriteRule does the trick? Thanks Phil, -- Jørn Helge B. Dahl System Administrator http://falch.net From tony.mcdonald@ncl.ac.uk Tue Oct 24 11:34:55 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 24 Oct 2000 11:34:55 +0100 Subject: [Zope] Sendmail examples In-Reply-To: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a
with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From zope@isp.lu Tue Oct 24 12:12:56 2000 From: zope@isp.lu (zope) Date: Tue, 24 Oct 2000 13:12:56 +0200 Subject: [Zope] ZGDChart product... Message-ID: <4.3.2.7.2.20001024130954.00b3b780@mail.isp.lu> Hi. This is really a great product. Unfortunately, I'm not able to create a chart with multiple columns using a ZSQL Data Method. Multiple columns with a DTML-Method works fine. Do I miss something. Any ideas? Thanks for any help. Regards, Marc Ludwig (zope@isp.lu) From ssmith6@bigpond.net.au Tue Oct 24 11:46:49 2000 From: ssmith6@bigpond.net.au (steve smith) Date: Tue, 24 Oct 2000 20:46:49 +1000 Subject: [Zope] Sendmail examples In-Reply-To: Message-ID: <000001c03da7$b7228720$be348490@vic.bigpond.net.au> Hi Tony, Thanks for taking the time to answer. The "MailHost" object seems to be the key. I tried going around it (using the SMTPHost attribute, from memory), without much luck. Also learnt that one needs at least modest knowledge of SMTP syntax when forming the option lines! Thanks again, Steve -----Original Message----- From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk] Sent: Tuesday, 24 October 2000 8:35 To: ssmith6@bigpond.net.au; zope@zope.org Subject: Re: [Zope] Sendmail examples At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've set up a MailHost object called 'MailHost' Set up a with variables: recipient, name and comments and make the ACTION URL the following piece of DTML (with appropriate sugar around it) To: Feedback Recipient <> From: Zope Feedback Form Subject: Feedback from the web Feedback from : Comments: hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From kschut@avaya.com Tue Oct 24 12:33:55 2000 From: kschut@avaya.com (Schut, Koos (Koos)) Date: Tue, 24 Oct 2000 13:33:55 +0200 Subject: [Zope] Trying to follow tutorial Message-ID: Hi all, I am trying to follow the quick tutorial and immediately run into things I do not understand. I am trying to create a folder as explained in the docs. I get the error: Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is the example in which "Stan" needs to create a folder. Can anyone tell me what goes wrong and how to get it right? Cheers. J.J. Schut Integration Specialist Avaya The Former Enterprise Networks Group of Lucent Technologies tel. +31 (0)30 609 7835 fax. +31 (0)30 609 7650 email kschut@avaya.com From rik.hoekstra@inghist.nl Tue Oct 24 12:40:58 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 13:40:58 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F5754A.BA398125@inghist.nl> > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? This is related to the tutorial not being up to date with the current zope version, but is simply remedied. Go to the management interface and add a zope user in the acl_users folder. Give it Management rights. Shut you browser, reopen it and authenticate as the user you just entered. Get on with the tutorial... hth Rik From u.soni@cs.ucl.ac.uk Tue Oct 24 13:11:14 2000 From: u.soni@cs.ucl.ac.uk (Umesh Soni) Date: Tue, 24 Oct 2000 13:11:14 +0100 Subject: [Zope] serving java applet fails Message-ID: <200010241211.NAA29248@beluga.pacific.ocean> hi all, I'm having problems serving up the EIRC java chat-client from within zope. I have uploaded two java archives EIRC-gfx.jar and EIRC.jar as file objects via the management screen. Zope has recognised these as 'application/java-archive' content types. I am using the following dtml (which is in the same folder as the two java archives) to serve the applet

Eteria IRC Client

Sorry, but you need a Java 1.x enabled browser to use EIRC.

The applet loads (and runs) fine when served from from the filesystem with apache. When served from zope it appears to load ok and is even rendered within the browser -but at the last moment fails to run with the following browser error; Applet EIRC can't start: ERROR Any thoughts? umesh From maxm@normik.dk Tue Oct 24 13:07:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Tue, 24 Oct 2000 14:07:34 +0200 Subject: [Zope] How do you guys/gals test Zope products from Python? Message-ID: <7BD10B680501D411B9DF009027E06F32197A98@exchange> I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly simple setup. My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in C:\Program Files\Python. usually when I write Python I just use PythonWin to edit and run my scripts. I then write test in the buttom of my file that shows that everything works. This works nicely, but when writing Zope products I get really frustrated. I cannot easily automate my tests. I put my products into C:\mxmZope\lib\python\Products\name and edit them from there, but trying to edit just a simple syntax error means a restart of Zope. That gets tired real fast. Especially when all you have to do to make mistakes is forgetting a comment under a method etc. I cannot run the program from my PythonWin or IDLE as they are set to the standard Python enviroment. Do other set os.path.append('ZopeDir') or something and the comment that out when running or what? The error messages I get that way are also rather lacking. Reloading the file in the browser, reading the source and getting a traceback like the one below, for a method I know exists. But dissapeared because of some, probably minor, typing mistake. --------- ... SNIP File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 162, in publish File C:\mxmZope\lib\python\ZPublisher\BaseRequest.py, line 380, in traverse File C:\mxmZope\lib\python\ZPublisher\HTTPResponse.py, line 529, in notFoundError NotFound: (see above) ---------- I am shure that there must be a better way, but what is it? How do you guys edit and test your products? Even .asp is far better than the way I am doing it now. At least I dont have to restart the server when I make a simple mistake, I can also easily put in testcode and Response.Writes to se what is happening. I love Python among other things because of the nice traceback and debugging features, but I feel that they are somewhat lost when developing Zope. Shurely it must be me being ignorant here. Regards Max M "There must be more than just this." - V-ger From jornd@falch.net Tue Oct 24 13:40:45 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 24 Oct 2000 14:40:45 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: jornd@falch.net's message of "24 Oct 2000 11:49:47 +0200" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> Message-ID: <87n1fue7jm.fsf@ranga.falch.net> * jornd@falch.net (JXrn Helge B. Dahl) | | for the other part of serving static content, it really depends what you | | want but here are two ways to do it. | | | | 1. use the LocalFileSystem product, | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | | z | | That I already do, so that one is okay. | | | 2. use Apache to intercept calls to a specific dir before passing it onto | | Zope, e.g. use a RewriteRule. | | Yup, this is what I need. I think was being unclear about what I really | -wanted: I want to still be able to use php and such thing, even if I | serve Zope from root. So the RewriteRule does the trick? On a second thought: What I _really_ want (I think, unless someone tells me differently :-) ) is a conditional ProxyPass, to tell apache to redirect everything _unless_ the URI is /static (or something). But this is probably something for apache geeks. Thanks anyway. -- Jørn Helge B. Dahl http://falch.net From marc.breitenreicher@friatec.de Tue Oct 24 13:29:51 2000 From: marc.breitenreicher@friatec.de (Marc Breitenreicher) Date: Tue, 24 Oct 2000 14:29:51 +0200 Subject: [Zope] Trying to follow tutorial References: Message-ID: <39F580BF.4692A2AF@friatec.de> I suppose you've just installed Zope and you're logged in as "Superuser" And that's the problem. The superuser cannot own folder, files etc. Add a "User Folder" and add a new User in that folder. Then you have to restart Zope and log in as the new user. Now the new user can add as much folder as you want. Hope this helps Marc > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) From p@state-of-mind.de Tue Oct 24 13:41:37 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 14:41:37 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: Message-ID: Hi J.J., this problem is a result of the restrictions applied by zope. Nothing is wrong with that. It is just that it's not explained thouroughly or most people new to zope tend to overread that in the manual ;-) Here's what You do: 1. Login as the Superuser (the primary account provided after installing zope) and create a new user in path_to_zope/acl_users '(e.g. Koos). Provide Password when asked in the form and apply the role 'manager' to that user. 2. logout as superuser (e.g. close all browsers...) 3. login as the user you have just created 4. go on with the tutorial... This should help you to get going with zope. Besides that, working with zope is worth every minute of it :-) p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Schut, Koos (Koos) > Gesendet: Dienstag, 24. Oktober 2000 13:34 > An: 'zope@zope.org' > Betreff: [Zope] Trying to follow tutorial > > > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the example in which "Stan" needs to create a folder. Can anyone > tell me > what goes wrong and how to get it right? > > Cheers. > > J.J. Schut > Integration Specialist > Avaya > The Former Enterprise Networks Group of Lucent Technologies > tel. +31 (0)30 609 7835 > fax. +31 (0)30 609 7650 > email kschut@avaya.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 ) > From ytotty@atinucleus.com Tue Oct 24 14:06:18 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Tue, 24 Oct 2000 08:06:18 -0500 Subject: [Zope] Mass Mailing (newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi! I need to send out mass mailings from time to time (newsletters, announcements and the such). Is there an easy way to get this done? I already have the email addy's in the database. TIA, Yvonne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_000C_01C03D91.49C9FB60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
I=20 need to send out mass mailings from time to time
(newsletters, announcements and the=20 such).
 
Is=20 there an easy way to get this done? I already
have the email addy's in the=20 database.
 
TIA,
Yvonne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_000C_01C03D91.49C9FB60-- From phil.harris@zope.co.uk Tue Oct 24 14:08:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 14:08:03 +0100 Subject: [Zope] Apache in front of ZServer References: <87itqi7hvt.fsf@ranga.falch.net><017501c03d9d$fadcad60$5c773fc1@media1><87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <021701c03dbb$729770c0$5c773fc1@media1> Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Tuesday, October 24, 2000 1:40 PM Subject: Re: [Zope] Apache in front of ZServer > * jornd@falch.net (JXrn Helge B. Dahl) > > | | for the other part of serving static content, it really depends what you > | | want but here are two ways to do it. > | | > | | 1. use the LocalFileSystem product, > | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg > | | z > | > | That I already do, so that one is okay. > | > | | 2. use Apache to intercept calls to a specific dir before passing it onto > | | Zope, e.g. use a RewriteRule. > | > | Yup, this is what I need. I think was being unclear about what I really > | -wanted: I want to still be able to use php and such thing, even if I > | serve Zope from root. So the RewriteRule does the trick? > > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > > But this is probably something for apache geeks. > > Thanks anyway. > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) From rossini@blindglobe.net Tue Oct 24 14:29:14 2000 From: rossini@blindglobe.net (A.J. Rossini) Date: 24 Oct 2000 06:29:14 -0700 Subject: [Zope] Apache in front of ZServer In-Reply-To: <87n1fue7jm.fsf@ranga.falch.net> (JXrn Helge B. Dahl's message of "24 Oct 2000 14:40:45 +0200") References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> Message-ID: <87g0lmcqqd.fsf@jeeves.blindglobe.net> >>>>> "JHBD" == JXrn Helge B Dahl writes: JHBD> On a second thought: What I _really_ want (I think, unless JHBD> someone tells me differently :-) ) is a conditional JHBD> ProxyPass, to tell apache to redirect everything _unless_ JHBD> the URI is /static (or something). The ugly solution, until you find a clean one, is to have a second apache process :-), and the first proxy-forwards to either Zope or the second Apache. (I'm doing something like that for our home server, so I'm intrigued as to whether you can provide a clean solution...). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax From jjunior@cidadei.com.br Tue Oct 24 15:38:53 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Tue, 24 Oct 2000 11:38:53 -0300 Subject: [Zope] redirect Message-ID: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> how to for that function REDIRECT understand a variable. ex. ')"> From rik.hoekstra@inghist.nl Tue Oct 24 14:56:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Tue, 24 Oct 2000 15:56:54 +0200 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F59526.BD5C70EB@inghist.nl> > > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> You can't nest dmtl tags try : > Hi, > > I'm looking for someone to work on a short (2-3 weeks long) Zope > project. The details of the project are fairly straightforward; we have > a relatively small database of information that is currently being > injected into MySQL, and we'll need this database to be > viewable/searchable from the web. > > The job is in San Francisco, and, while physical proximity is not > absolutely necessary, preference will be given to those who are local. > Interested parties should email a resume (text only, no attachments, > please) to me at rob@isso.org. > > Thanks for your time and attention, and we now return you to your > regularly scheduled zope@zope.org mailing list traffic. > > -rob > > -- > +--------------------------------------------------+ > Rob Miller > Director of Systems Engineering > International Space Sciences Organization > rob@isso.org > +--------------------------------------------------+ > > _______________________________________________ > 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 ) From drusch@globalcrossing.com Tue Oct 24 15:04:09 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Tue, 24 Oct 2000 09:04:09 -0500 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <39F596D9.9E6E3054@globalcrossing.com> > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Tue Oct 24 15:20:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 15:20:09 +0100 Subject: [Zope] redirect References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <025201c03dc5$84d38440$5c773fc1@media1> test>')"> > > _______________________________________________ > 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 ) From erik@pacific-shores.com Tue Oct 24 15:23:30 2000 From: erik@pacific-shores.com (Erik Myllymaki) Date: Tue, 24 Oct 2000 07:23:30 -0700 Subject: [Zope] M2Crypto problem Message-ID: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki erik@pacific-shores.com From Oliver Bleutgen Tue Oct 24 15:18:47 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:18:47 +0200 Subject: [Zope] Apache in front of ZServer Message-ID: <200010241422.HAA00586@zope.codeit.com> > * jornd@falch.net (JXrn Helge B. Dahl) > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > But this is probably something for apache geeks. Jørn, I ain't no apache geek, but I took a look at two nice how-tos on zope.org. The first one http://www.zope.org/Members/anser/apache_zserver/ describes how to get apache to work with zope via proxypass etc., and the second one describes how to achieve what you describe above ... and I don't find it anymore on zope.org :( Anyway, this is what you want: RewriteEngine On RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://localhost:10080/my_host/$1 [P] The [L] stops the rewriting-process if and only if the uri is of the form http://yourhostname/local/ If not it goes on and passes the request to localhost port 10080, directory my_host, where zope resides (at least on my server). Combine that with virtual-host directive of apache and you are as flexibel as one can get. Naturally /local need not to be the only folder which isn't proxied to zope. The only problem is that apache doesn't care for zope's authentication machinery, I would love to have a module for apache which could enable that (nice dream...). But it may be solvable by using mysql/postgres as a userdatabase for zope & apache... cheers, oliver From Oliver Bleutgen Tue Oct 24 15:28:22 2000 From: Oliver Bleutgen (Oliver Bleutgen) Date: Tue, 24 Oct 2000 16:28:22 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial Message-ID: <200010241432.HAA00984@zope.codeit.com> > 2. logout as superuser (e.g. close all browsers...) Ha, I always wanted to bring in a IMNSHO better way to "logout" - it works at least in IE. try http://log:meout@yourzopehost.com So the cached login/password are overwritten by log/meout and zope (or every other server) brings up the login dialog (as long as log/meout are not valid ;)) Should also work handy as a link in html (untested). cheers, oliver From lehmann@catworkx.de Tue Oct 24 15:34:08 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 16:34:08 +0200 Subject: [Zope] MailHost: bcc broken ? Message-ID: <00102416340801.00590@cat-pc-holle> Hi all, I wanted to use bcc in a mail generated though a ... (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any ideas ? - Holger -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From ghaley@venaca.com Tue Oct 24 15:39:41 2000 From: ghaley@venaca.com (Gregory Haley) Date: Tue, 24 Oct 2000 10:39:41 -0400 Subject: [Zope] Mass Mailing (newbie) References: Message-ID: <39F59F2D.7E829047@venaca.com> hi yvonne, you can use the zope send mail method to pull data from a database. the problem is with pulling in the text. sendmail appears to send only literal text, i.e., it does not parse html markup. we are using a mysql database to pull text and a second to pull names and emails, etc. to prevent the text from coming out as a single string, i have an external python method that takes the string of text and writes out the lines as lines of <= 75 chars, it also reinserts double line breaks, as in between paragraphs. we use something like this: you will need the MailHost product, and you will need to add a sendmail method in your directory. ciao! greg. DBA/web programmer venaca.com *********************************************************************** To: <> From: Subject: "clean_content" is the name of the python external method. This may not be ALL of the code, as i am really chopping some things out of the actual dtml file for illustrative purposes. a couple of warnings, in case you haven't used dtml sendmail. you can use nice indented tags within a or but not other wise. the left margin is, in my experience anyway, fairly inviolable. as this is working now, if sendmail gets a bad address, it strangles everything from the point of the error forward. so, you should check to make sure your emails are exactly correct -- i was doing a bulk mailing of about 100 emails, and it died after the 6th one. i don't know how to put in a trap into the method so that the mail server catches the return mail but does not pass them to the zope mailhost. ciao! greg. > Yvonne Totty wrote: > > Hi! > > I need to send out mass mailings from time to time > (newsletters, announcements and the such). > > Is there an easy way to get this done? I already > have the email addy's in the database. > > TIA, > Yvonne > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > From chrisw@nipltd.com Tue Oct 24 15:49:11 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:49:11 +0100 Subject: [Zope] newbie question References: Message-ID: <39F5A167.8208B96C@nipltd.com> Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the problem goes away when you correct any mistakes. cheers, Chris PS: Please post only plain text to this list (Plain Text as opposed to MIME encoded should be an option on your mail program) as the message you posted came out pretty screwed up on Netscape Communicator ;-) From chrisw@nipltd.com Tue Oct 24 15:50:33 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:50:33 +0100 Subject: [Zope] SuperUser cannot own ;-) References: <39F580BF.4692A2AF@friatec.de> Message-ID: <39F5A1B9.BE164ECE@nipltd.com> Marc Breitenreicher wrote: > > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) *stir* *stir* Chris From kosh@home-dhcp3-127.Colorado.EDU Tue Oct 24 21:56:16 2000 From: kosh@home-dhcp3-127.Colorado.EDU (kosh) Date: Tue, 24 Oct 2000 14:56:16 -0600 (MDT) Subject: [Zope] Message-ID: What would be the correct dtml-if contrstruct for this behavior? I want to check and see if zope can resolve a url to a valid object. Ie does http://foo.com/bar/foo get you to a valid page or is it not found. I need something like that way I can know when to rewrite the url based on zope finding the object or not. Thanks Kosh From chrisw@nipltd.com Tue Oct 24 15:56:28 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 15:56:28 +0100 Subject: [Zope] Simple Question? References: Message-ID: <39F5A31C.FD33F62@nipltd.com> Noah wrote: > In my file "add_art_html" I want to add this code: > > But when I try to view it I get a KeyError. > I also tried: > If Steve A's patch ever makes it into the core, you could do: &dtml-/mojo/editor/edit; ...and it'd be great if the Traversal Interface could also be used to implement: ...but sadly, for now, you need to do: ...or, slightly more tasty: enjoy ;-) Chris From chrisw@nipltd.com Tue Oct 24 16:00:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 24 Oct 2000 16:00:22 +0100 Subject: [Zope] Refreshing :-) References: <7BD10B680501D411B9DF009027E06F32197A98@exchange> Message-ID: <39F5A406.18EEE41B@nipltd.com> Max Møller Rasmussen wrote: > This works nicely, but when writing Zope products I get really frustrated. I > cannot easily automate my tests. > > I put my products into C:\mxmZope\lib\python\Products\name and edit them > from there, but trying to edit just a simple syntax error means a restart of > Zope. That gets tired real fast. Especially when all you have to do to make > mistakes is forgetting a comment under a method etc. Try Shane Hathaway's Refresh product: http://www.zope.org/Members/hathawsh/Refresh cheers, Chris From cs@comlounge.net Tue Oct 24 16:02:27 2000 From: cs@comlounge.net (Christian Scholz) Date: Tue, 24 Oct 2000 17:02:27 +0200 Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01>; from Joaldo Junior on Tue, Oct 24, 2000 at 11:38:53AM -0300 References: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: <20001024170227.C4058@central.comlounge.net> Hi! > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> use Message-ID: <39F5AB87.D41FC3A9@oratrix.com> Hi, Im using this: To: <> From: <> Subject: Hi, blah blah Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - From maxmcorp@worldonline.dk Tue Oct 24 16:53:07 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 17:53:07 +0200 Subject: [Zope] SuperUser cannot own ;-) In-Reply-To: <39F5A1B9.BE164ECE@nipltd.com> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris Withers > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) Well I for one have accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan horses being executed by super. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From maxmcorp@worldonline.dk Tue Oct 24 17:03:11 2000 From: maxmcorp@worldonline.dk (Max M) Date: Tue, 24 Oct 2000 18:03:11 +0200 Subject: [Zope] dtml-in returning null In-Reply-To: <0010241329040C.29903@belzebu.magicwebdesign.com.br> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time.... >There's a way to do that?? "> will probably suffice Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From lehmann@catworkx.de Tue Oct 24 17:19:50 2000 From: lehmann@catworkx.de (Holger Lehmann) Date: Tue, 24 Oct 2000 18:19:50 +0200 Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F5AB87.D41FC3A9@oratrix.com> References: <00102416340801.00590@cat-pc-holle> <39F5AB87.D41FC3A9@oratrix.com> Message-ID: <0010241819500B.00590@cat-pc-holle> Hi Paul, Thanks for that response, but ..... I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a ... statement. I am thinking of the bcc: user1, user2, user3 .... user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host .... Holger Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts: > Hi, > > Im using this: > > > To: <> > From: <> > Subject: > > Hi, > > blah blah > > > > > Im supposing that the double brackets is due to the fact that the email > address itself is encapsulated with brackets as well as the variable being > passsed. > > Cheers, > > -- > Paz > Oratrix Development BV > http://www.oratrix.com > GRiNS SMIL Editor > - > > > > _______________________________________________ > 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 ) -- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de From praveen_katiyar@infy.com Tue Oct 24 14:24:15 2000 From: praveen_katiyar@infy.com (Praveen Katiyar) Date: Tue, 24 Oct 2000 18:54:15 +0530 Subject: [Zope] ZWiki on Zope.org Site Message-ID: <8EE756E49A17D21194860008C7F49AFE046C77E4@TWRMSG01> Hi, I am a zope NewBie and am learning how to use Zwiki. Can any one Please mail me the Customised version of Zwiki which is in existence On Zope.org. I want to develop some thing same with some extra features. Existing Zwiki requires me to tweak some DTML code with which I am not much familiar. Thanking , Regards, Praveen Katiyar Infosys Towers,27, Bannerghatta Raod Bangalore-560076 Ph: 91-80-6588668 Xtn. 1288 E-mail: praveen_katiyar@infy.com Great minds have purposes, little minds have wishes > >Regards,Rrrrrr From tom.deprez@uz.kuleuven.ac.be Tue Oct 24 17:41:30 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Tue, 24 Oct 2000 18:41:30 +0200 Subject: [Zope] normal result with acquisition? Message-ID: <3.0.6.32.20001024184130.008e7ec0@poirot> Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code :
1) When you call this function from Folder1 : show_abc of folder1 is used 2) When you call this function from Folder2 : show_abc of folder1 is used --> what you wouldn't expect? However: 3) Removing the tag (and moving selectallcentres to folder1), Calling method_showdata in Folder2 : show_abc of folder2 is used. --> what you would expect Am I overlooking something of the acquisition here? Why does it uses in the second case (2) not show_abc? Thanks in advance, Tom. From mindlace@digicool.com Tue Oct 24 17:59:11 2000 From: mindlace@digicool.com (mindlace) Date: Tue, 24 Oct 2000 12:59:11 -0400 Subject: [Zope] Don't think so References: <39E4D9BA.31CD1567@yahoo.com> <39E57F98.5610C3B3@nipltd.com> Message-ID: <39F5BFDF.9A973CFD@digicool.com> Chris Withers wrote: > > Paul Winkler wrote: > > > > Hi, > > > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > > IIRC, zope.org's acl_users has about 11,000 people in it without too > many problems... We've found that it needed to become a btree folder. Half because btrees optimize some things and half because the UI for btrees cut the management page from 3mb to 300k. ~ethan From Menard.Jean-Francois@hydro.qc.ca Tue Oct 24 18:34:27 2000 From: Menard.Jean-Francois@hydro.qc.ca (Menard.Jean-Francois@hydro.qc.ca) Date: Tue, 24 Oct 2000 13:34:27 -0400 Subject: [Zope] Cookie problem with IE5, 5.5, ... Message-ID: <11459E174416D011B1B800805F9A524D01491BE8@msxvpti10.vpi.hydro.qc.ca> > I developped a toggle button to let the users hide/show the menus. > > I use a cookie to store the current value. The code I use is: > > > > > > > > > > in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. > Why??? > > I know I could use a session product, but I'm worried about session > expiration. Could I set one of these products to expirate ***only*** when > the browser is closed? > > And, why a session variable doesn't exist? It's the ONLY thing I miss > from ASP... > > Jean-François Ménard > Intranet DPAS > Pratiques d'affaires et orientations > * (514) 840-3000 poste 3939 > * (514) 840-5585 > * menard.jean-francois@hydro.qc.ca > * 855 Ste-Catherine est, 6e étage > Montréal, Qué. H2L 4P5 > From frazers@israelmail.com Tue Oct 24 18:40:37 2000 From: frazers@israelmail.com (Aharon) Date: Tue, 24 Oct 2000 19:40:37 +0200 Subject: [Zope] newbie inquiry about zope Message-ID: <004b01c03de1$88554740$07a1003e@webyeshiva> This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable I have just started looking at zope for the site I am developing. I was = wondering if anyone could tell me whether it sounds like an appropriate = tool to use. The basic idea of my site is to be a sort of multi-user-dimension for = text. Meaning, we'll have various books available in a database, and = people can log on and read a chapter or a whole book. The innovative = part is that we will track which users are reading which texts, and let = people interact with others reading the same text as them. We will also = provide some other features, including user customization of fonts and = colors, and the ability for users to write new texts to be included in = the content library. People will be able to read, write, and discuss = with each other. To enable serious literary analysis of diverse = documents, we will have a number of text-parsing tools available to = readers. One other important thing to mention is that we will have a lot = of text in non-Latin character sets, including right to left languages. My questions are: 1) Could Zope help me keep track of who is reading what and match people = up for discussion? 2) Could Zope help me personalize the fonts and other display settings = for each user? How about letting users create their own bookmarks within = the texts? 3) Could Zope help me manage user created content and the relations = between content and its creators? 4) Could Zope handle right to left text and non-Latin character sets? 5) What are the advantages/disadvantages to developing this site with = Zope as opposed to MySQL and PHP? 6) Could Zope help me make the same content available to ordinary web = browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream = voice between users and also stream pre-recorded voice. Any support for = that? 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site = if I want to use zope, or do I have to administrate my own server? Any input about any of these questions would be greatly appreciated. I = apologize for my ignorance. Thanks, Aharon ------=_NextPart_000_0046_01C03DF2.4876D060 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
I have just started looking at zope for = the site I=20 am developing. I was wondering if anyone could tell me whether it sounds = like an=20 appropriate tool to use.
 
The basic idea of my site is to be a = sort of=20 multi-user-dimension for text. Meaning, we'll have various books = available in a=20 database, and people can log on and read a chapter or a whole book. The=20 innovative part is that we will track which users are reading which = texts, and=20 let people interact with others reading the same text as them. We will = also=20 provide some other features, including user customization of fonts and = colors,=20 and the ability for users to write new texts to be included in the = content=20 library. People will be able to read, write, and discuss with each = other. To=20 enable serious literary analysis of diverse documents, we will have a = number of=20 text-parsing tools available to readers. One other important thing to = mention is=20 that we will have a lot of text in non-Latin character sets, including = right to=20 left languages.
 
My questions are:
1) Could Zope help me keep track of who = is reading what and match people up for discussion?
2) Could Zope help me personalize the = fonts and=20 other display settings for each user? How about letting users create = their own=20 bookmarks within the texts?
3) Could Zope help me manage user = created content=20 and the relations between content and its creators?
4) Could Zope handle right to left text = and=20 non-Latin character sets?
5) What are the = advantages/disadvantages to=20 developing this site with Zope as opposed to MySQL and PHP?
6) Could Zope help me make the same = content=20 available to ordinary web browsers and wireless devices in different=20 formats?
7) Since we are going to be having = discussion, we=20 might want to stream voice between users and also stream pre-recorded = voice. Any=20 support for that?
8) Where can I find speed benchmark = information=20 about Zope?
9) Where can I find virtual server and = collocation=20 hosting for my site if I want to use zope, or do I have to administrate = my own=20 server?
 
Any input about any of these questions = would be=20 greatly appreciated. I apologize for my ignorance.
 
Thanks,
Aharon
------=_NextPart_000_0046_01C03DF2.4876D060-- From Danny@Adair.net Tue Oct 24 18:50:16 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 24 Oct 2000 19:50:16 +0200 Subject: [Zope] Calling objects by name Message-ID: How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From andym@ActiveState.com Tue Oct 24 19:35:47 2000 From: andym@ActiveState.com (Andy McKay) Date: Tue, 24 Oct 2000 11:35:47 -0700 Subject: [Zope] newbie inquiry about zope References: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: <00c501c03de9$3a346340$ae03a8c0@fork> [..] My questions are: 1) Could Zope help me keep track of who is reading what and match people up for discussion? [..] 4) Could Zope handle right to left text and non-Latin character sets? Think of it this way: Zope can do anything you can program in python. Anything you cant program, have a look at Zope.org to see if somebody has done it before. 5) What are the advantages/disadvantages to developing this site with Zope as opposed to MySQL and PHP? You can use MySQL as a relational database and it makes sense for large amounts of content in certain formats. 6) Could Zope help me make the same content available to ordinary web browsers and wireless devices in different formats? 7) Since we are going to be having discussion, we might want to stream voice between users and also stream pre-recorded voice. Any support for that? See my first answer. 8) Where can I find speed benchmark information about Zope? 9) Where can I find virtual server and collocation hosting for my site if I want to use zope, or do I have to administrate my own server? From sean@digitome.com Tue Oct 24 19:39:29 2000 From: sean@digitome.com (Sean McGrath) Date: Tue, 24 Oct 2000 19:39:29 +0100 Subject: [Zope] Modifiable local variables Message-ID: <4.3.0.20001024191012.00afa100@mail.digitome.com> Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is the recommended way to create modifiable variables using DTML, without using Zope? Thanks in advance From rlanham@speakeasy.net Tue Oct 24 20:38:43 2000 From: rlanham@speakeasy.net (Richard Lanham) Date: Tue, 24 Oct 2000 15:38:43 -0400 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install Message-ID: <002101c03df2$06bcf280$2460fed8@mydomain> This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable when I try to start zope on windows machine i get: problem(100) ZServer Computing local hostname then it says: ZServer Medusa (V1.16.4.3) started at... timestamp... hostname: dsl1254-096...isp.net Port:8080 then the FTP server starts: authorizer:none hostname: rlhome port:8021 the PCGI server starts: inet socket port: 8090 Monitor Server starts on port 8099 The dos window seems to hang after this. when I start a browser and goto http://localhost:8099/manage I get an = number, apparently an error: 972402587.52 back in the dos window, I see: ZServer uncaptured python exception, closing channel : Get/ manag = [c:\programfiles/home/zserver/medusa/asyncore.py|75] = [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] = [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] = [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> ------=_NextPart_000_001E_01C03DD0.7DCDB8E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
when I try to start zope on windows = machine i=20 get:
problem(100) ZServer Computing local hostname
 
then it says:
ZServer Medusa = (V1.16.4.3) started=20 at... timestamp...
 hostname:=20 dsl1254-096...isp.net
 Port:8080
 
then the FTP server=20 starts:
authorizer:none
hostname: rlhome
port:8021
 
the PCGI server starts:
inet socket = port:=20 8090
 
Monitor Server starts on port = 8099
 
The dos window seems to hang after=20 this.
 
when I start a browser and goto http://localhost:8099/manage I = get an=20 number, apparently an error:
972402587.52
 
back in the dos window, I = see:
ZServer=20 uncaptured python exception, closing channel <PCGIChannel at = 1307340>=20 <exceptions.ValueError:invalid literal for atio<>: Get/ manag=20 [c:\programfiles/home/zserver/medusa/asyncore.py|75]=20 [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327]=20 [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110]=20 [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]>
------=_NextPart_000_001E_01C03DD0.7DCDB8E0-- From ololo@zeus.polsl.gliwice.pl Tue Oct 24 21:31:20 2000 From: ololo@zeus.polsl.gliwice.pl (Aleksander Salwa) Date: Tue, 24 Oct 2000 22:31:20 +0200 (CEST) Subject: [Zope] redirect In-Reply-To: <70DA17B25830D411AD6500508B11CB4B3689F6@PRIMA-EXC01> Message-ID: On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > test>')"> DTML tags can't be nested. Try: Message-ID: <002501c03d33$e9fa1100$0202a8c0@typhoon> Diego, Do you mean that you want at least one input tag appearing at all times? If so, try this: "> "> hth Phil ----- Original Message ----- From: "Diego Rodrigo Neufert" To: Sent: Tuesday, October 24, 2000 4:24 PM Subject: [Zope] dtml-in returning null | Hi... | | I want to do something like this... | | | "> | | But, if InMethod return nothing it display this tag one time.... | | There's a way to do that?? | | Thanks | -- | --------------------------- | Diego Rodrigo Neufert | -webmaster | --------------------------- | (Magic Web Design) | (email) (diego@magicwebdesign.com.br) | (curitiba) (pr) | | _______________________________________________ | 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 ) From phil.harris@zope.co.uk Mon Oct 23 21:59:53 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Mon, 23 Oct 2000 21:59:53 +0100 Subject: [Zope] Calling objects by name References: Message-ID: <003701c03d34$3952b810$0202a8c0@typhoon> Danny, Try something like or hth Phil ----- Original Message ----- From: "Danny William Adair" To: Sent: Tuesday, October 24, 2000 6:50 PM Subject: [Zope] Calling objects by name | How can I render an object in DTML if I have its id as a string? | I would like to construct its name as a string and then call the object | variable by its name. | (Meaning I will have to make sure such an object exists) | | tia, | | CU+Prost, | | Danny | | | _______________________________________________ | 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 ) From p@state-of-mind.de Tue Oct 24 22:37:26 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 24 Oct 2000 23:37:26 +0200 Subject: [Zope] AW: [Zope] newbie inquiry about zope In-Reply-To: <004b01c03de1$88554740$07a1003e@webyeshiva> Message-ID: Phew Aharon, many questions... Did you take a closer look at zope.org? I think many questions are answered within the site. But let's get going... >1) Could Zope help me keep track of who is reading what and match people up for discussion? You could track down people with cookies :-( or sessions :-) Both can be achieved with zope. I'd go for sessions - though I am not a programmer. From what I know and what I think your idea is aiming to sessions would help you to set up framework powerfull enough to reach your goals. Besides how to you deal with people who won't allow cookies? Then you could analyse the informatios gathered within the sessions and provide a "People who read this, also read that" ;-) >2) Could Zope help me personalize the fonts and other display settings for each user? How >about letting users create their own bookmarks within the texts? As for the bookmarks I don't know, but the fonts etc. could be done with 'skins'. I've seen a project on zope.org that promoted such functions. See also >3) Could Zope help me manage user created content and the relations between content and its >creators? yupp. >4) Could Zope handle right to left text and non-Latin character sets? Is that a job for zope? To me this seems to be a Browsers job e.g. in the section of the HTML that is sent to the Browser. Or am I missing something? >5) What are the advantages/disadvantages to developing this site with Zope as opposed to >MySQL and PHP? I can't comment on that, since I am not a programmer. For me it's a elaborated framework that provides functions needed for managing content e.g. versions, authentification ;-) etc. Get a closer insight at AFAIK you'd have to develop these basic functions from scratch if you use plain MySQL and PHP. >6) Could Zope help me make the same content available to ordinary web browsers and wireless >devices in different formats? Are you after WAP? There is code that does that... and then there's XML... :-) >7) Since we are going to be having discussion, we might want to stream voice between users >and also stream pre-recorded voice. Any support for that? Hmmm, do you mean something like 'Zope Streaming Server' AFAIK I haven't read about that... But why stream this from zope? There are other servers that are spezialised on that. I'd use a combination; zope as a frontend to provide the paths and the specific information bound to the stream >8) Where can I find speed benchmark information about Zope? What is it that you want to measure? Anyway: There was a benchmark a while ago in the news. I couldn't find it immediately which doesn't mean it's not there... >9) Where can I find virtual server and collocation hosting for my site if I want to use zope, >or do I have to administrate my own server? But let's think of your projects requirements first. What would you need to get the baby of the ground? Developing 1. If you use zope you will need zope :-| 2. You will have to develop a few Zope Products by yourself, either to implement features that aren't there yet or to customize and mingle other Products. That means you will need to have shell access to the machine you build your site on. 3. You will need at least ftp-access to your zope-dir in order to implement the new products. If you use only one machine, which I do not recommend, you are done with 2.) 4. ZODB (the Database zope runs on...) is a good database. Still many developers have their reasons to use a second DB mostly a relational Database e.g. Oracle or MySQL Serving 1. If your site hits the net and is a hit, you'll probably need: bandwidth and response time are needed. Reasonably for serving that starts from 2Mbps upwards. 2. If you go for ISPs they provide both: bandwitdh and short response times. Furthermore the offer features as backup (who does it regularly???) and probably better firewalling that you can do at your own. If you decide to take care of that by yourself, you will have to take care not only of the development but also of the above mentioned features plus a few more. Also if you want to stream media you'd be off good if you have a streaming proxy in order to take load of the machine that runs the server, when the going gets tough. Streaming proxys aren't cheap. ISPs can provide you with a solution that will serve not only your domain but also others. That makes it a lot cheaper and again you won't have to deal with the Streaming Proxy. So lets see, what I would do: I'd get two machines (bid + medium) that run the same OS; preferably Linux since it's cheap and there are enough people out there by now who really now their way around that OS. OTOH you'd should decide where to go first and decide on the ressources after that. I'd get an ISP that houses my big machine. Use the other machine to develop the project on. by, p@rick From kthangavelu@earthlink.net Tue Oct 24 18:47:24 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 10:47:24 -0700 Subject: [Zope] Modifiable local variables References: <4.3.0.20001024191012.00afa100@mail.digitome.com> Message-ID: <39F5CB2C.36C6A0C8@earthlink.net> Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Duncan/LocalVars. So, the questions is, what is > the recommended way to create modifiable variables using DTML, without > using Zope? > > Thanks in advance i've used dtml outside of zope, but i tend to pass it most of the variables it needs and let it do the rendering. you should be able to pass an empty dict to the dtml as the mapping arguement and set variables inside of that, although you might have to wrap it with attributing setting methods so that it can be used from dtml. or you can use a dtml-let clause to create the proper variables. long live the pyxies:) kapil > > _______________________________________________ > 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 ) From bill.anderson@libc.org Wed Oct 25 00:28:09 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Tue, 24 Oct 2000 17:28:09 -0600 Subject: [Zope] SuperUser cannot own ;-) References: Message-ID: <39F61B09.AF24B67C@libc.org> Max M wrote: > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris > Withers > > > I suppose you've just installed Zope and you're logged in as "Superuser" > > And that's the problem. > > The superuser cannot own folder, files etc. > > ...and I'd still like to know why ;-) > > Well I for one have accidently removed view privilliges for administrators > in a folder, at that time I was very happy to be able to log in as super and > restore those proviliges, or else I would have had to remove the directory > and start fresh. And you can still do that. You just can't _create_ new items as 'bootstrap user'. > > Perhaps it is also to avoid trojan horses being executed by super. :^)= -- E PLURIBUS LINUX From zope@grewen.de Wed Oct 25 02:14:56 2000 From: zope@grewen.de (Jens Grewen) Date: Wed, 25 Oct 2000 03:14:56 +0200 Subject: [Zope] References: Message-ID: <009601c03e21$2a792840$0300a8c0@windows> Hi, I am not quite sure if this is what you want but may this helps do something This is not resolving the URL. If you found a solution let me know. Jens Grewen ----- Original Message ----- From: "kosh" To: Sent: Tuesday, October 24, 2000 10:56 PM Subject: [Zope] > What would be the correct dtml-if contrstruct for this behavior? > > I want to check and see if zope can resolve a url to a valid object. > > Ie does http://foo.com/bar/foo get you to a valid page or is it not > found. > > I need something like that way I can know > when to rewrite the url based on zope finding the object or not. > > Thanks > Kosh > > > _______________________________________________ > 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 ) > From p@state-of-mind.de Wed Oct 25 02:33:34 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 03:33:34 +0200 Subject: [Zope] dtml-var owner? author? editor? Message-ID: Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick From phil.harris@zope.co.uk Tue Oct 24 02:37:43 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 24 Oct 2000 02:37:43 +0100 Subject: [Zope] References: <009601c03e21$2a792840$0300a8c0@windows> Message-ID: <001301c03d5b$02042c00$0202a8c0@typhoon> How about (sort of tested): ignore the error or otherwise report it hth Phil ----- Original Message ----- From: "Jens Grewen" To: "kosh" Cc: "Zope Maillist" Sent: Wednesday, October 25, 2000 2:14 AM Subject: Re: [Zope] | Hi, | | I am not quite sure if this is what you want but may this helps | | | | do something | | | | This is not resolving the URL. | If you found a solution let me know. | | Jens Grewen | | | ----- Original Message ----- | From: "kosh" | To: | Sent: Tuesday, October 24, 2000 10:56 PM | Subject: [Zope] | | | > What would be the correct dtml-if contrstruct for this behavior? | > | > I want to check and see if zope can resolve a url to a valid object. | > | > Ie does http://foo.com/bar/foo get you to a valid page or is it not | > found. | > | > I need something like that way I can know | > when to rewrite the url based on zope finding the object or not. | > | > Thanks | > Kosh | > | > | > _______________________________________________ | > 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 ) From bak@nstp.com.my Wed Oct 25 02:58:41 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 09:58:41 +0800 Subject: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102509584105.00837@tokey.kedai.com.my> On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: > Hi Zopistas, > > I want to include the owner (from acl_users) of a page in my HTML-output. > > Unfortunately I'm not able to produce what I want. > > Any hints? > > Thanks, > > p@rick > i would think that is what you want > _______________________________________________ > 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 ) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Strange how laughter looks like crying with no sound, and raindrops taste like tears .. without the pain From webmaven@lvcm.com Wed Oct 25 03:19:07 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 24 Oct 2000 19:19:07 -0700 Subject: [Zope] The Great Python (and Perl) Method Renaming Poll References: <39F4CEB4.ACB6253B@digicool.com> Message-ID: <39F6431B.B10EB8A2@lvcm.com> Michel Pelletier wrote: > > We will be conducting a community poll to decide what to call Python > (Perl, insert your language here) Methods. > [snip] > So, before the poll, we are calling for nominiations from the > community. Please send me an email containing one or more candidate > names. These names will be added to the list. No pre-screening will be > done, so please exercise some discretion if your favorite name is more > tounge-in-cheek than practical (you never know what the masses will > decide though!). > > Later this week, I will create a web poll where you can vote for your > favorite. I would like to suggest that instead of a plurality vote, we use a 'Borda count', also known as an 'preferential' or 'single-transferable' ballot. Those of you who followed the recent ICANN election should be familiar with it. It works like this: All votes consist of ranking the availble choices according to desireability (if there are six choices, you would number them 1-6, each choice must be uniquely ranked, not all choices must be ranked). All voters first choices are tallied. If, at this point, one choice has achieved over 50% of the vote, the vote is over. If no choice has achieved 50%, the choice with the fewest votes is removed, and the voters who voted for that choice have their second choice counted and distributed. If at this point one of the choices acheives 50%...etc. Lather, Rinse, Repeat. This method has the advantage of better representing peoples true choice, since no one is tempted to vote for a choice that they simply disapprove of less, because 'otherwise they're throwing away their vote'. In a five-way race for example, a plurality may consist of 25% of the vote, thereby ensuring that 75% of the voters will be pissed off. With a Borda count though, the winner could be everyone's second-favorite choice, thus better representing what people want. There's a few other wrinkles to this, such as situatuions where not all choices have been ranked. If a voter has only ranked four choices and a fifth runoff phase is neccessary, their ballot is discarded, and the 50% mark is recalculated for that phase to account for the reduced number of ballots. Cheers, Michael Bernstein. From jason_zope@yahoo.com Wed Oct 25 04:30:00 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Tue, 24 Oct 2000 20:30:00 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025033000.537.qmail@web4605.mail.yahoo.com> Does anyone have any LoginManager 0.8.8b1 example code? It almost looks like you can extend the system using plugins, but I don't know how that's done. Anyone else have luck doing this? If so then do you have any examples/suggestions? All I want is a simple ZODB/cookie based system, but I can't get the Generic User Source to work. Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From mwilbert@alum.mit.edu Wed Oct 25 05:23:09 2000 From: mwilbert@alum.mit.edu (Matthew Wilbert) Date: Tue, 24 Oct 2000 21:23:09 -0700 Subject: [Zope] using a dictionary returned from an external method Message-ID: <200010250419.VAA32656@zope.codeit.com> I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like . . . However, I need to do this for several keys, and I don't want to call externalMethod several times. Is there a way to assign the method result to another variable, or is it possible that DTML is smart enough not to do the call multiple times? Or is there some other approach that I am not even thinking of? Any suggestions will be greatly appreciated. Thanks, Matt Wilbert mwilbert@alum.mit.edu ___________________________________________________________________________ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot. From bak@nstp.com.my Wed Oct 25 06:36:11 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 13:36:11 +0800 Subject: [Zope] limiting tree Message-ID: <00102513361107.00837@tokey.kedai.com.my> hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! From dylan@btamail.net.cn Wed Oct 25 06:49:19 2000 From: dylan@btamail.net.cn (Dylan Chi) Date: Wed, 25 Oct 2000 13:49:19 +0800 Subject: [Zope] Help,I have a question.:( Message-ID: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a question about Squishdot. Error: Traceback (innermost last): File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 214, in publish_module File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 179, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line = 202, in zpublisher_exception_hook File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, = line 169, in publish File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, = line 237, in commit File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line = 327, in commit (Info: (('Products.Squishdot.Squishdot', 'Article'), = '\000\000\000\000\000\000\242\032', '')) File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, = line 632, in store (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) OverflowError: (see above) ------=_NextPart_000_00C3_01C03E8A.5F845190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a question about = Squishdot.
Error:
Traceback (innermost last):
  = File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 214, in=20 publish_module
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 179, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in=20 zpublisher_exception_hook
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line = 169, in=20 publish
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, line 237, = in=20 commit
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, line 327, = in=20 commit
    (Info: (('Products.Squishdot.Squishdot',=20 'Article'), '\000\000\000\000\000\000\242\032', ''))
  File=20 /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, line 632, = in=20 store
    (Object:=20 /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs)
OverflowError: (see=20 above)
------=_NextPart_000_00C3_01C03E8A.5F845190-- From morten@esol.no Wed Oct 25 06:59:09 2000 From: morten@esol.no (Morten W. Petersen) Date: 25 Oct 2000 07:59:09 +0200 Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? In-Reply-To: <20001025033000.537.qmail@web4605.mail.yahoo.com> References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: [Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManager instance, you should add four methods of some sort within the UserSource object. The four methods are: userAuthenticate userExists userRoles userDomains Here's the External methods I used just to make the logins work; you'll have to implement them to fit your system: def userAuthenticate(self, REQUEST, username, password): if username == 'morten' and password == 'morten': return 1 else: return 0 def userExists(self, REQUEST, username): return 1 def userRoles(self, REQUEST, username): return 'Manager', 'Owner' def userDomains(self, REQUEST, username): return [] | All I want is a simple ZODB/cookie based system, but I | can't get the Generic User Source to work. HTH then. =) -Morten From kthangavelu@earthlink.net Wed Oct 25 01:54:37 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 24 Oct 2000 17:54:37 -0700 Subject: [Zope] using a dictionary returned from an external method References: <200010250419.VAA32656@zope.codeit.com> Message-ID: <39F62F4D.383C1C2A@earthlink.net> Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call externalMethod several times. Is there a > way to assign the method result to another variable, or > is it possible that DTML is smart enough not to do the > call multiple times? Or is there some other approach > that I am not even thinking of? i know dtml will cache results on the same method call in a single request which generally makes it efficient to do stuff like cheap skate;) and i'm guessing the same should apply to external methods. kapil From rik.hoekstra@inghist.nl Wed Oct 25 08:24:56 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 09:24:56 +0200 Subject: [Zope] Trying to follow tutorial References: <39F5754A.BA398125@inghist.nl> <20001024231024.E848@hermes> Message-ID: <39F68AC8.6777FC00@inghist.nl> Olivier Ricou wrote: > > On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote: > > Go to the management interface and add a zope user in the acl_users > > folder. Give it Management rights. Shut you browser, reopen it and > > authenticate as the user you just entered. Get on with the tutorial... > > BTW there is no easier way than to shut the browser and reopen it ? No easy sure way at least. That is, if you have basic authentication (which is always the case when you have Zope out of the box). It's reported that in some cases http://user:password@yoursite.com:whateverport may log you out/log you in differently, but afaik that won't work in all browsers and all platforms _and_ it may present you with an authorization box Rik From jason_zope@yahoo.com Wed Oct 25 08:34:12 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Wed, 25 Oct 2000 00:34:12 -0700 (PDT) Subject: [Zope] LoginManager 0.8.8b1 examples/suggestions? Message-ID: <20001025073412.23919.qmail@web4601.mail.yahoo.com> --- "Morten W. Petersen" wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you > | have any examples/suggestions? > > Yes. After adding your LoginManager instance, you > should add four > methods of some sort within the UserSource object. > > The four methods are: > > userAuthenticate > userExists > userRoles > userDomains > > > Here's the External methods I used just to make the > logins work; you'll > have to implement them to fit your system: > > def userAuthenticate(self, REQUEST, username, > password): > > if username == 'morten' and password == > 'morten': > > return 1 > > else: > > return 0 > > > def userExists(self, REQUEST, username): > > return 1 > > > def userRoles(self, REQUEST, username): > > return 'Manager', 'Owner' > > > def userDomains(self, REQUEST, username): > > return [] > > Hmmm, I tried implementing these functions before, but only as DTML methods: userAuthenticate userDomains userExists userRoles Yet this never seemed to work. Does it not work because they are DTMLMethods and not External Methods, or because I am returning the wrong values, or because of a proxy or security setting? The Methods are in the User Sources 'folder' and I am sure I chose "GUF" authentication from the list when I added the LoginManager. Jason __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From p@state-of-mind.de Wed Oct 25 08:47:18 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 09:47:18 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? In-Reply-To: <00102509584105.00837@tokey.kedai.com.my> Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From p@state-of-mind.de Wed Oct 25 09:14:08 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 10:14:08 +0200 Subject: [Zope] AW: [Zope] Trying to follow tutorial In-Reply-To: <39F68AC8.6777FC00@inghist.nl> Message-ID: > > > > BTW there is no easier way than to shut the browser and reopen it ? > > No easy sure way at least. That is, if you have basic authentication > (which is always the case when you have Zope out of the box). It's > reported that in some cases > http://user:password@yoursite.com:whateverport may log you out/log you > in differently, but afaik that won't work in all browsers and all > platforms _and_ it may present you with an authorization box Another real dull way is: open NS and IE (or... or ...) and use them with different authorization. p@ From dvg@vet.uu.nl Wed Oct 25 09:42:00 2000 From: dvg@vet.uu.nl (Diny van Gool) Date: Wed, 25 Oct 2000 10:42:00 +0200 Subject: [Zope] How many houres do I need to manage a Zope site? Message-ID: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Hi, The management team wants to know how many hours are necessary to keep the faculty Zope site running. I have to make a summary of hours necessary for the technical system management such as software releases, database management, fixes etc. Developing or installing new features is not to be included. Configuration: Zope version: 2.2.2 Windows NT 4.0 Installed products: FSSession, LocalFS, Refresh, Squishdot, TinyTable, UserDB, XMLDocument, XMLWidgets, ZODBCDA, ZSQLMethods 1. How many Zope releases per year can I expect and how much time do I need per release? 2. How much time do I need for product releases and fixes? 3. How much time do I need for Zope database management? Besides a regular backup and packing the Data.fs are there other things necessary? Do I miss important tasks? Has anybody done this before? Thanks, Diny DIVA, Faculty of Veterinary Medicine Utrecht University, The Netherlands http://www.vet.uu.nl From arevalo@iam.unibe.ch Wed Oct 25 09:51:18 2000 From: arevalo@iam.unibe.ch (Gabriela Arevalo) Date: Wed, 25 Oct 2000 10:51:18 +0200 (MET DST) Subject: [Zope] i can not see some graphic icons.. Message-ID: hi all, after starting Zope, everything seems to be ok, but i can not see some graphic icons in the web page. The Traceback after starting zope is the following one: Traceback (innermost last): File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in ? logger_object=lg) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/http_server.py", line 541, in __init__ self.bind ((ip, port)) File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/ZServer/medusa/asyncore.py", line 242, in bind return self.socket.bind (addr) socket.error: (125, 'Address already in use') how can i solve it ? thanks in advance Gaby From jose@sferacarta.com Wed Oct 25 10:10:26 2000 From: jose@sferacarta.com (Jose Soares) Date: Wed, 25 Oct 2000 11:10:26 +0200 Subject: [Zope] getProperty() References: <20001025033000.537.qmail@web4605.mail.yahoo.com> Message-ID: <39F6A382.8EFC9546@sferacarta.com> Hi all, This is a newbie question. I'm trying to get the 'title' property of a SQLConnectionIDs. I can do this work using python but in zope I can't do it. I want to create an html SELECT object to display a list of all SQL Connections and I want to display the id and the title, like this: id title --------- --------------------------------------------- gadfly Gadfly_database_connection mysql MySQL_database_connection postgres PyGres_database_connection dbmaker DBMaker_database_connection I tryed the following: but sequence-key and sequence-item are equals. Thank for any help Jose' From bak@nstp.com.my Wed Oct 25 09:07:51 2000 From: bak@nstp.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 16:07:51 +0800 Subject: [Zope] Re: AW: [Zope] dtml-var owner? author? editor? In-Reply-To: References: Message-ID: <00102516075100.14800@tokey.kedai.com.my> On Wednesday 25 October 2000 16:01, Patrick Koetter wrote: > > > I want to include the owner (from acl_users) of a page in my > > > > HTML-output. > > > > > > is what you want > > Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? > What I want is: > 'Anonymous User' surfs to my site. She surfs trough the HTML output > generated by zope, while zope not only tells her the content provided, but > also the Name of the Zope-owner of the document (e.g patrick is owner of > index_html --> that info is also displayed to the anonymous user) > > Thanks for more help, > ok, i see what you want to do. i thought that you have a "author" property somewhere. i'm sorry to say that i can't be of any more help. i guess you can test for ownership of objects in zope since there exist a take ownership button. check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py tell us what you got :) > p@ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! From stefan@epy.co.at Wed Oct 25 10:42:23 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 11:42:23 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <0010241819500B.00590@cat-pc-holle> Message-ID: Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: > I can send single email with one recipient without problems. > I need to use a bcc: for about 4000 users. No way doing that halfway > performant with a ... statement. > > I am thinking of the > bcc: user1, user2, user3 .... user4000 > header. > It ought to get parsed in the MailHost product and sent directly to the > proper smtp-host .... From mike@geekteam.com Wed Oct 25 10:44:29 2000 From: mike@geekteam.com (Mike Bannister) Date: Wed, 25 Oct 2000 05:44:29 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents Message-ID: Hi, I'm working my way through the beta-book on zope.org and having a blast generally but I'm hoping someone can check my thinking here and tell me if I'm on the right track. Thanks in advance for any insight you can offer. In chapter 3, where DTML is first introduced, they have me create a Folder with some files in it and include something like this in a DTML Method:
Just for the heck of it I dropped that same code into a DTML Document in the same Folder and it didn't list the Files as I had expected. I understand pretty much the differences of Methods and Documents and I'm assuming the reason for this is related to the way the Documents exists in it's own namespace and the Method doesn't... so my best guess for this behavior is that the 'scope' of objectValues() is limited to the current namespace. Am I even close? If not can someone explain this to me? Thanks! Mike Bannister geekteam.com From jornd@falch.net Wed Oct 25 10:57:34 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 25 Oct 2000 11:57:34 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Phil Harris"'s message of "Tue, 24 Oct 2000 14:08:03 +0100" References: <87itqi7hvt.fsf@ranga.falch.net> <017501c03d9d$fadcad60$5c773fc1@media1> <87aebu7emc.fsf@ranga.falch.net> <87n1fue7jm.fsf@ranga.falch.net> <021701c03dbb$729770c0$5c773fc1@media1> Message-ID: <87itqhmeep.fsf@ranga.falch.net> * "Phil Harris" | Jorn, | | I'm no Apache GrandMaster but couldn't you use the [p] option of a | RewriteRule to make it proxy if the url matches a pattern: | | RewriteEngine on | RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] | | Or something along those lines. Looks promising. I will come back to the results later, when I have tested it. Thanks again. -- Jørn Helge B. Dahl http://falch.net From jatwood@bwanazulia.com Wed Oct 25 11:19:57 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 06:19:57 -0400 Subject: [Zope] How many houres do I need to manage a Zope site? In-Reply-To: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> References: <3.0.5.32.20001025104200.007b2960@mail.vet.uu.nl> Message-ID: At 10:42 AM +0200 10/25/2000, Diny van Gool wrote: >1. How many Zope releases per year can I expect and how much time do I need >per release? One major, four or five minor and three or four hotfixes. Schedule a day for the major, half a day each for the rest. >2. How much time do I need for product releases and fixes? Each product will need to be tested and implemented so half a day for each major release. If you modify the products of course it will be longer. >3. How much time do I need for Zope database management? Besides a regular >backup and packing the Data.fs are there other things necessary? Very little. Pack it when it gets too big (once a week) or set a cron to do it... oh sorry, NT... set a AT command to do it. >Do I miss important tasks? Has anybody done this before? Yeah.. rebooting NT every 4 days. :) J From matt.bion@eudoramail.com Wed Oct 25 11:57:49 2000 From: matt.bion@eudoramail.com (Matt) Date: Wed, 25 Oct 2000 23:57:49 +1300 Subject: [Zope] Sendmail examples References: <001201c0846b$1a17ac20$be348490@vic.bigpond.net.au> Message-ID: <39F6BCAD.EEB6A627@eudoramail.com> Here's on I particularly like, sorry it doesn't have a sql query. It sends an attached image file, contents and all, not just an IMG SRC reference. And do youself a favour by adding a Mailhost object somewhere above where you want to use it. To: Feedback Recipient From: Zope Feedback Form Subject: Feedback from the web Feedback from : Matt Comments: Matt steve smith wrote: > Anyone have any good, real-world examples using DTML-Sendmail tags? Would > especially appreciate examples integrating SQL queries. > > Ta! > > Steve > > _______________________________________________ > 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 ) From rik.hoekstra@inghist.nl Wed Oct 25 12:04:15 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 13:04:15 +0200 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: <39F6BE2F.58A5084F@inghist.nl> > > when I try to start zope on windows machine i get: > problem(100) ZServer Computing local hostname this is 'normal' and not a problem (though I always wonder what it really means) > The dos window seems to hang after this. nope, this is just the console window for the server. This is also normal. You only get output here if something strange happens (and in ftp sessions) > > when I start a browser and goto http://localhost:8099/manage I get an > number, apparently an error: > 972402587.52 > > back in the dos window, I see: > ZServer uncaptured python exception, closing channel 1307340> : Get/ manag > [c:\programfiles/home/zserver/medusa/asyncore.py|75] > [c:\programfiles/home/zserver/medusa/asyncore.py|handle_read_event|327] > [c:\programfiles/home/zserver/medusa/asynchat.py|handle_read|110] > [c:\programfiles/home/zserver/pcgi.server.py|found_terminator|146]> try accessing it via the http port. In your case http://localhost:8080 or http://localhost:8080/manage then it should work. hth Rik From tdickenson@geminidataloggers.com Wed Oct 25 12:21:28 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Wed, 25 Oct 2000 12:21:28 +0100 Subject: [Zope] problem(100) ZServer Computing local hostname on windows install In-Reply-To: <002101c03df2$06bcf280$2460fed8@mydomain> References: <002101c03df2$06bcf280$2460fed8@mydomain> Message-ID: On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham" wrote: >then it says: >ZServer Medusa (V1.16.4.3) started at... timestamp... > hostname: dsl1254-096...isp.net > Port:8080 your http server is on 8080 >Monitor Server starts on port 8099 and the monitor is on 8099 >http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson tdickenson@geminidataloggers.com From Dominique.Dutoit@cec.eu.int Wed Oct 25 12:56:50 2000 From: Dominique.Dutoit@cec.eu.int (Dominique.Dutoit@cec.eu.int) Date: Wed, 25 Oct 2000 13:56:50 +0200 Subject: [Zope] Zope on Mac OS X Message-ID: <51D6FF030F6ED411993000D0B7823C060108EF@EX2BEBREYMBX04> I'm trying to build Zope with the Apple developer tools but it didn't work. Python 2.0 seems easier to build and works well but Zope C source codes must be modified to get it build. The How-to note about Mac OS X server doesn't apply to the public beta. Does somebody have already tried to use Zope with Mac OS X public beta? From jonathan@home-all.org.uk Wed Oct 25 13:04:58 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Wed, 25 Oct 2000 13:04:58 +0100 Subject: [Zope] which python gets used ... ? Message-ID: <39F6CC6A.E972D3A7@home-all.org.uk> Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan From maxm@normik.dk Wed Oct 25 13:10:52 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Wed, 25 Oct 2000 14:10:52 +0200 Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with Message-ID: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> This is a question I guess has something to do with popping an object onto the namespace, or about me not understanding how stuff works. When I make a list of objects: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto the namespace.): But it isn't so. What do I need to do to make the objects namespace count in my traversal? (I'd like to keep the dtml as simple as possible.) -------------- If I make a list: theList = [1, 2, 3, 4] I can traverse it with: --------- and if it's a list if dicts: theList = [{'value':1},{'value':2},{'value':3},{'value':4}] I can traverse it like: From phd@phd.dada.ru Wed Oct 25 14:05:20 2000 From: phd@phd.dada.ru (Oleg Broytmann) Date: Wed, 25 Oct 2000 13:05:20 +0000 (GMT) Subject: [Zope] How should a collection be in a Python product if i want to trave rse it with rse it with In-Reply-To: <7BD10B680501D411B9DF009027E06F32197A9C@exchange> Message-ID: On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > class simple: > def __init__(self, value): > self.value = value > > theList = [simple(1), simple(2), simple(3), simple(4)] > > I would expect to be able to traverse it like below (The objects namespace > would be popped onto the namespace.): > > > > Looks good... > But it isn't so. Why? What was the error? Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. From stefan@epy.co.at Wed Oct 25 15:50:06 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Wed, 25 Oct 2000 16:50:06 +0200 (CEST) Subject: [Zope] MailHost: bcc broken ? In-Reply-To: <39F6E558.AA6260B5@venaca.com> Message-ID: On Wed, 25 Oct 2000, Gregory Haley wrote: > i was one of the participants in the recent discussion of zope bulk > mail. i'm wondering about the mechanics of sending the work of the mail > to the actual sendmail server outside of zope. would i do that by > creating an external method which is program/script that accepts the > data from zope and then passes them to the mail server? any suggestions > or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan From jhouchin@texoma.net Wed Oct 25 16:09:49 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 10:09:49 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? Message-ID: <39F6F7BD.713ECAD9@texoma.net> Just a few comments to throw into the naming convention. Any name chosen will require educating the user as to it's definition. Some names are already defined in other spaces. Some of which are heavily overloaded. There is also discussion as to the accuracy of various names in the context of the usage within Zope. It is apparent the choice isn't clear and easy. As Michel has posted that a vote will occur in the near future a determination will be made. Currently one of the terms in usage is External Methods. From my understanding of the future direction of the Python Methods (restricted and unrestricted) the term External will not be accurate as the code will be within the ZODB and the differentiation will be in the capability of the method. Due to this I think the usage of External not be included in the name. Likewise Internal. Regarding Safe and Power. I have no major problems with Safe, however I thing Power brings along a lot of connotations or implications which may or may not be accurate concerning the abilities of Safe. As others have noted why choose Safe when you can use Power. Why, will have to be a part of the educational process. However proper perspective and understanding can start by not using Power in the name. I believe Power is not the right choice. Unsafe has also been proposed. I do not like this either because it is not accurate. Simply because something dangerous, foolish or stupid can be done using this method type does not mean it will be. Are we to label all objects "unsafe" simply because of the capacity of harm? Safety is in the hands of the programer. You cannot stop someone with the capability from doing something harmful if they choose. I would prefer the term Unrestricted or something similar. It simply denotes capabilities without implying it is dangerous. It isn't dangerous, it can be used dangerously, there is a difference. It is like many tools which can be used or abused. Hope this helps. Jimmie Houchin From tom.deprez@uz.kuleuven.ac.be Wed Oct 25 16:20:13 2000 From: tom.deprez@uz.kuleuven.ac.be (Tom Deprez) Date: Wed, 25 Oct 2000 17:20:13 +0200 Subject: [Zope] expr Message-ID: <3.0.6.32.20001025172013.008feec0@poirot> I get an error when using following expr: This is due to the . in ADDRESS.CENTRE_NO how can I use ADDRESS.CENTRE_NO so that I don't get this error? Tom. From chrisw@nipltd.com Wed Oct 25 16:27:39 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:27:39 +0100 Subject: [Zope] limiting tree References: <00102513361107.00837@tokey.kedai.com.my> Message-ID: <39F6FBEB.89212D04@nipltd.com> "Bak @ kedai" wrote: > > hi all > quickie: > if dtml-in, i can use size to limit the results rendered, what do i use in > dtml-tree? You don't, you run screaming for the hills ;-) I have a deep seated mistrust of the tag now after many bitter experiences. I'd recommend just writing an external methdo or python product that does exactly what you want... cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:30:19 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:30:19 +0100 Subject: [Zope] Never seen that before References: <00d001c03e47$73458570$eeafe5c7@ogilvydzkypnpb> Message-ID: <39F6FC8B.CC9691FC@nipltd.com> Not so much a question as a traceback, and posted in HTML too... nice ;-) > I have a question about Squishdot. > Error: > Traceback (innermost last): > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 214, in publish_module > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 179, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line > 202, in zpublisher_exception_hook > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, > line 169, in publish > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, > line 237, in commit > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/Connection.py, > line 327, in commit > (Info: (('Products.Squishdot.Squishdot', 'Article'), > '\000\000\000\000\000\000\242\032', '')) > File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZODB/FileStorage.py, > line 632, in store > (Object: /wwwnodes/zope/Zope-2.1.6-src/var/Data.fs) > OverflowError: (see above) I've never seen that one before. What version of Zope are you using? 2.1.6? Any patching? What version of Squishdot are you using? What platform are you running this on? Soem sort of *nix by the sound of it... Has the user running your Zope instance got enough quota on the disk all this is stored on? cheers, Chris From Danny@Adair.net Wed Oct 25 16:33:23 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 17:33:23 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks Message-ID: I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can help me. ************************************************************************** My TinyTablePlus instance: ************************************************************************** ID: Items Title: Items on Navigation Bar Columns: Position ShowItem Caption UseImage Image Service URL Data: "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- ************************************************************************** My code: (I want to create a configuration page for a navigation bar, which will have to change a table's rows depending on the contents of some form elements) ************************************************************************** -------------------------------------------------------------------------- ************************************************************************** My problem: ************************************************************************** Data afterwards: "1", NULL, "test", NULL, NULL, NULL, NULL "1", "yes", "HOME", "yes", "Home", "Home", "/Main" "2", "yes", "News", "yes", "News", "News", "/News" "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" -------------------------------------------------------------------------- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny From chrisw@nipltd.com Wed Oct 25 16:35:22 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:35:22 +0100 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents References: Message-ID: <39F6FDBA.90BD8F5E@nipltd.com> Mike Bannister wrote: > Just for the heck of it I dropped that same code into a DTML Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? This is quite a thorny FAQ. The root of it is the binding of methods to objects/namespaces in DTML, which has had lots of press on zope-dev@zope.org recently. The short version is: -if that code is in a method, it is executed on the method's container (actualyl acquisition context, but don't worry abotu that too much ;-) -if the code was in a documents, it is executed on that document. Since documents can't really have things attached to them that would be returned by objectValues, you usually get an empty list back :-) HTH, Chris From chrisw@nipltd.com Wed Oct 25 16:37:17 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:37:17 +0100 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F6FE2D.6BB01D0D@nipltd.com> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? Can use either depending on whether you install the source or binary distribution... actually dunno if there is a binary distribution for *nix. > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? If it's Python 1.5.2, then yes... there's probably instructiosn for this on Zope.org near the bits about insatlling Zope from source on Linux. cheers, Chris From chrisw@nipltd.com Wed Oct 25 16:44:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Wed, 25 Oct 2000 16:44:08 +0100 Subject: [Zope] How should a collection be in a Python product if i wantto trave rse it with rse it with References: Message-ID: <39F6FFC8.D1476175@nipltd.com> Oleg Broytmann wrote: > > On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: > > class simple: > > def __init__(self, value): > > self.value = value > > > > theList = [simple(1), simple(2), simple(3), simple(4)] > > > > I would expect to be able to traverse it like below (The objects namespace > > would be popped onto the namespace.): > > > > > > > > If you're getting security errors, try this new version (untested): class simple(Acquisition.Implicit) __ac__permissions__ = ( ('View', ('get_value','get_list'),('Manager','Anonymous')), ) def __init__(self,value): self.value=value def get_value(self): return value Globals.default__class_init__(simple) Now, hopefully, theList is being returned from within a class method, in which case: theList = [simple(1).__of__(self), simple(2)__of__(self), simple(3)__of__(self), simple(4)__of__(self)] return theList then: should work... hmmmm, Chris From kedai@kedai.com.my Wed Oct 25 16:49:00 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Wed, 25 Oct 2000 23:49:00 +0800 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: <003601c03e9b$1f45e060$085a6acb@kedai> sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From brian@digicool.com Wed Oct 25 16:58:51 2000 From: brian@digicool.com (Brian Lloyd) Date: Wed, 25 Oct 2000 11:58:51 -0400 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? In-Reply-To: <39F6F7BD.713ECAD9@texoma.net> Message-ID: > > Unsafe has also been proposed. I do not like this either because it is > not accurate. Simply because something dangerous, foolish or stupid can > be done using this method type does not mean it will be. Are we to label > all objects "unsafe" simply because of the capacity of harm? Safety is > in the hands of the programer. I agree with this vehemently :) Would you want to use "unsafe C++" or "unsafe Java"? I think "restricted" and "unrestricted" are clear and concise. This is not about "safety" per se, but about capabilities. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From rbickers@logicetc.com Wed Oct 25 17:10:23 2000 From: rbickers@logicetc.com (Ron Bickers) Date: Wed, 25 Oct 2000 12:10:23 -0400 Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents In-Reply-To: Message-ID: > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mike > Bannister > Sent: Wednesday, October 25, 2000 5:44 AM > To: zope@zope.org > Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents > Just for the heck of it I dropped that same code into a DTML > Document in the > same Folder and it didn't list the Files as I had expected. I understand > pretty much the differences of Methods and Documents and I'm assuming the > reason for this is related to the way the Documents exists in it's own > namespace and the Method doesn't... so my best guess for this behavior is > that the 'scope' of objectValues() is limited to the current namespace. > > Am I even close? If not can someone explain this to me? That's basically it, yes. I think of a method as being a function that works on the object it is "in", and a document as being an object that gets worked on. So objectValues() in a method will return objects from its container, whereas objectValues() in a document will always return objects from within that document. Acquisition plays a role too, since a method can work in different contexts. For example (given myMethod and myDocument that both use objectValues()) TestFolder1.myMethod will return objects in TestFolder1 TestFolder2.myMethod will return objects in TestFolder2 TestFolder1.myDocument will return objects in myDocument TestFolder2.myDocument will return objects in myDocument I hope this makes sense. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com From jhouchin@texoma.net Wed Oct 25 17:13:27 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Wed, 25 Oct 2000 11:13:27 -0500 Subject: [Zope] Re: [Zope-dev] Task, Job or Operation? References: <39F6F7BD.713ECAD9@texoma.net> Message-ID: <39F706A7.AE700DF6@texoma.net> Ooops! Wrong list. Sorry. Will post to Zope-dev. Jimmie Houchin Jimmie Houchin wrote: [snip] From alexander@limi.net Wed Oct 25 17:43:57 2000 From: alexander@limi.net (Alexander Limi) Date: Wed, 25 Oct 2000 18:43:57 +0200 Subject: [Zope] How small a box can zope run on? Message-ID: <005701c03ea2$cb7a5530$1e00010a@plym> Hi, Just a quick question: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users connected to Zope at once, so we don't need much performance in terms of page views per second :) Cheers, Alexander. From p@state-of-mind.de Wed Oct 25 17:38:11 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Wed, 25 Oct 2000 18:38:11 +0200 Subject: [Zope] AW: [Zope] dtml-var owner? author? editor? Message-ID: > > I want to include the owner (from acl_users) of a page in my > HTML-output. > > > is what you want Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong? What I want is: 'Anonymous User' surfs to my site. She surfs trough the HTML output generated by zope, while zope not only tells her the content provided, but also the Name of the Zope-owner of the document (e.g patrick is owner of index_html --> that info is also displayed to the anonymous user) Thanks for more help, p@ From hannu@tm.ee Wed Oct 25 19:48:24 2000 From: hannu@tm.ee (Hannu Krosing) Date: Wed, 25 Oct 2000 18:48:24 +0000 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> <39F6FE2D.6BB01D0D@nipltd.com> Message-ID: <39F72AF8.F82C9E3A@tm.ee> Chris Withers wrote: > > Jonathan Cheyne wrote: > > > > So the question is: can I run zope using the stock RH6.2 distributions' > > own copy of python? > > If it's Python 1.5.2, then yes... there's probably instructiosn for this > on Zope.org near the bits about insatlling Zope from source on Linux. IIRC there used to be subtle bugs, like batch processing in DTML giving wrong page numbers ----------- Hannu From troy.farrell@wilcom.com Wed Oct 25 18:12:34 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Wed, 25 Oct 2000 12:12:34 -0500 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? Message-ID: My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They sit mostly idle with occasional light loads. They are P100/32MB/1.2GB old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack mount 4U units. Good, solid, slow hardware. They survive NT rather well. One is running 2 instances of Zope (one for dev) and has been for 15 days since last reboot. I will be looking for at least a 6 month uptime. They serve a departmental intranet application that I am writing. It's on NT because I need to use ODBC to get to a local MS Access Database. Bummer. Troy -----Original Message----- From: Bak @ kedai [mailto:kedai@kedai.com.my] Sent: Wednesday, October 25, 2000 10:49 AM To: Diny van Gool; zope@zope.org; J. Atwood Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? sorry if this is offtopic, but i see reference of rebooting every so often with NT( and maybe W2K). is this real? or FUD? i use linux myself and would like to confirm this from all you guys' experience >>Do I miss important tasks? Has anybody done this before? > >Yeah.. rebooting NT every 4 days. :) > >J > >_______________________________________________ >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 ) From jatwood@bwanazulia.com Wed Oct 25 18:01:11 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 13:01:11 -0400 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually doing ok. Not quick, per se, but ok. J > From: "Alexander Limi" > Date: Wed, 25 Oct 2000 18:43:57 +0200 > To: > Subject: [Zope] How small a box can zope run on? > > Hi, > > Just a quick question: > > We are building some device controller software and to control those we have > a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > such a modest setup? There is only going to be one or two users connected to > Zope at once, so we don't need much performance in terms of page views per > second :) > > Cheers, > > > Alexander. > > > > > _______________________________________________ > 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 ) > > From Georg Rellensmann Wed Oct 25 18:58:56 2000 From: Georg Rellensmann (Georg Rellensmann) Date: Wed, 25 Oct 2000 19:58:56 +0200 Subject: [Zope] newbie: comparing dates? Message-ID: <10837870534.20001025195856@uni-muenster.de> Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. QUESTION 1: How do I compare dates in dtml code? QUESTION 2: How do I exclude empty values from processing? (I installed rapto´s null date-patch, seemed to work fine; for that patch see: http://www.zope.org/Members/rapto/nullDate?pp=1) regards, -georg.rellensmann- From scott@launchpoint.net Wed Oct 25 19:19:53 2000 From: scott@launchpoint.net (Scott Burton) Date: Wed, 25 Oct 2000 11:19:53 -0700 Subject: [Zope] deleting through iteration Message-ID: This seems as if it would work to delete all objects of a certain meta-type but it gives me an error. The error is: Error Type: BadRequest Error Value: 971722944 does not exist Although, I know it does, I can see it in the ODB. TIA, Scott From andres@corrada.com Wed Oct 25 19:24:13 2000 From: andres@corrada.com (andres@corrada.com) Date: Wed, 25 Oct 2000 14:24:13 -0400 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: ; from Danny William Adair on Wed, Oct 25, 2000 at 05:33:23PM +0200 References: Message-ID: <20001025142413.A5320@corrada.com> You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From Danny@Adair.net Wed Oct 25 19:26:47 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:26:47 +0200 Subject: [Zope] Calling form elements by name Message-ID: How can I render a REQUEST variable in DTML if I have its id as a string? I would like to construct its name as a string and then call the REQUEST variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny From Danny@Adair.net Wed Oct 25 19:37:27 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 20:37:27 +0200 Subject: [Zope] TinyTablePlus: Problems with quotation marks In-Reply-To: <20001025142413.A5320@corrada.com> Message-ID: worked like a charm, thank you very much! Danny -----Ursprungliche Nachricht----- Von: andres@corrada.com [mailto:andres@corrada.com] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; zope@zope.org Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have to identify the column as a "key" column for the setRow method to recognize an already existing one and modify it in place. You do this by adding a "*" at the end of the column name. In your case, Position* On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote: > I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can > help me. > > ************************************************************************** > My TinyTablePlus instance: > ************************************************************************** > ID: > Items > > Title: > Items on Navigation Bar > > Columns: > Position ShowItem Caption UseImage Image Service URL > > Data: > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > ************************************************************************** > My code: (I want to create a configuration page for a navigation bar, which > will have to change a table's rows depending on the contents of some form > elements) > ************************************************************************** > Caption='test'> > > > > -------------------------------------------------------------------------- > > ************************************************************************** > My problem: > ************************************************************************** > Data afterwards: > > "1", NULL, "test", NULL, NULL, NULL, NULL > "1", "yes", "HOME", "yes", "Home", "Home", "/Main" > "2", "yes", "News", "yes", "News", "News", "/News" > "3", "yes", "Discussion", "no", "", "Discussion", "/Discussion" > -------------------------------------------------------------------------- > > Shouldn't setRow recognize the existing row and change that one? > I can't see what I am doing wrong here. > Does it have anything to do with the double quotation marks in the data? > > tia, Danny > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From ws@gmd.de Wed Oct 25 20:13:32 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Wed, 25 Oct 2000 21:13:32 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <003601c03e9b$1f45e060$085a6acb@kedai> Message-ID: <39F74CFC.3122.C98619C@localhost> [...] To: trimmed to zope.org On 25 Oct 2000, 23:49 Bak @ kedai wrote: > > sorry if this is offtopic, but i see reference of rebooting every so > often with NT( and maybe W2K). is this real? or FUD? i use linux > myself and would like to confirm this from all you guys' experience It's FUD. I'M running Zope on two NT servers here, which run many months between reboots. I just checked - the Zope on the intranet server has an uptime of 34 days 8 hours 32 min 3 sec now. This tells us that I installed Zope 2.2.2 three days after it was released on www.zope.org. :-) > > >>Do I miss important tasks? Has anybody done this before? > > > >Yeah.. rebooting NT every 4 days. :) -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From rik.hoekstra@inghist.nl Wed Oct 25 20:36:08 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 21:36:08 +0200 Subject: [Zope] OT:NT and rebooting (was:How many houres do I need to manage a Zope) site? References: Message-ID: <009901c03eba$d4129280$fe5da182@michieltje> > My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They > sit mostly idle with occasional light loads. They are P100/32MB/1.2GB > old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack > mount 4U units. Good, solid, slow hardware. They survive NT rather well. > One is running 2 instances of Zope (one for dev) and has been for 15 days > since last reboot. I will be looking for at least a 6 month uptime. > They serve a departmental intranet application that I am writing. It's on > NT because I need to use ODBC to get to a local MS Access Database. Bummer. > > Troy > > -----Original Message----- > From: Bak @ kedai [mailto:kedai@kedai.com.my] > Sent: Wednesday, October 25, 2000 10:49 AM > To: Diny van Gool; zope@zope.org; J. Atwood > Subject: Re: [Zope] OT:NT and rebooting (was:How many houres do I need > to manage a Zope) site? > > > > sorry if this is offtopic, but i see reference of rebooting every so often > with NT( and maybe W2K). is this real? or FUD? > i use linux myself and would like to confirm this from all you guys' > experience I have had a number of Zope sites running on NT with rather modest hardware. It performed reasonably to good and without troubles for months on an end, even with several people developing on it and a number of students accessing it. Mostly ODBC (SQL Server and even Access) will also work without trouble. It will also behind IIS. If something goes wrong it is usually an ODBC problem no Zope internal problem. The only real major problem is when SQL This is no pro NT argument, but just a reassurance that there is no reason not to use Zope on NT, though I would switch to Linux if I could... Rik From nspurrier@bluelight.com Wed Oct 25 20:47:48 2000 From: nspurrier@bluelight.com (Noah) Date: Wed, 25 Oct 2000 12:47:48 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): That does not work because FOO gets set to something like: I tried sticking this inside to get at the sequence-item, but I just ended up getting confused. Yours, Noah From cbeaumon@msri.org Wed Oct 25 20:50:52 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Wed, 25 Oct 2000 12:50:52 -0700 Subject: [Zope] Is there a tool for pretty-formatting/indenting DTML code? Message-ID: I've been working with Zope for a bit now and I love it. However, a few of the tools I'm used to having with other scripting tools are missing in the Zope realm.. One thing I would very much like to have is a script that could go through a long DTML document and pretty-format the code, not unlike the way I use BBEdit's formatting command on my Mac for HTML. Does such an animal exist, on any platform, or should I just try to adapt something I already have? I don't want to have to reinvent the wheel so to speak.. The big reason I need this is for indenting.. It makes the code much more readable and I have found myself spending a lot of time doing this by hand.. it just gets tedious.. Thank you.. Chris cbeaumon@msri.org From jatwood@bwanazulia.com Wed Oct 25 21:00:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Wed, 25 Oct 2000 16:00:19 -0400 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: "Months without rebooting"? That is certainly not something to brag about. With three of my installations of Zope on Linux I have the machines at 194, 204 and 55 days of uptime (and the 55 was because of a bad powerstrip, the other others have been up since I brought them up). While NT can and does stay up for long periods of time, it still is a very poor server choice as anything you install leads to a reboot. I have installed countless things on the Linux boxes and never brought it down. That is the difference and makes all the difference when it comes to a website. J > From: "Wolfgang Strobl" > Organization: GMD > Date: Wed, 25 Oct 2000 21:13:32 +0200 > To: zope@zope.org > Subject: Re: [Zope] OT:NT and rebooting > > [...] To: trimmed to zope.org > > On 25 Oct 2000, 23:49 Bak @ kedai wrote: > >> >> sorry if this is offtopic, but i see reference of rebooting every so >> often with NT( and maybe W2K). is this real? or FUD? i use linux >> myself and would like to confirm this from all you guys' experience > > It's FUD. I'M running Zope on two NT servers here, which run many months > between reboots. I just checked - the Zope on the intranet server has an > uptime > of 34 days 8 hours 32 min 3 sec now. > > This tells us that I installed Zope 2.2.2 three days after it was released on > www.zope.org. :-) > >> >>>> Do I miss important tasks? Has anybody done this before? >>> >>> Yeah.. rebooting NT every 4 days. :) > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > > From Danny@Adair.net Wed Oct 25 21:00:25 2000 From: Danny@Adair.net (Danny William Adair) Date: Wed, 25 Oct 2000 22:00:25 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: Ok, works alright, even my longer (using a TinyTablePlus) ------------------------------------------------

------------------------------------------------ will work(as expected), BUT: ------------------------------------------------


------------------------------------------------ definitely won't, Key Error: File /.../lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob (Object: Items) File /.../lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: Prefix="'Service_'" thePos=Position nameAsAString="Prefix+thePos") File /.../lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: _[nameAsAString]) (Info: nameAsAString) File <string>, line 0, in ? File /.../lib/python/DocumentTemplate/DT_Util.py, line 163, in careful_getitem KeyError: (see above) The string's content seems okay to me, so why can't I look up the object? The namespace should be okay since I can call the request variables _directly_. What's wrong? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 21:08 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > -----Original Message----- > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Danny > William Adair > Sent: Wednesday, October 25, 2000 1:27 PM > To: zope@zope.org > Subject: [Zope] Calling form elements by name > > > How can I render a REQUEST variable in DTML if I have its id as a string? > I would like to construct its name as a string and then call the REQUEST > variable by its name. > (Meaning I will have to make sure such an object exists) > > tia, > > CU+Prost, > > Danny > > _______________________________________________ > 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 ) > > From knapek@knapek.pvt.net Wed Oct 25 21:02:39 2000 From: knapek@knapek.pvt.net (Petr Knapek) Date: 25 Oct 2000 22:02:39 +0200 Subject: [Zope] Python product - inherittance Message-ID: <87itqgzo2o.fsf@knapek.pvt.net> Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an instance of classB. There is 'Error Type: AttributeError'. Does anybody know where the problem is? I use Zope 2.1.6 Thanks, Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: knapek@nextra.cz From rik.hoekstra@inghist.nl Wed Oct 25 21:06:43 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Wed, 25 Oct 2000 22:06:43 +0200 Subject: [Zope] OT:NT and rebooting References: Message-ID: <01bf01c03ebf$1975cc80$fe5da182@michieltje> > "Months without rebooting"? > > That is certainly not something to brag about. With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. > Agreed, but that wasn't the point Rik From maxmcorp@worldonline.dk Wed Oct 25 21:10:04 2000 From: maxmcorp@worldonline.dk (Max M) Date: Wed, 25 Oct 2000 22:10:04 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F74CFC.3122.C98619C@localhost> Message-ID: From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of >It's FUD. I'M running Zope on two NT servers here, which run many months >between reboots. I just checked - the Zope on the intranet server has an uptime >of 34 days 8 hours 32 min 3 sec now. I must say that I agree. All in all for my current needs, NT is a better choice than Linux. Better user interface and reasonable software uptime. I am slowly migrating to Linux though. As I really do believe the open source philosophy is better. But like Zope it is a b**** of a learning curve. Something like Zope shows it in a smaller scale. I would be willing to start a business on Zope technology because coorporation on the toolset is the smartest thing for service companies to do, and this is not a closed source option. I have tried some of the closed source application servers and they are so poor. Funnily enough I see companies reinventing the weel with these application servers, doing a lousy job every time. Zope is still not great, but lightyears ahead of anything else I have experienced. Being a web house and not doing an open source app server is so futile. Furthermore the new KDE2.0 looks really sexy. Just gotta finish one more project then I will upgrade from my old KDE1.0. Max M From matt@virtualspectator.com Wed Oct 25 21:22:51 2000 From: matt@virtualspectator.com (Matt) Date: Thu, 26 Oct 2000 09:22:51 +1300 Subject: [Zope] Not grocking RESQUEST.set syntax Message-ID: <000b01c03ec1$59dc6480$1af8a7cb@matt> try -----Original Message----- From: Noah To: zope@zope.org Date: Thursday, 26 October 2000 09:01 Subject: [Zope] Not grocking RESQUEST.set syntax >I'm still not grocking the syntax for setting REQUEST fields. >I want to set a REQUEST field "filename" to be the value returned >by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > >That does not work because FOO gets set to something like: > >I tried sticking this inside to get >at the sequence-item, but I just ended up getting confused. > >Yours, >Noah > > >_______________________________________________ >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 ) From andym@ActiveState.com Wed Oct 25 21:31:03 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:31:03 -0700 Subject: [Zope] deleting through iteration References: Message-ID: <004b01c03ec2$7e8c5f00$ae03a8c0@fork> In a catalog, id is not the id of an object, data_record_id_ is. ----- Original Message ----- From: "Scott Burton" To: "Zope List" Sent: Wednesday, October 25, 2000 11:19 AM Subject: [Zope] deleting through iteration > This seems as if it would work to delete all objects of a certain meta-type > but it gives me an error. > > > > > The error is: > Error Type: BadRequest > Error Value: 971722944 does not exist > > Although, I know it does, I can see it in the ODB. > > TIA, > > Scott > > > _______________________________________________ > 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 ) > From andym@ActiveState.com Wed Oct 25 21:33:59 2000 From: andym@ActiveState.com (Andy McKay) Date: Wed, 25 Oct 2000 13:33:59 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <005901c03ec2$e7acc150$ae03a8c0@fork> Attribute error means it can find some value. Without some more information it is impossible to say. ----- Original Message ----- From: "Petr Knapek" To: Sent: Wednesday, October 25, 2000 1:02 PM Subject: [Zope] Python product - inherittance > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 > > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) > From drusch@globalcrossing.com Wed Oct 25 21:33:43 2000 From: drusch@globalcrossing.com (Daniel Rusch) Date: Wed, 25 Oct 2000 15:33:43 -0500 Subject: [Zope] [Fwd: [Zope] Not grocking RESQUEST.set syntax] Message-ID: <39F743A7.35961A81@globalcrossing.com> This is a multi-part message in MIME format. --------------A4F08EE34F11FE96757B67E0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------A4F08EE34F11FE96757B67E0 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <39F7436F.E6F1CD5B@globalcrossing.com> Date: Wed, 25 Oct 2000 15:32:47 -0500 From: Daniel Rusch X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Noah Subject: Re: [Zope] Not grocking RESQUEST.set syntax References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try: This assumes that MyFavoiteZSQLMethod returns the variable filename Dan Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > > _______________________________________________ > 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 ) --------------A4F08EE34F11FE96757B67E0-- From Jerry.Spicklemire@IFLYATA.COM Wed Oct 25 22:16:13 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Wed, 25 Oct 2000 16:16:13 -0500 Subject: [Zope] ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733909@innt-73.ata.com> Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog pops-up when a user attempts to edit a form, but the correct name and password are rejected. Has anyone found a little detail that needs tweking to get past this one? Thanks, Jerry S. From kthangavelu@earthlink.net Wed Oct 25 18:23:40 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:23:40 -0700 Subject: [Zope] Python product - inherittance References: <87itqgzo2o.fsf@knapek.pvt.net> Message-ID: <39F7171C.A0E657B6@earthlink.net> Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is not possible to call functionA of an instance > of classB. There is 'Error Type: AttributeError'. Does anybody know > where the problem is? I use Zope 2.1.6 its probably a security error. you need to either enable subobject access or explicitly register the method as part of the products permissions. something like this allow_access_to_unprotected_subobjects=1 this is not the recommended way to it as you'll open up the entire product to access. buts it useful to identify if its a security issue. kapil > Thanks, Petr > -- > Petr Knápek > NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic > e-mail: knapek@nextra.cz > > _______________________________________________ > 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 ) From kthangavelu@earthlink.net Wed Oct 25 18:29:55 2000 From: kthangavelu@earthlink.net (Ender) Date: Wed, 25 Oct 2000 10:29:55 -0700 Subject: [Zope] Not grocking RESQUEST.set syntax References: Message-ID: <39F71893.9F269F08@earthlink.net> Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. thats because you're working on the results returned by a zsql method which is a result object, you want access to values within it. try this returns the list of dictionaries that represent rows in the table, with column names as keys and column values as values. you can reference lib/python/Shared/DC/ZRDB/Results.py for more info on the results object kapil From ws@mystrobl.de Wed Oct 25 23:50:26 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 00:50:26 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: References: <39F74CFC.3122.C98619C@localhost> Message-ID: <39F77FD2.29598.ACA84FE@localhost> On 25 Oct 2000, at 16:00, J. Atwood wrote: > "Months without rebooting"? > > That is certainly not something to brag about. Huh? Did anybody? Certainly not me. :-{ In case I didn't make myself clear: for running Zope; I don't care much whether the OS needs a reboot every month, every year, or every decade, when I have to upgrade and/or restart Zope for installing Hotfixes and/or new products, every other month, anyway. >With three of my > installations of Zope on Linux I have the machines at 194, 204 and 55 days > of uptime (and the 55 was because of a bad powerstrip, the other others have > been up since I brought them up). So what. I'm using an old 3.51 server on one of my companies intranets here, serving as a backup domain controller plus a few other, less important services, which is running for about half a year now (power failure in the machine room, too). That machine has begun life as a OS/2 Lanmanager server (ca '90), and has been upgraded almost seamlessly again and again, both in hardware and in software, since. > While NT can and does stay up for long > periods of time, it still is a very poor server choice as anything you > install leads to a reboot. Well, W2K certainly has more capabilities here, and Linux, for example, is somewhat better in some (!) areas, but "anything" is a gross exaggeration. > I have installed countless things on the Linux > boxes and never brought it down. That is the difference and makes all the > difference when it comes to a website. The vagueness of the first statement doesn't justify your conclusing, IMHO. But to each his own. From cesar@rotnet.com.br Wed Oct 25 23:50:36 2000 From: cesar@rotnet.com.br (Cesar A. K. Grossmann) Date: Wed, 25 Oct 2000 20:50:36 -0200 Subject: [Zope] Filling Multiple Select Problem Message-ID: <39F763BC.4EC0DE21@rotnet.com.br> Hi! I'm using the example at the "Filling MULTIPLE SELECT OPTION's with database lists", and a little step doesn't works. I heve the following in the DTML Method that fills two SELECT in a Web Form: (...) (...) The code above runs. To verify that, I put a and a , that prints the contents of the lists above. The code that is not running is the one bellow: (...) The code above creates a SELECT list like the one bellow: but the part doesn't function. I have some of the values of "codigo" in the cadExportacao list, but the "SELECTED" corresponding code doesn't appears. Can someone tells me what is wrong? Sorry the bad english... []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Any member introducing a dog into the Society's premises shall be liable to a fine of one pound. Any animal leading a blind person shall be deemed to be a cat. -- Rule 46, Oxford Union Society, London From bill.anderson@libc.org Wed Oct 25 23:50:58 2000 From: bill.anderson@libc.org (Bill Anderson) Date: Wed, 25 Oct 2000 16:50:58 -0600 Subject: [Zope] OT:NT and rebooting References: <39F74CFC.3122.C98619C@localhost> <39F77FD2.29598.ACA84FE@localhost> Message-ID: <39F763D2.3C74036B@libc.org> Wolfgang Strobl wrote: > > On 25 Oct 2000, at 16:00, J. Atwood wrote: > > > "Months without rebooting"? > > > > That is certainly not something to brag about. > > Huh? Did anybody? Certainly not me. :-{ > > In case I didn't make myself clear: for running Zope; I don't care > much whether the OS needs a reboot every month, every year, or > every decade, when I have to upgrade and/or restart Zope for > installing Hotfixes and/or new products, every other month, > anyway. OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. If you are used to uptimes measured in years, or 'always on' environments, then NT's uptime rates are abject failures. That's not a slight, it is a statement of fact that even Mr. Gates himself agrees with and understands. If, on the other hand, you don't come from that background or need, and are not used to that type of environment, a few months to six months to nearly a year can mean something to you. So, this is *one* of the reasons we see these arguments about uptime from both sides of the windows vs everything else uptime wars. Some measure days, some months, and otehrs measure in terms of years. > >With three of my > > installations of Zope on Linux I have the machines at 194, 204 and 55 days > > of uptime (and the 55 was because of a bad powerstrip, the other others have > > been up since I brought them up). > > So what. I'm using an old 3.51 server on one of my companies > intranets here, serving as a backup domain controller plus a few > other, less important services, which is running for about half a > year now (power failure in the machine room, too). That machine > has begun life as a OS/2 Lanmanager server (ca '90), and has > been upgraded almost seamlessly again and again, both in > hardware and in software, since. And has been rebooted to perfrom those upgrades (software, the hardware is obvious), has it not? > > While NT can and does stay up for long > > periods of time, it still is a very poor server choice as anything you > > install leads to a reboot. > > Well, W2K certainly has more capabilities here, and Linux, for > example, is somewhat better in some (!) areas, but "anything" is > a gross exaggeration. While I agree that 'anything' is a poor choice of words, unless you are changing kernels and/or glibc, Linux does not require a reboot for install of any software (that I am aware of, and that is a high amount of software mind you). There is work in progress to alleviate that as well. Not quickly, as it is a rather complex undertaking, but it is ongoing. IIRC, kernel 2.4 will/does have support for hot swappable PCI devices on hardware that has it (yes, you can get Intel-compat hardware with that). Last I checked, if you try to hot-swap a keyboard or mouse, all versions minus 2k (haven't tried it there), will die. As far as 'lack of need to reboot' goes when concerning upgrades, Linux wins hands down.. So, the question regarding uptime is more a question of needs. Some of us need 24x7 availablility, and 5 nines. Some do not. For those of us needing 5 nines, we can use Unix/Linux to provide that. If you don't need it (and not everyone does), use other criteria more appropriate to your needs. -- E PLURIBUS LINUX From curtis@cardgate.net Thu Oct 26 00:38:31 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 10:38:31 +1100 Subject: [Zope] Not grocking RESQUEST.set syntax In-Reply-To: References: Message-ID: <00102610383105.00650@localhost.localdomain> On Thu, 26 Oct 2000, Noah wrote: > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something like: > I think your simplest option is to use: All that _.Non, _ stuff is the namespace etc that Zope normally passes to your methods. (I don't fully understand it, I just know it works :) > I tried sticking this inside to get > at the sequence-item, but I just ended up getting confused. > > Yours, > Noah > Have a better one, Curtis. From nolan_d@bigfoot.com Thu Oct 26 01:05:13 2000 From: nolan_d@bigfoot.com (Nolan Darilek) Date: Wed, 25 Oct 2000 19:05:13 -0500 Subject: [Zope] Folder-specific metatypes? Message-ID: <20001025190513R.nolan@tiny> I'm working on a product in Python which implements a folder, but restricts the metatypes of the objects which can be added. How, exactly, do I go about doing this? I've tried overriding the filtered_meta_types method, but I'm returning a list, and it seems that I should return a list of dictionaries instead, but I'm not entirely sure how the metatype is converted into a dictionary. I also noticed the _product_meta_types variable, but rgreps of the zope code didn't reveal anything about this variable. Am I on the right track with these? Thanks. From vtwiddy@senet.com.au Thu Oct 26 02:14:14 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Thu, 26 Oct 2000 10:44:14 +0930 (CST) Subject: [Zope] Zope & python 2 Message-ID: Hi all Is anyone using or know the current state of Zope with python 2.0 ? Thanks Joe From etienne.alaurent@free.fr Thu Oct 26 02:22:20 2000 From: etienne.alaurent@free.fr (Etienne ALAURENT) Date: Thu, 26 Oct 2000 03:22:20 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <00102603294900.11535@localhost.localdomain> Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr From curtis@cardgate.net Thu Oct 26 02:47:49 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Thu, 26 Oct 2000 12:47:49 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: Message-ID: <0010261247490E.00650@localhost.localdomain> On Thu, 26 Oct 2000, Mark Twiddy wrote: > Hi all > > Is anyone using or know the current state of Zope with python 2.0 ? > I've been somewhat curious about this myself. Will there need to be large changes now that strings are proper objects? (the string functions are now methods of strings). If so, will this mean the phasing out of _.string ? Will the new Unicode support, does this mean Zope is now a big step closer to i18n? And from the looks of things there are a large number of small changes that could be made to improve performance (such as the new 'augmented assignment' operators [ += *= /= and so on] ).... > Thanks > > Joe > watching closely, Curtis From ws@mystrobl.de Thu Oct 26 07:30:33 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Thu, 26 Oct 2000 08:30:33 +0200 Subject: [Zope] OT:NT and rebooting In-Reply-To: <39F763D2.3C74036B@libc.org> Message-ID: <39F7EBA9.19102.C6FC591@localhost> On 25 Oct 2000, at 16:50, Bill Anderson wrote: > OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of > experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of these statements. Just let me remark that I dislike marketing gibberish independed of the origin it comes from. I made my point, i.e. as long as Zope isn't up to serving as a single-instance long time server anyway, who cares about the underlying OS. It might be hard to comprehend for some, but this statement doesn't say anything about how I value uptime rates. [...] > If, on the other hand, you don't come from that background or need, and > are not used to that type of environment, a few months to six months to > nearly a year can mean something to you. Well, I still remember the times when my companies large IBM mainframe had to be IPLed for hardware maintenance, after running literally for years, while our Unix based workstations and servers celebrated their crashes almost daily. In these times, I had to relink the kernel and to reinstall the OS, in order to add a lousy floppy drive or some memory to my Unix workstation. Eeek. The statelessness of NFS, for example, came for a reason, you know. -- Wolfgang Strobl From administrator@consotec.de Thu Oct 26 07:50:20 2000 From: administrator@consotec.de (administrator@consotec.de) Date: 26 Oct 00 06:50:20 UT Subject: [Zope] ZFormulator Message-ID: --------------1DD2510B41FE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > --------------1DD2510B41FE-- From zope@isp.lu Thu Oct 26 08:08:26 2000 From: zope@isp.lu (zope) Date: Thu, 26 Oct 2000 09:08:26 +0200 Subject: [Zope] LDAP and zope2.2.2 Message-ID: <4.3.2.7.2.20001026081832.00b14100@mail.isp.lu> Hi. I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch. I have configured an LDAP filter method called searchperson qith the filter 'uid=*'. So, how can I access the attributes and its values? gives me the whole array. Unfortunately, I can't access the variable like But this worked well in zope 2.1.6. Any ideas? Marc Ludwig From maxm@normik.dk Thu Oct 26 08:04:34 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 09:04:34 +0200 Subject: [Zope] Access to an external site from zope site Message-ID: <7BD10B680501D411B9DF009027E06F32197AA0@exchange> There is no simple way of doing it. You would have to write a product that accepts an URL as a parameter like: http:www.yoursite.com/foreign?url=http.//www.othersite.com/somepage.htm Then your product should take all href's in the new document and rename them like the above. Image src's only need to be renamed to absolute paths. Forms need some special attention too. Even thinking about cookies, parameter passing and all the other stuff that can go on between the two sites is enough to make my head spin. Getting a single page from another site is somewhat easier though, but you still would need to make all the url's in the remote document absolute, including "img src's" and "forms action" , so that would take some html parsing. Regards Max M -----Original Message----- From: Etienne ALAURENT [mailto:etienne.alaurent@free.fr] Sent: Thursday, October 26, 2000 3:22 AM To: zope@zope.org Subject: [Zope] Access to an external site from zope site Hello, I want to read and parse all HTML files from another server as if they came from my server. I know I can use ZClient to read and parse one HTML file. But how can I do for a complete site ? I'm not in the mailing list, so please send me any comment at etienne.alaurent@free.fr _______________________________________________ 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 ) From Danny@Adair.net Thu Oct 26 08:53:34 2000 From: Danny@Adair.net (Danny William Adair) Date: Thu, 26 Oct 2000 09:53:34 +0200 Subject: [Zope] Calling form elements by name In-Reply-To: Message-ID: I should have posted your version, it's more explicit: -------------------------------------------


------------------------------------------- does not work either. Anyone? tia, Danny -----Ursprüngliche Nachricht----- Von: Steve Drees [mailto:drees@the-bridge.net] Gesendet: Mittwoch, 25. Oktober 2000 22:24 An: Danny@Adair.net Betreff: RE: [Zope] Calling form elements by name > > > thePos=Position > nameAsAString="Prefix+thePos"> >
>
>
>
> >
is Position a string? I'd try


> From matt.bion@eudoramail.com Thu Oct 26 10:06:01 2000 From: matt.bion@eudoramail.com (Matt) Date: Thu, 26 Oct 2000 22:06:01 +1300 Subject: [Zope] Cleaner stylr Message-ID: <39F7F3F8.831CA9AB@eudoramail.com> Hi I have the following in a method The idea here is that a few levels back I have a folder called text_repository. The method that the obove comes from is called by a form that sets the variable new_id. I have already created another folder in text_repository called text_container_new_id .... where new_id is variable, and there are many of them. The method above starts throwing namespaces on the stack and then creates an instance of a text ZClass that I have made. It all works nicely, but seems an rather nasty way to do it. What are preferred ways of doing this ? and is this really something that people feel is better in an external method as opposed to a dtml method. The reason why I am backtracking all over the place is because I tend to put my methods and forms into a sub folder, which may not be the best idea. I.e. the hierachy is somwhat as follows : text_main /text_methods/text_add_form_method text_main /text_methods/text_accept_method(which is where above snippet is from) text_main/text_repository/ text_main/text_repository/text_container_15562/ text_main/text_repository/text_container_15562/text_ZClass_instance1 text_main/text_repository/text_container_15562/text_ZClass_instance2 regards Matt From tdickenson@geminidataloggers.com Thu Oct 26 10:12:44 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:12:44 +0100 Subject: [Zope] Zope & python 2 In-Reply-To: <0010261247490E.00650@localhost.localdomain> References: <0010261247490E.00650@localhost.localdomain> Message-ID: >> Hi all >> >> Is anyone using or know the current state of Zope with python 2.0 ? > >I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a production server yet. (I would certainly recommend you dont if you allow untrusted users to write dtml) >Will there need to be large changes now that strings are proper objects? (the >string functions are now methods of strings). If so, will this mean the >phasing out of _.string ? _.string is unlikely to go away. String methods are currently inaccessible TTW. The security implications of opening this up have not yet been assessed. >Will the new Unicode support, does this mean Zope is now a big step closer to >i18n? My patches to give Zope full (full enough for me) unicode support are at http://www.zope.org/Members/htrd/wstring. >And from the looks of things there are a large number of small changes that >could be made to improve performance (such as the new 'augmented assignment' >operators [ += *= /= and so on] ).... It seems likely that they will not be available in dtml (for the same reasons as regular assignment). The case for PythonMethods has not yet been investigated >watching closely, Not closely enough ;-) Toby Dickenson tdickenson@geminidataloggers.com From tdickenson@geminidataloggers.com Thu Oct 26 10:15:48 2000 From: tdickenson@geminidataloggers.com (Toby Dickenson) Date: Thu, 26 Oct 2000 10:15:48 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <005701c03ea2$cb7a5530$1e00010a@plym> References: <005701c03ea2$cb7a5530$1e00010a@plym> Message-ID: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" wrote: >We are building some device controller software and to control those we have >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >such a modest setup? There is only going to be one or two users connected to >Zope at once, so we don't need much performance in terms of page views per >second :) Yes, Im using Zope in a similar scenario and it works well. I found a benefit in using a smaller number of publisher threads (I use -T 2 ). Each thread gets its own copy of the ODB, which is an unnecessary memory hog for the expected load. Toby Dickenson tdickenson@geminidataloggers.com From jornd@falch.net Thu Oct 26 11:28:32 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:28:32 +0200 Subject: [Zope] Apache in front of ZServer In-Reply-To: "Stephan Goeldi"'s message of "Wed, 25 Oct 2000 13:06:53 GMT" References: Message-ID: <87snpj5227.fsf@ranga.falch.net> * "Stephan Goeldi" | >On a second thought: What I _really_ want (I think, unless someone | >tells me differently :-) ) is a conditional ProxyPass, to tell apache | >to redirect everything _unless_ the URI is /static (or something). | | When you ProxyPass so: | | ProxyPass /static/ http://www.website.com:80/static/ | ProxyPass / http://www.website.com:8080/ | | It should work as you want. Keep the order (root is last line). Seems simple enough. Thanks. Will try. -- Jørn Helge B. Dahl http://falch.net From jornd@falch.net Thu Oct 26 11:54:58 2000 From: jornd@falch.net (Jørn Helge B. Dahl) Date: 26 Oct 2000 12:54:58 +0200 Subject: [Zope] Bug tracking tool Message-ID: <87k8av50u5.fsf@ranga.falch.net> Does anybody know of a bug tracking product for Zope which is free to try out? I found , which seemed to be nice, but I didn't see where to get it. -- Jørn Helge B. Dahl http://falch.net From maxm@normik.dk Thu Oct 26 12:49:02 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 13:49:02 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> I would have thought that the two examples below where equivalent but only the top one works like expected. (It renders the page.) The second one just shows the source of the vanilla dtml page. -- test = HTMLFile('vanilla', globals()) -- def test(self): "A simpe test method" return HTMLFile('vanilla', globals()) -- How do I execute the dtml file in a method. I have searched the documentation, but it is sketchy to say the least. I cannot use the first approach as I need to define the filename on the fly in my method. def test(self): "A simpe test method" return HTMLFile('skins/' + self.skin, globals()) self.skin is only available in my object, so naturally if I try to say: test = HTMLFile('skins/' + self.skin, globals()) I get an error. Regards Max M From ckant@fazenda.gov.br Thu Oct 26 13:52:53 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Thu, 26 Oct 2000 10:52:53 -0200 Subject: [Zope] ZClass and SQL Table Message-ID: <39F82925.50846FCD@fazenda.gov.br> Hi I have an old system based on a SQL database, and wanna to make a Web version of it. Are there any way to represent the SQL tables as ZClasses? I mean, the attributes of the ZClasses be stored in a SQL table? TIA -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A long-forgotten loved one will appear soon. Buy the negatives at any price. From shevett@homeport.org Thu Oct 26 14:27:38 2000 From: shevett@homeport.org (Dave Belfer-Shevett) Date: Thu, 26 Oct 2000 09:27:38 -0400 (EDT) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage Message-ID: Hey there folks. I've just downloaded and installed these Products into my Zope instance. I'd talk to any of the support groups / lists / etc for these Products, but I can't find anythign aside from the author link, and a few small hints on the download page. I -think- I'm setting up an Album properly. Here are the steps, someone please tell me if this is not correct (There's an error that happens that I'll report in a moment...) 1) Install all the packages 2) Import ZPhotoAlbum via the Control panel 3) Go to whatever directory I want to run from 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) go into 'abc' folder (note the only thing in it right now is 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go into 'page1' folder 8) Add a ZPhoto Okay, here's where it gets fuzzy. My initial impression is "okay, tha'ts it. Just keep adding ZPhotos to populate the album". But when going to url.url.com/abc/ I just get the default 'index.html'. Tinkering, I found the 'Restore DTML' button up on the toolbar for the PhotoAlbum. So I click that, and get a lot more content in the folder in the management screen. Now when I go to url.url.com/abc/, I see my index, the AlbumPage, and the ZPhoto that I added. Here's where the problem happens. There are 2 buttons at the bottom of the page called 'fancy view' and 'explore view'. They should allow different views of the indexes. But when I click on one, I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: defined_views here's the traceback: Traceback (innermost last): File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: CatalogAware) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/shevett/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: switch_view) File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: switch_view) File /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: switch_view) File /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: view not in defined_views or not view_id) (Info: defined_views) File , line 0, in ? NameError: (see above) Any suggestions? -------------------. Web-based problem management: www.stonekeep.com Dave Belfer-Shevett >----------------------------------------------------. shevett@pobox.com / I like you... I'll kill you last... (from 'Handy \ ------------------< work phrases') | \______________________________________________________/ From chrisw@nipltd.com Thu Oct 26 14:22:38 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:22:38 +0100 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <39F8301E.2746E20C@nipltd.com> You can get it out of the CVS repository at cvs.zope.org. If you can find it, I guess drop Ken a mail :-S cheers, Chris "JXrn Helge B. Dahl" wrote: > > Does anybody know of a bug tracking product for Zope which is free to > try out? I found , which > seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > _______________________________________________ > 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 ) From ytotty@atinucleus.com Thu Oct 26 14:22:47 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 08:22:47 -0500 Subject: [Zope] Z SQL Objects (Newbie) Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_002A_01C03F25.EBF02E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I=20 have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a = SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a call
specific to each team. I am passing in three=20 parameters,
two=20 of which go in the sql statement, the other goes in
the=20 if statement:
<:if "team=3D'S"'>
sql=20 statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It=20 tells me it doesn't like the syntax of the 'if' (I = have
stuff in the python file that lets me use ':' = in place=20 of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If=20 you guys know of another reference, please let me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
 
------=_NextPart_000_002A_01C03F25.EBF02E60-- From chrisw@nipltd.com Thu Oct 26 14:25:52 2000 From: chrisw@nipltd.com (Chris Withers) Date: Thu, 26 Oct 2000 14:25:52 +0100 Subject: [Zope] How to render a HTMLFile in a method in a product References: <7BD10B680501D411B9DF009027E06F32197AA6@exchange> Message-ID: <39F830E0.3C6C51E3@nipltd.com> Max Møller Rasmussen wrote: > def test(self): > "A simpe test method" > return HTMLFile('skins/' + self.skin, globals()) This is the closest. try the following: testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin, globals())(None,md) cheers, Chris From odeckmyn.list@teaser.fr Thu Oct 26 14:44:41 2000 From: odeckmyn.list@teaser.fr (Olivier Deckmyn) Date: Thu, 26 Oct 2000 15:44:41 +0200 Subject: [Zope] Bug tracking tool References: <87k8av50u5.fsf@ranga.falch.net> Message-ID: <00b301c03f52$e46a8c30$0d00000a@ODECKMYN2K> AFAIK, You have to get it through CVS... ----- Original Message ----- From: "Jørn Helge B. Dahl" To: Sent: Thursday, October 26, 2000 12:54 PM Subject: [Zope] Bug tracking tool > Does anybody know of a bug tracking product for Zope which is free to > try out? I found seemed to be nice, but I didn't see where to get it. > > -- > Jørn Helge B. Dahl > http://falch.net > > > _______________________________________________ > 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 ) > > From maxm@normik.dk Thu Oct 26 14:42:13 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Thu, 26 Oct 2000 15:42:13 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AA7@exchange> From: Chris Withers [mailto:chrisw@nipltd.com] Thanks for the reply >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) Is this documented anywhere? I have a little trouble using code I don't understand. Pretty Please. Regards Max M From zope@grewen.de Thu Oct 26 14:51:08 2000 From: zope@grewen.de (Jens Grewen) Date: Thu, 26 Oct 2000 15:51:08 +0200 Subject: [Zope] Z SQL Objects (Newbie) References: Message-ID: <002401c03f53$f1f25580$0300a8c0@windows> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message -----=20 From: Yvonne Totty=20 To: zope@zope.org=20 Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in=20 the if statement: <:if "team=3D'S"'> sql statement <:elif "team=3D'C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=3D=3D'S'", "team=3DS", "team=3D=3DS", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_0021_01C03F64.8EB0BA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects=20 (Newbie)

I=20 have the O'Reilly book, but can't seem to find = more
complete information on how to do 'if's' in = a SQL=20 thing.
 
Here's the scenario:
I=20 have three different 'teams' and want to run a = call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other goes=20 in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if' (I=20 have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_0021_01C03F64.8EB0BA00-- From jjunior@cidadei.com.br Thu Oct 26 16:09:59 2000 From: jjunior@cidadei.com.br (Joaldo Junior) Date: Thu, 26 Oct 2000 12:09:59 -0300 Subject: [Zope] regex Message-ID: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> how to for use function regex in zope? please send examples. From ytotty@atinucleus.com Thu Oct 26 15:44:51 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 09:44:51 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Error message stuff: Expression (Python) Syntax error: invalid syntax , for tag <:if "team=='S'">, on line 23 of Traceback (innermost last): File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_edit) File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_edit) File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, line 242, in manage_edit (Object: TeamDates) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 383, in cook (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 228, in parse (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 292, in parse_block (Object: ) File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, line 126, in parse_error (Object: ) Document Template Parse Error: (see above) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? ------=_NextPart_000_005C_01C03F31.634E5800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Error message stuff:
Expression (Python) Syntax error: =
invalid syntax
, for tag <:if "team=3D=3D'S'">, on = line 23 of=20 <string>
Traceback (innermost last):
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, =
in publish_module
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 187, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 171, =
in publish
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
    (Object: manage_edit)
  File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 112, =
in call_object
    (Object: manage_edit)
  File C:\Program Files\ATIAnywhere\lib\python\Shared\DC\ZRDB\DA.py, =
line 242, in manage_edit
    (Object: TeamDates)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 383, in cook
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 228, in parse
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 292, in parse_block
    (Object: <string>)
  File C:\PROGRA~1\ATIANY~1\lib\python\DocumentTemplate\DT_String.py, =
line 126, in parse_error
    (Object: <string>)
Document Template Parse Error: (see above)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go outside=20 in these things?
Cyclops: Well, what would you prefer? Yellow=20 spandex?
Hi,
 
Arguments |  = team
 
Query template
 
<dtml-if "team =3D=3D = '5'">
  select *
  from data
<dtml-else>
  select *
  from = data
</dtml-if>
 
this is normal
 
but may it helps if you post the = traceback of the=20 error message
 
Jens Grewen
 
----- Original Message -----
From:=20 Yvonne=20 Totty
Sent: Thursday, October 26, = 2000 3:22=20 PM
Subject: [Zope] Z SQL Objects = (Newbie)

I have the O'Reilly book, but can't seem = to find=20 more
complete information on how to do 'if's' = in a SQL=20 thing.
 
Here's the scenario:
I have three different 'teams' and want = to run a=20 call
specific to each team. I am passing in = three=20 parameters,
two of which go in the sql statement, the = other=20 goes in
the if statement:
<:if = "team=3D'S"'>
sql statement
<:elif = "team=3D'C'">
blah, blah
</:if>
 
It tells me it doesn't like the syntax of = the 'if'=20 (I have
stuff in the python file that lets me use = ':' in=20 place of
'dtml-'). I have tried all the flavors:=20 "team=3D=3D'S'",
"team=3DS", "team=3D=3DS", etc. and it = doesn't like any=20 of
them.
 
If you guys know of another reference, = please let=20 me
know!
 
TIA,
Yvonne 8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yvonne = Totty
Database = Engineer
-------------------------
Wolverine: You = actually go=20 outside in these things?
Cyclops: Well, what would you prefer? = Yellow=20 spandex?
 
------=_NextPart_000_005C_01C03F31.634E5800-- From tony.mcdonald@ncl.ac.uk Thu Oct 26 15:58:53 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Thu, 26 Oct 2000 15:58:53 +0100 Subject: [Zope] How small a box can zope run on? In-Reply-To: <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: At 10:15 am +0100 26/10/00, Toby Dickenson wrote: >On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > >>We are building some device controller software and to control those we have >>a normal 486 with 24MB RAM running linux. Has anybody tried running zope on >>such a modest setup? There is only going to be one or two users connected to >>Zope at once, so we don't need much performance in terms of page views per >>second :) > >Yes, Im using Zope in a similar scenario and it works well. > >I found a benefit in using a smaller number of publisher threads (I >use -T 2 ). Each thread gets its own copy of the ODB, which is an >unnecessary memory hog for the expected load. ????!!! This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few things on our box here and it seems to pan out), then this explains large memory consumption on our servers (roughly 80 - 180 Mbyte RAM used per server). I shall be doing a sweep of our Zope servers and packing the databases (the ODBs that is). One thing though, is there a 'party line' on what number the -T parameter should be set to? Coming from an Apache background, I'm used to having dozens of httpd processes hanging around waiting for something to happen. I've always assumed that threads did much the same thing. Perhaps I'm wrong.... thoughts? Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From phil.harris@zope.co.uk Thu Oct 26 16:28:31 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Thu, 26 Oct 2000 16:28:31 +0100 Subject: [Zope] Z SQL Objects (Newbie) References: <002401c03f53$f1f25580$0300a8c0@windows> Message-ID: <022701c03f61$671411c0$5c773fc1@media1> Yvonne, The format of your 'if' is incorrect: You have <:if .....> it should be so the whole statement is as Jens says below. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: Jens Grewen To: ytotty@atinucleus.com Cc: Zope Maillist Sent: Thursday, October 26, 2000 2:51 PM Subject: Re: [Zope] Z SQL Objects (Newbie) Hi, Arguments | team Query template select * from data select * from data this is normal but may it helps if you post the traceback of the error message Jens Grewen ----- Original Message ----- From: Yvonne Totty To: zope@zope.org Sent: Thursday, October 26, 2000 3:22 PM Subject: [Zope] Z SQL Objects (Newbie) I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the other goes in the if statement: <:if "team='S"'> sql statement <:elif "team='C'"> blah, blah It tells me it doesn't like the syntax of the 'if' (I have stuff in the python file that lets me use ':' in place of 'dtml-'). I have tried all the flavors: "team=='S'", "team=S", "team==S", etc. and it doesn't like any of them. If you guys know of another reference, please let me know! TIA, Yvonne 8) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? From ytotty@atinucleus.com Thu Oct 26 16:29:35 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:29:35 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <20001026112244.V16270@universal-fasteners.com> Message-ID: Jim, Nah, I thought of that, too and it didn't work 8(. I have been using <:sqlvar ...> inside my statements and those seem to be doing just fine. Yvonne 8) > > > Try it with the dtml-if syntax rather than :if. It made a difference for > me. If this works for you, please post a comment. it appears > that the newest > syntax did not filter into ZSQL methods. > > From ytotty@atinucleus.com Thu Oct 26 16:41:07 2000 From: ytotty@atinucleus.com (Yvonne Totty) Date: Thu, 26 Oct 2000 10:41:07 -0500 Subject: [Zope] Z SQL Objects (Newbie) In-Reply-To: <022701c03f61$671411c0$5c773fc1@media1> Message-ID: Well, I will be darned, it did work. I must have left out the quotes before when I tried it. That is weird, how, in the very same object, the <:sqlvar...> works, but <:if... > doesn't. Thanks so much!!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer ------------------------- Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow spandex? > Yvonne, > > The format of your 'if' is incorrect: > > You have <:if .....> it should be > > so the whole statement is as Jens says below. > > hth > > Phil > phil.harris@zope.co.uk > > > ----- Original Message ----- > From: Jens Grewen > To: ytotty@atinucleus.com > Cc: Zope Maillist > Sent: Thursday, October 26, 2000 2:51 PM > Subject: Re: [Zope] Z SQL Objects (Newbie) > > > Hi, > > Arguments | team > > Query template > > > select * > from data > > select * > from data > > > this is normal > > but may it helps if you post the traceback of the error message > > Jens Grewen > > ----- Original Message ----- > From: Yvonne Totty > To: zope@zope.org > Sent: Thursday, October 26, 2000 3:22 PM > Subject: [Zope] Z SQL Objects (Newbie) > > > I have the O'Reilly book, but can't seem to find more > complete information on how to do 'if's' in a SQL thing. > > Here's the scenario: > I have three different 'teams' and want to run a call > specific to each team. I am passing in three parameters, > two of which go in the sql statement, the other goes in > the if statement: > <:if "team='S"'> > sql statement > <:elif "team='C'"> > blah, blah > > > It tells me it doesn't like the syntax of the 'if' (I have > stuff in the python file that lets me use ':' in place of > 'dtml-'). I have tried all the flavors: "team=='S'", > "team=S", "team==S", etc. and it doesn't like any of > them. > > If you guys know of another reference, please let me > know! > > TIA, > Yvonne 8) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Yvonne Totty > Database Engineer > ------------------------- > Wolverine: You actually go outside in these things? > Cyclops: Well, what would you prefer? Yellow spandex? > > From twcook@iswt.com Thu Oct 26 17:07:27 2000 From: twcook@iswt.com (Tim Cook) Date: Thu, 26 Oct 2000 11:07:27 -0500 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F856BF.A8B104CA@iswt.com> Tony McDonald wrote: > This is the first I've ever seen written on this subject. If it's > correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From andym@ActiveState.com Thu Oct 26 17:30:25 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:30:25 -0700 Subject: [Zope] regex References: <70DA17B25830D411AD6500508B11CB4B3689FF@PRIMA-EXC01> Message-ID: <007301c03f6a$0bcb9af0$ae03a8c0@fork> Regex is not available in dtml. You have to use python and import it. ----- Original Message ----- From: "Joaldo Junior" To: Sent: Thursday, October 26, 2000 8:09 AM Subject: [Zope] regex > how to for use function regex in zope? > > please send examples. > > _______________________________________________ > 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 ) > From andym@ActiveState.com Thu Oct 26 17:39:33 2000 From: andym@ActiveState.com (Andy McKay) Date: Thu, 26 Oct 2000 09:39:33 -0700 Subject: [Zope] Re: Re:[Zope] ZFormulator References: Message-ID: <00ab01c03f6b$53715240$ae03a8c0@fork> There was a problem with the ODBC adapter under 2.2.0 where the permissions werent applied properly. There was a patch that was then incorporated into later releases 2.2.1 onwards. ----- Old Message ---- In case anyone else didnt read my thread there is an apparently known but not seemingly well documented problem with ODBC in Zope 2.2. The solution is here: Index: RDB.py =================================================================== RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v retrieving revision 1.24.32.1 retrieving revision 1.24.32.2 diff -c -r1.24.32.1 -r1.24.32.2 *** RDB.py 2000/07/12 17:38:03 1.24.32.1 --- RDB.py 2000/07/17 15:03:55 1.24.32.2 *************** *** 85,92 **** __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $''' ! __version__='$Revision: 1.24.32.1 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join --- 85,92 ---- __doc__='''Class for reading RDB files ! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $''' ! __version__='$Revision: 1.24.32.2 $'[11:-2] import regex, regsub from string import split, strip, lower, upper, atof, atoi, atol, find, join *************** *** 123,128 **** --- 123,132 ---- """Class for reading RDB files """ _index=None + + # We need to allow access to not-explicitly-protected + # individual record objects contained in the result. + __allow_access_to_unprotected_subobjects__=1 def __init__(self,file,brains=NoBrains, parent=None, zbrains=None): -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People _______________________________________________ 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 ) ----- Original Message ----- From: To: Sent: Wednesday, October 25, 2000 11:50 PM Subject: Re:[Zope] ZFormulator Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno arno.gross@consotec.de > Hi Martijn, and Zope Fans, > > I'm using ZFormulator and having problems with permissions > on Zope v.2. The sign-on dialog pops-up when a user > attempts to edit a form, but the correct name and password > are rejected. Has anyone found a little detail that needs > tweking to get past this one? > > From complaw@hal-pc.org Thu Oct 26 17:59:45 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 16:59:45 GMT Subject: [Zope] Reverse SendMail Question Message-ID: <200010261659.LAA23072@mail.hal-pc.org> Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc the project and all the e-mail could be viewed centrally. Any ideas? Ron ./. From p@state-of-mind.de Thu Oct 26 17:57:48 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Thu, 26 Oct 2000 18:57:48 +0200 Subject: [Zope] display owner [repost] Message-ID: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org code, took a look at the Owned.py etc. I just can't figure it out. Somebody help me? Thanks, p@ From jatwood@bwanazulia.com Thu Oct 26 18:20:19 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 13:20:19 -0400 Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: There is a product that does this.. of course, I cannot for the life of me remember its name. J > From: complaw@hal-pc.org > Date: Thu, 26 Oct 2000 16:59:45 GMT > To: zope@zope.org > Subject: [Zope] Reverse SendMail Question > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do > is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > > _______________________________________________ > 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 ) > > From grizel@mouli.net Thu Oct 26 18:22:31 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:22:31 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F86857.4BE7117D@mouli.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. > > _______________________________________________ > 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 ) What a good idea !! In fact, I think we should instead allow the sendmail program to serve HTTP requests !... ;-) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From grizel@mouli.net Thu Oct 26 18:28:04 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Thu, 26 Oct 2000 19:28:04 +0200 Subject: [Zope] display owner [repost] References: Message-ID: <39F869A4.AB20ADF4@mouli.net> Patrick Koetter wrote: > > Hi all, > > I posted this the last days, but didn't get quite what I needed. > > I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method > or -Document etc.) in order to display this to the surfers when they drop > by. > > I've searched through zope.org code, took a look at the Owned.py etc. I just > can't figure it out. Somebody help me? > > Thanks, > > p@ > > _______________________________________________ > 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 ) Yes, not so obvious, but this might work : Managed by
This is based on a previous post (about a year ago ?...) by someone else I cannot thank - as I cannot remember his name ! :-)) P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From Henny van der Linde" Hi, This should be very simple but I can't get it to work. I have a method called do_login. This method can't be viewed by anonymous users. When I call this method just with a standard login screen is presented as expected. Now I want tot trap login errors with a try construction such as this:

Login error, please try again (etc.)

Login ok

In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? Is there an elegant way to trap login errors resulting from an URL? URL link to a secured object, standard login screen presented, wrong input etc. Thanks Henny van der Linde From rik.hoekstra@inghist.nl Thu Oct 26 19:58:54 2000 From: rik.hoekstra@inghist.nl (Rik Hoekstra) Date: Thu, 26 Oct 2000 20:58:54 +0200 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <020001c03f7e$caa1bb80$fe5da182@michieltje> > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > There has been quite a bit of discussion/ideas exchange on this in a zope-dev thread about the ZWikiNG (new generation), search the archives (or the Wiki at http://dev.zope.org/Wikis/DevSite/Proposals/WikiNG amd especially the discussion page). There is also a product called ZMailIn available from http://www.zope.org/Members/NIP/ZMailIn/ Rik From jim@holthaus.com Thu Oct 26 19:20:24 2000 From: jim@holthaus.com (Jim Holthaus) Date: Thu, 26 Oct 2000 13:20:24 -0500 Subject: [Zope] DTML and acquisition question Message-ID: <00102614070603.08458@logrus.holthaus.home> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If A contains B which contains C which contains D (tree view) A B C D and I am in A, how do I get to an item in D? What if B and C are dynamic? - -- Jim Holthaus (pronunciation: HOLT house) jim@holthaus.com PGP Public Key at http://www.holthaus.com/jim/pgpkey.html Learn about PGP at http://www.holthaus.com/jim/pgp.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI f7leyiFJonYWWaOqI/SPd8ZQ =JUHP -----END PGP SIGNATURE----- From slinkp23@yahoo.com Thu Oct 26 20:15:51 2000 From: slinkp23@yahoo.com (Paul Winkler) Date: Thu, 26 Oct 2000 15:15:51 -0400 Subject: [Zope] Hosting? Message-ID: <39F882E7.47E19D2A@yahoo.com> Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. Requirements: I need a system that can handle a potentially very heavy load, though at first it will be quite small - we're a startup and have no customers yet. Location: We're in the northeast USA and most of our users will probably be in the US as well, so I'd prefer a service in North America. Zope: 2.2 at least, and access to install new products and external methods. I'm currently on codeit.com, but they have zope 2.1 and I need zope >= 2.2 so I can use my custom product derived from PTK 0.9. Storage: We're doing things with digital images - *big* ones - so we need to start at about 100 MB and will need to grow; we'll be storing a *lot* of data for our users. Eventually (probably not until later in 2001) we'll need MUCH more - possibly up to 1 GB eventually. (Beyond that point we will probably just rent a server at rackspace.com or somewhere but first we need to be able to develop a big enough customer base to pay for it.) Data transfer: Several times greater than storage. Users will upload large files which we will then download to our local network, so that's at least 2x our storage needs, plus there's the transfer involved in just using the site. Pricing: since our storage requirements will be continually growing, I'd like a payment plan that enables us to pay for the storage we need and add more as needed. -- ................. paul winkler .................. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com From jatwood@bwanazulia.com Thu Oct 26 20:39:26 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Thu, 26 Oct 2000 15:39:26 -0400 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month. They have great support and bandwidth and claim to be the largest installed base of RH Linux. They also scale pretty well. I have about 10 boxes with them for about year now. Cheers, J > From: Paul Winkler > Date: Thu, 26 Oct 2000 15:15:51 -0400 > To: Zope mailing list > Subject: [Zope] Hosting? > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > > From chrism@digicool.com Thu Oct 26 21:45:41 2000 From: chrism@digicool.com (Chris McDonough) Date: Thu, 26 Oct 2000 16:45:41 -0400 Subject: [Zope] asdasd Message-ID: <000a01c03f90$622694b0$aa063bd0@kurtz> asdasd From nspurrier@bluelight.com Thu Oct 26 22:33:09 2000 From: nspurrier@bluelight.com (Noah) Date: Thu, 26 Oct 2000 14:33:09 -0700 Subject: [Zope] can I turn off I thought of putting around them all, but I am certain that my client would object. Yours, Noah Spurrier From juliodinis@hotmail.com Thu Oct 26 23:55:46 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 22:55:46 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem. this dtml code dont work with siteaccess: some code I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call. Is there a solution? Thanks very much, Júlio Dinis Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From complaw@hal-pc.org Thu Oct 26 22:56:13 2000 From: complaw@hal-pc.org (complaw@hal-pc.org) Date: Thu, 26 Oct 2000 21:56:13 GMT Subject: [Zope] Hosting? Message-ID: <200010262155.QAA13510@mail.hal-pc.org> > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. http://www.codeit.com/ They are the best one I've found. Ron ./. From nichols@tradingconnections.com Thu Oct 26 22:55:18 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Thu, 26 Oct 2000 16:55:18 -0500 Subject: [Zope] Hosting? In-Reply-To: References: <39F882E7.47E19D2A@yahoo.com> Message-ID: <4.3.2.7.2.20001026164808.00c1f8a0@tradingconnections.com> At 10/26/00 03:39 PM, J. Atwood wrote: >Try http://www.rackspace.com. > >You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about >$300 a month. They have great support and bandwidth and claim to be the >largest installed base of RH Linux. They also scale pretty well. I have >about 10 boxes with them for about year now. Although attractive at the low end, the rackspace price seems to jump rapidly. Move to a dual processor, 512MB, weekly backup and you arrive at a price about double what DellHost charges. So we're currently trying DellHost (which is somehow linked up with Interliant). While it is too early to give satisfaction rating, DellHost was not too swift administratively getting the server set up initially and we've had some bandwidth/connectivity issues. -- Dennis Nichols nichols@tradingconnections.com From juliodinis@hotmail.com Fri Oct 27 00:44:13 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Thu, 26 Oct 2000 23:44:13 WEST Subject: [Zope] siteaccess + resolve_url problem Message-ID: Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva >From: "Júlio Dinis Silva" >To: zope@zope.org >Subject: [Zope] siteaccess + resolve_url problem >Date: Thu, 26 Oct 2000 22:55:46 WEST > >Hi all, >I search for a solution in mailing lists but I didnt found a solution, >just people talking about the same problem. > >this dtml code dont work with siteaccess: > > >some code > > >I receive a Resource Not found error. >I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its >a Zope resolve_url call. > >Is there a solution? > >Thanks very much, >Júlio Dinis Silva >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.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 ) > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From lingnau@tm.informatik.uni-frankfurt.de Thu Oct 26 23:44:56 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 26 Oct 2000 22:44:56 GMT Subject: [Zope] Zope/PIL collision - what to do? Message-ID: <8tac58$qh6$1@mars.tm.informatik.uni-frankfurt.de> I'm trying to use the Python Imaging Library in an external Python method to modify some images dynamically. However, when I try to load an image: import Image # from PIL - refers to PIL ImageFile module image = Image.open("foo.png") the method crashes because the Image module sees the Zope »ImageFile« module instead of the one from PIL. The Zope module, of course, does something completely different from the other one. This is on Debian GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 from the distribution. How do I get around this? Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de The only reward of virtue is virtue; the only way to have a friend is to be one. -- Ralph Waldo Emerson From zope@grewen.de Thu Oct 26 23:58:10 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 00:58:10 +0200 Subject: [Zope] DTML and acquisition question References: <00102614070603.08458@logrus.holthaus.home> Message-ID: <001001c03fa0$63dcb5e0$0300a8c0@windows> Hi Jim, If you are in D you can access any object in D C B and A and if you are in A and want to access an object in D then you can use the following syntax If a folder object in A or B is dynamic (with changing names for example) you can get the folder by this for example /get all folders from dynamic B /get all folders from dynamic C /if D is a fix object name in dynamiy C then you can use Jens ----- Original Message ----- From: "Jim Holthaus" To: Sent: Thursday, October 26, 2000 8:20 PM Subject: [Zope] DTML and acquisition question > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > If A contains B which contains C which contains D > (tree view) > A > B > C > D > > and I am in A, how do I get to an item in D? What if B and C are dynamic? > - -- > Jim Holthaus (pronunciation: HOLT house) > jim@holthaus.com > PGP Public Key at http://www.holthaus.com/jim/pgpkey.html > Learn about PGP at http://www.holthaus.com/jim/pgp.html > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.1 > > iQA/AwUBOfiA2n3IcJJ+eC/CEQLANgCgkUTM9taDj2/lD81FU/PPw4s/dsoAoPjI > f7leyiFJonYWWaOqI/SPd8ZQ > =JUHP > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 ) > From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 02:04:54 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Thu, 26 Oct 2000 20:04:54 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Hi Zope Fans, Re. the problems I mentioned in an earlier post, it may be related to an error that turned up when I tried to run the ZF_Demo module. It seems to be unable to locate: "ApplicationDefaultPermissions" Does that ring any bells? A Google Search of Zope.org turns up several references, and it seems to be a part of core Zope, but I have no idea how it could be unavailable. Might the way Zope is started have an impact on which pieces-parts are accessible? The error shows: Traceback (innermost last): File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 179, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 151, in publish File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, line 304, in traverse File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above) Thanks, Jerry S. From cbeaumon@msri.org Fri Oct 27 02:08:25 2000 From: cbeaumon@msri.org (Chris Beaumont) Date: Thu, 26 Oct 2000 18:08:25 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batch processing dtml-in processing dtml-in Message-ID: <39F8D55F.5AE7E34C@msri.org> Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be basically a timeline, with the current date as the default starting point. The idea is that someone can go back in time as well as forward. (links for past events as well as future) So, basically, I'm looking for a not-too-convoluted (i.e. decent performance) way to have the 'default' screen on entry be the batch that contains the item whose datetime value is the next one occurring after the current time. Dtml-in doesn't seem to have a straightforward way to do this, unless I'm overlooking something obvious. Does a solution to this occur to anyone? Thank you. Chris Beaumont cbeaumon@msri.org From kthangavelu@earthlink.net Thu Oct 26 21:05:26 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:05:26 -0700 Subject: [Zope] Reverse SendMail Question References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F88E86.E68A243B@earthlink.net> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the person would have to do is > cc the project and all the e-mail could be viewed centrally. > > Any ideas? > > Ron > ./. (IMO) its not to hard to write a cronn'd python client to retrieve emails sent to an email addr from a pop/imap server and drop them into zope via xml-rpc. i wrote something like this for my first zope contract, dropping the emails into a CatalogAware ZClass, and offering searches of the projects archives via ZCatalog. i believe ZMailin does something like this. kapil From kthangavelu@earthlink.net Thu Oct 26 21:11:07 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:11:07 -0700 Subject: [Zope] which python gets used ... ? References: <39F6CC6A.E972D3A7@home-all.org.uk> Message-ID: <39F88FDB.D13307B8@earthlink.net> Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? > > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before remembering that zope has > its own python. only on windows... > I struggled to install a tgz version though and it > struck me that I was probably not being as efficient as I could be ... > > So the question is: can I run zope using the stock RH6.2 distributions' > own copy of python? check if it has threads try: import threading except: print "this won't work" import sys;sys.exit() print "you can use this python" if not normally a python install is as simple as ./configure --with-threads make su make install you might need to switch your path if you've got both pythons on your system as most will put /usr/bin before /usr/local/bin you can check which one your using with:: which python to fix it in bash :: export PATH=/usr/local/bin:$PATH cheers kapil From kthangavelu@earthlink.net Thu Oct 26 21:18:17 2000 From: kthangavelu@earthlink.net (Ender) Date: Thu, 26 Oct 2000 13:18:17 -0700 Subject: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in References: <39F8D55F.5AE7E34C@msri.org> Message-ID: <39F89189.75095339@earthlink.net> Chris Beaumont wrote: > > Hello, > > I'm using dtml-in to display a long list of events taken from a SQL > table, as part of a calendar, using batch processing, > (basically the example from the DTML reference adapted to use direct > traversal to fetch the table contents) > > I want my calendar to be basically a timeline, with the current date as > the default starting point. The idea is that someone can go back in time > as well as forward. (links for past events as well as future) > > So, basically, I'm looking for a not-too-convoluted (i.e. decent > performance) way to have the 'default' screen on entry be the batch that > contains the item whose datetime value is the next one occurring after > the current time. Dtml-in doesn't seem to have a straightforward way to > do this, unless I'm overlooking something obvious. > > Does a solution to this occur to anyone? do it in sql, this is pretty database dependent, but the ideal way to me would be just where event_date > and just adjust your dtml to call the method with a date arguement. you probably need to use your db's string->date functions to convert the value for comparisions. i think this would offer the best performance, and least code. cheers kapil From jens@digicool.com Fri Oct 27 05:15:58 2000 From: jens@digicool.com (Jens Vagelpohl) Date: Fri, 27 Oct 2000 00:15:58 -0400 Subject: [Zope] Zope/PIL collision - what to do? Message-ID: try something like.... import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees jens ---- Jens Vagelpohl jens@digicool.com Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? ---- on 10/26/00 18:44, Anselm Lingnau at lingnau@tm.informatik.uni-frankfurt.de wrote: > I'm trying to use the Python Imaging Library in an external Python > method to modify some images dynamically. However, when I try to load > an image: > > import Image # from PIL - refers to PIL ImageFile module > image = Image.open("foo.png") > > the method crashes because the Image module sees the Zope »ImageFile« > module instead of the one from PIL. The Zope module, of course, does > something completely different from the other one. This is on Debian > GNU/Linux 2.2 with Zope 2.2.2 (taken from the »unstable« distribution > and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1 > from the distribution. > > How do I get around this? > > Anselm From jleach@mail.ocis.net Fri Oct 27 06:54:56 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Thu, 26 Oct 2000 22:54:56 -0700 (PDT) Subject: [Zope] Calander. Message-ID: hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. If not, perhaps I'll have to whip one up. :) Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From morten@esol.no Fri Oct 27 07:32:53 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 08:32:53 +0200 (CEST) Subject: [Zope] Calander. In-Reply-To: Message-ID: On Thu, 26 Oct 2000, Jason C. Leach wrote: > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. Actually, I'm developing one now, and it's getting pretty decent.. =) Take a look at the Calendar product contained in the latest ZopeGUM release, http://www.zope.org/Members/morphex/ZopeGUM. The calendar product is pretty stable, but I wouldn't use it in a production enviroment just yet. > If not, perhaps I'll have to whip one up. :) If you're interested in participating in the development of this Calendar product, you're more than welcome! The project will eventually be located at SourceForge, as soon as they fix the CVS problems they're having.. Regards, Morten From twcook@iswt.com Fri Oct 27 07:40:48 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 01:40:48 -0500 Subject: [Zope] Calander. References: Message-ID: <39F92370.41D9FF13@iswt.com> "Jason C. Leach" wrote: > > hi, > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > page. Anyone seen a product like this hanging around. > There is a ZCalendar tag. But the EventFolder is much more full featured. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From lingnau@tm.informatik.uni-frankfurt.de Fri Oct 27 08:39:23 2000 From: lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) Date: 27 Oct 2000 07:39:23 GMT Subject: [Zope] Zope/PIL collision - what to do? References: Message-ID: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> In article , Jens Vagelpohl wrote: > import PIL > > image = PIL.Image.open('foo.png') > > that way you do not have two names "Image" colliding in the names Zope sees Thanks to everybody who responded. I tried doing this after a number of other attempts but it claimed not to be able to find a module called »PIL« -- then I restarted Zope and it worked. Anselm -- Anselm Lingnau ......................... lingnau@tm.informatik.uni-frankfurt.de You could shoot Microsoft Office off the planet and this country would run better. You would see everyone standing around saying, `I've got so much time now.' -- Scott McNealy From chrisw@nipltd.com Fri Oct 27 09:59:13 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 09:59:13 +0100 Subject: [Zope] ZMailIn References: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: <39F943E1.D9BB80D@nipltd.com> complaw@hal-pc.org wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? You could probably build something using ZMailIn: http://www.zope.org/Members/NIP/ZMailIn cheers, Chris From chrisw@nipltd.com Fri Oct 27 10:00:58 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 10:00:58 +0100 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> Message-ID: <39F9444A.902CF18D@nipltd.com> Henny van der Linde wrote: > In this construction the call to do_login always raises the exception > Unauthorized instead of presenting the standard login screen. > > How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows you to do exactly what you're talking about. cheers, Chris From l.tranchant@adntic.com Fri Oct 27 10:21:56 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Fri, 27 Oct 2000 11:21:56 +0200 Subject: [Zope] php and zope Message-ID: <39F94934.929E94F3@adntic.com> hello everybody, I am new on this list, and I on zope. I have installed zope with apache on linux Suze 6.4, and I want to use it with PostGreSQL. My first question is very simple : can I use php code in DTML documents ??? I don't think so, but if someone can help me... From seb@jamkit.com Fri Oct 27 10:27:05 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 10:27:05 +0100 Subject: [Zope] Hosting? In-Reply-To: <39F882E7.47E19D2A@yahoo.com> Message-ID: You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired places in the UK. The bandwidth can be upped on a month-by-month basis. This way you get full control over everything. My costs: server ?650 (that's about $500 I think) hosting ?37.50 / month for 1 Gb / 512k burst (about $30) time to set it all up :S Of course, the hosting gets *much* cheaper as you buy more, but this scheme suits the way I intend to grow. I believe hardware and bandwidth is even cheaper in the states, so why not consider something like that? seb. > -----Original Message----- > From: pw@bestweb.net [mailto:pw@bestweb.net]On Behalf Of Paul Winkler > Sent: 26 October 2000 20:16 > To: Zope mailing list > Subject: [Zope] Hosting? > > > Hi, > > I'm wondering if anyone can recommend a commercial Zope > hosting service for me. > I've looked at the resources page on zope.org, and I have a > couple feelers out, but I'd like to ask the community for > recommendations as well. > > Requirements: > > I need a system that can handle a potentially very heavy > load, though at first it will be quite small - we're a > startup and have no customers yet. > > Location: We're in the northeast USA and most of our users > will probably be in the US as well, so I'd prefer a service > in North America. > > Zope: 2.2 at least, and access to install new products and > external methods. > I'm currently on codeit.com, but they have zope 2.1 and I > need zope >= 2.2 so I can use my custom product derived from > PTK 0.9. > > Storage: We're doing things with digital images - *big* ones > - so we need to start at about 100 MB and will need to grow; > we'll be storing a *lot* of data for our users. Eventually > (probably not until later in 2001) we'll need MUCH more - > possibly up to 1 GB eventually. (Beyond that point we will > probably just rent a server at rackspace.com or somewhere > but first we need to be able to develop a big enough > customer base to pay for it.) > > Data transfer: Several times greater than storage. Users > will upload large files which we will then download to our > local network, so that's at least 2x our storage needs, plus > there's the transfer involved in just using the site. > > Pricing: since our storage requirements will be continually > growing, I'd like a payment plan that enables us to pay for > the storage we need and add more as needed. > > -- > ................. paul winkler .................. > slinkP arts: music, sound, illustration, design, etc. > web page: http://www.slinkp.com > A member of ARMS: http://www.reacharms.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 ) > From jonathan@home-all.org.uk Fri Oct 27 10:59:46 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Fri, 27 Oct 2000 10:59:46 +0100 Subject: [Zope] advice re virtual hosting Message-ID: <39F95211.1605CE4A@home-all.org.uk> Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a folder within my zope (so they can acquire some of my content). i.e. www.blue.com --> zopeserver/ www.red.com --> zopeserver/red/ Whats the best way? There seem to be three or four options, apache on 80 with zope on 8080 using virtual hosts on both (either?), squid on 80 and zope on 8080 and finally zope alone on 80. The site will be relatively low traffic for the root branch but higher public traffic for the clients branch. Whats the 'best' way? I got apache to front zope with proxypass and with proxying on and seemed to get better performance. What about flexibility? What about rewriting versus virtual hosts? Ah so many juicy options! I have a colocated box and the isp is holding two domains pointed at the same ip address so I guess name based vhosts are the way by default but is it better to try and get zope to do it alone on 80 (is this possible?) or is it always better to have apache do it. I don't forsee any need for genuinely static content that cannot be served from zope. Your advice gratefully received. Jonathan From jatwood@bwanazulia.com Fri Oct 27 11:18:29 2000 From: jatwood@bwanazulia.com (J. Atwood) Date: Fri, 27 Oct 2000 06:18:29 -0400 Subject: [Zope] advice re virtual hosting In-Reply-To: <39F95211.1605CE4A@home-all.org.uk> References: <39F95211.1605CE4A@home-all.org.uk> Message-ID: Hey Jonathan, I don't know about the 'best' way, but you certainly can use SiteAccess. You point the main url to your Zope installation (and that is nothing) and you put a SiteRoot in the red folder and it will take care of www.red.com. http://www.zope.org/Members/4am/SiteAccess2/vhosting J At 10:59 AM +0100 10/27/2000, Jonathan Cheyne wrote: >Hi all, just need to check the received wisdom regarding the various >possible combinations for doing virtual hosting with zope. > >I have two domains, one is 'mine' and I want that to go to the root of >my zope installation. the other domain is for an internal client and I >want that to go to a folder within my zope (so they can acquire some of >my content). > >i.e. >www.blue.com --> zopeserver/ >www.red.com --> zopeserver/red/ > >Whats the best way? > >There seem to be three or four options, apache on 80 with zope on 8080 >using virtual hosts on both (either?), squid on 80 and zope on 8080 and >finally zope alone on 80. > >The site will be relatively low traffic for the root branch but higher >public traffic for the clients branch. > >Whats the 'best' way? I got apache to front zope with proxypass and with >proxying on and seemed to get better performance. What about >flexibility? What about rewriting versus virtual hosts? > >Ah so many juicy options! > >I have a colocated box and the isp is holding two domains pointed at the >same ip address so I guess name based vhosts are the way by default but >is it better to try and get zope to do it alone on 80 (is this >possible?) or is it always better to have apache do it. I don't forsee >any need for genuinely static content that cannot be served from zope. > >Your advice gratefully received. > >Jonathan > > >_______________________________________________ >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 ) From xavier@perceval.net Fri Oct 27 11:27:32 2000 From: xavier@perceval.net (Xavier Defrang) Date: Fri, 27 Oct 2000 12:27:32 +0200 (CEST) Subject: [Zope] Zope and Python 2.0 Message-ID: Hi folks, I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with Python 2.0... I've got a system-wide installation of Python 2.0 and the ./start scripts fails. I made a local installtion of Python 1.5.2 just to run Zope. I changed the path the Python interpreter in the start shell script but it looks like Medusa's asyncore.py can't find tjhe FCNTL module... What the hell is going wrong? I also had to comment out a nasty #include "mymath.h" in 'lib/Components/cPickle/cPickle.c' to get it built properly... - Xavier From seb@jamkit.com Fri Oct 27 11:31:11 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 11:31:11 +0100 Subject: [Zope] wondering about rendering In-Reply-To: <8tbbfb$tr7$1@mars.tm.informatik.uni-frankfurt.de> Message-ID: A simple question that's been bugging me: Regarding a "FooDocument/BarMethod": How do I reference the content of FooDocument inside BarMethod? At the moment, I'm using which seems to call the __str__ method of FooDocument; or in both view_1 and tableise, I get infinite recursion, of course. But I can't think of how else I might do it. Putting in tableise makes all the HTML in view_1 render html-safe (< > etc). I was tableise to display view_1's HTML but not render its DTML. Any idea, anyone? Thanks, seb From steve@spvi.com Fri Oct 27 12:08:11 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:08:11 -0500 (EST) Subject: [Zope] ZClass and SQL Table In-Reply-To: <39F82925.50846FCD@fazenda.gov.br> (ckant@fazenda.gov.br) References: <39F82925.50846FCD@fazenda.gov.br> Message-ID: <200010271108.GAA08003@mercury.spvi.com> Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve >>>>> "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann writes: CG> Hi CG> I have an old system based on a SQL database, and wanna to CG> make a Web version of it. CG> Are there any way to represent the SQL tables as ZClasses? I CG> mean, the attributes of the ZClasses be stored in a SQL table? CG> TIA -- CG> +---------------------------------+---------------------------------+ CG> | César A. K. Grossmann | Capacitação Solidária | | CG> ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | CG> http://members.xoom.com/ckant/ | Clique e doe - é de graça | CG> +---------------------------------+---------------------------------+ CG> http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html A CG> long-forgotten loved one will appear soon. CG> Buy the negatives at any price. CG> _______________________________________________ Zope maillist CG> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** CG> No cross posts or HTML encoding! ** (Related lists - CG> http://lists.zope.org/mailman/listinfo/zope-announce CG> http://lists.zope.org/mailman/listinfo/zope-dev ) From steve@spvi.com Fri Oct 27 12:11:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:11:24 -0500 (EST) Subject: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage In-Reply-To: (message from Dave Belfer-Shevett on Thu, 26 Oct 2000 09:27:38 -0400 (EDT)) References: Message-ID: <200010271111.GAA08015@mercury.spvi.com> Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve >>>>> "Dave" == Dave Belfer-Shevett writes: Dave> Hey there folks. I've just downloaded and installed these Dave> Products into my Zope instance. I'd talk to any of the Dave> support groups / lists / etc for these Products, but I can't Dave> find anythign aside from the author link, and a few small Dave> hints on the download page. Dave> I -think- I'm setting up an Album properly. Here are the Dave> steps, someone please tell me if this is not correct Dave> (There's an error that happens that I'll report in a Dave> moment...) Dave> 1) Install all the packages 2) Import ZPhotoAlbum via the Dave> Control panel 3) Go to whatever directory I want to run from Dave> 4) Add a ZPhotoAlbum object (we'll call it 'abc' for now) 5) Dave> go into 'abc' folder (note the only thing in it right now is Dave> 'Vocabulary' 6) Add a ZAlbumPage (calling it 'page1') 7) go Dave> into 'page1' folder 8) Add a ZPhoto Dave> Okay, here's where it gets fuzzy. My initial impression is Dave> "okay, tha'ts it. Just keep adding ZPhotos to populate the Dave> album". But when going to url.url.com/abc/ I just get the Dave> default 'index.html'. Dave> Tinkering, I found the 'Restore DTML' button up on the Dave> toolbar for the PhotoAlbum. Dave> So I click that, and get a lot more content in the folder in Dave> the management screen. Dave> Now when I go to url.url.com/abc/, I see my index, the Dave> AlbumPage, and the ZPhoto that I added. Dave> Here's where the problem happens. There are 2 buttons at Dave> the bottom of the page called 'fancy view' and 'explore Dave> view'. They should allow different views of the indexes. Dave> But when I click on one, I get: Dave> Zope Error Dave> Zope has encountered an error while publishing this Dave> resource. Dave> Error Type: NameError Error Value: defined_views Dave> here's the traceback: Dave> Traceback (innermost last): File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 222, in publish_module File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 187, in publish File Dave> /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in Dave> zpublisher_exception_hook (Object: CatalogAware) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 171, in publish File Dave> /home/shevett/zope/lib/python/ZPublisher/mapply.py, line Dave> 160, in mapply (Object: switch_view) File Dave> /home/shevett/zope/lib/python/ZPublisher/Publish.py, line Dave> 112, in call_object (Object: switch_view) File Dave> /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, Dave> in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, Dave> line 528, in __call__ (Object: switch_view) File Dave> /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, Dave> line 337, in eval (Object: view not in defined_views or not Dave> view_id) (Info: defined_views) File , line 0, in ? Dave> NameError: (see above) Dave> Any suggestions? Dave> -------------------. Web-based problem management: Dave> www.stonekeep.com Dave Belfer-Shevett Dave> >----------------------------------------------------. Dave> shevett@pobox.com / I like you... I'll kill you Dave> last... (from 'Handy \ ------------------< work phrases') | Dave> \______________________________________________________/ Dave> _______________________________________________ Zope Dave> maillist - Zope@zope.org Dave> http://lists.zope.org/mailman/listinfo/zope ** No cross Dave> posts or HTML encoding! ** (Related lists - Dave> http://lists.zope.org/mailman/listinfo/zope-announce Dave> http://lists.zope.org/mailman/listinfo/zope-dev ) From steinar@orion.no Fri Oct 27 12:29:48 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Fri, 27 Oct 2000 13:29:48 +0200 Subject: [Zope] Multiple Propertysheets from the same Python class ? Message-ID: <512D0F74D69DD311B23A0000E22298D224BD38@mail.orion.no> I am trying to make a "template" for creating different types of portals. Especially I am looking to develop my own DemoPortal (Portal) ZClass where I can subclass other Memberand PortalProperties from Python and more easily create a ZClass (like the Portal ZClass) that subclasses my Python classes. Question is: Can the contents of the Portal ZClass in DemoPortal by fully exportet to Python code and subclassed inside Zope (like the ZDG describes) ? I understand Python can put classes inside classes which would be necessary. But how do you define different property sheets within one Python class ? The DemoPortal has a MemberClass with 2 propertysheets (CommonProperties and SystemProperties) which I guess must be kept separate. Is this at all possible to do from Python, or am I barking up the wrong tree here. Regards Steinar ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From matt.bion@eudoramail.com Fri Oct 27 12:37:20 2000 From: matt.bion@eudoramail.com (Matt) Date: Sat, 28 Oct 2000 00:37:20 +1300 Subject: [Zope] dtml-with using string reference and acquisition Message-ID: <39F968F0.ACC8484D@eudoramail.com> Hi, I am having a problem with using a string reference to an object. The scenario is as follows : I have the tree structure - testfolA display_method testfolB testfolC if display_method looks like the following, everything is fine : it returns testfolB as I would expect. now if I change to now read I get a Key_error that the URL does not exist. So I understand that testfolB.testfolC is not explicitly on the namespace stack, where as testfolB is, so that calling would work since it is a sequential object traversal, but unfortunately I have to create the second level object through a string reference that is passed in through a form. In some instances it may be more than 2 levels deep. Is there a way to traverse a string name of an object in one hit, or do I need to use String.split and traverse through each object name doing a "_[.... or "_.callitem(.... ? Any help would be very much appreciated. regards Matt Bion From steve@spvi.com Fri Oct 27 12:46:24 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 06:46:24 -0500 (EST) Subject: [Zope] More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733914@innt-73.ata.com> Message-ID: <200010271146.GAA08208@mercury.spvi.com> Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve >>>>> "JS" == Spicklemire, Jerry writes: JS> Hi Zope Fans, JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? JS> The error shows: JS> Traceback (innermost last): File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 214, in publish_module File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 179, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, JS> line 202, in zpublisher_exception_hook (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, JS> line 151, in publish File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, JS> line 304, in traverse File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, JS> line 249, in __bobo_traverse__ (Object: JS> ApplicationDefaultPermissions) File JS> /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py, JS> line 511, in notFoundError NotFound: (see above) JS> Thanks, Jerry S. JS> _______________________________________________ Zope maillist JS> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** JS> No cross posts or HTML encoding! ** (Related lists - JS> http://lists.zope.org/mailman/listinfo/zope-announce JS> http://lists.zope.org/mailman/listinfo/zope-dev ) From morten@esol.no Fri Oct 27 13:17:26 2000 From: morten@esol.no (Morten W. Petersen) Date: Fri, 27 Oct 2000 14:17:26 +0200 (CEST) Subject: [Zope] Reverse SendMail Question In-Reply-To: <200010261659.LAA23072@mail.hal-pc.org> Message-ID: On Thu, 26 Oct 2000 complaw@hal-pc.org wrote: > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? In the latest version of ZopeGUM there is a poor example located in the gum module.. (in combination with the messagefilter module). http://www.zope.org/Members/morphex/ZopeGUM Regards, Morten From seb@jamkit.com Fri Oct 27 13:25:02 2000 From: seb@jamkit.com (Seb Bacon) Date: Fri, 27 Oct 2000 13:25:02 +0100 Subject: [Zope] ZMailIn In-Reply-To: <39F943E1.D9BB80D@nipltd.com> Message-ID: It sounds like you're thinking about a project management thing. Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. You could customise it to your specific needs, plus have the all the benefits of a webmail type application. Might be worth a look. seb. > complaw@hal-pc.org wrote: > > > > Has anyone thought of using SendMail (or any other e-mail > program) to send > > e-mail to Zope and have that e-mail be loaded directly into a > specific folder > > (say, based on the e-mail address or subject line)? > > You could probably build something using ZMailIn: > > http://www.zope.org/Members/NIP/ZMailIn > From maxm@normik.dk Fri Oct 27 13:25:05 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 14:25:05 +0200 Subject: [Zope] How to render a HTMLFile in a method in a product Message-ID: <7BD10B680501D411B9DF009027E06F32197AAB@exchange> >From: Chris Withers [mailto:chrisw@nipltd.com] I got this answer to my question about how to render a dtml document from a method. >testisDocTemp = 1 >def test(self,ignored,md): > " A simple test method " > return HTMLFile('skins/' + self.skin, globals())(None,md) And I have been busy trying to read the source code to understand the advise: As far as I understand the story goes a little like this: HTMLFile returns an object (through inheritance) "String" in file "DT_String.py" that has "__call__()" implemented, which means that the class can be called as a function... Hmm ... I had actually not seen this method used in Python before. def __call__(self,client=None,mapping={},**kw): This method accepts an object in which it will look up values to insert in the dtml file, and a mapping object (dictionary) that also will look up values to insert. So i guess that is what (None,md) does. But I dont understand what "ignored" does in my method, as it is unused, unless it is used by md >def test(self,ignored,md): Furthermore I dont understand what md is. Some kind of mapping object naturally, but where does it come from? Also what is testisDocTemp supposed to do? If I grep the source a "isDocTemp" shows up but is isn't easy to see what this does either. Regards Max M From lupo@atisworld.com Fri Oct 27 13:38:31 2000 From: lupo@atisworld.com (Marcello Lupo) Date: Fri, 27 Oct 2000 14:38:31 +0200 Subject: [Zope] PIL/Zope Problem Message-ID: <39F97747.41E06D5B@atisworld.com> Hi to all, i read all the documentation and made all things to let interact PIL and Zope and i cannot find the way to make it work. If i try to import PIL from pyton interpreter it works perfectly with: ******************************* Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import PIL >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") >>> print data.format JPEG >>> print data.info {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} >>> print data.size (450, 309) >>> ****************************** as you can see it works. But when i try to access PIL.Image.open from an external method in Zope i get: ******************************* Error Type: AttributeError Error Value: Image Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: pippo) File /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: resize_image(foto)) (Info: foto) File , line 0, in ? File /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod.py, line 255, in __call__ (Object: resize_image) (Info: ((,), {}, None)) File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in resize_image (Object: ElementWithAttributes) AttributeError: (see above) ********************************* My external Method say: **************************** import PIL def resize_image(self, foto): if foto: data=PIL.Image.open(foto) data=data.resize((128, 128)) return data.size else: return "Nothing" *************************************** Can anyone help me?? Thanks Bye, MArcello From Danny@Adair.net Fri Oct 27 13:40:50 2000 From: Danny@Adair.net (Danny William Adair) Date: Fri, 27 Oct 2000 14:40:50 +0200 Subject: [Zope] ownership problems Message-ID: I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. ---------------------------------------------------------------------------- ------------ Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform: linux-i386 ---------------------------------------------------------------------------- ------------ This is what I get: Adding other object types is no problem. From maxm@normik.dk Fri Oct 27 14:08:49 2000 From: maxm@normik.dk (=?iso-8859-1?Q?Max_M=F8ller_Rasmussen?=) Date: Fri, 27 Oct 2000 15:08:49 +0200 Subject: [Zope] How do I change dtml template on the fly in Python product? Message-ID: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> I have asked this question somewhat differently in another thread but here I go again from another angle, as it might have been my approach that was wrong to begin with. I have a Python product that allready does what I want it to, but I want to be able to create different views of the products content. (Model View Controller principle). To do this I have created a folder with different views (Or skins if you would prefer the Gnome/KDE way of saying it.) views view1 list.dtml view.dtml edit.dtml view2 list.dtml view.dtml edit.dtml In my class I have made a value that hold the name of the selected view, I call this: self.selView I want to make it possible to use the different sets of dtml files to create a different look and feel to the data. I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return HTMLFile('views/' + self.selView+ 'list') Is that the best way to do it? Regards Max M From zope@grewen.de Fri Oct 27 14:51:56 2000 From: zope@grewen.de (Jens Grewen) Date: Fri, 27 Oct 2000 15:51:56 +0200 Subject: [Zope] PIL/Zope Problem References: <39F97747.41E06D5B@atisworld.com> Message-ID: <001601c0401d$12a36020$0300a8c0@windows> Hi , > > I use this external Methode to generate thumbs from an image an write both > in an mysql database. > May this helps you > > ____________________________________________________________________________ > ____________ > from PIL.Image import BICUBIC, BILINEAR, NEAREST > from cStringIO import StringIO > > import _mysql > import MySQLdb > import PIL > > def write(filename, pid): > db=MySQLdb.connect(db="shop",user="zope",passwd="") > c=db.cursor() > imgfile=open(filename,'rb') > sql_reset_img1="update PRODUCT set PIMAGE=NULL where PID="+ pid > sqlstr="update PRODUCT set PIMAGE='" + > _mysql.escape_string(imgfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img1) > # do the "update" load... > c.execute(sqlstr) > imgfile.close() > im = PIL.Image.open(filename) > fmt = im.format > if fmt == 'PNG': > fmt = 'JPEG' > size = (int('75'),int('75')) > x, y = im.size > if x > size[0]: y = y * size[0] / x; x = size[0] > if y > size[1]: x = x * size[1] / y; y = size[1] > size = x, y > im.draft(None, size) > im = im.resize(size) > im.size = size > im.save('/home/zope/tempimage/temp.jpg', fmt) > tempfile=open('/home/zope/tempimage/temp.jpg','rb') > sql_reset_img2="update PRODUCT set PTHUMB=NULL where PID="+ pid > sqlstri="update PRODUCT set PTHUMB='" + > _mysql.escape_string(tempfile.read()) +"' where PID="+ pid > # do reset... > c.execute(sql_reset_img2) > # do the "update" load... > c.execute(sqlstri) > tempfile.close() > return 'image was written to db successfull' > ____________________________________________________________________________ Jens ----- Original Message ----- From: "Marcello Lupo" To: Cc: Sent: Friday, October 27, 2000 2:38 PM Subject: [Zope] PIL/Zope Problem > Hi to all, > i read all the documentation and made all things to let interact PIL and > Zope and i cannot find the way to make it work. > If i try to import PIL from pyton interpreter it works perfectly with: > > ******************************* > Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66 > 19990314/Linux (egcs- on linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import PIL > >>> data=PIL.Image.open("/home/httpd/listanozze/docs/images/prove/ccc.jpg","r") > >>> print data.format > JPEG > >>> print data.info > {'adobe_transform': 1, 'progression': 1, 'adobe': 100, 'jfif': 258} > >>> print data.size > (450, 309) > >>> > ****************************** > > as you can see it works. > But when i try to access PIL.Image.open from an external method in Zope > i get: > > ******************************* > > > Error Type: AttributeError > Error Value: Image > > > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be > incorrect. > A resource that this resource relies on may be > encountering an error. > > For more detailed information about the error, please refer > to the HTML source for this page. > > If the error persists please contact the site maintainer. > Thank you for your patience. > > > Traceback (innermost last): > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 214, in publish_module > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 179, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, > in zpublisher_exception_hook > (Object: ElementWithAttributes) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 165, in publish > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line > 160, in mapply > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line > 102, in call_object > (Object: pippo) > File /home/httpd/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line > 150, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, > line 502, in __call__ > (Object: pippo) > File > /home/httpd/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line > 335, in eval > (Object: resize_image(foto)) > (Info: foto) > File , line 0, in ? > File > /home/httpd/Zope-2.1.6-src/lib/python/Products/ExternalMethod/ExternalMethod .py, > line 255, in __call__ > (Object: resize_image) > (Info: ((,), > {}, None)) > File /home/httpd/Zope-2.1.6-src/Extensions/image_op.py, line 7, in > resize_image > (Object: ElementWithAttributes) > AttributeError: (see above) > > ********************************* > > My external Method say: > **************************** > import PIL > > def resize_image(self, foto): > > if foto: > data=PIL.Image.open(foto) > data=data.resize((128, 128)) > return data.size > else: > return "Nothing" > > *************************************** > > > Can anyone help me?? > Thanks > Bye, > MArcello > > _______________________________________________ > 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 ) > From Luc Tonin" reload ? Message-ID: <05a501c04020$8bac9b50$6200a8c0@longwy> This is a multi-part message in MIME format. ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable is it possible to reload only a without reloading an = entire page ??????????? if yes, how?? plz help ;) Luc TONIN=20 ------------------------------ D=E9veloppeur Web ------------------------------ =20 Multith=E9matiques http://www.multithematiques.com Chaines th=E9matiques sur c=E2ble et satellite Canal Jimmy, Cinecinemas, Cineclassics, Planete, Forum, Season, = Wishline,=20 Centre Jean Monet 03 82 24 00 42 Longlaville +333 82 24 00 42 54400 Longwy =20 ------=_NextPart_000_05A2_01C04031.4EE612D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
is it possible to reload only a <dtml-var = value> without=20 reloading an entire page ???????????
if yes, how??
plz help
;)
 
Luc TONIN =
------------------------------
D=E9veloppeur=20 Web
------------------------------
 
Multith=E9matiques
= http://www.multithematiques.com<= /A>
Chaines=20 th=E9matiques sur c=E2ble et satellite
Canal Jimmy, Cinecinemas, = Cineclassics,=20 Planete, Forum, Season, Wishline,
Centre Jean=20 Monet      03 82 24 00=20 42
Longlaville         &n= bsp;   =20 +333 82 24 00  42
54400 Longwy  =
------=_NextPart_000_05A2_01C04031.4EE612D0-- From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 15:22:57 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 09:22:57 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733915@innt-73.ata.com> Steve asked: > What version of ZFormulator are you running (and in what version of > Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to > work OK. Maybe it doesn't work with older zopes? Oops, I should know better by now, than to ask for help without including the details. Zope 2.1.6 on Solaris 2.6 for Sparc, and Zope 2.2.1 on Linux 2.2 for Intel. The installs seemed to go smoothly on both systems, and I am able to create Form objects. However neither will let me add any form elements. The user authentication dialog pops up, and of coures I'm already authenticated at the initial access to the management interface. I'm both owner and manager of everything, but the authentication rejects my input. ZFormulator has been available since late 1999, so I would expect the older versions to be OK. Thanks, Jerry S. JS> Re. the problems I mentioned in an earlier post, it may be JS> related to an error that turned up when I tried to run the JS> ZF_Demo module. It seems to be unable to locate: JS> "ApplicationDefaultPermissions" JS> Does that ring any bells? JS> A Google Search of Zope.org turns up several references, and JS> it seems to be a part of core Zope, but I have no idea how it JS> could be unavailable. Might the way Zope is started have an JS> impact on which pieces-parts are accessible? From paul.browning@bristol.ac.uk Fri Oct 27 16:07:10 2000 From: paul.browning@bristol.ac.uk (Paul Browning) Date: Fri, 27 Oct 2000 16:07:10 +0100 (GMT Daylight Time) Subject: [Zope] Securing ftp access? Message-ID: Our local CERT-type person mailed me the following and I replied as follows. Could I have given a better answer? > I notice that zope comes with an FTP server which, by default, runs on port > 8021. There's one running on "stingray", as I write, which seems to accept > any and all combinations of usernames/passwords (valid or otherwise), > although *I* don't seem to be able to do/see anything with any of the ones > I've tried. Hmmm. Hadn't noticed that before. Even if you disable the FTP Access permission for the role Manager (as well as Anonymous) it's still the same. But, as you note, you can't do very much. > Anyway, that's an aside. What my question is is "how can this > service be used such that usernames/passwords are transmitted securely?" Don't know. Does SSL (whether Zope is behind Apache or not) only apply to http stuff? My understanding is that Zope incoporates the Medusa server. There is a reference on the Medusa web page (http://www.nightmare.com/medusa/) to "SSL and Medusa with STunnel". An exercise left for the ambitious reader? Meanwhile I observe that if you set a Domains restriction for a particular user (done via the acl_users Folder) it applies to both ftp and http clients (and presumably WebDAV too) - though at first it doesn't seem so via ftp because you can login, but you can't actually do anything (just like Richard reports with any username/password). So, an imperfect answer to your question might be "disallow ftp access from outside our local domain and then keep your fingers crossed". TIA. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bris.ac.uk URL: http://www.bris.ac.uk/ From chrisw@nipltd.com Fri Oct 27 16:17:08 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:17:08 +0100 Subject: [Zope] WorldPilot References: Message-ID: <39F99C74.7C3C3399@nipltd.com> Seb Bacon wrote: > > Depends what you want to do with it, and what your zope setup is, but if > you've got enough control over the zope box you're using, you could consider > worldpilot + imap. WorldPilot's code is not the most customisable I've ever seen :-( cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:19:30 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:19:30 +0100 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> Message-ID: <39F99D02.1D0CF060@nipltd.com> > Luc Tonin wrote: > > is it possible to reload only a without reloading an > entire page ??????????? ...nice question marks ;-) ...not nice posting HTML to a plain text only list. The answer is no anyway. A page is completely assembled on the server side before being sent to the client. So, if a value changes in a dtml-var, then you need to resend the enite page to the browser. This is the way HTTP works and so there's nothing Zope-specific about not being able to do this. cheers, Chris From chrisw@nipltd.com Fri Oct 27 16:26:45 2000 From: chrisw@nipltd.com (Chris Withers) Date: Fri, 27 Oct 2000 16:26:45 +0100 Subject: [Zope] with a __call__ References: <7BD10B680501D411B9DF009027E06F32197AAC@exchange> Message-ID: <39F99EB5.28B855D9@nipltd.com> Max Møller Rasmussen wrote: > I want to write my "index_html" method so that it returns a rendered version > of "list.dtml" corresponding to the selected view, by the name of the folder > holding the selected view. > > something like this (which doesn't work): > > def index_html(): > return HTMLFile('views/' + self.selView+ 'list') You actually want to write a __call__ method (something) like this: def __call__(self, REQUEST=None, **kw): """""" return apply(HTMLFile('views/' + self.selView+ 'list'),(self,REQUEST),kw) index_html=None ...this last bit is needed so index_html isn't acquired from an object above. cheers, Chris From lyno.sullivan@lynosullivan.org Thu Oct 26 20:05:02 2000 From: lyno.sullivan@lynosullivan.org (Lyno Sullivan, Candidate) Date: Thu, 26 Oct 2000 14:05:02 -0500 Subject: [Zope] Free software in online democracy Message-ID: "Feel like you're not heard in St. Paul? A Minnesota Senate candidate from Stillwater thinks he can change that with online democracy." Stillwater Gazette, August 18,2000, By MARK BROUWER Staff Writer. My vision of a State Senator using the Internet as a way to keep in touch with constituents made the front page. Mention was made of the use of free software, Zope, Python, etc. http://www.lynosullivan.org/news/newssquish/969254176 ---- Minnesota Statute 211B.04 requires that I say: Prepared and paid for by the Lyno Sullivan Volunteer Committee P.O. Box 272, Stillwater, MN 55082 651-430-2815 From bill@noreboots.com Fri Oct 27 16:17:05 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:17:05 -0600 Subject: [Zope] Calling form elements by name References: Message-ID: <39F99C71.99E48DA@noreboots.com> Danny William Adair wrote: > > I should have posted your version, it's more explicit: > > ------------------------------------------- > > thePos="_.str(Position)" > nameAsAString="Prefix+thePos"> >
>
I believe I see why this doesn't work: Try changing:
To:
Otherwise, it will try to find a variable named whatever is in the variable nameAsAString. -- E PLURIBUS LINUX From bill@noreboots.com Fri Oct 27 16:39:54 2000 From: bill@noreboots.com (Bill Anderson) Date: Fri, 27 Oct 2000 09:39:54 -0600 Subject: [Zope] How small a box can zope run on? References: <005701c03ea2$cb7a5530$1e00010a@plym> <4dtfvsgmgjne3gi5qvgfrn0nv3tvgr9go2@4ax.com> Message-ID: <39F9A1CA.E1BFDC10@noreboots.com> Toby Dickenson wrote: > > On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" > wrote: > > >We are building some device controller software and to control those we have > >a normal 486 with 24MB RAM running linux. Has anybody tried running zope on > >such a modest setup? There is only going to be one or two users connected to > >Zope at once, so we don't need much performance in terms of page views per > >second :) > > Yes, Im using Zope in a similar scenario and it works well. > > I found a benefit in using a smaller number of publisher threads (I > use -T 2 ). Each thread gets its own copy of the ODB, which is an > unnecessary memory hog for the expected load. What OS is this on? On Linux each thread does _NOT_ get a copy of the ODB. It just _looks_ like it. See the archives for details. The benefit from smaller thread counts is that: A) Multiple threads is not a big boost on uniprocessor machines B) Python does some different things with threads, see the Global Interpreter Lock for details. Changin the realted value in Zope will acheive differing levels of performance. -- E PLURIBUS LINUX From twcook@iswt.com Fri Oct 27 17:27:03 2000 From: twcook@iswt.com (Tim Cook) Date: Fri, 27 Oct 2000 11:27:03 -0500 Subject: [Zope] reload ? References: <05a501c04020$8bac9b50$6200a8c0@longwy> <39F99D02.1D0CF060@nipltd.com> Message-ID: <39F9ACD7.BDB42A47@iswt.com> Chris Withers wrote: > > > Luc Tonin wrote: > > > > is it possible to reload only a without reloading an > > entire page ??????????? > > ...nice question marks ;-) > > ...not nice posting HTML to a plain text only list. > > The answer is no anyway. A page is completely assembled on the server > side before being sent to the client. So, if a value changes in a > dtml-var, then you need to resend the enite page to the browser. With the exception of possibly using JavaScript. If you're wanting to reload something that a DIFFERENT CLIENT has changed, sorry. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From cg@cdegroot.com Fri Oct 27 18:19:15 2000 From: cg@cdegroot.com (Cees de Groot) Date: 27 Oct 2000 19:19:15 +0200 Subject: [Zope] Forbidding overrides? Message-ID: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Something I remember from my early Zope days that could be solved, but I can't seem to find an answer: say I have a simple site where people can do simple things within their folder. However, I want my banners/logo whatever on their pages, so I've setup index_html to put my own stuff in and include their body_text. How can I prevent smartasses from creating index_html documents in their folder? More generally, is it possible to disallow certain folder methods or properties to be overriden from a point in the tree? -- Cees de Groot http://www.cdegroot.com GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/ From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 18:24:07 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 12:24:07 -0500 Subject: [Zope] More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Hi Again, It turns out that the problems I was seeing are related to the Proxy Layers that are in place to keep our IntraNet safe. ZFormulator doesn't work at all when I bypass the Proxy entirely, only works partially when the Proxy is invited to play, and only works fully when the directories that the Proxy is aware of are involved. This is OK, as long as the generated forms function correctly when a user sees them with the Proxy completely in control. We'll see . . . Thanks again! Jerry S. From steve@spvi.com Fri Oct 27 19:52:52 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 13:52:52 -0500 (EST) Subject: [Zope] Re: More ZFormulator In-Reply-To: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> Message-ID: <200010271852.NAA11508@mercury.spvi.com> Found it: line 312: Form.py should be: __roles__ = ('Manager',) From Jerry.Spicklemire@IFLYATA.COM Fri Oct 27 19:57:39 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Fri, 27 Oct 2000 13:57:39 -0500 Subject: [Zope] RE: More ZFormulator Message-ID: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Steve says: > Found it: > > line 312: Form.py should be: > > __roles__ = ('Manager',) Thanks Steve! Steve's motto is, "We don't need no stinkin' Docs!". BTW, we disagree about this . . . From juliodinis@hotmail.com Fri Oct 27 21:03:31 2000 From: juliodinis@hotmail.com (Júlio Dinis Silva) Date: Fri, 27 Oct 2000 20:03:31 WEST Subject: [Zope] Gadfly auto-increment datatype option? Message-ID: Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. From steve@spvi.com Fri Oct 27 20:07:42 2000 From: steve@spvi.com (Steve Spicklemire) Date: Fri, 27 Oct 2000 14:07:42 -0500 (EST) Subject: [Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator) In-Reply-To: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> (Jerry.Spicklemire@IFLYATA.COM) References: <977A39E65CFCD3119ABF00D0B741D849733921@innt-73.ata.com> Message-ID: <200010271907.OAA11619@mercury.spvi.com> Hmm... >>>>> "JS" == Spicklemire, Jerry writes: [... skip ...] JS> Steve's motto is, "We don't need no stinkin' Docs!". Interesting point..... JS> BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source code than bad/incorrect docs. I'd naturally rather have source code + good docs, but I'd sooner get something *done* today than wait for good docs tomorrow. ;-) Also.. I'd rather have source code and no docs than something closed with (apparantly) great docs.... since you can always have great docs that don't match the real (implimentation)/world, and *that* can steal weeks from your (otherwise) precious time/life.""" ....back to your regularly scheduled questions (and answers!) -steve From andres@corrada.com Fri Oct 27 20:50:14 2000 From: andres@corrada.com (andres@corrada.com) Date: Fri, 27 Oct 2000 15:50:14 -0400 Subject: [Zope] php and zope In-Reply-To: <39F94934.929E94F3@adntic.com>; from Laurent Tranchant on Fri, Oct 27, 2000 at 11:21:56AM +0200 References: <39F94934.929E94F3@adntic.com> Message-ID: <20001027155013.B23080@corrada.com> Take a look at my HOWTO: http://www.zope.org/Members/Mamey/PHP I'll be updating it soon with improvements that allow authorization and cookies. On Fri, Oct 27, 2000 at 11:21:56AM +0200, Laurent Tranchant wrote: > hello everybody, > I am new on this list, and I on zope. > I have installed zope with apache on linux Suze 6.4, and I want to use > it with PostGreSQL. My first question is very simple : can I use php > code in DTML documents ??? I don't think so, but if someone can help > me... > > > _______________________________________________ > 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 ) > > -- ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com ------------------------------------------------------ From leedm@state.mi.us Fri Oct 27 20:59:14 2000 From: leedm@state.mi.us (Darin Lee) Date: Fri, 27 Oct 2000 15:59:14 -0400 Subject: [Zope] Webdav Questions Message-ID: Zopistas, I am working under Windows NT 4 and connecting to my Zope Server via the webfolders icon in "My Computer." I enter the IP address and port of my server, select finish, and a list of folders on the Zope server appears. However, I find that I am unable to edit, or even copy, any of the Zope objects. I keep getting an error message "An error occured while trying to copy some or all of the selected files". Here are my questions? 1. How is authentication being handled by my Zope server? Am I automatically authenticated to the server as the user I am logged on as on the local NT workstation? It never prompts me to identify myself via username and password. 2. Can the world at large view my Zope site via WebDAV? It seems that I can connect to the server from multiple machines, even logged on as users who are not in the Zope acl_users folder...Is this the default behavior? I have looked through the How-to's and performed searches on "Zope and WebDAV" in Google but haven't turned up much useful information. Can anyone offer any tips, or point me in the right direction on this? Thanks in advance, Darin Lee From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> Message-ID: <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Hi, > Henny van der Linde wrote: > > > In this construction the call to do_login always raises the exception > > Unauthorized instead of presenting the standard login screen. > > > > How do I trap login errors in an elegant way? > > You can't, with the standard Zope acl_users. > > IIUC, LoginManager allows you to do exactly what you're talking about. > > cheers, > > Chris Thanks. I already thought about using Loginmanager but we still use Zope 2.1.6. I'm very commited, to and happy with Zope but I was amazed that you can't trap Unauthorized exception like that. I'ts seems such a basic functionality. cheers, Henny From rossl@med.usyd.edu.au Sat Oct 28 02:48:38 2000 From: rossl@med.usyd.edu.au (Ross Lazarus) Date: Fri, 27 Oct 2000 21:48:38 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! Message-ID: <39FA3076.4010A389@med.usyd.edu.au> Now here's something readers of this list might be interested in ... -------- Original Message -------- Subject: PythonLabs Team Moves to Digital Creations Date: Fri, 27 Oct 2000 20:42:42 -0500 From: Guido van Rossum To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org Newsgroups: comp.lang.python To all Python users and developers: Less than half a year ago, I moved with my team to BeOpen.com, in the hope of finding a new permanent home for Python development. At BeOpen, we've done several good things for Python, such as moving the Python and Jython development process to SourceForge, and the successful release of Python 2.0. Unfortunately, BeOpen.com's original plans for PythonLabs didn't work out as hoped, and we weren't able to reach mutual agreement on workable alternative plans -- despite trying for months. I am proud to have found a new home for my entire team: starting today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself are working for Digital Creations. We will be spending part of our time on core Python development (including Jython and Mailman) and part of our time on Python infrastructure improvements that also benefit Zope. Python will remain Open Source; Digital Creations has no desire to monetize or brand the Python language or specific Python distributions. All future work we do on Python as Digital Creations employees will be owned by a non-profit organization yet to be created. We think of this new organization as the Python Software Foundation. In the meantime (while the PSF is under construction) I will own such copyrights personally. We're excited to be working for Digital Creations: they are one of the oldest companies active in the Python community, one of the companies most committed to Python, and they have a great product! Plus, we know they have deep financial backing. We trust that Digital Creations will provide a stable home for Python for many years. Digital Creations has also offered to take over hosting of the python.org and starship sites. On behalf of the Python community, we're grateful for this support of the two prime community sites for Python, and we expect to be implementing the transitions shortly. These are exciting times for the PythonLabs team -- and also for Python and its community. Mainstream successes for Python are showing up everywhere, and we're proud to be a part of such a smart and friendly community. A great year lies ahead! --Guido van Rossum (home page: http://www.python.org/~guido/) From zen@shangri-la.dropbear.id.au Sat Oct 28 05:42:32 2000 From: zen@shangri-la.dropbear.id.au (Zen) Date: Sat, 28 Oct 2000 14:42:32 +1000 (AUS Eastern Standard Time) Subject: [Zope] GUF error: Unauthorized... In-Reply-To: <39F0F525.C8A49178@rotnet.com.br> Message-ID: On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: > raised an exception (('Unauthorized', 'crypt', The userAuthenticate, userDomains, userList, adn userRoles DTML Methods > are configurated to proxy the Manager role. -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University From scott@launchpoint.net Sat Oct 28 08:51:43 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 00:51:43 -0700 Subject: [Zope] more __len__ errors Message-ID: I am having a intermittent problem with ZCatalog(I think). I have a couple of products that are catalog-aware and have been working. Then, out of nowhere if I call I get a __len__ error, when a few minutes before it worked. I looked at the undo list to see if I have done anything to cause it but could not find anything. I delete the cataloged objects as well as the objects themselves and re-create them. Same problem. Here is the TB: From paul@digicool.com Sat Oct 28 13:08:19 2000 From: paul@digicool.com (Paul Everitt) Date: Sat, 28 Oct 2000 08:08:19 -0400 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> Message-ID: <39FAC1B3.A77B863A@digicool.com> Yes, it's been hard keeping that particular secret. :^) We'll have more to say on this -- like an official press release -- over the coming week. --Paul Ross Lazarus wrote: > > Now here's something readers of this list might be interested in ... > > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing list),python-announce-list@python.org, python-dev@python.org > Newsgroups: comp.lang.python > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > _______________________________________________ > 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 ) From chrism@digicool.com Sat Oct 28 13:34:46 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:34:46 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FAC7E6.2919B411@digicool.com> Scott, we're struggling with some catalog issues right now... I didn't see the traceback attached, but I assume it's a "len of unsized object" error. We'd be very interested in obtaining a setup where this problem was repeatable. Scott Burton wrote: > > I am having a intermittent problem with ZCatalog(I think). I have a couple > of products that are catalog-aware and have been working. Then, out of > nowhere if I call I get a __len__ > error, when a few minutes before it worked. I looked at the undo list to see > if I have done anything to cause it but could not find anything. I delete > the cataloged objects as well as the objects themselves and re-create them. > Same problem. Here is the TB: > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From chrism@digicool.com Sat Oct 28 13:37:28 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 08:37:28 -0400 Subject: [Zope] Zope and Python 2.0 References: Message-ID: <39FAC888.81F9FE4E@digicool.com> I think we're reaching a point where we'll soon be able to release a Python 2.0-compatible Zope source distribution, but you're right in that none of the current ones work properly with Python 2.0. Xavier Defrang wrote: > > Hi folks, > > I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. > > Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with > Python 2.0... I've got a system-wide installation of Python 2.0 and the > ./start scripts fails. I made a local installtion of Python 1.5.2 just to > run Zope. I changed the path the Python interpreter in the start shell > script but it looks like Medusa's asyncore.py can't find tjhe FCNTL > module... > > What the hell is going wrong? > > I also had to comment out a nasty #include "mymath.h" in > 'lib/Components/cPickle/cPickle.c' to get it built properly... > > - Xavier > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From Hugo Ramos" <39FAC1B3.A77B863A@digicool.com> Message-ID: <000d01c040e9$e0e89370$0800a8c0@toydolls> ----- Original Message ----- From: "Paul Everitt" To: "Ross Lazarus" Cc: Sent: Saturday, October 28, 2000 1:08 PM Subject: Re: [Zope] OT: PythonLabs Team Moves to Digital Creations! > > Yes, it's been hard keeping that particular secret. :^) > > We'll have more to say on this -- like an official press release -- over > the coming week. So this was the reason for the busy November at DC... ===== Hugo Ramos - hugo@zopers.org ZopersORG - http://www.zopers.org ===== Do not meddle in the affairs of programmers, for they are easy to annoy, and have all the source code!!! From robin@jessikat.fsnet.co.uk Sat Oct 28 15:51:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Sat, 28 Oct 2000 15:51:09 +0100 Subject: [Zope] two things at once? Message-ID: I want my form button X to cause some data to be uploaded to the user. So I make the action call a method that sets up the right response content type etc and the upload goes well. 1) Can I verify that the action happened? 2) how can I force the page containing the original form to be refreshed so that I can change button etc. -- Robin Becker From simon@joyful.com Sat Oct 28 16:25:38 2000 From: simon@joyful.com (Simon Michael) Date: 28 Oct 2000 08:25:38 -0700 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! In-Reply-To: Paul Everitt's message of "Sat, 28 Oct 2000 08:08:19 -0400" References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <873dhhq971.fsf@joyful.com> Fantastic news. Congrats! From twcook@iswt.com Sat Oct 28 17:11:04 2000 From: twcook@iswt.com (Tim Cook) Date: Sat, 28 Oct 2000 11:11:04 -0500 Subject: [Zope] OT: PythonLabs Team Moves to Digital Creations! References: <39FA3076.4010A389@med.usyd.edu.au> <39FAC1B3.A77B863A@digicool.com> Message-ID: <39FAFA97.713A46C6@iswt.com> > > Now here's something readers of this list might be interested in ... It just doesn't get any better than this. Well, maybe if Jim Fulton was working FreePM. But that's definitely off topic. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From jhouchin@texoma.net Sat Oct 28 17:53:11 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Sat, 28 Oct 2000 11:53:11 -0500 Subject: [Zope] Website develoment with CVS Zope? Message-ID: <39FB0477.C9D75ABE@texoma.net> I am about to begin development and would like to use the CVS version of Zope. I have already setup my /usr/local/Zope/Zope2 directory and gotten Zope via CVS. When I have it install Zope and begin development are what issues or problems will I have when I do an update? I know because I will be developing and changing files in these directories but not via CVS that CVS will probably complain about the changes. Is this a problem? I will also be wanting to use the CVS of other Zope items like the PTK. Does this impact this in any way? How do those of you who develop using the CVS version do it? Any advice or best practices? Thanks for any help. Jimmie Houchin From andym@ActiveState.com Sat Oct 28 18:10:20 2000 From: andym@ActiveState.com (Andy McKay) Date: Sat, 28 Oct 2000 10:10:20 -0700 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations Message-ID: <005301c04101$f3ab33b0$ae03a8c0@fork> This is great news for Zope... (well I think it is anyway) > -------- Original Message -------- > Subject: PythonLabs Team Moves to Digital Creations > Date: Fri, 27 Oct 2000 20:42:42 -0500 > From: Guido van Rossum > To: python-list@python.org (Python mailing > list),python-announce-list@python.org, python-dev@python.org > > To all Python users and developers: > > Less than half a year ago, I moved with my team to BeOpen.com, in the > hope of finding a new permanent home for Python development. At > BeOpen, we've done several good things for Python, such as moving the > Python and Jython development process to SourceForge, and the > successful release of Python 2.0. > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > out as hoped, and we weren't able to reach mutual agreement on > workable alternative plans -- despite trying for months. > > I am proud to have found a new home for my entire team: starting > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > are working for Digital Creations. We will be spending part of our > time on core Python development (including Jython and Mailman) and > part of our time on Python infrastructure improvements that also > benefit Zope. > > Python will remain Open Source; Digital Creations has no desire to > monetize or brand the Python language or specific Python > distributions. All future work we do on Python as Digital Creations > employees will be owned by a non-profit organization yet to be > created. We think of this new organization as the Python Software > Foundation. In the meantime (while the PSF is under construction) I > will own such copyrights personally. > > We're excited to be working for Digital Creations: they are one of the > oldest companies active in the Python community, one of the companies > most committed to Python, and they have a great product! Plus, we > know they have deep financial backing. We trust that Digital > Creations will provide a stable home for Python for many years. > > Digital Creations has also offered to take over hosting of the > python.org and starship sites. On behalf of the Python community, > we're grateful for this support of the two prime community sites for > Python, and we expect to be implementing the transitions shortly. > > These are exciting times for the PythonLabs team -- and also for > Python and its community. Mainstream successes for Python are showing > up everywhere, and we're proud to be a part of such a smart and > friendly community. A great year lies ahead! > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > -- > http://www.python.org/mailman/listinfo/python-list From scott@launchpoint.net Sat Oct 28 19:21:32 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 11:21:32 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FAC7E6.2919B411@digicool.com> Message-ID: Sorry about that, I forgot to send the trace back along with the message. As my luck would have it, I go to the section that was giving me an error, now it has disappeared? It s now working again with no errors. I know it isn't just me, one of my clients is reporting the same error on their side from my server. Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that helps. > From: Chris McDonough > Date: Sat, 28 Oct 2000 08:34:46 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Scott, we're struggling with some catalog issues right now... I didn't > see the traceback attached, but I assume it's a "len of unsized object" > error. We'd be very interested in obtaining a setup where this problem > was repeatable. > > Scott Burton wrote: >> >> I am having a intermittent problem with ZCatalog(I think). I have a couple >> of products that are catalog-aware and have been working. Then, out of >> nowhere if I call I get a __len__ >> error, when a few minutes before it worked. I looked at the undo list to see >> if I have done anything to cause it but could not find anything. I delete >> the cataloged objects as well as the objects themselves and re-create them. >> Same problem. Here is the TB: >> >> _______________________________________________ >> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > > _______________________________________________ > 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 ) > > From chrism@digicool.com Sat Oct 28 19:34:53 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 14:34:53 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB1C4D.14E1CE12@digicool.com> Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that matter, but at least some of them have been fixed (not to mention that later versions of Zope log errors in cataloging and uncataloging objects). The Zope 2.1.X branch is not really being maintained. You should probably try to move to the latest release. That said, it would be most helpful to have a full copy of the Zope installation which exhibits the problem. Even better (but probably less possible) is to have a full copy of the Zope installation *right before* the problem starts occurring and one *right after* the problem starts occurring so we can look at the catalog data structures to see what might be happening. Platform is not thought to be an issue. This would be helpful even if it was a Zope 2.1.6 install. Scott Burton wrote: > > Sorry about that, I forgot to send the trace back along with the message. As > my luck would have it, I go to the section that was giving me an error, now > it has disappeared? It s now working again with no errors. I know it isn't > just me, one of my clients is reporting the same error on their side from my > server. > Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > helps. > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 08:34:46 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Scott, we're struggling with some catalog issues right now... I didn't > > see the traceback attached, but I assume it's a "len of unsized object" > > error. We'd be very interested in obtaining a setup where this problem > > was repeatable. > > > > Scott Burton wrote: > >> > >> I am having a intermittent problem with ZCatalog(I think). I have a couple > >> of products that are catalog-aware and have been working. Then, out of > >> nowhere if I call I get a __len__ > >> error, when a few minutes before it worked. I looked at the undo list to see > >> if I have done anything to cause it but could not find anything. I delete > >> the cataloged objects as well as the objects themselves and re-create them. > >> Same problem. Here is the TB: > >> > >> _______________________________________________ > >> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From scott@launchpoint.net Sat Oct 28 20:02:08 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:02:08 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: One of the reasons I haven't moved to 2.2 yet is because of the extensive use of ZDiscussions on my server. I have successfully moved all other products over into a separate install, waiting to be turned on. All but ZDiscussions. I have been trying to create a ZClass-based replica of it similar methods etc. . I also run another Zope server with 2.2 on it and have had over 1,500 Catalog-aware objects in the catalog with no problems. So I figured it was 2.1.6.... Scott > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From scott@launchpoint.net Sat Oct 28 20:06:40 2000 From: scott@launchpoint.net (Scott Burton) Date: Sat, 28 Oct 2000 12:06:40 -0700 Subject: [Zope] more __len__ errors In-Reply-To: <39FB1C4D.14E1CE12@digicool.com> Message-ID: I will see what I can do about the before and after snapshots. Then again, I should probably just make the move to 2.2. Is there a way to use the same objects created by ZDiscussions in my ZClass version of ZD as long as the meta_types are the same? That way the change-over could be transparent.(hopefully) > From: Chris McDonough > Date: Sat, 28 Oct 2000 14:34:53 -0400 > To: Scott Burton > Cc: Zope List > Subject: Re: [Zope] more __len__ errors > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > matter, but at least some of them have been fixed (not to mention that > later versions of Zope log errors in cataloging and uncataloging > objects). The Zope 2.1.X branch is not really being maintained. You > should probably try to move to the latest release. > > That said, it would be most helpful to have a full copy of the Zope > installation which exhibits the problem. Even better (but probably less > possible) is to have a full copy of the Zope installation *right before* > the problem starts occurring and one *right after* the problem starts > occurring so we can look at the catalog data structures to see what > might be happening. Platform is not thought to be an issue. This would > be helpful even if it was a Zope 2.1.6 install. > > Scott Burton wrote: >> >> Sorry about that, I forgot to send the trace back along with the message. As >> my luck would have it, I go to the section that was giving me an error, now >> it has disappeared? It s now working again with no errors. I know it isn't >> just me, one of my clients is reporting the same error on their side from my >> server. >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that >> helps. >> >>> From: Chris McDonough >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 >>> To: Scott Burton >>> Cc: Zope List >>> Subject: Re: [Zope] more __len__ errors >>> >>> Scott, we're struggling with some catalog issues right now... I didn't >>> see the traceback attached, but I assume it's a "len of unsized object" >>> error. We'd be very interested in obtaining a setup where this problem >>> was repeatable. >>> >>> Scott Burton wrote: >>>> >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple >>>> of products that are catalog-aware and have been working. Then, out of >>>> nowhere if I call I get a __len__ >>>> error, when a few minutes before it worked. I looked at the undo list to >>>> see >>>> if I have done anything to cause it but could not find anything. I delete >>>> the cataloged objects as well as the objects themselves and re-create them. >>>> Same problem. Here is the TB: >>>> >>>> _______________________________________________ >>>> 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 ) >>> >>> -- >>> Chris McDonough >>> Digital Creations, Publishers of Zope >>> http://www.zope.org >>> >>> _______________________________________________ >>> 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 ) > > -- > Chris McDonough > Digital Creations, Publishers of Zope > http://www.zope.org > From chrism@digicool.com Sat Oct 28 23:05:05 2000 From: chrism@digicool.com (Chris McDonough) Date: Sat, 28 Oct 2000 18:05:05 -0400 Subject: [Zope] more __len__ errors References: Message-ID: <39FB4D91.5FBE7653@digicool.com> It's likely that moving to 2.2 may be a less-than-transparent prospect, mostly due to the security changes. But unfortunately, if this catalog thing is a showstopper for you, you'll probably need to bite the bullet and upgrade at some point. In any case, even without an upgrade, if you are willing and able to send us your file storage, your installed Products directory, and any external methods you've got lying around, with a proven way of recreating a catalog-related error symptom, we'd be probably able to make use of it on our quest to fix boundary conditions on the catalog. Scott Burton wrote: > > I will see what I can do about the before and after snapshots. Then again, I > should probably just make the move to 2.2. Is there a way to use the same > objects created by ZDiscussions in my ZClass version of ZD as long as the > meta_types are the same? That way the change-over could be > transparent.(hopefully) > > > From: Chris McDonough > > Date: Sat, 28 Oct 2000 14:34:53 -0400 > > To: Scott Burton > > Cc: Zope List > > Subject: Re: [Zope] more __len__ errors > > > > Hmmm... Zope 2.1.6 has known catalog issues. So does 2.2.X for that > > matter, but at least some of them have been fixed (not to mention that > > later versions of Zope log errors in cataloging and uncataloging > > objects). The Zope 2.1.X branch is not really being maintained. You > > should probably try to move to the latest release. > > > > That said, it would be most helpful to have a full copy of the Zope > > installation which exhibits the problem. Even better (but probably less > > possible) is to have a full copy of the Zope installation *right before* > > the problem starts occurring and one *right after* the problem starts > > occurring so we can look at the catalog data structures to see what > > might be happening. Platform is not thought to be an issue. This would > > be helpful even if it was a Zope 2.1.6 install. > > > > Scott Burton wrote: > >> > >> Sorry about that, I forgot to send the trace back along with the message. As > >> my luck would have it, I go to the section that was giving me an error, now > >> it has disappeared? It s now working again with no errors. I know it isn't > >> just me, one of my clients is reporting the same error on their side from my > >> server. > >> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that > >> helps. > >> > >>> From: Chris McDonough > >>> Date: Sat, 28 Oct 2000 08:34:46 -0400 > >>> To: Scott Burton > >>> Cc: Zope List > >>> Subject: Re: [Zope] more __len__ errors > >>> > >>> Scott, we're struggling with some catalog issues right now... I didn't > >>> see the traceback attached, but I assume it's a "len of unsized object" > >>> error. We'd be very interested in obtaining a setup where this problem > >>> was repeatable. > >>> > >>> Scott Burton wrote: > >>>> > >>>> I am having a intermittent problem with ZCatalog(I think). I have a couple > >>>> of products that are catalog-aware and have been working. Then, out of > >>>> nowhere if I call I get a __len__ > >>>> error, when a few minutes before it worked. I looked at the undo list to > >>>> see > >>>> if I have done anything to cause it but could not find anything. I delete > >>>> the cataloged objects as well as the objects themselves and re-create them. > >>>> Same problem. Here is the TB: > >>>> > >>>> _______________________________________________ > >>>> 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 ) > >>> > >>> -- > >>> Chris McDonough > >>> Digital Creations, Publishers of Zope > >>> http://www.zope.org > >>> > >>> _______________________________________________ > >>> 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 ) > > > > -- > > Chris McDonough > > Digital Creations, Publishers of Zope > > http://www.zope.org > > > > _______________________________________________ > 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 ) -- Chris McDonough Digital Creations, Publishers of Zope http://www.zope.org From jleach@mail.ocis.net Sun Oct 29 00:49:44 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:49:44 -0700 (PDT) Subject: [Zope] Securing ftp. Message-ID: hi, I'd like to set up a ftp site so a specific client gets sent to a specific folder when they log in, and they can not back out of that folder. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From jleach@mail.ocis.net Sun Oct 29 00:50:19 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:50:19 -0700 (PDT) Subject: [Zope] Calander. In-Reply-To: <39F92370.41D9FF13@iswt.com> Message-ID: hi, Thanks. I'll look into it. j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Fri, 27 Oct 2000, Tim Cook wrote: > "Jason C. Leach" wrote: > > > > hi, > > > > I'm looking for a Zope calander kind of like you see on the ZopeNewbies > > page. Anyone seen a product like this hanging around. > > > > There is a ZCalendar tag. But the EventFolder is much more full > featured. > > -- Tim Cook -- > Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT > Free Practice Management | http://FreePM.org > Censorship: The reaction of the ignorant to freedom. > > From jleach@mail.ocis.net Sun Oct 29 00:55:25 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sat, 28 Oct 2000 16:55:25 -0700 (PDT) Subject: [Zope] load_sipe.py URL. Message-ID: hi, What does the load_site.py expect as a URL? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From Henny van der Linde" Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From kedai@kedai.com.my Sun Oct 29 03:50:48 2000 From: kedai@kedai.com.my (Bak @ kedai) Date: Sun, 29 Oct 2000 11:50:48 +0800 Subject: [Zope] more __len__ errors Message-ID: <003701c0415b$6d0be7a0$e62fbcca@kedai> -----Original Message----- From: Scott Burton To: Zope List Date: Sunday, October 29, 2000 3:28 AM Subject: Re: [Zope] more __len__ errors >I will see what I can do about the before and after snapshots. Then again, I >should probably just make the move to 2.2. Is there a way to use the same >objects created by ZDiscussions in my ZClass version of ZD as long as the >meta_types are the same? That way the change-over could be >transparent.(hopefully) i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2 by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py maybe you could give it a shot. this was mentioned a while back in the list. hth From verzani@postbox.csi.cuny.edu Sun Oct 29 04:46:56 2000 From: verzani@postbox.csi.cuny.edu (John Verzani) Date: 28 Oct 2000 23:46:56 -0500 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames Message-ID: Hi, I'd like to use zope to serve static webpages created with MS Frontpage (and others of course). I was hoping that they could be ftpped into the ZODB and served up straight. However, a number of folders have underscores for leaading folder names and I've discovered this is a Zope no no. Is there some way short of renaming the offending folders to do this. (also I'm not keen on LocalFS solutions either.) Thanks for any help. -- .................................................................... . John Verzani mailto:verzani@math.csi.cuny.edu . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of New York tel: (718) 982-3623 . . College of Staten Island fax: (718) 982-3631 . . Staten Island, NY 10314 . .................................................................... From morten@esol.no Sun Oct 29 06:45:14 2000 From: morten@esol.no (Morten W. Petersen) Date: Sun, 29 Oct 2000 07:45:14 +0100 (CET) Subject: [Zope] problem installing login manager In-Reply-To: <000701c04159$c34be680$eca879c3@mshome.net> Message-ID: On Sun, 29 Oct 2000, Henny van der Linde wrote: [...] > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? You probably need to compile the DynPersist.c file into a shared library; it's located within the ZPatterns product, and this command line (or something similar) will probably compile it for you: """ gcc -O2 -o DynPersist.so -c DynPersist.c -I../../ZODB \ -I../../../Components/ExtensionClass -I/usr/include/python1.5 """ HTH. Regards, Morten From jason_zope@yahoo.com Sun Oct 29 06:51:29 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sat, 28 Oct 2000 23:51:29 -0700 (PDT) Subject: [Zope] problem installing login manager Message-ID: <20001029065129.19470.qmail@web4604.mail.yahoo.com> You need to compile the DynPersist.c file for ZPatters to work. put a "Makefile.pre.in" file in the ZPatterns directory. (there is one in the lib/python dir, but any should work) then do a "make -f Makefile.pre.in boot" and then a "make" in the ZPatterns directory. Then it should be OK. - Note: I also had to add an empty "help" directory in the PlugIns directory to keep it from complaining about registering with the help system. hope this helps Jason --- Henny van der Linde wrote: > Hi, > > I just installed Zope 2.2.2 and tried to install the > latest version of Login > Manager. > > It failed: > > LoginManager Import Traceback > Traceback (innermost last): > File "C:\Program > Files\WebSite22\lib\python\OFS\Application.py", line > 397, > in import_products > product=__import__(pname, global_dict, > global_dict, silly) > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\__init__.py", > line 1, in ? > import LoginManager, LoginMethods, UserSources > File "C:\Program > Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", > line 8, > in ? > from Products.ZPatterns.Specialists import > Specialist > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", > line 1, in ? > import Rack, Specialists, Customizers, > AttributeProviders, > SheetProviders > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", > line 9, in ? > from DataSkins import DataSkin > File "C:\Program > Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", > line 1, in ? > from DynPersist import DynPersist > ImportError: No module named DynPersist > > What 's happening? > > Thanks > > > Henny van der Linde > > > _______________________________________________ > 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 ) > __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From jason_zope@yahoo.com Sun Oct 29 07:13:49 2000 From: jason_zope@yahoo.com (Jason Byron) Date: Sun, 29 Oct 2000 00:13:49 -0700 (PDT) Subject: [Zope] LoginManager and standard_html_header Message-ID: <20001029071349.29678.qmail@web4601.mail.yahoo.com> LoginManager seems to append the standard_html_header to the logoutForm when authorization fails. This would normally be ok but the problem is that it uses the standard_html_header from the directory where the authorization fails and not from where the logoutForm is. Is there a way to fix this? I'm ending up with either the wrong header or multiple headers. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From sander@atp.nl Sun Oct 29 08:36:05 2000 From: sander@atp.nl (Alexander Verhaar) Date: Sun, 29 Oct 2000 09:36:05 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 Message-ID: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title Alexander Verhaar Website : http://www.atp.nl From faassen@vet.uu.nl Sun Oct 29 13:44:16 2000 From: faassen@vet.uu.nl (Martijn Faassen) Date: Sun, 29 Oct 2000 14:44:16 +0100 Subject: [Zope] Re: More ZFormulator In-Reply-To: <200010271852.NAA11508@mercury.spvi.com> References: <977A39E65CFCD3119ABF00D0B741D84973391D@innt-73.ata.com> <200010271852.NAA11508@mercury.spvi.com> Message-ID: <20001029144416.A19622@vet.uu.nl> Hi folks, I hadn't seen the traffic on ZFormulator on this list before, and this looks like a good bugfix; I knew there was a security related problem in ZFormulator for a long time, and this may actually be the fix. I hadn't been able to look at it for months, though I keep intending to get back to it soon (but I may actually really be able to get to it soon :).a Steve Spicklemire wrote: > > Found it: > > line 312: Form.py should be: > > > __roles__ = ('Manager',) > From seb@jamkit.com Sun Oct 29 15:21:23 2000 From: seb@jamkit.com (Seb Bacon) Date: Sun, 29 Oct 2000 15:21:23 -0000 Subject: [Zope] product permissions problem In-Reply-To: <020001c03f7e$caa1bb80$fe5da182@michieltje> Message-ID: hello all once again, I've got a DTML method in a product, which calls objectValues('Folder') to list some folders that are contained within the product itself. When I try it out inside the product, it works. When I use it as part of the constructor form, called from an other location, I get an unauthorized error. objectValues('Image') doesn't throw the error, so I think this must be to do with the 'Access contents information' permission mapping on the folder inside the product. (?!) I've tried giving the method a Manager proxy role to no avail. Any hints received with gratitude. seb. From gregor@hoffleit.de Sat Oct 28 21:13:50 2000 From: gregor@hoffleit.de (Gregor Hoffleit) Date: Sat, 28 Oct 2000 22:13:50 +0200 Subject: [Zope] New to list & Zope In-Reply-To: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com>; from eileen@orbell.com on Mon, Oct 23, 2000 at 09:29:09PM -0400 References: <5.0.0.25.2.20001023212612.00a63210@mail.traveldocs.com> Message-ID: <20001028221350.A27222@53b.hoffleit.de> On Mon, Oct 23, 2000 at 09:29:09PM -0400, Eileen Orbell wrote: > I run debian 2.2 and have Zope installed and apache. On bootup my Zope > server starts automatic. > I am wondering how I configure Zope with an Apache server? I am very very > new to Zope so really want a little help in starting off. My network works > fine by the way and I use cabke modem with a static IP for my > website. Thanks for any help. Right now I only see Zope in my cgi-bin and > thought I should have a file zope.cgi? As you can see I am a little lost :-) Just have a look at /usr/share/doc/zope/README.Debian. A topic therein is "How to set up Zope for an existing web server (e.g. Apache)". Try if it works for you that way, and come back to me if you fail. Then it's my fault, since I wrote this file ;-) Gregor From diego@magicwebdesign.com.br Sun Oct 29 19:20:09 2000 From: diego@magicwebdesign.com.br (Diego Rodrigo Neufert) Date: Sun, 29 Oct 2000 17:20:09 -0200 Subject: [Zope] dtml-while Message-ID: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml? Thanks in advance... -- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr) From chrism@digicool.com Sun Oct 29 19:44:17 2000 From: chrism@digicool.com (Chris McDonough) Date: Sun, 29 Oct 2000 14:44:17 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <000201c041e1$25303fe0$4fc48ad0@kurtz> This is way too cool. :-) Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs folks were unfortunately not in attendance. Since it was a Friday, and since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido Jam": we all got a chance to poke at him with questions and such and vice versa. (Probably the thing I got a kick out of most in that session was Jim just sitting there grinning like a maniac - he's pretty pumped about having the PythonLabs team here now.) We talked about class/type distinctions and the possibility of removing them within Python, why acquisition is useful and some of its shortcomings, stackless Python, and other less esoteric things. Hopefully the newer members of DC (like me) will soon get a chance to meet the rest of the PythonLabs team face-to-face. - C ----- Original Message ----- From: "Andy McKay" To: Cc: Sent: Saturday, October 28, 2000 12:10 PM Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is great news for Zope... > > (well I think it is anyway) > > > -------- Original Message -------- > > Subject: PythonLabs Team Moves to Digital Creations > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > From: Guido van Rossum > > To: python-list@python.org (Python mailing > > list),python-announce-list@python.org, python-dev@python.org > > > > To all Python users and developers: > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > hope of finding a new permanent home for Python development. At > > BeOpen, we've done several good things for Python, such as moving the > > Python and Jython development process to SourceForge, and the > > successful release of Python 2.0. > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > out as hoped, and we weren't able to reach mutual agreement on > > workable alternative plans -- despite trying for months. > > > > I am proud to have found a new home for my entire team: starting > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > are working for Digital Creations. We will be spending part of our > > time on core Python development (including Jython and Mailman) and > > part of our time on Python infrastructure improvements that also > > benefit Zope. > > > > Python will remain Open Source; Digital Creations has no desire to > > monetize or brand the Python language or specific Python > > distributions. All future work we do on Python as Digital Creations > > employees will be owned by a non-profit organization yet to be > > created. We think of this new organization as the Python Software > > Foundation. In the meantime (while the PSF is under construction) I > > will own such copyrights personally. > > > > We're excited to be working for Digital Creations: they are one of the > > oldest companies active in the Python community, one of the companies > > most committed to Python, and they have a great product! Plus, we > > know they have deep financial backing. We trust that Digital > > Creations will provide a stable home for Python for many years. > > > > Digital Creations has also offered to take over hosting of the > > python.org and starship sites. On behalf of the Python community, > > we're grateful for this support of the two prime community sites for > > Python, and we expect to be implementing the transitions shortly. > > > > These are exciting times for the PythonLabs team -- and also for > > Python and its community. Mainstream successes for Python are showing > > up everywhere, and we're proud to be a part of such a smart and > > friendly community. A great year lies ahead! > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > -- > > http://www.python.org/mailman/listinfo/python-list > > > > _______________________________________________ > 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 ) > > From hohage@muenster.de Sun Oct 29 21:15:02 2000 From: hohage@muenster.de (hohage) Date: Sun, 29 Oct 2000 21:15:02 +0000 Subject: [Zope] dtml-while Message-ID: <39FBC567@muepubb> Hallo Diego, this works(tested): Bye Sven >===== Original Message From Diego Rodrigo Neufert ===== >Why there isnt a dtml-while function in Zope? >How to implement it with dtml? >how to do a simple while x != y in dtml? > >Thanks in advance... > >-- >--------------------------- >Diego Rodrigo Neufert >-webmaster >--------------------------- >(Magic Web Design) >(email) (diego@magicwebdesign.com.br) >(curitiba) (pr) > >_______________________________________________ >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 ) From michel@digicool.com Sun Oct 29 20:37:46 2000 From: michel@digicool.com (Michel Pelletier) Date: Sun, 29 Oct 2000 12:37:46 -0800 Subject: [Zope] dtml-while References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <39FC8A9A.D2039244@digicool.com> Diego Rodrigo Neufert wrote: > > Why there isnt a dtml-while function in Zope? DTML is not meant to be used for general purpose, logic programming. It's a presentation and layout language. Additionally, a while construct would allow you to create indeterminate loops: ... and you're not allowed to loop indefinately in DTML. It's against the rules. does all the looping you need over a python sequence, since DTML doesn't let you build infinite sequences, all loops terminate. The solution to your problem is to you Python Methods. http://dev.zope.org/Members/4am/PythonMethod Python does have a while construct and is indented for programming logic. -Michel From steve@spvi.com Sun Oct 29 20:51:02 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 15:51:02 -0500 (EST) Subject: [Zope] dtml-while In-Reply-To: <0010291722010S.29903@belzebu.magicwebdesign.com.br> (message from Diego Rodrigo Neufert on Sun, 29 Oct 2000 17:20:09 -0200) References: <0010291722010S.29903@belzebu.magicwebdesign.com.br> Message-ID: <200010292051.PAA23035@mercury.spvi.com> Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like it's looping over a list of objects... one easy trick might be: Do something conditional.... Assuming you can specify an upper limit on the number of iterations required. -steve >>>>> "Diego" == Diego Rodrigo Neufert writes: Diego> Why there isnt a dtml-while function in Zope? How to Diego> implement it with dtml? how to do a simple while x != y in Diego> dtml? Diego> Thanks in advance... Diego> -- --------------------------- Diego Rodrigo Neufert Diego> -webmaster --------------------------- (Magic Web Design) Diego> (email) (diego@magicwebdesign.com.br) (curitiba) (pr) Diego> _______________________________________________ Zope Diego> maillist - Zope@zope.org Diego> http://lists.zope.org/mailman/listinfo/zope ** No cross Diego> posts or HTML encoding! ** (Related lists - Diego> http://lists.zope.org/mailman/listinfo/zope-announce Diego> http://lists.zope.org/mailman/listinfo/zope-dev ) From peter@grenna.net Sun Oct 29 21:56:01 2000 From: peter@grenna.net (Peter Bengtsson) Date: Sun, 29 Oct 2000 21:56:01 -0000 Subject: [Zope] None-debug mode on win2k Message-ID: <000901c041f3$0798d9d0$2a69fea9@peppe> Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. From jleach@mail.ocis.net Sun Oct 29 22:13:35 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 14:13:35 -0800 (PST) Subject: [Zope] Get file contents. Message-ID: hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From curtis@cardgate.net Sun Oct 29 22:50:16 2000 From: curtis@cardgate.net (Curtis Maloney) Date: Mon, 30 Oct 2000 09:50:16 +1100 Subject: [Zope] Zope & python 2 In-Reply-To: References: <0010261247490E.00650@localhost.localdomain> Message-ID: <00103009501610.00650@localhost.localdomain> On Thu, 26 Oct 2000, Toby Dickenson wrote: > >> Hi all > >> > >> Is anyone using or know the current state of Zope with python 2.0 ? > > > >I've been somewhat curious about this myself. > > The current release of Zope works well on python 2.0. If you are a > cautious type, you might not want to use it on a production server > yet. (I would certainly recommend you dont if you allow untrusted > users to write dtml) > Hmm.. well, that's good to know... which products have you tried it with so far? > >Will there need to be large changes now that strings are proper objects? > > (the string functions are now methods of strings). If so, will this mean > > the phasing out of _.string ? > > _.string is unlikely to go away. > > String methods are currently inaccessible TTW. The security > implications of opening this up have not yet been assessed. > > >And from the looks of things there are a large number of small changes > > that could be made to improve performance (such as the new 'augmented > > assignment' operators [ += *= /= and so on] ).... > > It seems likely that they will not be available in dtml (for the same > reasons as regular assignment). The case for PythonMethods has not yet > been investigated > I didn't mean to dtml, I meant to all the Python code underneath. I'm sure you've noticed there is a lot more to Zope than just DTML and Python methods. > > Toby Dickenson > tdickenson@geminidataloggers.com > Have a better one, Curtis Maloney. From steve@spvi.com Sun Oct 29 22:56:41 2000 From: steve@spvi.com (Steve Spicklemire) Date: Sun, 29 Oct 2000 17:56:41 -0500 (EST) Subject: [Zope] Get file contents. In-Reply-To: (jleach@mail.ocis.net) References: Message-ID: <200010292256.RAA23696@mercury.spvi.com> Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this.... -steve ---------------------------------------------------------------------- # # ReadFile is an external method that reads data from a file uploaded from # the users computer and produces a TinyTable based on that data. # import string def ReadFile(self, infile, # input file..... outTableName='defaultTable', # name of output table outTableTitle='', # title of output table outTableColumns='', # columns for output table REQUEST=None, # Pass in REQUEST.... RESPONSE=None): # and response... if not hasattr(self, outTableName): self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) newTT = getattr(self, outTableName) newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) data = infile.read() data = string.replace(data,'\r','\n') data = string.replace(data,'\n\n','\n') lines = string.split(data,'\n') newLines = [] for i in range(len(lines)): line = string.strip(lines[i]) if line: sl = string.split(line,',') sl = map(lambda x:'"%s"' % x, sl) newLines.append(string.join(sl,',')) data = string.join(newLines, '\n') return newTT.manage_editData( data, REQUEST ) def main(): class foo: def manage_addTinyTable(self, *args, **kwargs): pass def manage_edit(self, *args, **kwargs): pass def manage_editData(self, data, REQUEST): print "In manage_editDdata" print data import StringIO f = StringIO.StringIO() f.write('a,b,c,d\n') f.write('d,e,f,g\n') f.seek(0) print f.read() f.seek(0) rf = foo() rf.defaultTable = foo() ReadFile(rf, f) if __name__=='__main__': main() >>>>> "Jason" == Jason C Leach writes: Jason> hi, Jason> I pass a zope file object (just plane text) to an external Jason> method. The file consists of a list of lines of text. I'd Jason> like to extract those lines from the file and put 'em in a Jason> list. Can anyone help with the extraction method? Jason> Thanks, j. Jason> ...................... ..... Jason C. Leach ... University Jason> College of the Cariboo. .. Jason> _______________________________________________ Zope Jason> maillist - Zope@zope.org Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross Jason> posts or HTML encoding! ** (Related lists - Jason> http://lists.zope.org/mailman/listinfo/zope-announce Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) From phil.harris@zope.co.uk Sat Oct 28 23:10:47 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:10:47 +0100 Subject: [Zope] None-debug mode on win2k References: <000901c041f3$0798d9d0$2a69fea9@peppe> Message-ID: <004901c0412c$099c2b50$0202a8c0@typhoon> Peter, When running Zope as a service you can add the parameter by using regedit, goto: hkey_local_machine\system\currentcontrolset\services\zope\parameters. The problem is though that the console window is hidden by default, but you have two options. 1. the easy way. run Zope by double-clicking on the start.bat file in your Zope folder. 2. the hard way. let the service interact with the desktop. You can do this by going to the services manager and double clicking on the the zope service, then on the log-on tab and changing the option 'allow service to interact with desktop'. I'm not sure how the second option works when no-one is logged though. hth Phil ----- Original Message ----- From: "Peter Bengtsson" To: Sent: Sunday, October 29, 2000 10:56 PM Subject: [Zope] None-debug mode on win2k | Zopistas, | | I have searched the mailinglist and look under the carpets and READMEs. | Maybe I'm just blind but how do I run Zope in none-debug mode ?? | In other words; how do I add the -D param? | | I run Zope2.2.2 on a win2k pro as a service. | | | | _______________________________________________ | 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 ) From Henny van der Linde" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I just installed Zope 2.2.2 and tried to install the latest version of = Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line = 397, in import_products product=3D__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, = in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line = 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program = Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in = ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde ------=_NextPart_000_0013_01C04208.1E3C1700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

I just installed Zope 2.2.2 and tried to install the = latest=20 version of Login
Manager.

It failed:

LoginManager = Import=20 Traceback
Traceback (innermost last):
  File "C:\Program=20 Files\WebSite22\lib\python\OFS\Application.py", line 397,
in=20 import_products
    product=3D__import__(pname, = global_dict,=20 global_dict, silly)
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.= py",=20 line 1, in ?
    import LoginManager, LoginMethods,=20 UserSources
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginMana= ger.py",=20 line 8,
in ?
    from = Products.ZPatterns.Specialists import=20 Specialist
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py"= , line=20 1, in ?
    import Rack, Specialists, Customizers,=20 AttributeProviders,
SheetProviders
  File "C:\Program=20 Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in=20 ?
    from DataSkins import DataSkin
  File=20 "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py= ", line=20 1, in ?
    from DynPersist import = DynPersist
ImportError:=20 No module named DynPersist

What 's=20 happening?

Thanks


Henny van der = Linde
------=_NextPart_000_0013_01C04208.1E3C1700-- From phil.harris@zope.co.uk Sat Oct 28 23:58:03 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sat, 28 Oct 2000 23:58:03 +0100 Subject: [Zope] problem installing login manager References: <001601c041ff$bdc5d9e0$0aaa79c3@mshome.net> Message-ID: <006e01c04132$882c2aa0$0202a8c0@typhoon> Henny, You also need the ZPatterns product, which you then have to compile to get the dynpersist.pyd file. hth Phil ----- Original Message ----- From: Henny van der Linde To: Zope mailing list Sent: Monday, October 30, 2000 12:27 AM Subject: [Zope] problem installing login manager Hi, I just installed Zope 2.2.2 and tried to install the latest version of Login Manager. It failed: LoginManager Import Traceback Traceback (innermost last): File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "C:\Program Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8, in ? from Products.ZPatterns.Specialists import Specialist File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py", line 9, in ? from DataSkins import DataSkin File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ? from DynPersist import DynPersist ImportError: No module named DynPersist What 's happening? Thanks Henny van der Linde From vtwiddy@senet.com.au Mon Oct 30 00:13:16 2000 From: vtwiddy@senet.com.au (Mark Twiddy) Date: Mon, 30 Oct 2000 10:43:16 +1030 (CST) Subject: [Zope] PoPy Message-ID: Hi all Im trying to compile PoPy on a bsd 3.1 box it compiles fine but when i try to import it i get an error ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Has anybody had this before, know what libs i need to link against to get this to work or even if this is a kernel thing? Thanks Mark From Vincent - D. Ertner" Hi Zope, I wondered, whether it's possible and sensible to have php-Pages in Zope sites ... any thoughts and comments on this matter? Cheers, Vince ''' ô¿ô - From jleach@mail.ocis.net Mon Oct 30 01:56:31 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 17:56:31 -0800 (PST) Subject: [Zope] Get file contents. In-Reply-To: <200010292256.RAA23696@mercury.spvi.com> Message-ID: hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you method I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: manage_addTinyTable It would probably bail on the read also if it got that far. Perhaps I am caling it wrong, or not pasing the correct object. I jest pass in a Zope File opject, which hapens to be a few lines of text. Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > Hi Jason, > > Here's an external method that I've used to populate a TinyTable > from a comma separated text file. You might at least get some ideas > about how to extract stuff from the file using this.... > > -steve > > ---------------------------------------------------------------------- > > # > # ReadFile is an external method that reads data from a file uploaded from > # the users computer and produces a TinyTable based on that data. > # > > import string > > def ReadFile(self, > infile, # input file..... > outTableName='defaultTable', # name of output table > outTableTitle='', # title of output table > outTableColumns='', # columns for output table > REQUEST=None, # Pass in REQUEST.... > RESPONSE=None): # and response... > > if not hasattr(self, outTableName): > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > newTT = getattr(self, outTableName) > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > data = infile.read() > data = string.replace(data,'\r','\n') > data = string.replace(data,'\n\n','\n') > lines = string.split(data,'\n') > newLines = [] > for i in range(len(lines)): > line = string.strip(lines[i]) > if line: > sl = string.split(line,',') > sl = map(lambda x:'"%s"' % x, sl) > newLines.append(string.join(sl,',')) > > data = string.join(newLines, '\n') > > return newTT.manage_editData( data, REQUEST ) > > > def main(): > class foo: > > def manage_addTinyTable(self, *args, **kwargs): > pass > > def manage_edit(self, *args, **kwargs): > pass > > def manage_editData(self, data, REQUEST): > print "In manage_editDdata" > print data > > import StringIO > > f = StringIO.StringIO() > f.write('a,b,c,d\n') > f.write('d,e,f,g\n') > f.seek(0) > > print f.read() > f.seek(0) > > rf = foo() > rf.defaultTable = foo() > > ReadFile(rf, f) > > if __name__=='__main__': > > main() > > >>>>> "Jason" == Jason C Leach writes: > > Jason> hi, > > Jason> I pass a zope file object (just plane text) to an external > Jason> method. The file consists of a list of lines of text. I'd > Jason> like to extract those lines from the file and put 'em in a > Jason> list. Can anyone help with the extraction method? > > Jason> Thanks, j. > > Jason> ...................... ..... Jason C. Leach ... University > Jason> College of the Cariboo. .. > > > Jason> _______________________________________________ Zope > Jason> maillist - Zope@zope.org > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > Jason> posts or HTML encoding! ** (Related lists - > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > Jason> http://lists.zope.org/mailman/listinfo/zope-dev ) > > From Henny van der Linde" <006e01c04132$882c2aa0$0202a8c0@typhoon> Message-ID: <000901c04216$0eb60ee0$0100a8c0@mshome.net> Hi, ----- Original Message ----- From: "Phil Harris" To: "Henny van der Linde" ; "Zope mailing list" Sent: Saturday, October 28, 2000 11:58 PM Subject: Re: [Zope] problem installing login manager > Henny, > > You also need the ZPatterns product, which you then have to compile to get > the dynpersist.pyd file. > > hth > I know. It's included in the latest install of Login Manager (Zpatterns 0-4.3b1). The funny thing is that Zpatterns shows itself in the control panel/product management as installed product and Login Manager as an broken product. However when Zope boots up it also mentiones that it can't import the dynpersist.pyd file (belonging to Zpatterns). Interesting question is why Zpatterns isn't listed as a broken product as well. I tried to install the separate Zpatterns install but with the same results. Still a problem with dynpersist.pyd. Anyone? cheers, Henny van der Linde. From jleach@mail.ocis.net Mon Oct 30 04:35:24 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Sun, 29 Oct 2000 20:35:24 -0800 (PST) Subject: [Zope] Displaying Folder Contents. Message-ID: hi, If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Thanks, j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From askart@bellatlantic.net Mon Oct 30 04:40:27 2000 From: askart@bellatlantic.net (askart@bellatlantic.net) Date: Sun, 29 Oct 2000 23:40:27 -0500 Subject: [Zope] ssl w/ modrewrite Message-ID: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> I found the answear to this this a year ago, but can no longer find where I found it. I have a Zope site set up with modrewrite and apache so that Zope shows up as the root of the site: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*) /home/httpd/cgi-bin/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] (I know the format is wrong, this email client added carriage returns, but it works as typed in the server withour CRs.) I added modssl, but when I go in on an https I get the original apache root page, and can only access zope at https://address/cgi-bin/Zope . Furthermore, since the SSL connection is not going through modrewrite I cannot log in over SSL, I can just view the pages that anonymous has access to (none). How do I modify the above to make it work with ssl connections (it does not need to work with non-ssl connection since I will disable non-ssl as soon as I get ssl working. Sorry this is a little incoherant, I am suffering from jet-lag. -Harry From phd@mail2.phd.pp.ru Mon Oct 30 09:40:41 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Mon, 30 Oct 2000 09:40:41 +0000 (GMT) Subject: [Zope] load_site.py URL. In-Reply-To: Message-ID: On Sat, 28 Oct 2000, Jason C. Leach wrote: > What does the load_site.py expect as a URL? URL to a Zope folder, where you wnat to upload your files/directories. the folder should exists before you start load_site.py. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From grund@zblmath.FIZ-Karlsruhe.DE Mon Oct 30 09:41:21 2000 From: grund@zblmath.FIZ-Karlsruhe.DE (Hannes Grund) Date: Mon, 30 Oct 2000 10:41:21 +0100 Subject: [Zope] Verify Watermark. Message-ID: <00103010455300.30611@donald> In Zope2.1.6 there was a function called 'verify watermark' in module Accesscontrol.User. This function seems to have gone in the 2.2.2 release. My question: Is there any direct replacement for this method ? Or at least a some kind of equivalent code ? thanks in advance, Hannes From maxmcorp@worldonline.dk Mon Oct 30 10:09:22 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 11:09:22 +0100 Subject: [Zope] Displaying Folder Contents. In-Reply-To: Message-ID: If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to pass the folder to an external method, and have the method get a list of all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ fetching a list of the folder contents? Maybe this will work??? Untested. Regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrisw@nipltd.com Mon Oct 30 10:50:23 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:50:23 +0000 Subject: [Zope] trapping login errors/exceptions References: <000d01c03f77$5fa0b680$d4a979c3@mshome.net> <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> Message-ID: <39FD526F.DAF94274@nipltd.com> Henny van der Linde wrote: > Thanks. I already thought about using Loginmanager but we still use Zope > 2.1.6. Why? ;-) > I'm very commited, to and happy with Zope but I was amazed that you can't > trap Unauthorized exception like that. I'ts seems such a basic > functionality. Yeah, I totally agree :-S cheers, Chris From chrisw@nipltd.com Mon Oct 30 10:56:37 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 10:56:37 +0000 Subject: [Zope] Forbidding overrides? References: <8tcdej$qvu$1@gaia.cdg.acriter.nl> Message-ID: <39FD53E5.F3DF872A@nipltd.com> Cees de Groot wrote: > > Something I remember from my early Zope days that could be solved, but I > can't seem to find an answer: say I have a simple site where people can > do simple things within their folder. However, I want my banners/logo > whatever on their pages, so I've setup index_html to put my own stuff > in and include their body_text. I'd to this using a SiteAccess Access Rule that always wraps their stuff in whatever you want. You'll probably need to use the traversal interface's RestrictedTraverse method too... > How can I prevent smartasses from creating index_html documents in their > folder? More generally, is it possible to disallow certain folder methods > or properties to be overriden from a point in the tree? Look at the __replaceable__ properties stuff on dev.zope.org. I guess you could roll your own folder with a list of attributes that could only be defined as singletons (__replaceable__ = UNIQUE). Just stabs in the dark... Chris PS: Banners as advertising don't work ;-) From chrisw@nipltd.com Mon Oct 30 11:40:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:40:04 +0000 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> Message-ID: <39FD5E14.8F72BB9E@nipltd.com> Jimmie Houchin wrote: > I know because I will be developing and changing files in these > directories but not via CVS that CVS will probably complain about the > changes. Is this a problem? Depends, if you're changing Zope source files, then you may get some merge conflicts, but there shouldn't be any real problems. If you edit/add file which aren't stored in cvs.zope.org, CVS will just ignore them, it's good like that ;-) > I will also be wanting to use the CVS of other Zope items like the PTK. > Does this impact this in any way? Just checkout the PTK/whatever to the appropriate bit of the Zope tree. IIRC, the PTK CVS structure isnt' conducive to doing this, though, which could be a pain :-( HTH, Chris From chrisw@nipltd.com Mon Oct 30 11:41:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:41:04 +0000 Subject: [Zope] Securing ftp. References: Message-ID: <39FD5E50.B10523BF@nipltd.com> "Jason C. Leach" wrote: > > I'd like to set up a ftp site so a specific client gets sent to a specific > folder when they log in, and they can not back out of that folder. That's not actually a question ;-) You might be able to do something usful with a SiteAccess Access Rule... cheers, Chris From chrisw@nipltd.com Mon Oct 30 11:48:06 2000 From: chrisw@nipltd.com (Chris Withers) Date: Mon, 30 Oct 2000 11:48:06 +0000 Subject: [Zope] using zope with MS FrontPage -- underscore in foldernames References: Message-ID: <39FD5FF6.A8B62A7E@nipltd.com> John Verzani wrote: > Is there some way short of renaming the > offending folders to do this. (also I'm not keen on LocalFS solutions > either.) You will probably need to rename them. LocalFS sounds like your best bet, what have you got against it? ;-) That said, even with LocalFS, you'll probably find yourself needing to rename folders... cheers, Chris From steinar@orion.no Mon Oct 30 12:41:07 2000 From: steinar@orion.no (Steinar Rune Eriksen) Date: Mon, 30 Oct 2000 13:41:07 +0100 Subject: [Zope] Multiple Inheritance and the Portal Base classes. Message-ID: <512D0F74D69DD311B23A0000E22298D224BD48@mail.orion.no> Can anybody see why I get the following error ? I try to subclass DemoPortalBase and PortalObjectBase into a class CMyPortalBase which I again subclass with a Zope ZClass. It all works fine until I add another class in the inheritance list of CMyPortalBase.When I try to call its __init__ method with the "self" argument if does not recognise this as the instance variable ? (I tries to print self, and it says that this is an instance of my ZClass). In other Python programs, calling Parent.__init__(self) works fine, but when running through Zope in this context Error Type: TypeError Error Value: unbound method must be called with class instance 1st argument class CMyPortalBase(TemplatePage.CTemplatePage,Portal.DemoPortalBase, PortalObject.PortalObjectBase): def __init__(self): TemplatePage.CTemplatePage.__init__(self) The CTemplatePage class is as follows : class CTemplatePage: standard_html_header = Globals.HTMLFile("StandardHeader", globals()) standard_html_footer = Globals.HTMLFile("StandardFooter", globals()) def __init__(self): print "In CTemplatePage" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Admin Orion System AS ********************************************************************** From jonathan@home-all.org.uk Mon Oct 30 12:48:02 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Mon, 30 Oct 2000 12:48:02 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check Message-ID: <39FD6E02.7466D204@home-all.org.uk> Hi all, just a bit further down my vhosting journey ... got apache ProxyPassing and siteaccess installed but something is missing. I type in my vhosted domain www.red.com which (correctly) goes straight to /red and shows the index_html contents *except* images which show broken. The source shows that they (correctly) are trying to load from www.red.com/imagename which is right. This image is in /red along with the index_html. Also the one link to a dtml document in the /red directory is also broken. If I suppress siteaccess then everthing works from the initial www.red.com but only because the links and images are loading from the 'master site url'. you can click but then the url obviously gives the game away. so proxypass works. What I dont get is why I can see the body text in index_html, which lays out the page but not the image embedded in the page? my various settings ... NameVirtualHost 111.222.333.444 ServerName www.red.com ProxyPass / http://www.blue.com:8080/red ProxyPassReverse / http://www.blue.com:8080/red then in /red we have a siteroot with the following title: base: http://www.red.com path: / www.blue.com and www.red.com both point to 111.222.333.444 and the box also has the www.blue.com as its host name which zope recognises on start iup. a bit stuck. Jonathan From luca@lineanet.net Mon Oct 30 14:13:41 2000 From: luca@lineanet.net (Luca Mearelli) Date: Mon, 30 Oct 2000 15:13:41 +0100 Subject: [Zope] Login Manager problem Message-ID: <39FD8215.CC46A670@lineanet.net> This is a multi-part message in MIME format. --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I posted this some days ago on zope-ptk and zope-dev mailing list, but got no response, so I thought I've sent it to the wrong mailing list, here is waht happens, and a possible solution :-) I had a strange problem when trying out LoginManager v0.8.8b1 with the latest cvs Checkout (as of Oct.23), here is the traceback trying to add a LoginManager (The form didn't show up): Error Type: NameError Error Value: path ... Traceback (innermost last): File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/tmp/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/tmp/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/App/special_dtml.py, line 120, in __call__ (Object: addLoginManager) (Info: /usr/local/tmp/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: addLoginManager) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: UserSourcesMetaTypes(this())) File /usr/local/tmp/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: UserSourcesMetaTypes(this())) (Info: UserSourcesMetaTypes) File /usr/local/tmp/Zope2/lib/python/ZPublisher/HTTPRequest.py, line 772, in __getitem__ NameError: (see above) after looking at the LM code I found that the manage_addLoginManagerForm is defined in LoginManager.py: ... manage_addLoginManagerForm = HTMLFile('addLoginManager', globals(), UserSourcesMetaTypes = PlugInFinder(LoginManager.UserSourcesGroup), LoginMethodsMetaTypes = PlugInFinder(LoginManager.LoginMethodsGroup)) ... At first I thought it could have been a LM problem, removing UserSourcesMetaTypes(this()) let the form appear, but when I focused on the UserSourcesMetaTypes work, and how the user sources PlugIns get installed I found nothing (It was actually my first test with LM & ZPatterns), moreover there was no mention of such problems by anyone else on the Mailing Lists. Then I tried to it on a Zope 2.2.0 (released) and it worked fine adding the LM. So it should have been something with my Zope CVS checkout, when looked at the HTTPRequest.py file at the line shown in the Traceback, i found a possible error with "__getitem__" When it tries to return the value of UserSourcesMetaTypes, it enters the "if key[:1]=='U':" at line 760 since UserSourcesMetaTypes starts with 'U', but match is empty, therefore path is not initialized and at the line 772 we have the NameError. Putting the lines 772-774 inside the "if match is not None:" fixed the problem (I included a diff for this), is it the right way to go, is it enough? I think so but I have a small knowledge of Zope internals so I'm not completely sure i.e. if we want to match only the env.variables starting with "URL" why not even change the "if key[:1]=='U':" into "if key[:3]=='URL':"? Thanks Luca Mearelli --------------202347DD27BC2204E10B5913 Content-Type: text/plain; charset=us-ascii; name="HTTPRequest.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="HTTPRequest.patch" *** HTTPRequest.py Mon Oct 23 15:32:09 2000 --- HTTPRequest.py.OLD Mon Oct 23 14:55:51 2000 *************** *** 769,777 **** path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --- 769,777 ---- path = [''] + path[:n] else: path = [other['SERVER_URL']] + path[:n] ! other[key] = URL = join(path, '/') ! self._urls = self._urls + (key,) ! return URL if isCGI_NAME(key) or key[:5] == 'HTTP_': environ=self.environ --------------202347DD27BC2204E10B5913-- From stefan@epy.co.at Mon Oct 30 13:18:56 2000 From: stefan@epy.co.at (Stefan H. Holek) Date: Mon, 30 Oct 2000 14:18:56 +0100 (CET) Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 In-Reply-To: <000f01c04183$47aa2cb0$6501a8c0@jblaptop> Message-ID: On Sun, 29 Oct 2000, Alexander Verhaar wrote: > I'm trying to change the standard realm with SiteAccess and a > External Method. I still get the standard 'Zope' realm, while > SiteAccess is pointing to the External Method. What am i doing > wrong? > > Here below the external method i used: > > import ZPublisher.HTTPResponse > > def NewRealm(self): > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet # or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan From zarir@cygnetsoft.com Mon Oct 30 13:00:21 2000 From: zarir@cygnetsoft.com (zarir@cygnetsoft.com) Date: Mon, 30 Oct 2000 18:30:21 +0530 (IST) Subject: [Zope] Off-shore development Message-ID: <200010301300.SAA12610@giaspn01.vsnl.net.in> Hi Digital Creations, We are a software development company based in Pune - India whose experienced skill sets might be able to assist your on-going development efforts. Needless to say our high productivity and cost effectiveness are value additions that could prove invaluable to your operations. Please do contact us if you feel we might be able to assist in any way. Regards and have a wonderful day Zarir M. Karbhari (Managing Director - CygNET Systems Pvt. Ltd.) http://www.cygnetsoft.com Voice :- +91-20-6134980,+91-20-6125365 From roland.schaetzle@adviion.de Mon Oct 30 14:07:41 2000 From: roland.schaetzle@adviion.de (=?iso-8859-1?Q?Roland_Sch=E4tzle?=) Date: Mon, 30 Oct 2000 15:07:41 +0100 Subject: [Zope] Re: ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT Message-ID: > I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually with the > start.bat my ZSQL methods work fine. > When I start Zope as a service, every ZSQL method returns a SQL error that states that the table I > am looking for does not exist. > Anybody out there know what's going on? > Thanks I had the same problems. They disappeard when I changed the settings of the Zope-service and allowed it to "interact with the desktop" (a check-box in the NT service settings). Roland ------------------------------------------------------------------------ Dr. Roland Schätzle, Institut AIFB, Universität Karlsruhe (TH) Englerstr. 11, Raum -121, Tel. 0721/608-7467 From sander@atp.nl Mon Oct 30 14:22:41 2000 From: sander@atp.nl (Alexander Verhaar) Date: Mon, 30 Oct 2000 15:22:41 +0100 Subject: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1 References: Message-ID: <01c901c0427c$dcf49bd0$0c01a8c0@sanderw2k> --- In zope@egroups.com, "Stefan H. Holek" wrote: > On Sun, 29 Oct 2000, Alexander Verhaar wrote: > > > I'm trying to change the standard realm with SiteAccess and a > > External Method. I still get the standard 'Zope' realm, while > > SiteAccess is pointing to the External Method. What am i doing > > wrong? > > > > Here below the external method i used: > > > > import ZPublisher.HTTPResponse > > > > def NewRealm(self): > > ZPublisher.HTTPResponse.HTTPResponse.realm=self.title > > I was unable to make it work that way either. However this *did* work > for me: > > edit your start script to include > > Z_REALM=Intranet # or whatever it is you need > export Z_REALM > > somewhere before the exec > > HTH, > Stefan > > Hmmm, this is the way i'm using it now. But if you hosts multiple sites, they all get the same realm. Also after debugging our Zope site i discovered that ZPublisher.Publish sets the realm before the ZPublisher.HTTPResponse. From brian@digicool.com Mon Oct 30 14:33:20 2000 From: brian@digicool.com (Brian Lloyd) Date: Mon, 30 Oct 2000 09:33:20 -0500 Subject: [Zope] Verify Watermark. In-Reply-To: <00103010455300.30611@donald> Message-ID: > In Zope2.1.6 there was a function called 'verify watermark' in module > Accesscontrol.User. > > This function seems to have gone in the 2.2.2 release. > My question: Is there any direct replacement for this method ? > Or at least a some kind of equivalent code ? verify_watermark was an interim step in dealing with some security things that have since been superceded by the new SecurityPolicy architecture (see: http://www.zope.org/Members/michel/Projects/Interfaces/SecurityPolicies You shouldn't need verify_watermark in post-2.1.6 code. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com From jhouchin@texoma.net Mon Oct 30 14:37:15 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:15 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD879B.42A9CC50@texoma.net> Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) > > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( > > HTH, > > 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 ) From jhouchin@texoma.net Mon Oct 30 14:37:33 2000 From: jhouchin@texoma.net (Jimmie Houchin) Date: Mon, 30 Oct 2000 08:37:33 -0600 Subject: [Zope] Website develoment with CVS Zope? References: <39FB0477.C9D75ABE@texoma.net> <39FD5E14.8F72BB9E@nipltd.com> Message-ID: <39FD87AD.94410D5E@texoma.net> Thanks for the reply. Chris Withers wrote: > > Jimmie Houchin wrote: > > I know because I will be developing and changing files in these > > directories but not via CVS that CVS will probably complain about the > > changes. Is this a problem? > > Depends, if you're changing Zope source files, then you may get some > merge conflicts, but there shouldn't be any real problems. If you > edit/add file which aren't stored in cvs.zope.org, CVS will just ignore > them, it's good like that ;-) As far as I know the only files I'll be adding or editing will be my own Python files, Products, and the ZODBs. If it'll just ignore them or maybe complain and then ignore, I'll be fine. For an experiment once, I added a file and then did an update. It complained about a file not be added thru CVS or something as such. I just wanted to make sure when ZODB changes and such it wouldn't be a problem. > > I will also be wanting to use the CVS of other Zope items like the PTK. > > Does this impact this in any way? > > Just checkout the PTK/whatever to the appropriate bit of the Zope tree. > IIRC, the PTK CVS structure isnt' conducive to doing this, though, which > could be a pain :-( Are you saying checkout the PTK into the directory in which it should be installed in the Zope installation rather than into the ZopePTK directory that it defaults to? I was thinking from reading some of the PTK list that this isn't painless. Maybe this can be improved when it reaches release status. > HTH, Yes, and thanks. > > Chris Jimmie Houchihn From brocken22@gmx.de Mon Oct 30 14:49:37 2000 From: brocken22@gmx.de (brocken22@gmx.de) Date: Mon, 30 Oct 2000 15:49:37 +0100 (MET) Subject: [Zope] Zope.org Message-ID: <22012.972917377@www28.gmx.net> Hallo, have I missed something or why are there no news on the website.The last item was from the 18th of October.Also the mailing-list is not really busy.Any reason? -- Sent through GMX FreeMail - http://www.gmx.net From ghaley@venaca.com Mon Oct 30 14:52:06 2000 From: ghaley@venaca.com (Gregory Haley) Date: Mon, 30 Oct 2000 09:52:06 -0500 Subject: [Zope] PHP-Pages References: <60469395515.20001030021949@eec.de> Message-ID: <39FD8B16.37B16457@venaca.com> hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From peter@grenna.net Mon Oct 30 15:26:11 2000 From: peter@grenna.net (peter bengtsson) Date: Mon, 30 Oct 2000 15:26:11 -0000 Subject: [Zope] PHP-Pages In-Reply-To: <39FD8B16.37B16457@venaca.com> Message-ID: I have also been able to do almost everything I do in PHP in Zope, just like yourself. One of the major problems with Zope is its lack of developers, this is not true for Perl or PHP. Not to bothered but "larger" companies might be. I haven't tested the available PHP How-Tos; is it possible to use it just like a Python- or Perl Method object?? Would be really useful if true. hi vince, with the exception of xml parsing (i think it's doable though complicated), i don't think php offers anything that zope won't do. i've been writing dtml methods and documents that do everything i once did with php. imho (only). ciao! greg. > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - > > _______________________________________________ > 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 ) From chrism@digicool.com Mon Oct 30 15:56:12 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 10:56:12 -0500 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: Message-ID: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Hi, Don't know. :-) How won't Zope start? What does it do? Just return and not spit an error? Let's take this to the Zope mail list if you don't mind (I've cc'ed it). ----- Original Message ----- From: Rudd-O DragonFear To: DC Support List Cc: support@digicool.com Sent: Monday, October 30, 2000 10:21 AM Subject: [Support] ZSybaseDA 2.00b2 Hey, I've been having some kind of problems with this DA. Compiling and loading (importing) sy_occ in python works perfectly. But zope won't start and won't say anything in the console or in the logs. what could it be? thanks in advance, Manuel From webmaven@lvcm.com Mon Oct 30 15:50:16 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 07:50:16 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> Message-ID: <39FD98B8.17034247@lvcm.com> Jonathan Cheyne wrote: > > my various settings ... > > NameVirtualHost 111.222.333.444 > > > ServerName www.red.com > ProxyPass / http://www.blue.com:8080/red > ProxyPassReverse / http://www.blue.com:8080/red > > > then in /red we have a siteroot with the following > > title: > base: http://www.red.com > path: / Jonathan, Do you have an Access Rule set up in your root Zope Folder? Michael Bernstein. From bill@carbonecho.com Mon Oct 30 16:10:51 2000 From: bill@carbonecho.com (Bill Welch) Date: Mon, 30 Oct 2000 16:10:51 +0000 (GMT) Subject: [Zope] ssl w/ modrewrite In-Reply-To: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: Please say what Port, Listen, and VirtualHost directives you have in place. I think that's really where the trouble. On Sun, 29 Oct 2000 askart@impop.bellatlantic.net wrote: > but it works as typed in the server withour CRs.) I added modssl, but > when I go in on an https I get the original apache root page, and can > only access zope at https://address/cgi-bin/Zope . Furthermore, since From grizel@mouli.net Mon Oct 30 16:24:44 2000 From: grizel@mouli.net (Pierre-Julien Grizel) Date: Mon, 30 Oct 2000 17:24:44 +0100 Subject: [Zope] Publish.py / publish hack Message-ID: <39FDA0CC.11432C1D@mouli.net> Hi, I'm using Zope 2.2.2 and for some personal reasons I need to patch the publish function from Publish.py. I used the usual __init__.py straegy to patch ZPublisher : from MyModule import Mypublish import ZPublisher.Publish from ImageFile import ImageFile # Patch the original publish function ZPublisher.Publish.publish = Mypublish But the fact is, publish is called several times at several places in the source code, and especially from the publish_module function when an exception is raised... And, although my patch works most of the times, it doesn't work when an exception is raised. I may need to replace another 'publish' reference somewhere, but does anyone know WHERE exactly ?? Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow From ajohnston@nc.rr.com Mon Oct 30 16:24:34 2000 From: ajohnston@nc.rr.com (Alan Johnston) Date: Mon, 30 Oct 2000 11:24:34 -0500 Subject: [Zope] How to display PDF files Message-ID: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> I installed Zope for purposes of evaluation last week. I've been through the tutorial so I have minimal knowledge. One (apparently simple) thing I cannot find a way to do is link to a PDF file. I believe that everything ZServer serves up must come from the Zope Object Database (right? wrong?). At any rate, how do you get ZServer to send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in can display it? I tried creating 'File' and 'Image' objects. That's obviously not it. Forgive me, for I fear this is a dumb question ... but I just can't find the answer. Thanks, Alan From ckucera@globalcrossing.com Mon Oct 30 16:33:14 2000 From: ckucera@globalcrossing.com (Christopher J. Kucera) Date: Mon, 30 Oct 2000 10:33:14 -0600 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDA2CA.3A4C1F9D@globalcrossing.com> Alan Johnston wrote: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. Actually, "File" should be okay . . . Just click on "Browse" and select the PDF from your hard drive, and it will upload the PDF into ZODB and spit it back out properly . . . -CJ From Jerry.Spicklemire@IFLYATA.COM Mon Oct 30 16:39:04 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Mon, 30 Oct 2000 11:39:04 -0500 Subject: [Zope] reload ? Message-ID: <977A39E65CFCD3119ABF00D0B741D84973392F@innt-73.ata.com> Luc wonders: > is it possible to reload only a without reloading an = > entire page ??????????? > if yes, how?? The short answer is no. That is, unless you are willing to set up some sort of Java RMI process, or other complex solution, and pray that your audience has downloaded and enable, or at least hasn't turned off the required services. On the other hand, there may be a simple way to meet your needs. You could borrow an idea from those annoying Web Sites that pop up "little windows" in addition to the main page that you thought you were linking to. By separating the item you want to be refreshed so that it displays in its own browser window, and setting a metatag in that page specifying a short refresh period, the contents of that window will be reloaded independent of the "main" window. Later, Jerry S. From andym@ActiveState.com Mon Oct 30 17:15:39 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:15:39 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <01e601c04295$06cb9720$ae03a8c0@fork> Now I have to know, whats a "Jam Session"? ----- Original Message ----- From: "Chris McDonough" To: "Andy McKay" Cc: Sent: Sunday, October 29, 2000 11:44 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is way too cool. :-) > > Guido was at DC in Fredericksburg on Friday. The rest of the PythonLabs > folks were unfortunately not in attendance. Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. (Probably the thing I got a kick out of most in that session was Jim > just sitting there grinning like a maniac - he's pretty pumped about having > the PythonLabs team here now.) > > We talked about class/type distinctions and the possibility of removing them > within Python, why acquisition is useful and some of its shortcomings, > stackless Python, and other less esoteric things. Hopefully the newer > members of DC (like me) will soon get a chance to meet the rest of the > PythonLabs team face-to-face. > > - C > > ----- Original Message ----- > From: "Andy McKay" > To: > Cc: > Sent: Saturday, October 28, 2000 12:10 PM > Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > This is great news for Zope... > > > > (well I think it is anyway) > > > > > -------- Original Message -------- > > > Subject: PythonLabs Team Moves to Digital Creations > > > Date: Fri, 27 Oct 2000 20:42:42 -0500 > > > From: Guido van Rossum > > > To: python-list@python.org (Python mailing > > > list),python-announce-list@python.org, python-dev@python.org > > > > > > To all Python users and developers: > > > > > > Less than half a year ago, I moved with my team to BeOpen.com, in the > > > hope of finding a new permanent home for Python development. At > > > BeOpen, we've done several good things for Python, such as moving the > > > Python and Jython development process to SourceForge, and the > > > successful release of Python 2.0. > > > > > > Unfortunately, BeOpen.com's original plans for PythonLabs didn't work > > > out as hoped, and we weren't able to reach mutual agreement on > > > workable alternative plans -- despite trying for months. > > > > > > I am proud to have found a new home for my entire team: starting > > > today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself > > > are working for Digital Creations. We will be spending part of our > > > time on core Python development (including Jython and Mailman) and > > > part of our time on Python infrastructure improvements that also > > > benefit Zope. > > > > > > Python will remain Open Source; Digital Creations has no desire to > > > monetize or brand the Python language or specific Python > > > distributions. All future work we do on Python as Digital Creations > > > employees will be owned by a non-profit organization yet to be > > > created. We think of this new organization as the Python Software > > > Foundation. In the meantime (while the PSF is under construction) I > > > will own such copyrights personally. > > > > > > We're excited to be working for Digital Creations: they are one of the > > > oldest companies active in the Python community, one of the companies > > > most committed to Python, and they have a great product! Plus, we > > > know they have deep financial backing. We trust that Digital > > > Creations will provide a stable home for Python for many years. > > > > > > Digital Creations has also offered to take over hosting of the > > > python.org and starship sites. On behalf of the Python community, > > > we're grateful for this support of the two prime community sites for > > > Python, and we expect to be implementing the transitions shortly. > > > > > > These are exciting times for the PythonLabs team -- and also for > > > Python and its community. Mainstream successes for Python are showing > > > up everywhere, and we're proud to be a part of such a smart and > > > friendly community. A great year lies ahead! > > > > > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > > > > -- > > > http://www.python.org/mailman/listinfo/python-list > > > > > > > > _______________________________________________ > > 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 ) > From jasonic@nomadicsltd.com Mon Oct 30 17:49:18 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Mon, 30 Oct 2000 12:49:18 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> Message-ID: <005a01c04299$ba6e6380$c3090740@megapathdsl.net> ----- Original Message ----- From: Andy McKay > Now I have to know, whats a "Jam Session"? I assume 'jam' session = creative improvisation based on experience and talent, as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. - Jason From chrism@digicool.com Mon Oct 30 18:09:21 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 13:09:21 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> Message-ID: <013401c0429c$875bb6c0$1f48a4d8@kurtz> This is right, although here it's also an excuse to drink Guiness. ----- Original Message ----- From: "Jason Cunliffe" To: "Andy McKay" ; "Chris McDonough" Cc: Sent: Monday, October 30, 2000 12:49 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > ----- Original Message ----- > From: Andy McKay > > > > Now I have to know, whats a "Jam Session"? > > I assume 'jam' session = creative improvisation based on experience and > talent, > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > - Jason > > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 17:58:53 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 09:58:53 -0800 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <01e601c04295$06cb9720$ae03a8c0@fork> <005a01c04299$ba6e6380$c3090740@megapathdsl.net> <013401c0429c$875bb6c0$1f48a4d8@kurtz> Message-ID: <002c01c0429b$1184e4e0$ae03a8c0@fork> Now theres an idea... ;-) ----- Original Message ----- From: "Chris McDonough" To: "Jason Cunliffe" ; "Andy McKay" Cc: Sent: Monday, October 30, 2000 10:09 AM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > This is right, although here it's also an excuse to drink Guiness. > > ----- Original Message ----- > From: "Jason Cunliffe" > To: "Andy McKay" ; "Chris McDonough" > > Cc: > Sent: Monday, October 30, 2000 12:49 PM > Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > > > > ----- Original Message ----- > > From: Andy McKay > > > > > > > Now I have to know, whats a "Jam Session"? > > > > I assume 'jam' session = creative improvisation based on experience and > > talent, > > as in Jazz.. Miles Davis, Thelonius Monk, John Coltrane, Louis Armstrong.. > > > > - Jason > > > > > > _______________________________________________ > > 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 ) > > > > > From webmaven@lvcm.com Mon Oct 30 18:06:44 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:06:44 -0800 Subject: [Zope] How to display PDF files References: <3.0.3.32.20001030112434.006f42e8@pop-server.nc.rr.com> Message-ID: <39FDB8B4.A62CF881@lvcm.com> Alan Johnston wrote: > > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. 'File' should work. Are you naming the 'File' object with a .pdf suffix? HTH, Michael Bernstein. From bill@noreboots.com Mon Oct 30 18:30:40 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 11:30:40 -0700 Subject: [Zope] Re: ZSybaseDA 2.00b2 References: <00de01c04289$ed38f6a0$1f48a4d8@kurtz> Message-ID: <39FDBE50.E632EBB2@noreboots.com> > ----- Original Message ----- > From: Rudd-O DragonFear > To: DC Support List > Cc: support@digicool.com > Sent: Monday, October 30, 2000 10:21 AM > Subject: [Support] ZSybaseDA 2.00b2 > > Hey, > I've been having some kind of problems with this DA. Compiling and loading > (importing) sy_occ in python works perfectly. But zope won't start and > won't say anything in the console or in the logs. > > what could it be? > > thanks in advance, Search the archives, from about this time last year. Quick synopsis: Check to ensure the sybase path statements are present in the zope start up script. -- E PLURIBUS LINUX From webmaven@lvcm.com Mon Oct 30 18:48:03 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Mon, 30 Oct 2000 10:48:03 -0800 Subject: [Zope] Paul comments on the PythonLabs Move References: <005301c04101$f3ab33b0$ae03a8c0@fork> Message-ID: <39FDC263.C3784712@lvcm.com> Check out his comments here: http://weblogs.userland.com/zopeNewbies/discuss/msgReader$831 Cheers, Michael Bernstein. From andres@corrada.com Mon Oct 30 18:59:36 2000 From: andres@corrada.com (andres@corrada.com) Date: Mon, 30 Oct 2000 13:59:36 -0500 Subject: [Zope] PHP-Pages In-Reply-To: <60469395515.20001030021949@eec.de>; from Vincent - D. Ertner on Mon, Oct 30, 2000 at 02:19:49AM +0100 References: <60469395515.20001030021949@eec.de> Message-ID: <20001030135936.A10791@corrada.com> Check out my HOWTO: http://www.zope.org/Members/Mamey/PHP On Mon, Oct 30, 2000 at 02:19:49AM +0100, Vincent - D. Ertner wrote: > Hi Zope, > > I wondered, whether it's possible and sensible to have php-Pages > in Zope sites ... any thoughts and comments on this matter? > > Cheers, > > Vince > > ''' > ô¿ô > - ------------------------------------------------------ Andres Corrada-Emmanuel Email: andres@corrada.com Internet Programming wwww.mamemy.com ------------------------------------------------------ From dieter@handshake.de Mon Oct 30 18:57:08 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:57:08 +0100 (CET) Subject: [Zope] Message exchange between distributed python code In-Reply-To: <48899087@toto.iv> Message-ID: <14845.50254.478682.933172@lindm.dm> Alexander Limi writes: > I am currently writing some software in python that is spread over several > different computers. These small programs should be able to communicate > with each other and send messages that contain instructions between > themselves. You might be interested in "pyro" (Python remote objects). You will find it via "python.org" or with a search in "comp.lang.python.announce". Dieter From dieter@handshake.de Mon Oct 30 18:55:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:55:43 +0100 (CET) Subject: [Zope] image attachments in dtml-sendmail and dtml-mime In-Reply-To: <38102752@toto.iv> Message-ID: <14845.49576.678889.783219@lindm.dm> Matt writes: > > To: Feedback Recipient > From: Zope Feedback Form > Subject: Feedback from the web > > Feedback from : Matt > Comments: > > > "paris.data"> > > > You are aware, that the generated message is not MIME conformant? You should use immediately in the message header and use to generated the various message parts. Dieter From dieter@handshake.de Mon Oct 30 18:59:43 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:59:43 +0100 (CET) Subject: [Zope] ZopeTime Question In-Reply-To: <113312476@toto.iv> Message-ID: <14845.50341.857832.212719@lindm.dm> Marcus Mendes writes: > Why the ZopeTime puts the differents values in the code bellow? > > > TimeMinutes())" capitalize> > > > > The first give me todays date; > the second give me the tomorrow date!! In earlier Zope versions, most methods of "DateTime" instances used local time, but "strftime" used GMT. As I understand it, this has been changed in Zope 2.2. At least, Brian asked in the list, whether it should be changed and got some positive feedback. Dieter From dieter@handshake.de Mon Oct 30 19:31:45 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:31:45 +0100 (CET) Subject: [Zope] again: install Zope under Solaris 8 In-Reply-To: <40453899@toto.iv> Message-ID: <14845.52017.929680.664852@lindm.dm> Jan-Thies Baehr writes: > .... Has anyone else > encountered problems installing Zope (in our case 2.2.2) under Solaris > 8? > Python is unable to import the ExtensionClass.... > .... > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: > file /mnt/disk2/homes/wklinik/Zope-2.2.2/lib/python/ExtensionClass.so: > symbol PyImport_ImportModule: referenced symbol not found I looks as though Python would not export its symbols to dynamically loaded objects. In earlier Solaris versions, this was the default behaviour. Other systems require a special linker option to make the symbols visible. Maybe, Solaris 8 does now require special actions, too. On Linux, the option is called "-export-dynamic". Maybe, you consult you linker manual. Dieter From dieter@handshake.de Mon Oct 30 19:25:17 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:25:17 +0100 (CET) Subject: [Zope] dtml document bug In-Reply-To: <5350899@toto.iv> Message-ID: <14845.51777.197023.480874@lindm.dm> Dmitry Slusarchuk writes: > I'm new to Zope development but I have already encountered such a problem: > from dtml document generates the following: > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: __call__ > > this problem disappears when I do smth like > from dtml method. what should I do? > > In addition > I run Zope ver. 2.2.2 and Python 1.5.2 under Win98. This looks like the "cDocumentTemplate/Acquisition" bug (see the locator (URL:http://classic.zope.org:8080/Locator) for a description). The problem usually occurs in the context of a You can work around it by using instead. Dieter From dieter@handshake.de Mon Oct 30 19:39:59 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:39:59 +0100 (CET) Subject: [Zope] normal result with acquisition? In-Reply-To: <4638180@toto.iv> Message-ID: <14845.52397.169645.607414@lindm.dm> Tom Deprez writes: > Assume following : > > Folder1 > sql > show_abc > method_showdata > Folder2 > show_abc > > method_showdata has among it the following code : > > > >
> >
>
>
> > 1) When you call this function from Folder1 : show_abc of folder1 is used > > 2) When you call this function from Folder2 : show_abc of folder1 is used > > --> what you wouldn't expect? This *IS* normal acquisition behaviour. I use the following rule of thumb: When Zope looks up a name "n" for object "o" in context "c", then Zope lools for "n" in "o". If this fails, Zope walks up from "o" towards the root in search for "n". Only, if it does not find "n" on this route, it looks in the context "c" for "n". In your case, the object is "sql" and the name is "show_abc". The context is "Folder1" in the first and "Folder2" in the second case. But "show_abc" is found in both cases in the parent of "sql" -- without looking at the context. Dieter From dieter@handshake.de Mon Oct 30 18:35:22 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 19:35:22 +0100 (CET) Subject: [Zope] Re: [Zope-dev] dtml-in with objects and an expression In-Reply-To: <23514147@toto.iv> Message-ID: <14845.48273.554500.760172@lindm.dm> Guy Redwood writes: > I have a stack of objects called shcgbRallyDetails (details about > husky races). I want to display the next 3 races that are about to > close their entry submissions. eg display the next three rally > details where the closingdate is greater_or_equal to ZopeTime() > > I've got this working to prove the expression and dtml-in - but I'm > now stuck :-( > > "working.rallydetails.objectValues(['shcgbRallyDetails'])" > sort=closingdate> > >

> Closing:
>
> > All help would be appreciated What does not work? You may get more than 3 races? In this case, you could use: ZopeTime() and _.getitem('sequence-number') <= 3"> .... your presentation code .... This will give you the list sorted with decreasing closingdate. If you want a list sorted with increasing closingdate, you could use: ZopeTime() and (_.getitem('sequence-length') - _.getitem('sequence-index')) <=3"> .... your presentation code .... For more details, look at the variable list defined inside . Dieter From dieter@handshake.de Mon Oct 30 19:21:10 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 20:21:10 +0100 (CET) Subject: [Zope] Solaris,iPlanet,Oracle and Zope In-Reply-To: <106829166@toto.iv> Message-ID: <14845.50479.78877.339553@lindm.dm> Hi Turhan, Welcome to the Zope community! Turhan Arun writes: > Now my problem is as > follows > I have to use > Zope Application Server on SUN > iPlanet Web Server > Oracle 8.1.6 Database server > Would you help me about configuring these? I am having problems and you are > my only source. You have 2 subproblems: interfacing Zope with iPlanet and interfacing Zope with Oracle 8.1.6. 1. Unfortunately, I do not know iPlanet. You may search "zope.org" for "iPlanet" (maybe, you find a HowTo). There is also a searchable archive of this mailing list at NIP (to be found via "zope.org -> Resources -> Mailing Lists"). If you are unlucky, you must explore a bit yourself. "doc/WEBSERVERS.txt" (a file in the Zope distribution) is a good starting point. Although, it mainly speaks about Apache (and does not mention iPlanet), the "pcgi" connection will work with any webserver that supports CGI. It will work with "iPlanet". There might be some problems with the propagation of authentication information. You may decide to let iPlanet do all authentication and let Zope unprotected or you might need to learn how to configure iPlanet to pass authentication information. You may want to screen the iPlanet documentation, whether it supports proxy mode. In this mode, iPlanet would relay (some) requests to another web server (Zope in your case). This would be more efficient than "pcgi". 2. We use Zope with Oracle 8.1.6. We use DC's DCOracle and ZOracleDA (latest version! it has a beta in its version number!). It works satisfactory with the exception of LOB support. DC is working on improvements but the project is not externally funded, progress seems to be slow. Some days ago, someone in the list has reported a package that can be used to work around the LOB restrictions (if you know the LOB type). Search the list archive to locate the article (search for "DCOracle and BLOB"). Dieter From ajung@sz-sb.de Mon Oct 30 19:50:29 2000 From: ajung@sz-sb.de (Andreas Jung) Date: Mon, 30 Oct 2000 20:50:29 +0100 Subject: [Zope] DCOracle + LOB In-Reply-To: <200010292057.VAA00431@lindm.dm>; from fjesteban@uco.es on Wed, Oct 18, 2000 at 02:11:05PM +0200 References: <200010292057.VAA00431@lindm.dm> Message-ID: <20001030205029.A5323@sz-sb.de> On Wed, Oct 18, 2000 at 02:11:05PM +0200, Francisco José Esteban Risueño wrote: > If you know what type of data are you storing in the lob column, you can > use dmbs_lob package in order to insert and retrive data from the > original format into de lob format. We are use this techique succesfully > to insert/select text into/from a clob column. LOB support for Oracle 8i is broken in DCOracle. As a workaround we use stored procedures written in Java. They can be called from DCOracle. -- Andreas From dieter@handshake.de Mon Oct 30 20:37:19 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 21:37:19 +0100 (CET) Subject: [Zope] dtml-while In-Reply-To: <91095649@toto.iv> Message-ID: <14845.56140.19348.270193@lindm.dm> Diego Rodrigo Neufert writes: > Why there isnt a dtml-while function in Zope? > How to implement it with dtml? > how to do a simple while x != y in dtml? Because the Zope developers feared infinite loops created by dumb users or malicious hackers in "through the web" content. For the same reason, "_.range" has been cripled and the module "re" is not exposed. Dieter From asc@vineyard.net Mon Oct 30 20:46:44 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Mon, 30 Oct 2000 15:46:44 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: Hi, Does anyone know if it is even *possible* to pass environment variables (specifically REMOTE_USER) to Zope when it is set up behind Apache/ProxyPass. I've looked around the list archives, and the Apache docs and tried a bunch of different configs but nothing works. I'm starting to wonder if it's all in vain. Thanks, From fred@ontosys.com Mon Oct 30 20:47:55 2000 From: fred@ontosys.com (Fred Yankowski) Date: Mon, 30 Oct 2000 14:47:55 -0600 Subject: [Zope] incorporating generated sub-websites within a Zope site Message-ID: <20001030144755.A2818@enteract.com> I'm looking for suggestions about how to manage a Zope website that hosts some subsites created by tools outside of Zope. Here's the situation. I'm working on a community website (batavians.org) for a small city (Batavia, IL) where I want to allow various non-profit community organizations to manage their own subsites. But the very first test case is proving to be a problem because the manager of the subsite is using web page development tools that seem to make it hard to integrate their subsite with the rest of the site. They can FTP their files up to the Zope server (which I configured to use port 21 for FTP) and their work is accessible just fine given a small "glue" index_html object that bridges to their internal main page. But I got blocked when I tried to add a standard page footer onto their pages. Actually, I was able to add a dtml-var element to pull in a standard footer via acquisition and that works, but the manager of the sub-website has no way to pull that change back to her working version of the subsite. It seems that the lightweight "Web Studio 2.0" tool she's using has no FTP-download function at all. Not only that, it has no way to view/edit HTML at all! It's only possible to edit using a WYSIWYG design view (AFAICT). So she can't merge in the change even if I tell her exactly the HTML code to add. OK, this problem is largely the result of the crappy web-design tool she's using, but I really have no control over that. The subsite manage/author doesn't know HTML and would be completely helpless with Zope's "through the web" editing interface. A better tool such as Dreamweaver would at least allow her to download files and/or edit HTML directly, but that's moot in this case. Even with Dreamweaver I think the DTML tags would be invisible and hard for a non-programmer to deal with. (Not only that, Dreamweaver refuses to open files that don't have an extension, so it won't open index_html for example.) So what alternatives do I have? Is there some way that I can set up a filter such that every page of her subsite goes through the filter before being sent out to the browser, allowing me to tack on a page footer on those pages? I'm sure Zope has such a mechanism, but I don't know where to look. Even with such a filter I'm not keen about having to parse her pages (which are/should-be each a complete HTML document) in order to insert a footer line in the right place. What other schemes should I consider? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA From dieter@handshake.de Mon Oct 30 21:16:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:16:40 +0100 (CET) Subject: [Zope] Displaying Folder Contents. In-Reply-To: <113966775@toto.iv> Message-ID: <14845.58608.743084.845912@lindm.dm> Jason C. Leach writes: > If I have a mail folder Projects, and in it Proj1, Proj2, ... I'd like to > pass the folder to an external method, and have the method get a list of > all the files inside (bla.jpg, bla_large.jpg). Can somone help w/ > fetching a list of the folder contents? Have a look at "ZopeFind" (--> ZQR (Zope quick reference) at URL:http://zdp.zope.org) Dieter From dieter@handshake.de Mon Oct 30 21:09:57 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:09:57 +0100 (CET) Subject: [Zope] How to display PDF files In-Reply-To: <123237122@toto.iv> Message-ID: <14845.58126.398702.990007@lindm.dm> Alan Johnston writes: > One (apparently simple) thing I cannot find a way to do is link to a PDF > file. I believe that everything ZServer serves up must come from the Zope > Object Database (right? wrong?). You may use the products "LocalFS" or "ExternalFile" to access files inside the file system from Zope. > At any rate, how do you get ZServer to > send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in > can display it? I tried creating 'File' and 'Image' objects. That's > obviously not it. The "file" should be it. Maybe, you must set the property "content_type" correctly (when Zope guessed wrong based on the filename extension). Dieter From dieter@handshake.de Mon Oct 30 21:14:58 2000 From: dieter@handshake.de (Dieter Maurer) Date: Mon, 30 Oct 2000 22:14:58 +0100 (CET) Subject: [Zope] ExtensionClass peculiarity (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) (was: [Zope-PTK] Multiple Inheritance and the Portal Base classes.) In-Reply-To: <59362859@toto.iv> Message-ID: <14845.58313.241376.357670@lindm.dm> Steinar Rune Eriksen writes: > In other Python programs, calling Parent.__init__(self) works fine, but when > running through Zope in this context > > Error Type: TypeError > Error Value: unbound method must be called with class instance 1st argument Have a look at the "ExtensionClass" documentation (-> zope.org). ExtensionClass is not completely compatible with Python: if a class "C" inherits from an extension class "E" and from a normal Python class "P", then Python does not recognize "C" as a subclass from "P". The mentioned documentation tells you, that there is a method "InheritedAttribute" to work around this problem. Dieter From dt@picknowl.com.au Mon Oct 30 21:23:43 2000 From: dt@picknowl.com.au (Daryl Tester) Date: Tue, 31 Oct 2000 07:53:43 +1030 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> Message-ID: <39FDE6DF.740C58DD@picknowl.com.au> Chris McDonough wrote: > Since it was a Friday, and > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > Jam": we all got a chance to poke at him with questions and such and vice > versa. But did you get to chant "We're not worthy! We're not worthy!"? :-) -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. "MS Linux is released under the provisions of the Gates Private License, which means you can freely use this Software on a single machine without warranty after having paid the purchase price and annual renewal fees." -- mslinux.org From amadorm@usm.edu.ec Mon Oct 30 21:36:14 2000 From: amadorm@usm.edu.ec (MANUEL JOSE AMADOR BRIZ) Date: Mon, 30 Oct 2000 16:36:14 -0500 (ECT) Subject: [Zope] New kinds of problems Message-ID: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Thanks, here are my two cents: Mini quick howto to connect to a sybase ASA/ASE: Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it WILL fail). GET from Sybase the RPMs called sybase-common and sybase-openclient, the latest versions. Install them. do a link from /opt/sybase to /opt/sybase- {currentversion} which should exist now. make sure you have $SYBASE set in your profile, to /opt/sybase. Download zope-2.2.2.src.tgz untar as root, then chown -R root.root /path/to/Zopefolder make sure you have python and python-devel RPMs or DEBs. cd to zope folder run \\\'python w_pcgi.py\\\' run \\\'python zpasswd.py access\\\', enter username, password, CLEARTEXT encoding and no domain get ZSybaseDAv2 b2 and place the targz file into the zope folder do a \\\'tar zxvmf ZSybaseDAv2.tar.gz0 in the zope folder Once more do a chown -R root.root * cd into lib/python/Products/ZSybaseDAv2/src cp Setup.linux or Setup.solaris to Setup make -f Makefile.pre.in boot make cd to the parent folder (cd ..) cp src/sy_occ.so . enter python and try to do \\\'import sy_occ\\\' if it works and doesn\\\'t spit errors, you\\\'re set. exit python and go to the zope folder, then run ./start if zope starts, you\\\'re all set now there is an executable called /opt/sybase/bin/dsedit that you will have to use to create network transports. Fill in the appropriate data. Now for the problems. I managed to connect to an ASA 7.0 database, and retrieved successfully a select * from systable, but can\\\'t execute stored procedures, it spits some kind of another operation on progress error or unknown data type returned error. I assume ASA and dsclient are talking incompatible protocols here. Can someone help me? By the way, the data source created with dsedit for our ASE server works fine. Everything runs OK. Please reply and CC: me because I\\\'m kinda lagged behind with the mailing list and I need a reply soon. Thanks. I hope these instructions help people in connecting to Sybase, given the poor support they have in some countries (I\\\'m thinking mine). Manuel ---------------------------------------------------------- Universidad Federico Santa Maria - Campus Guayaquil Enviado por: www.usm.edu.ec From jfarr@real.com Mon Oct 30 21:40:48 2000 From: jfarr@real.com (Jonothan Farr) Date: Mon, 30 Oct 2000 13:40:48 -0800 Subject: [Zope] Get file contents. References: Message-ID: <034301c042ba$110abac0$416917ac@poly> For a File object, you want "str(ob.data)", where 'ob' is your File object. --jfarr ----- Original Message ----- From: "Jason C. Leach" To: "Steve Spicklemire" Cc: Sent: Sunday, October 29, 2000 5:56 PM Subject: Re: [Zope] Get file contents. > hi, > > That's exactly what I'm hoping to do. But for my method, it does not know > what read() is, or read_raw(); I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: read > > If I try you method I get: > > Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: AttributeError > Error Value: manage_addTinyTable > > > It would probably bail on the read also if it got that far. > > Perhaps I am caling it wrong, or not pasing the correct object. I jest > pass in a Zope File opject, which hapens to be a few lines of text. > > Thanks, > j. > > > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Sun, 29 Oct 2000, Steve Spicklemire wrote: > > > > > Hi Jason, > > > > Here's an external method that I've used to populate a TinyTable > > from a comma separated text file. You might at least get some ideas > > about how to extract stuff from the file using this.... > > > > -steve > > > > ---------------------------------------------------------------------- > > > > # > > # ReadFile is an external method that reads data from a file uploaded from > > # the users computer and produces a TinyTable based on that data. > > # > > > > import string > > > > def ReadFile(self, > > infile, # input file..... > > outTableName='defaultTable', # name of output table > > outTableTitle='', # title of output table > > outTableColumns='', # columns for output table > > REQUEST=None, # Pass in REQUEST.... > > RESPONSE=None): # and response... > > > > if not hasattr(self, outTableName): > > self.manage_addTinyTable(id=outTableName, title=outTableTitle, columns=outTableColumns, REQUEST=REQUEST) > > > > newTT = getattr(self, outTableName) > > newTT.manage_edit(title = outTableTitle, columns = outTableColumns, REQUEST=REQUEST) > > data = infile.read() > > data = string.replace(data,'\r','\n') > > data = string.replace(data,'\n\n','\n') > > lines = string.split(data,'\n') > > newLines = [] > > for i in range(len(lines)): > > line = string.strip(lines[i]) > > if line: > > sl = string.split(line,',') > > sl = map(lambda x:'"%s"' % x, sl) > > newLines.append(string.join(sl,',')) > > > > data = string.join(newLines, '\n') > > > > return newTT.manage_editData( data, REQUEST ) > > > > > > def main(): > > class foo: > > > > def manage_addTinyTable(self, *args, **kwargs): > > pass > > > > def manage_edit(self, *args, **kwargs): > > pass > > > > def manage_editData(self, data, REQUEST): > > print "In manage_editDdata" > > print data > > > > import StringIO > > > > f = StringIO.StringIO() > > f.write('a,b,c,d\n') > > f.write('d,e,f,g\n') > > f.seek(0) > > > > print f.read() > > f.seek(0) > > > > rf = foo() > > rf.defaultTable = foo() > > > > ReadFile(rf, f) > > > > if __name__=='__main__': > > > > main() > > > > >>>>> "Jason" == Jason C Leach writes: > > > > Jason> hi, > > > > Jason> I pass a zope file object (just plane text) to an external > > Jason> method. The file consists of a list of lines of text. I'd > > Jason> like to extract those lines from the file and put 'em in a > > Jason> list. Can anyone help with the extraction method? > > > > Jason> Thanks, j. > > > > Jason> ...................... ..... Jason C. Leach ... University > > Jason> College of the Cariboo. .. > > > > > > Jason> _______________________________________________ Zope > > Jason> maillist - Zope@zope.org > > Jason> http://lists.zope.org/mailman/listinfo/zope ** No cross > > Jason> posts or HTML encoding! ** (Related lists - > > Jason> http://lists.zope.org/mailman/listinfo/zope-announce > > Jason> 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 ) > From maxmcorp@worldonline.dk Mon Oct 30 22:22:24 2000 From: maxmcorp@worldonline.dk (Max M) Date: Mon, 30 Oct 2000 23:22:24 +0100 Subject: [Zope] My Items will not show themself in manage_main (objectItems) Message-ID: I have made a product that inherits: "OFS.ObjectManager.ObjectManager" and so should be able to contain other object. I have given the product a manage option: {'label':'Contents', 'action':'manage_main'} This is inherited from ObjectManager, To make it possible to add content to my product. But when I add ie. a dtml method to my folderish object, it does it allright, and the document gets added. I know because I can see it directly when going to it's url. And if I try to add another document with the same name I get an error saying that the id is allready used. But the Item doesn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to create for the Items to show up in "objectItems". Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Specialization is for insects. - Robert A. Heinlein From chrism@digicool.com Mon Oct 30 22:44:26 2000 From: chrism@digicool.com (Chris McDonough) Date: Mon, 30 Oct 2000 17:44:26 -0500 Subject: [Zope] Fw: PythonLabs Team Moves to Digital Creations References: <005301c04101$f3ab33b0$ae03a8c0@fork> <000201c041e1$25303fe0$4fc48ad0@kurtz> <39FDE6DF.740C58DD@picknowl.com.au> Message-ID: <021a01c042c2$f5015dd0$1f48a4d8@kurtz> Yes. Well... I did, anyway. :-) ----- Original Message ----- From: "Daryl Tester" To: "Chris McDonough" Cc: Sent: Monday, October 30, 2000 4:23 PM Subject: Re: [Zope] Fw: PythonLabs Team Moves to Digital Creations > Chris McDonough wrote: > > > Since it was a Friday, and > > since we normally have "Jam Sessions" on Friday afternoons, so we had "Guido > > Jam": we all got a chance to poke at him with questions and such and vice > > versa. > > But did you get to chant "We're not worthy! We're not worthy!"? :-) > > > -- > Regards, > Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. > > "MS Linux is released under the provisions of the Gates Private License, which > means you can freely use this Software on a single machine without warranty > after having paid the purchase price and annual renewal fees." -- mslinux.org > > _______________________________________________ > 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 ) > > From andym@ActiveState.com Mon Oct 30 23:03:45 2000 From: andym@ActiveState.com (Andy McKay) Date: Mon, 30 Oct 2000 15:03:45 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <009401c042c5$abbffb10$ae03a8c0@fork> > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". Not from what I can remember. I would have to see your constructor for more info. Andy. From kthangavelu@earthlink.net Mon Oct 30 19:56:56 2000 From: kthangavelu@earthlink.net (Ender) Date: Mon, 30 Oct 2000 11:56:56 -0800 Subject: [Zope] My Items will not show themself in manage_main (objectItems) References: Message-ID: <39FDD288.58381058@earthlink.net> Max M wrote: > > I have made a product that inherits: > "OFS.ObjectManager.ObjectManager" > and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. > I have given the product a manage option: > {'label':'Contents', 'action':'manage_main'} > This is inherited from ObjectManager, To make it possible to > add content to my product. > > But when I add ie. a dtml method to my folderish object, it does it > allright, and the document gets added. I know because I can see it directly > when going to it's url. And if I try to add another document with the same > name I get an error saying that the id is allready used. > > But the Item doesn't show up in Itemlist on the "manage_main" page. So I > cannot edit the items that I have added. > > I only get the: > "There are currently no items in XXX" some more information on what you changed in the container would be useful. > Why is this? is there any special methods or something that I need to create > for the Items to show up in "objectItems". this pseudo code should give you the result you want?, it works for me to display objects in the manage_main. def manage_addMyContainer: foo = MyContainer() bar = MyObject() foo._setObject(bar, 'bar') self._setObject(foo, 'foo') caveat, register your permissions properly on the manage_add, and note that adding bar in this way will mean it won't have access to acquisition properties from further up the tree at creation (including manage_afterAdd). also for registering manage options this syntax is a little more inclusive. manage_options=( OFS.ObjectManager.ObjectManager.manage_options+ ( {'label':'YourTabHere', 'action':'YourMethodHere'}, )+ AccessControl.Role.RoleManager.manage_options+ OFS.SimpleItem.SimpleItem.manage_options ) hth kapil From Henny van der Linde" <39F9444A.902CF18D@nipltd.com> <005a01c0405a$d867f5e0$0100a8c0@mshome.net> <39FD526F.DAF94274@nipltd.com> Message-ID: <00cc01c042d6$e013c340$c2aa79c3@mshome.net> Hi, ----- Original Message ----- From: "Chris Withers" To: "Henny van der Linde" Cc: "Zope mailing list" Sent: Monday, October 30, 2000 11:50 AM Subject: Re: [Zope] trapping login errors/exceptions > Henny van der Linde wrote: > > Thanks. I already thought about using Loginmanager but we still use Zope > > 2.1.6. > > Why? ;-) > Just careful. Not every Zope release is realy that stable at first. Products are not always upward compatible. The sudden change in the security model with Zope 2.2.0 scared us a bit. Maybe these are minor things but we realy can't afford to experiment a lot in the organization where I (and my co Zopistas) work. BTW I can't get Login Manager installed in a very fresh Zope 2.2.2 installation. See my earlier posting. Any ideas? greetz, Henny van der Linde From jarvis.sd082@ex.tel.co.jp Tue Oct 31 01:27:51 2000 From: jarvis.sd082@ex.tel.co.jp (TFE WSD JARVIS JOHN) Date: Tue, 31 Oct 2000 10:27:51 +0900 Subject: [Zope] Zope & Apache/ProxyPass : environment variables Message-ID: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Yes, but you have to do in it a round about way. (Actually, I've seen mention of a patch to Apache that does this, but I don't think it's neccessary) Here's the setup I'm using: RewriteEngine On RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} [QSA,L,P] RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] In this case, REMOTE_ADDR will be available in the REQUEST namespace under "client_ip" HTH > -----Original Message----- > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > Sent: Tuesday, October 31, 2000 5:47 AM > To: zope@zope.org > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > Hi, > > Does anyone know if it is even *possible* to pass environment variables > (specifically REMOTE_USER) to Zope when it is set up behind > Apache/ProxyPass. > > I've looked around the list archives, and the Apache docs and tried a > bunch of different configs but nothing works. I'm starting to wonder if > it's all in vain. > > Thanks, > > > > _______________________________________________ > 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 ) From docs@digicool.com Tue Oct 31 01:32:35 2000 From: docs@digicool.com (Michel Pelletier) Date: Mon, 30 Oct 2000 17:32:35 -0800 Subject: [Zope] Zope Book Beta Message-ID: <39FE2133.F00ED435@digicool.com> Amos and I are gibbering like madmen with excitement to announce the Zope Book Beta. This is the complete, technical draft of the book with all screenshots (but minus illustrations, those are on there way!). Some other things like a colophon and information about the authors is missing. The beta includes all completed chapters, the API reference, and the DTML reference. We've received over a hundred comments, corrections, and ideas from you the community and it has made a much better book. This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at http://www.zope.org/Members/michel/ZB/. Enjoy, -Michel From bill@noreboots.com Tue Oct 31 03:38:49 2000 From: bill@noreboots.com (Bill Anderson) Date: Mon, 30 Oct 2000 20:38:49 -0700 Subject: [Zope] New kinds of problems References: <972941774.39fde9ce8e5ff@www.usm.edu.ec> Message-ID: <39FE3EC9.67D86580@noreboots.com> MANUEL JOSE AMADOR BRIZ wrote: > > Thanks, here are my two cents: > > Mini quick howto to connect to a sybase ASA/ASE: > > Get any 2.2 linux distro installed, except red hat 7 (compiler problems, it > WILL fail). Only if you didn't read the RELEASE-NOTES. Use kgcc, it is the same compiler as RH 6.2 has. --- root@darwin in /root $ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) root@darwin in /root $ gcc --version egcs-2.91.66 root@darwin in /root --- ucntcme@locutus in /home/ucntcme $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) ucntcme@locutus in /home/ucntcme $ kgcc --version egcs-2.91.66 --- ... > exit python and go to the zope folder, then run ./start > > if zope starts, you\\\'re all set not quite. You should stop zope, open a new terminal, and start zope from there. More often than not, you will need to set up the $SYBASE variables in the zope start up script. Running Zope in a 'clean' terminal will test the environment. -- E PLURIBUS LINUX From zope@philosoft.at Tue Oct 31 04:05:07 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 05:05:07 +0100 Subject: [Zope] pluggable brains Message-ID: <200010310505070734.0771D84D@mail.noet.at> --=====_97296510718467=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_97296510718467=_ Content-Type: text/html; charset="us-ascii"
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_97296510718467=_-- From zope@philosoft.at Tue Oct 31 05:01:15 2000 From: zope@philosoft.at (Philipp Auersperg) Date: Tue, 31 Oct 2000 06:01:15 +0100 Subject: [Zope] pluggable brains In-Reply-To: <200010310505070734.0771D84D@mail.noet.at> References: <200010310505070734.0771D84D@mail.noet.at> Message-ID: <200010310601150109.07A53A1C@mail.noet.at> --=====_9729684756334=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I already found the answer myself: one can only use ZClasses as pluggable brains that are NOT persistent!! phil *********** REPLY SEPARATOR *********** On 31.10.2000 at 05:05 Philipp Auersperg wrote: For ZSQL Methods it is possible to bind a ZClass to the records. These can be selected from te combo box labeled 'ZClass' in the 'advanced'= tab of the SQLMethod's management screen, but there is always listed just one ZClass. My question: Why is there just one ZClass selectable, even if there are many ZClasses= defined? Is that a bug or a feature? thanks phil --=====_9729684756334=_ Content-Type: text/html; charset="us-ascii"
I already found the answer myself:
 
one can only use ZClasses as pluggable brains that are NOT persistent!!
 
phil
*********** REPLY SEPARATOR ***********

On 31.10.2000 at 05:05 Philipp Auersperg wrote:
For ZSQL Methods it is possible to bind a ZClass to the records.
 
These can be selected from te combo box labeled 'ZClass' in the 'advanced'  tab of the SQLMethod's management screen,
but there is always listed just one ZClass.
 
My question:
Why is there just one ZClass selectable, even if there are many ZClasses defined?
Is that a bug or a feature?
 
thanks
 
phil
--=====_9729684756334=_-- From jleach@mail.ocis.net Tue Oct 31 04:45:52 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 20:45:52 -0800 (PST) Subject: [Zope] meta type? Message-ID: hi, What is ment by a meta type? Is that like 'Image' in the case of images, and Folder in the case of folders? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 05:00:46 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 06:00:46 +0100 (CET) Subject: [Zope] meta type? In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > Is that like 'Image' in the case of images, and Folder in the case of > folders? Yupp. From jleach@mail.ocis.net Tue Oct 31 06:04:07 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 22:04:07 -0800 (PST) Subject: [Zope] Almost Done. Message-ID: hi, So I'm almost done my first zope project. Pretty small. I must say, I have done in 4 lines of DTML what would have taken pages in ASP. How do I get a TinyTable to display it's contents? All I find in the docs is and that does not seem to work for me, unles I am lacking a tag? j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. From erik@esol.no Tue Oct 31 06:24:01 2000 From: erik@esol.no (Erik Enge) Date: Tue, 31 Oct 2000 07:24:01 +0100 (CET) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: On Mon, 30 Oct 2000, Jason C. Leach wrote: > hi, Hi. > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try this: (and next time, post the error message, Zope version and OS you are running :-) From jleach@mail.ocis.net Tue Oct 31 07:03:22 2000 From: jleach@mail.ocis.net (Jason C. Leach) Date: Mon, 30 Oct 2000 23:03:22 -0800 (PST) Subject: [Zope] Almost Done. In-Reply-To: Message-ID: hi, Gave that a shot, no luck. I just dones nothing where as if I misspel the object ID it screams (so it's finding it). I can edit and View the object fine, just not call it. I'm running Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A j. ...................... ..... Jason C. Leach ... University College of the Cariboo. .. On Tue, 31 Oct 2000, Erik Enge wrote: > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > hi, > > Hi. > > > How do I get a TinyTable to display it's contents? > > > > All I find in the docs is and that does not > > seem to work for me, unles I am lacking a tag? > > Try this: > > > > (and next time, post the error message, Zope version and OS you are > running :-) > > From morten@esol.no Tue Oct 31 08:05:34 2000 From: morten@esol.no (Morten W. Petersen) Date: 31 Oct 2000 09:05:34 +0100 Subject: [Zope] Strange KeyError upon calling absolute_url Message-ID: I've got a strange error here; whenever absolute_url is called, it is raised a KeyError exception, stating that SERVER_URL is missing.. (The traceback..) Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addTransform) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addTransform) File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 54, in manage_addTransform File /usr/local/Zope/lib/python/Products/Transform/transform.py, line 154, in __init__ (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 278, in _setObject (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 286, in manage_afterAdd (Object: Traversable) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 114, in manage_afterAdd (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 184, in index_object (Object: CatalogAware) File /usr/local/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 157, in url (Object: CatalogAware) File /usr/local/Zope/lib/python/OFS/Traversable.py, line 119, in absolute_url (Object: CatalogAware) KeyError: (see above) The line(s) causing the error were a rather long list of _setObject commands: """ [...] self._setObject('M', agencysort.AgencySort('M')) self._setObject('N', agencysort.AgencySort('N')) [...] """ Any ideas? Thanks in advance. -Morten From cj.de.brabander@hccnet.nl Tue Oct 31 08:27:06 2000 From: cj.de.brabander@hccnet.nl (Kees de Brabander) Date: Tue, 31 Oct 2000 09:27:06 +0100 Subject: [Zope] Almost Done. References: Message-ID: <004601c04314$60710380$b560fea9@piii667> hi Jason, by itself does what you ask it to do: it runs through the rows of your tinytable and that's it. If you want to see the content of your table, you'll have to construct a html table with fieldnames in the cells: ...
Then you're done. cb ----- Original Message ----- From: Jason C. Leach To: Erik Enge Cc: Sent: Tuesday, October 31, 2000 8:03 AM Subject: Re: [Zope] Almost Done. > hi, > > Gave that a shot, no luck. I just dones nothing where as if I misspel the > object ID it screams (so it's finding it). I can edit and View the object > fine, just not call it. > > I'm running Zope/Zope 2.2.2 (source release, > python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A > > > j. > ...................... > ..... Jason C. Leach > ... University College of the Cariboo. > .. > > On Tue, 31 Oct 2000, Erik Enge wrote: > > > On Mon, 30 Oct 2000, Jason C. Leach wrote: > > > > > hi, > > > > Hi. > > > > > How do I get a TinyTable to display it's contents? > > > > > > All I find in the docs is and that does not > > > seem to work for me, unles I am lacking a tag? > > > > Try this: > > > > > > > > (and next time, post the error message, Zope version and OS you are > > running :-) > > > > > > > _______________________________________________ > 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 ) > > From jacintha.menezes@wipro.com Tue Oct 31 09:37:43 2000 From: jacintha.menezes@wipro.com (jacintha menezes) Date: Tue, 31 Oct 2000 15:07:43 +0530 Subject: [Zope] one more In-Reply-To: <39FD8DDC.120C9975@globalcrossing.com> Message-ID: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Hi, I am using Gadfly database for Employee details.Kindly let me know whether there is any maximum limit for the space available. Thanks bye, jacintha From ws@gmd.de Tue Oct 31 09:58:11 2000 From: ws@gmd.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 10:58:11 +0100 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEA5C3.30680.5483DF1@localhost> On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. [...] Great! For my own use, I'Ve just created a fully indexed MS-Windows HTMHelp-Version, see http://www.zope.org/Members/strobl, that I want to share with others doing Zope work on that platform. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ From jonathan@home-all.org.uk Tue Oct 31 10:14:33 2000 From: jonathan@home-all.org.uk (Jonathan Cheyne) Date: Tue, 31 Oct 2000 10:14:33 +0000 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> Message-ID: <39FE9B89.B54B5700@home-all.org.uk> Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: > Jonathan Cheyne wrote: > > > > Ah, no, I though that was if you were doing the virtual hosting in zope > > (as opposed to virtual hosts in httpd.conf or a rewrite)? > > > > I will add one, pronto > > Sorry, I didn't mean to confuse you. If you're using Apache > Virtual hosting, you don't need an access rule. I thought > that you might have one that was conflicting. > > One thing that might help you figure this out is to add a > 'debug' DTML Method to your root folder that contains: > > > > And trying various URLs with /debug tacked on the end to see > how the HTTP request is being rewritten. > > HTH, > > Michael Bernstein. From p@state-of-mind.de Tue Oct 31 10:25:12 2000 From: p@state-of-mind.de (Patrick Koetter) Date: Tue, 31 Oct 2000 11:25:12 +0100 Subject: [Zope] AW: [Zope] Zope Book Beta In-Reply-To: <39FEA5C3.30680.5483DF1@localhost> Message-ID: Thanks! Pretty neat thing :-) I like the ducks: a-hi-ru. "Kore wa desu? Ahiru desu." It must have been something like that... p@ > -----Ursprüngliche Nachricht----- > Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von > Wolfgang Strobl > Gesendet: Dienstag, 31. Oktober 2000 10:58 > An: zope@zope.org; zope-book@zope.org > Betreff: Re: [Zope] Zope Book Beta > > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. > > > > -- > o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 > /\ * GMD mbH #include > _`\ `_<=== Schloss Birlinghoven, > __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________ > > _______________________________________________ > 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 ) > From l.tranchant@adntic.com Tue Oct 31 11:20:19 2000 From: l.tranchant@adntic.com (Laurent Tranchant) Date: Tue, 31 Oct 2000 12:20:19 +0100 Subject: [Zope] PoPy Message-ID: <39FEAAF3.FE07CAD7@adntic.com> --------------0C7C06BE069157DD2DA5173E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody, I am new with Zope and I don't know Python. I want to use Zope with PostgreSQL. I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ? I have tried, and some errors appeared : when compiling __init__.py : ImportError: No module named Globals when compiling PoPy_db.py : The PoPy module is old: Update your version of PoPy So, I tried to install PoPy-1.3.6, but I failed! Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit hello everybody,

I am new with Zope and I don't know Python.
I want to use Zope with PostgreSQL.
I have installed PoPy-1.2.1 and compiled the module PoPymodule.so.
I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/.
My problem is I don't know if I have to compile the Phyton files in ZPoPyDA ?
I have tried, and some errors appeared :

when compiling __init__.py :
        ImportError: No module named Globals
when compiling PoPy_db.py :
        The PoPy module is old: Update your version of PoPy

So, I tried to install PoPy-1.3.6, but I failed!

Is there someone who could help me ??? :-( --------------0C7C06BE069157DD2DA5173E-- From chrisw@nipltd.com Tue Oct 31 11:49:04 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:49:04 +0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> Message-ID: <39FEB1B0.46B76306@nipltd.com> There a PDF of it anywhere? cheers, Chris Michel Pelletier wrote: > > Amos and I are gibbering like madmen with excitement to announce the > Zope Book Beta. This is the complete, technical draft of the book with > all screenshots (but minus illustrations, those are on there way!). > Some other things like a colophon and information about the authors is > missing. The beta includes all completed chapters, the API reference, > and the DTML reference. We've received over a hundred comments, > corrections, and ideas from you the community and it has made a much > better book. This is the one to print out and give to your friends as > christmas gifts, folks, so get crackin and start reading at > http://www.zope.org/Members/michel/ZB/. > > Enjoy, > > -Michel > > _______________________________________________ > 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 ) From chrisw@nipltd.com Tue Oct 31 11:52:32 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 11:52:32 +0000 Subject: [Zope] Gadfly References: <000c01c0431e$3818c080$f5dea8c0@wipro.com> Message-ID: <39FEB280.A0331F5A@nipltd.com> jacintha menezes wrote: > I am using Gadfly database for Employee details.Kindly let me know > whether there is any maximum limit for the space available. Probably related to the memory in the machine you are running Zope on. Bear in mind that gadfly databases are not persistent and loose their contents when you restart Zope. cheers, Chris From fog@mixadlive.com Tue Oct 31 11:58:04 2000 From: fog@mixadlive.com (Federico Di Gregorio) Date: Tue, 31 Oct 2000 12:58:04 +0100 Subject: [Zope] Re: [Soft] [Fwd: [Zope] PoPy] In-Reply-To: <39FEB0EA.905C9C2B@mixadlive.com>; from pcm@mixadlive.com on Tue, Oct 31, 2000 at 12:45:46PM +0100 References: <39FEB0EA.905C9C2B@mixadlive.com> Message-ID: <20001031125804.O504@mixadlive.com> first of all, always install the latest versions of popy and zpopyda. you can get them on our website, www.mixadlive.com. you don't need to compile the .py files of the database adapter, zope takes care of loading them through python that will compile them on the fly. please, when a compilation fails, send use some more information, at least the compiler error message and, if you can, installed packages/programs, etc... hope this helps, federico p.s. if you use the Debian distribution you can install popy and zpopyda by simply invoking "apt-get install python-popy zope-popyda" > I am new with Zope and I don't know Python. > I want to use Zope with PostgreSQL. > I have installed PoPy-1.2.1 and compiled the module PoPymodule.so. > I have also installed ZPoPyDA.0.7 in /lib/python/Products/ZPoPyDA/. > My problem is I don't know if I have to compile the Phyton files in > ZPoPyDA ? > I have tried, and some errors appeared : > > when compiling __init__.py : > ImportError: No module named Globals > when compiling PoPy_db.py : > The PoPy module is old: Update your version of PoPy > > So, I tried to install PoPy-1.3.6, but I failed! > > Is there someone who could help me ??? :-( -- Federico Di Gregorio MIXAD LIVE System Programmer fog@mixadlive.com Debian GNU/Linux Developer & Italian Press Contact fog@debian.org Those who do not study Lisp are doomed to reimplement it. Poorly. -- from Karl M. Hegbloom .signature From phil.harris@zope.co.uk Tue Oct 31 12:30:00 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 12:30:00 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <057301c04336$4d5d29a0$5c773fc1@media1> Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil ----- Original Message ----- From: "Chris Withers" To: Cc: ; Sent: Tuesday, October 31, 2000 11:49 AM Subject: Re: [Zope] Zope Book Beta > There a PDF of it anywhere? > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From chrisw@nipltd.com Tue Oct 31 13:06:29 2000 From: chrisw@nipltd.com (Chris Withers) Date: Tue, 31 Oct 2000 13:06:29 +0000 Subject: [Zope] Re: two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> Message-ID: <39FEC3D5.7CAA72CC@nipltd.com> You should probably try to give your mails more helpful subject lines, something like "adding acl_users and databases" would have been great in this case ;-) jacintha menezes wrote: > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > doesn't get assigned > even if i specify it. Kindly let me know, is there anyway by which when i > add an acl_user, > role as manager is taken automatically. > tags used are as follows : > > > > > > Not really sure what you're trying to do here. It soudns like you're trying to add new users to an acl_users folder. Not sure why you need all those REQUEST.set's, why not just pass them as keyword arguments to manage_users? > 2. Is there any other reliable database which we can use. MySQL, Oracle, PostGres... all have adapters for Zope. You could, of course, use the ZODB, but that's a slightly different kettle of fish. cheers, Chris PS: Please email the list and CC me in rather than just emailing me, there are many more people on the list who will have more knowledge than me in the areas you're asking about. From hgebel@inet.net Tue Oct 31 13:24:16 2000 From: hgebel@inet.net (Harry Henry Gebel) Date: Tue, 31 Oct 2000 08:24:16 -0500 Subject: [Zope] ssl w/ modrewrite In-Reply-To: ; from bill@carbonecho.com on Mon, Oct 30, 2000 at 04:10:51PM +0000 References: <39FCFBBB.94E55B4D@mailbox.bellatlantic.net> Message-ID: <20001031082416.A31505@inet.net> On Mon, Oct 30, 2000 at 04:10:51PM +0000, Bill Welch wrote: > Please say what Port, Listen, and VirtualHost directives you have in > place. I think that's really where the trouble. > > but it works as typed in the server withour CRs.) I added modssl, but > > when I go in on an https I get the original apache root page, and can > > only access zope at https://address/cgi-bin/Zope . Furthermore, since Thanks! I copied my modrewrite stuff into the SSL virtual host and everything worked fine after that. -- Harry Henry Gebel, ICQ# 76308382 West Dover Hundred, Delaware From b.pouye@paris.infonie.fr Tue Oct 31 13:30:04 2000 From: b.pouye@paris.infonie.fr (b.pouye@paris.infonie.fr) Date: Tue, 31 Oct 2000 14:30:04 +0100 Subject: [Zope] Zope and Sybase Stored Procedures Message-ID: Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am trying to do all my SQL requests by using stored procédures. The only thing that goes wrong is that I don't know how to make a call to a Sybase Stored Procedure within Zope. Can anyone help me ? Sincerly, Badara POUYE Infosources 16, rue Hoche Tour Kupka B 92906 Paris La Défense Tel.: (+33)141028000 From twcook@iswt.com Tue Oct 31 14:03:23 2000 From: twcook@iswt.com (Tim Cook) Date: Tue, 31 Oct 2000 08:03:23 -0600 Subject: [Zope] Add users & other acl_user quirks was:two more questions References: <002101c04334$28213840$f5dea8c0@wipro.com> <39FEC3D5.7CAA72CC@nipltd.com> Message-ID: <39FED12B.C37967AE@iswt.com> Chris Withers wrote: > > > 1. I have some dtml tags to add new acl_users sent by Daniel .But role > > > > > > > > > > > > > > Not really sure what you're trying to do here. It soudns like you're > trying to add new users to an acl_users folder. Not sure why you need > all those REQUEST.set's, why not just pass them as keyword arguments to > manage_users? It is _probably_ because it was given as an example somewhere. 'Cuz I did the same thing. In my case those values are coming from a form with a lot of other stuff as well. My question that is similar to this is: Is there any reason why an acl_user folder cannot be added to the instance of a ZClass that is subclassed from OFS:Folder & Catalog Aware? I tried putting it in the ZClass itself. It doesn't show up. But if I try to manually add it to an instance I get an error saying that one already exists. A few days ago ethan (I think) said that they used a BTreeFolder for the Zope.Org user folder. Is this a _modified_ BTreeFolder? I thought there were some parts of the security mechanism that was part of acl_user folders? Inquiring minds...... -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management | http://FreePM.org Censorship: The reaction of the ignorant to freedom. From Jerry.Spicklemire@IFLYATA.COM Tue Oct 31 14:23:52 2000 From: Jerry.Spicklemire@IFLYATA.COM (Spicklemire, Jerry) Date: Tue, 31 Oct 2000 09:23:52 -0500 Subject: [Zope] Almost Done. Message-ID: <977A39E65CFCD3119ABF00D0B741D849733932@innt-73.ata.com> Jason pondered: > How do I get a TinyTable to display it's contents? > > All I find in the docs is and that does not > seem to work for me, unles I am lacking a tag? Try it like this:
where tablename is the name of your table, and fieldname1, fieldname2 are names of fields. I've not used TinyTables, but this works with other tabular systems. Later, Jerry S. From tony.mcdonald@ncl.ac.uk Tue Oct 31 15:17:33 2000 From: tony.mcdonald@ncl.ac.uk (Tony McDonald) Date: Tue, 31 Oct 2000 15:17:33 +0000 Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs Message-ID: Hi all, I've been trying to install EventFolder into a Zope 2.2.1 system. I've followed the instructions (I wouldn't be writing here if I hadn't! :) and keep getting an error message; Error type: Could not load oid ÷, pickled data in traceback info may contain clues Error value: None and the traceback... (Info: ('\000\000\000\000\000\000\015\367', '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke rBase Now the thing is, I *do not have* TrackerBase.TrackerBase in my Products folder. To try and get rid of this error, I have deleted *all* the products in my Products Folder and restarted my server. The error message still comes up. I have packed the database and tried 'grep' 215 % grep -i trackerbase Data.fs Binary file Data.fs matches doh! I change my PYTHONHOME to point to a Zope 2.2.1 installation that a lot of servers use. The lib/python/Products directory there shows no TrackerBase there. No TrackerBase in the (local, ie server-specific) directory, Products, either. Can anyone give me a clue as to where to look for this errant Product? Tone ps *excellent* news about BDFL and his troupe joining DC! ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope From hohage@muenster.de Tue Oct 31 16:31:43 2000 From: hohage@muenster.de (hohage) Date: Tue, 31 Oct 2000 16:31:43 +0000 Subject: [Zope] meta type? Message-ID: <39FEC383@muepubb> Hallo Jason, you are on the right way. Try this in a folder: ----------------- ----------------- You'll get the names of all the metatypes in the current folder. Bye Sven P.S.:the "available objects" button shows all available metatypes in your installation(you can add more by installing products or creating them on your own). >===== Original Message From "Jason C. Leach" ===== >hi, > >What is ment by a meta type? > >Is that like 'Image' in the case of images, and Folder in the case of >folders? > >j. > >...................... >..... Jason C. Leach >... University College of the Cariboo. >.. > > >_______________________________________________ >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 ) From phd@mail2.phd.pp.ru Tue Oct 31 15:53:22 2000 From: phd@mail2.phd.pp.ru (Oleg Broytmann) Date: Tue, 31 Oct 2000 15:53:22 +0000 (GMT) Subject: [Zope] ZDNet compares 4 our rivals Message-ID: Hello! ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP: http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Scripting in ColdFusion found to be the best choice :) Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. From webmaven@lvcm.com Tue Oct 31 16:08:33 2000 From: webmaven@lvcm.com (Michael Bernstein) Date: Tue, 31 Oct 2000 08:08:33 -0800 Subject: [Zope] siteaccess, hosting etc, sanity check References: <39FD6E02.7466D204@home-all.org.uk> <39FD98B8.17034247@lvcm.com> <39FD9ACC.A44C7BE1@home-all.org.uk> <39FDB0D2.DB476984@lvcm.com> <39FE9B89.B54B5700@home-all.org.uk> Message-ID: <39FEEE81.2E452929@lvcm.com> Jonathan Cheyne wrote: > > Ok, well I got some success by eliminating apache and using the site accesss > example methods and an access rule. > > but. > > is this a lower performance solution than fronting zope with apache? The short answer is: "Only in some special cases". An example of such a 'special case' is if you want certain static files to be served directly by apache, and not by Zope. Or maybe you just like Apaches log-files better ;-) If the stuff that Apache was going to be fronting for was coming out of Zope anyway, then there is no difference. You may want to keep Apache around for certain things, just use IP hosting for your root folder (no Virtual hosting) and have the Access Rules and SiteRoots take care of both blue.com and red.com in sub-folders. that's what i'm doing on the Zope I'm hosting at CodeIt.com. HTH, Michael Bernstein. From bill@carbonecho.com Tue Oct 31 16:34:55 2000 From: bill@carbonecho.com (Bill Welch) Date: Tue, 31 Oct 2000 16:34:55 +0000 (GMT) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: Message-ID: I had a similar problem a month ago with PTK and ZDiscussions and I consider this to be corruption of the ZODB not related to the particular products. You might be able to fix it by going into the DB directly through python; stop zope start python in zope/lib/python 'import Zope, ZServer; root = Zope.app(); dir(root)' and dig around from there I didn't know that trick at the time, so I fixed it by: exporting my objects from the root folder (fortunately, I'm virtual hosting and I only had to export a couple of folders) stopping zope replacing Data.fs with Data.fs.in starting zope importing my objects On Tue, 31 Oct 2000, Tony McDonald wrote: > Hi all, > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > From ngps@post1.com Tue Oct 31 05:38:59 2000 From: ngps@post1.com (Ng Pheng Siong) Date: Tue, 31 Oct 2000 13:38:59 +0800 Subject: [Zope] M2Crypto problem In-Reply-To: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com>; from erik@pacific-shores.com on Tue, Oct 24, 2000 at 07:23:30AM -0700 References: <000701c03dc5$fbf939c0$4d03a8c0@your.domain.com> Message-ID: <20001031133859.A650@madcap.dyndns.org> On Tue, Oct 24, 2000 at 07:23:30AM -0700, Erik Myllymaki wrote: > I'm trying to use M2Crypto to access some https pages through an external > method, but I get this error: > > SSLError: SSLEAY_RAND_BYTES: PRNG not seeded > > How do I seed the PRNG? Hmmm, getting behind on my mail... ;-) There should be a file 'randpool.dat' in the M2Crypto distribution. This is created from my FreeBSD's /dev/random, and contains enough randomness to satisfy OpenSSL. Copy that file to where your external method's .py lives. Let me know if it doesn't work. I've been very busy recently. No time to work on M2Crypto and Zope crypto stuff at all. ;-( In future, for (marginally ;-) better response time, write me direct. Cheers. -- Ng Pheng Siong * http://www.post1.com/home/ngps From heatherzau@yahoo.com Tue Oct 31 17:22:32 2000 From: heatherzau@yahoo.com (heatherzau@yahoo.com) Date: Tue, 31 Oct 2000 09:22:32 -0800 (PST) Subject: [Zope] Restart Zope script Message-ID: <20001031172232.67191.qmail@web10707.mail.yahoo.com> Hello. Do you like my script to restart Zope? I don't. I followed instructions in the Zope archive to write a restart script for Zope. It works if I run it from the command line but if I put it in a cron job, it hangs and does not start properly. Can you help me? THANK YOU. Heather #!/usr/bin/python import os, string # My Zope is installed in /usr/zope # So the commands to stop and start it are, stopcmd = "/usr/zope/stop" startcmd = "/usr/zope/start &" # Command to check Zope processes running, cmd = "ps aux | grep zope" # Find the Zope PIDs that are actually running, readstdin = os.popen(cmd).readlines() pids = [] for eachline in readstdin : words = string.split(eachline) if len(words) > 2 : pids.append(words[1]) pids.append(string.split(eachline)[1]) # Find the PIDs that should be running, pidsfile = "/usr/zope/var/Z2.pid" f = open(pidsfile, 'r') data = f.read() f.close() runningpids = 0 zopepids = string.split(data) for eachpid in zopepids : if eachpid in pids : runningpids = runningpids + 1 if runningpids != 2 : os.popen(stopcmd) os.popen(startcmd) __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ From kthangavelu@earthlink.net Tue Oct 31 12:52:51 2000 From: kthangavelu@earthlink.net (Ender) Date: Tue, 31 Oct 2000 04:52:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> Message-ID: <39FEC0A3.7DF866A2@earthlink.net> Phil Harris wrote: > > Give me a few hours and I'll be knocking out the eBook and PDF versions. > > By the end of the day. > > Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil > ----- Original Message ----- > From: "Chris Withers" > To: > Cc: ; > Sent: Tuesday, October 31, 2000 11:49 AM > Subject: Re: [Zope] Zope Book Beta > > > There a PDF of it anywhere? > > > > cheers, > > > > Chris > > > > Michel Pelletier wrote: > > > > > > Amos and I are gibbering like madmen with excitement to announce the > > > Zope Book Beta. This is the complete, technical draft of the book with > > > all screenshots (but minus illustrations, those are on there way!). > > > Some other things like a colophon and information about the authors is > > > missing. The beta includes all completed chapters, the API reference, > > > and the DTML reference. We've received over a hundred comments, > > > corrections, and ideas from you the community and it has made a much > > > better book. This is the one to print out and give to your friends as > > > christmas gifts, folks, so get crackin and start reading at > > > http://www.zope.org/Members/michel/ZB/. > > > > > > Enjoy, > > > > > > -Michel > > > > > > _______________________________________________ > > > 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 ) > > _______________________________________________ > 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 ) From phil.harris@zope.co.uk Sun Oct 29 17:16:22 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:16:22 -0000 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <014e01c041cb$f8c1c970$0202a8c0@typhoon> Nah, I use the offical stuff , Adobe Distiller. For the eBook stuff I use a Microsoft Word Add-in, available from www.pocketpc.com (really microsoft under a pseudonym) hth Phil ----- Original Message ----- From: "Ender" To: "Phil Harris" Cc: ; ; Sent: Tuesday, October 31, 2000 12:52 PM Subject: Re: [Zope] Zope Book Beta | Phil Harris wrote: | > | > Give me a few hours and I'll be knocking out the eBook and PDF versions. | > | > By the end of the day. | > | > Phil | | Hi Phil, | | how do you do that? for the pdf are you dumping stuff into reportlab? | | Kapil | | | > ----- Original Message ----- | > From: "Chris Withers" | > To: | > Cc: ; | > Sent: Tuesday, October 31, 2000 11:49 AM | > Subject: Re: [Zope] Zope Book Beta | > | > > There a PDF of it anywhere? | > > | > > cheers, | > > | > > Chris | > > | > > Michel Pelletier wrote: | > > > | > > > Amos and I are gibbering like madmen with excitement to announce the | > > > Zope Book Beta. This is the complete, technical draft of the book with | > > > all screenshots (but minus illustrations, those are on there way!). | > > > Some other things like a colophon and information about the authors is | > > > missing. The beta includes all completed chapters, the API reference, | > > > and the DTML reference. We've received over a hundred comments, | > > > corrections, and ideas from you the community and it has made a much | > > > better book. This is the one to print out and give to your friends as | > > > christmas gifts, folks, so get crackin and start reading at | > > > http://www.zope.org/Members/michel/ZB/. | > > > | > > > Enjoy, | > > > | > > > -Michel | > > > | > > > _______________________________________________ | > > > 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 ) | > | > _______________________________________________ | > 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 ) From ckant@fazenda.gov.br Tue Oct 31 18:35:46 2000 From: ckant@fazenda.gov.br (=?iso-8859-1?Q?C=E9sar?= A. K. Grossmann) Date: Tue, 31 Oct 2000 16:35:46 -0200 Subject: [Zope] Sybase/MS SQL Server Database Adaptor - FreeTDS Message-ID: <39FF1102.B1263576@fazenda.gov.br> Hi! Does anyone have implemented any application in Linux that connects to a MS SQL Server 6.5 form a Linux box? I know there are a way to connect to a MS SQL Server using FreeTDS (http://www.FreeTDS.org/), but doesn't know how to make it runs with Python/Zope. Can anyone helps me? []s -- +---------------------------------+---------------------------------+ | César A. K. Grossmann | Capacitação Solidária | | ckant@fazenda.gov.br | http://www.uol.com.br/umminuto/ | | http://members.xoom.com/ckant/ | Clique e doe - é de graça | +---------------------------------+---------------------------------+ http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html Sed quis custodiet ipsos Custodes? [Who guards the Guardians?] From Danny@Adair.net Tue Oct 31 18:37:46 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:37:46 +0100 Subject: [Zope] Change rendering of a folder Message-ID: Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny From amos@digicool.com Tue Oct 31 18:39:58 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 10:39:58 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FEA5C3.30680.5483DF1@localhost> Message-ID: <39FF11FE.41B79D22@digicool.com> Wolfgang Strobl wrote: > > On 30 Oct 2000, 17:32 Michel Pelletier wrote: > > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. [...] > > Great! > > For my own use, I'Ve just created a fully indexed MS-Windows > HTMHelp-Version, see http://www.zope.org/Members/strobl, that I > want to share with others doing Zope work on that platform. I believe that O'Reilly doesn't want the book redistributed before it is printed. I'll recheck with them. Take a look at the copyright stuff info on each page. Luckily the book will soon be under an open content license, and then you'll be free to do what ever you wish. Thanks for taking a look at the book! -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From twiens@compusmart.ab.ca Tue Oct 31 18:56:24 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 11:56:24 -0700 Subject: [Zope] Mapping tools with Zope References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <057301c04336$4d5d29a0$5c773fc1@media1> <39FEC0A3.7DF866A2@earthlink.net> Message-ID: <39FF1604.522CF6D0@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From robin@jessikat.fsnet.co.uk Tue Oct 31 18:58:00 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 18:58:00 +0000 Subject: [Zope] preventing acquisition Message-ID: I have some folderish Zclasses which have index_html methods to implement a UI. I would like to inhibit acquisition of these. So if I have a path /A/B/C I would like to inhibit the behaviour that allows me to view /A/B/C/A and /A/B/C/A/B/C etc. to inhibit the first I can put something like

You're not supposed to be looking at

in my index_html, but this doesn't work for the second case. Is there a generic way to do this? -- Robin Becker From Danny@Adair.net Tue Oct 31 18:58:29 2000 From: Danny@Adair.net (Danny William Adair) Date: Tue, 31 Oct 2000 19:58:29 +0100 Subject: [Zope] Sorry, resolved Message-ID: Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Danny William Adair Gesendet: Dienstag, 31. Oktober 2000 19:38 An: zope@zope.org Betreff: [Zope] Change rendering of a folder Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets rendered. I remember the rstx_document example, where you subclass from the original and add "Renderable" to the base classes(I think it was important which first), then provide a "render" method in your new ZClass and that's it. This didn't work for "Folder". btw, would I subclass from "OFS: Folder" or from "ObjectManager"? tia, Danny _______________________________________________ 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 ) From ws@mystrobl.de Tue Oct 31 19:28:50 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 20:28:50 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF11FE.41B79D22@digicool.com> Message-ID: <39FF2B82.7500.28F81960@localhost> On 31 Oct 2000, at 10:39, Amos Latteier wrote: > I believe that O'Reilly doesn't want the book redistributed before it is > printed. It's gone. > I'll recheck with them. No need to. But what is the meaning of This is the one to print out and give to your friends as christmas gifts, folks, so get crackin and start reading at." in the announcement? >Take a look at the copyright stuff info > on each page. didn't restribute it, I uploaded the same content in a different format to the very same site I got it from: www.zope.org. -- Wolfgang Strobl From asc@vineyard.net Tue Oct 31 19:48:28 2000 From: asc@vineyard.net (Aaron Straup Cope) Date: Tue, 31 Oct 2000 14:48:28 -0500 (EST) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <8174B1EE3D2CD21180960000F805672307CA79C2@telisnt1020.is.tel.co.jp> Message-ID: Thanks. It appears, though, that there is no way to do this without appending a query string to the redirected URL. Is this correct? I'd like to be able to perform all authentication in Apache-land on the SSL and, if successful, hand the request off the Zope. The thing is, I still need to know who's actually authenticated once they readch Zope-world and assinging REMOTE_USER to a request parameter doesn't make me very comfortable. Alas... On Tue, 31 Oct 2000, TFE WSD JARVIS JOHN wrote: > Yes, but you have to do in it a round about way. > (Actually, I've seen mention of a patch to Apache that > does this, but I don't think it's neccessary) > > Here's the setup I'm using: > RewriteEngine On > RewriteRule ^/Zope(.*) http://localhost:8080/$1?client_ip=%{REMOTE_ADDR} > [QSA,L,P] > RewriteRule ^/p_/(.*) http://localhost:8080/p_/$1 [L,P] > RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P] > > In this case, REMOTE_ADDR will be available in the > REQUEST namespace under "client_ip" > > HTH > > > -----Original Message----- > > From: Aaron Straup Cope [SMTP:asc@vineyard.net] > > Sent: Tuesday, October 31, 2000 5:47 AM > > To: zope@zope.org > > Subject: [Zope] Zope & Apache/ProxyPass : environment variables > > > > Hi, > > > > Does anyone know if it is even *possible* to pass environment variables > > (specifically REMOTE_USER) to Zope when it is set up behind > > Apache/ProxyPass. > > > > I've looked around the list archives, and the Apache docs and tried a > > bunch of different configs but nothing works. I'm starting to wonder if > > it's all in vain. > > > > Thanks, > > > > > > > > _______________________________________________ > > 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 ) > From amos@digicool.com Tue Oct 31 19:44:16 2000 From: amos@digicool.com (Amos Latteier) Date: Tue, 31 Oct 2000 11:44:16 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF2110.AF8151CC@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? Not yet. I think that O'Reilly doesn't want us to produce any more public versions of the book until it is published. I'm double checking with them right now. Take a look at the copyright verbage on each book page to see what I'm talking about. As soon as the book is published it will go under an open content license and we'll make PDF, and probably other formats available. At that time you'll also be able to convert the book to whatever formats you want and redistribute it as you wish. Thanks for your patience. -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com From robin@jessikat.fsnet.co.uk Tue Oct 31 20:10:09 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:10:09 +0000 Subject: [Zope] Zope Book Beta In-Reply-To: <39FE2133.F00ED435@digicool.com> References: <39FE2133.F00ED435@digicool.com> Message-ID: In article <39FE2133.F00ED435@digicool.com>, Michel Pelletier writes > >Amos and I are gibbering like madmen with excitement to announce the >Zope Book Beta. This is the complete, technical draft of the book with >all screenshots (but minus illustrations, those are on there way!). >Some other things like a colophon and information about the authors is >missing. The beta includes all completed chapters, the API reference, >and the DTML reference. We've received over a hundred comments, >corrections, and ideas from you the community and it has made a much >better book. This is the one to print out and give to your friends as >christmas gifts, folks, so get crackin and start reading at >http://www.zope.org/Members/michel/ZB/. > >Enjoy, > >-Michel > ... wonderful, but the stuff on Python methods seems to refer to features which are certainly not in 2.2.2 and apparently not in CVS. Indeed CVS Zope2 doesn't seem to contain any Python method product! Indeed we will apparently soon be able to create XSLT methods! Which potential Zope does the book address? -- Robin Becker From robin@jessikat.fsnet.co.uk Tue Oct 31 20:51:54 2000 From: robin@jessikat.fsnet.co.uk (Robin Becker) Date: Tue, 31 Oct 2000 20:51:54 +0000 Subject: [Zope] preventing acquisition In-Reply-To: References: Message-ID: In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From evan@4-am.com Tue Oct 31 20:58:04 2000 From: evan@4-am.com (Evan Simpson) Date: Tue, 31 Oct 2000 15:58:04 -0500 Subject: [Zope] Zope & Apache/ProxyPass : environment variables References: Message-ID: <00d801c0437d$434cbf10$3e48a4d8@digicool.com> From: Aaron Straup Cope > Thanks. It appears, though, that there is no way to do this without > appending a query string to the redirected URL. Is this correct? That, or mangling the URL in some way and then unmangling on the Zope end. If someone out there has any experience with Apache modules, they could earn the undying gratitude of many Zopistas by enhancing mod_forwarding to do this sort of thing. Cheers, Evan @ digicool & 4-am From michel@digicool.com Tue Oct 31 20:54:49 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:54:49 -0800 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF2B82.7500.28F81960@localhost> Message-ID: <39FF3199.2EAC7DB2@digicool.com> Wolfgang Strobl wrote: > > On 31 Oct 2000, at 10:39, Amos Latteier wrote: > > > I believe that O'Reilly doesn't want the book redistributed before it is > > printed. > > It's gone. > > > I'll recheck with them. > > No need to. > > But what is the meaning of This is the one to print out and give to > your friends as christmas gifts, folks, so get crackin and start > reading at." in the announcement? That was a joke. Sorry. -Michel From michel@digicool.com Tue Oct 31 20:57:51 2000 From: michel@digicool.com (Michel Pelletier) Date: Tue, 31 Oct 2000 12:57:51 -0800 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> Message-ID: <39FF324F.2A90AFB2@digicool.com> Chris Withers wrote: > > There a PDF of it anywhere? No, we won't produce one until the book goes to an open content license when it hits the shelf. -Michel > > cheers, > > Chris > > Michel Pelletier wrote: > > > > Amos and I are gibbering like madmen with excitement to announce the > > Zope Book Beta. This is the complete, technical draft of the book with > > all screenshots (but minus illustrations, those are on there way!). > > Some other things like a colophon and information about the authors is > > missing. The beta includes all completed chapters, the API reference, > > and the DTML reference. We've received over a hundred comments, > > corrections, and ideas from you the community and it has made a much > > better book. This is the one to print out and give to your friends as > > christmas gifts, folks, so get crackin and start reading at > > http://www.zope.org/Members/michel/ZB/. > > > > Enjoy, > > > > -Michel > > > > _______________________________________________ > > 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 ) From jasonic@nomadicsltd.com Tue Oct 31 21:15:59 2000 From: jasonic@nomadicsltd.com (Jason Cunliffe) Date: Tue, 31 Oct 2000 16:15:59 -0500 Subject: [Zope] Zope Book Beta References: <39FE2133.F00ED435@digicool.com> <39FEB1B0.46B76306@nipltd.com> <39FF2110.AF8151CC@digicool.com> Message-ID: <026501c0437f$c4c18ba0$c3090740@megapathdsl.net> Hello Congratulations on getting the book to this stage!! It is very readable and I hope it is well promoted, and well received. One obvious presentation improvement I suggest is that you make ALL zope code references in the same typographic style. For example throughout most of the text you sensibly have DTML and Python examples in courier or equivalent. But in the Appendices, for example http://www.zope.org/Members/michel/ZB/AppendixA.html under sections marked 'Attributes', there is not a clear consistent distinction: encode=string MIME Content-Transfer-Encoding header, defaults to base64. Valid encoding options include base64, quoted-printable, uuencode, x-uuencode, uue, x-uue, and 7bit. If the encode attribute is set to 7bit no encoding is done on the block and the data is assumed to be in a valid MIME format. "encode=string" should display in courier also like all examples. And if possible put one extra line space after each Attribute description before the next entry. Thought this takes up a little more space, it is white space well used adn really helps one to find and absorb this crucial content better. An editorial suggestion I would make is that in the Appendices, MORE examples would be BETTER and clearer definitions and examples of the attributes arguments would really help too. Even a single one or two-line example after each 'Attributes section would be a godsend. I imagine there are lots of juicy examples in the archives. For example check sendmail, mailhost ="mailhostnamegoeshere" Also there is no mention about the sendmail quirkiness of formatting, needing space after the subject: line This is a FAQ and surely belongs in the appendix of the only Zope book. Are there others? In general for the Appendices, please check that explicitly it is clear and consistent when and if anything is returned, and when and how arguments are needed. You all know, and take all this for granted no doubt, but others truly don't. The API aspect is one that holds so many people back and so many questions about real-world use. Copious well placed examples go a long way. I know how hard it is use to make a book and how many endless fiddly time-consuming tasks there are. But it really is worth getting this right. I work for 10 years in the design and production side of book publishing. Ditto the index. I hope you push to make sure your editorial team at OReilly are really behind you on helping to produce a great index and will sweat all the details and typographic minutiae which do matter so much when you hold the final result. A classic example is 'Lingo in a Nutshell' [ORA] which has very detailed examples and excellent tables and appendices, but was marred by a cheap fast shallow index. It was author Bruce Epstein's painful learning curve. It is still the definitive LINGO book, but widely criticized for lack of serious index. Bruce later added stuff online and vowed to fix it in the next edition. As I recall from his post to the Direct-L mailing list, he said that he had not been personally very involved in the index, and as an exhausted and tired new author, he had not reckoned on what could go wrong, nor how important the index is to a static printed paper book. Very different from the dynamic online world where a few searches on google or wherever will get a handy reference, backed up by a post to xyz-mailinglist. Best wishes - Jason ________________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector From twiens@compusmart.ab.ca Tue Oct 31 22:02:30 2000 From: twiens@compusmart.ab.ca (twiens) Date: Tue, 31 Oct 2000 15:02:30 -0700 Subject: [Zope] Mapping tools with Zope Message-ID: <39FF419C.6BC2856D@compusmart.ab.ca> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. T PS. I'm posting this a second time as I accidentally posted the first message as part of the Zope Book Beta thread. Sorry. -- Trevor Wiens twiens@compusmart.ab.ca The significant problems that we face cannot be solved at the same level of thinking we were at when we created them. (Albert Einstein) From ws@mystrobl.de Tue Oct 31 22:08:00 2000 From: ws@mystrobl.de (Wolfgang Strobl) Date: Tue, 31 Oct 2000 23:08:00 +0100 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <39FF50D0.5314.2989D443@localhost> On 31 Oct 2000, at 12:54, Michel Pelletier wrote: > That was a joke. Sorry. Uh, oh. Well, my thought was as follows: people are already annoucing making PDF versions, which are a much greater potential harm to to the number of sales of a printed book.With a good pdf file, I can get to my local prinshop and get a perfect bounded book back within half an hour. On the other hand, a MS HTML help file is of little use other than having a compact, searchable file which fits well into a development environment on Windows. Frankly, I can't see how these could do any harm to selling your book. To the contrary; I tend to beleive that having a properly indexed and tightly integrated online format might even might help selling the book. For example; I have HTML help versions _and_ printed copies of the - outdated - Zope docs, and one of each from the actual howto-collection, and I'm using them both. -- Wolfgang Strobl From aboulang@ldeo.columbia.edu Tue Oct 31 22:27:35 2000 From: aboulang@ldeo.columbia.edu (albert boulanger) Date: Tue, 31 Oct 2000 17:27:35 -0500 (EST) Subject: [Zope] Mapping tools with Zope In-Reply-To: <39FF419C.6BC2856D@compusmart.ab.ca> (message from twiens on Tue, 31 Oct 2000 15:02:30 -0700) Message-ID: <200010312227.RAA05754@ox.ldgo.columbia.edu> I'm researching for a project that will probably use Zope. For this project we will require a simple GIS component for display and information retrieval. I've noted three possible products so far and I'm wondering if anyone has any experience with these products or with others. My interest is what worked well, what didn't and how difficult were they to use with Zope. The products I've identified as potentially useful are: MapIt, MapServer and OpenEV. So far the MapServer seems to be the most likely candidate for our use. Thanks in advance. Here is one one other that I know of that may be of interest. BBN Technologies; contribution to the OpenGIS effort, a product called openmap, www.openmap.org. This is a JavaBeans tooolkit. I have downloaded it but have not done anything serious with it. FYI, Albert Boulanger aboulanger@vpatch.com From dieter@handshake.de Tue Oct 31 22:02:33 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:02:33 +0100 (CET) Subject: [Zope] incorporating generated sub-websites within a Zope site In-Reply-To: <34848996@toto.iv> Message-ID: <14847.16076.672445.475183@lindm.dm> Fred Yankowski writes: > ... publishing content created with standard web design tools via Zope ... There have been some discussions about this in "zope-dev" in relation with "HiperDOM" and "XHTML" templates. Maybe, you search the "zope-dev" archive to get an overview. As far as I know, DC plans to support such publication. HiperDOM might already go some way into this direction (for tools that generate XHTML). There is an easy way to provide header and footer to your content -- provided you are ready to use a bit uncomfortable URLs, i.e. to view an object with URL "u", you use "u/view". "view" is a method (DTML or PYTHON) that operates on "u". It removes the header and footer in "u" and replaces it with header and footer of your choice, after passing values extracted from the original header to the new header (e.g. title, link, meta tags). With some advanced Zope, maybe the "Traversable" product, it might be possible to get around the additional "/view" URL suffix. Dieter From dieter@handshake.de Tue Oct 31 22:03:54 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:03:54 +0100 (CET) Subject: [Zope] how do I get rid of 'ghost' objects in Data.fs In-Reply-To: <54175321@toto.iv> Message-ID: <14847.16782.566315.644387@lindm.dm> Tony McDonald writes: > I've been trying to install EventFolder into a Zope 2.2.1 system. > I've followed the instructions (I wouldn't be writing here if I > hadn't! :) and keep getting an error message; > > Error type: Could not load oid > ÷, pickled data in traceback info may contain clues > Error value: None > > and the traceback... > > (Info: ('\000\000\000\000\000\000\015\367', > '(cExtensionClass\012ExtensionClass\012q\001(U\014TrackerIssueq\002(cZ > Classes.ZClass\012PersistentClass\012q\003cProducts.TrackerBase.Tracke > rBase > > Now the thing is, I *do not have* TrackerBase.TrackerBase in my > Products folder. To try and get rid of this error, I have deleted > *all* the products in my Products Folder and restarted my server. The > error message still comes up. > I have packed the database and tried 'grep' The problem will probably disappear, when you do install "TrackerBase". Dieter From dieter@handshake.de Tue Oct 31 22:05:05 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 23:05:05 +0100 (CET) Subject: [Zope] Zope & Apache/ProxyPass : environment variables In-Reply-To: <44407041@toto.iv> Message-ID: <14847.16851.2182.108602@lindm.dm> Aaron Straup Cope writes: > I'd like to be able to perform all authentication in Apache-land on the > SSL and, if successful, hand the request off the Zope. The thing is, I > still need to know who's actually authenticated once they readch > Zope-world and assinging REMOTE_USER to a request parameter doesn't make > me very comfortable. > > Alas... The "doc/WEBSERVERS.txt" contains some information about how to convince Apache to pass "REMOTE_USER". I am not sure, it will be enough for you. Dieter From dieter@handshake.de Tue Oct 31 21:37:40 2000 From: dieter@handshake.de (Dieter Maurer) Date: Tue, 31 Oct 2000 22:37:40 +0100 (CET) Subject: [Zope] Gadfly In-Reply-To: <12604657@toto.iv> Message-ID: <14847.15152.805685.438529@lindm.dm> Chris Withers writes: > jacintha menezes wrote: > > > I am using Gadfly database for Employee details.Kindly let me know > > whether there is any maximum limit for the space available. > > Probably related to the memory in the machine you are running Zope on. > > Bear in mind that gadfly databases are not persistent and loose their > contents when you restart Zope. It is very easy to make them persistent. When I remember correctly, it was only necessary to pass "commit" to Gadfly. Dieter From phil.harris@zope.co.uk Sun Oct 29 17:50:41 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Sun, 29 Oct 2000 17:50:41 -0000 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta References: <39FF50D0.5314.2989D443@localhost> Message-ID: <003101c041d0$c2da66f0$0202a8c0@typhoon> Hi all, If your talking about me with the PDF and eBook, then if it's a problem I won't redistribute it. It's actually sitting on my machine waiting to go, but I'll hold if need be. Let me know either way. hth Phil ----- Original Message ----- From: "Wolfgang Strobl" To: ; "Amos Latteier" ; ; Sent: Tuesday, October 31, 2000 10:08 PM Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta | On 31 Oct 2000, at 12:54, Michel Pelletier wrote: | | > That was a joke. Sorry. | | Uh, oh. Well, my thought was as follows: people are already | annoucing making PDF versions, which are a much greater | potential harm to to the number of sales of a printed book.With a | good pdf file, I can get to my local prinshop and get a perfect | bounded book back within half an hour. | | On the other hand, a MS HTML help file is of little use other than | having a compact, searchable file which fits well into a | development environment on Windows. Frankly, I can't see how | these could do any harm to selling your book. To the contrary; I | tend to beleive that having a properly indexed and tightly | integrated online format might even might help selling the book. | | For example; I have HTML help versions _and_ printed copies of | the - outdated - Zope docs, and one of each from the actual | howto-collection, and I'm using them both. | | -- | Wolfgang Strobl | | _______________________________________________ | 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 ) From troy.farrell@wilcom.com Tue Oct 31 23:04:19 2000 From: troy.farrell@wilcom.com (Farrell, Troy) Date: Tue, 31 Oct 2000 17:04:19 -0600 Subject: [Zope] preventing acquisition Message-ID: Sorry. -2 points for lack of clarity (my fault) I thought you were talking about a document. If you want to do something like that you will need to use inside your documents. The only way I know to prevent a user from doing this by typing a URL is to set some security permissions. You might look at http://www.zope.org/Members/rossl/SpecificContext It is not specific to your problem, but it might help. Troy -----Original Message----- From: Robin Becker [mailto:robin@jessikat.fsnet.co.uk] Sent: Tuesday, October 31, 2000 2:52 PM To: Farrell, Troy Cc: Zope@zope.org Subject: Re: [Zope] preventing acquisition In message , Farrell, Troy writes >Sorry for the blank. That was my mistake. Try the tag and the >"only" keyword. ... It's quite difficult to get netscape/ie to do a ! The problem I'm seeing is that in my browser I can use http://localhost/A/B/C correctly, but also incorrectly I can view http://localhost/A/B/C/A/C -- Robin Becker From nichols@tradingconnections.com Tue Oct 31 23:01:26 2000 From: nichols@tradingconnections.com (Dennis Nichols) Date: Tue, 31 Oct 2000 17:01:26 -0600 Subject: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta In-Reply-To: <39FF50D0.5314.2989D443@localhost> References: <39FF3199.2EAC7DB2@digicool.com> Message-ID: <4.3.2.7.2.20001031165846.00c7d960@tradingconnections.com> At 10/31/00 11:08 PM, Wolfgang Strobl wrote: >For example; I have HTML help versions _and_ printed copies of >the - outdated - Zope docs, and one of each from the actual >howto-collection, and I'm using them both. Wolfgang - How about putting up your HTML help version of the howto-collection? That would be very cool. Thanks! -- Dennis Nichols nichols@tradingconnections.com From phil.harris@zope.co.uk Tue Oct 31 01:50:09 2000 From: phil.harris@zope.co.uk (Phil Harris) Date: Tue, 31 Oct 2000 01:50:09 -0000 Subject: [Zope] OT Zope book images -> PDF References: Message-ID: <008301c042dc$e7d072d0$0202a8c0@typhoon> Eric, I got Acrobat to recognise the png's by first loading the html nto msword and then 'printing' the PDF from there. hth Phil ----- Original Message ----- From: "Eric Walstad" To: "Zope@Zope.Org" Sent: Thursday, November 02, 2000 12:58 AM Subject: [Zope] OT Zope book images -> PDF | In light of all the hubbub about the Zope book, I thought I would try and | make my own copy of it in PDF format (just for me, of course). I'm finding | that Acrobat doesn't know how to convert the PNG image file type used in the | Zope Book. (or rather, I don't know how to get it to work !) Anyone know | how to get png files into Acrobat? Oh, I'm trying to use their 'Open Web | Page' method of creating the document. Is there another/better way that | will get the png images? | Thanks, | Eric. | | | _______________________________________________ | 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 )