[Zope] Reasons for Apache?? SSL?? (was Running Mailman CGI under Zope ZServer)

2000-11-17 Thread Dario Lopez-Kästen
From: "Fred Wilson Horch" [EMAIL PROTECTED] Sent: Friday, November 17, 2000 2:22 AM Subject: [Zope] Running Mailman CGI under Zope ZServer ...snip... First, am I really the first person to try running CGI scripts from ZServer? I have found some hints here and there of people doing

Re: [Zope] Running Mailman CGI under Zope ZServer

2000-11-17 Thread Stephan Richter
Second, is Mailman going to be integrated with Zope? It seems like a natural fit. It would be nice to move away from the pipermail archiving and use the Zope object database for archiving messages instead. I wrote once my own Python Product for Zope that simply imported the important methods

Re: [Zope] security problems

2000-11-17 Thread Aleksander Salwa
On Fri, 17 Nov 2000, Bowyer, Alex wrote: I have one method index_html which should be viewable by anonymous. All other methods should only be viewable when a username/password is entered for someone with the role I have called UAAdmin [...] I can only seem to get full access to all pages (if

[Zope] unsubscribe

2000-11-17 Thread Marco Gianfreda
At 08.54 14/11/00 +0100, you wrote: On Mon, Nov 13, 2000 at 06:13:46PM -, Claudio Biasiolo wrote: Ciao a tutti C'e' qualcuno che e' riuscito ad interfacciarsi con un database esterno attraverso i DAdaptor, io non ci sono ancora riuscito. Ho provato con Interbase poi sono passato a

Re: [Zope] Reasons for Apache?? SSL?? (was Running Mailman CGIunder Zope ZServer)

2000-11-17 Thread Aleksander Salwa
On Fri, 17 Nov 2000, Dario Lopez-Ksten wrote: one of my colleagues configure Apache and Zope using the "Apache ZServer" how to. This works well and Apache serves Zope pretty well and we can even use SSL (there are some issues to be resolved that I suspect are due to misconfiguration on our

[Zope] Re: [Zope-Annce] November 16th Zope Weekly News

2000-11-17 Thread Alastair Burt
emf [EMAIL PROTECTED] writes: I put in a robots.txt to block spidering and reduced the cache "recommendation" to 700. Does this mean that Zope pages will not be indexed by Google? That would be a shame. --- Alastair ___ Zope maillist

[Zope] Transparent Folders can unable SQL Methods...

2000-11-17 Thread Ghuo
Hi all, I am using both transparent folders (created by Shane) and sql methods. SQL Methods are using "SQLConnectionIDs" method which return the list of all the connections founded in the content of the current folder. I put all my connections in a transparent folder and the "SQLConnectionIDs"

[Zope] Zcatalog search

2000-11-17 Thread Brown Fox
Hello, i've indexed some dtml-documents with some metadata, for example a CPU field. I can search for a CPU or any other metadata, but how i can have the list of all the objects with a CPU property? Thanks, Bruno __ Do

[Zope] Zope crash on NT! Replace tab patch

2000-11-17 Thread peter bengtson
I downloaded and installed: Replace tab patch (http://www.zope.org/Members/cguardia/replace) This crashed my Zope when I restarted it on NT Zope 2.2.2 Here is the Traceback for start.bat Traceback (innermost last): File "C:\Program Files\Zopesite\z2.py", line 554, in ? exec "import

[Zope] Problem with escaped double quotes

2000-11-17 Thread Aitor Grajal Crespo
Hello, My problem is this : dtml-let foo=" ' blaublau: " fdsaf " df ' " /dtml-let It doesn't work 'cause I can't escape the doble quotes inside the string I'm trying to eval. Any solution??? Thanks

[Zope] problem creating properties via python methods

2000-11-17 Thread belitski
Hi! In the following code stored in a DTML Method I create DTMLDocument called hello and then I want to add it some properties. The error is that those properties get created in the parent folder object and not in my "hello" DTMLDocument although I try to reference the self parameter to "hello"

[Zope] traceback when exporting in XML on 2.2.2

2000-11-17 Thread Didier Georgieff
Hello, I've switched to a fresh 2.2.2 from source (+ the 2 hotfix +transparentFolders) , and when i try to export in XML (download to local machine), i get this error. It works in zexp format, and i never had this problem before. Any idea ? Thanks in advance. AttributeError Sorry, a Zope error

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-17 Thread Tony McDonald
On 15/11/00 5:58 pm, "Michel Pelletier" [EMAIL PROTECTED] wrote: Tony McDonald wrote: Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like; import xmlrpclib medweb = xmlrpclib.Server("http://bogus.server.com")

[Zope] MySQL Connection String

2000-11-17 Thread Aitor Grajal Crespo
I have installed ZMySQLDA 1.1.4, anybody knows the format of the database connection string??? I have put database user passw , and doesn't work Thanks

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-17 Thread Tony McDonald
On 16/11/00 7:10 am, "Edward Muller" [EMAIL PROTECTED] wrote: On Wed, 15 Nov 2000, Tony McDonald wrote: Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like; import xmlrpclib medweb =

[Zope] Sending Application to User?

2000-11-17 Thread Gary Perez
Hello, all. Here's what we're trying to do: User clicks on a link to open a remote interface to Box A on the network. The "remote interface" is really a python script that's run by Python on the client machine (not the Zope Box or "Box A"). We got it to work by specifying the MIME type in a

Re: [Zope] overriding manage_beforeDelete in a CatalogAware Product

2000-11-17 Thread Andy McKay
But I'm confused about how to get rid of the index entry upon delete. I think I need to set the catalog name and then call the inherited manage_beforeDelete routine. So I tried this: def manage_beforeDelete(self, item, container): "Be sure we unindex ourselves from our special

[Zope] ANNOUNCE: Zope 2.2.3 released...

2000-11-17 Thread Brian Lloyd
Hello all - Zope 2.2.3 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.3/ This bug-fix release contains the fixes for all released Hotfixes to date, as well as fixes for a memory leak in the Acquisition module, various ZCatalog fixes

Re: [Zope] SiteAcess (Debian Fix)

2000-11-17 Thread The Doctor What
The bug (number 76658) is listed on Debian's site: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=76658repeatmerged=yes The fix (I had forgotten what it was) is stupidly simple: mkdir /usr/lib/zope/lib/python/Products/SiteAccess/help A better fix is to fix ProductContext.py is lib/Python/App.

Re: [Zope] MySQL Connection String

2000-11-17 Thread Tony McDonald
On 17/11/00 4:36 pm, "Aitor Grajal Crespo" [EMAIL PROTECTED] wrote: I have installed ZMySQLDA 1.1.4, anybody knows the format of the database connection string??? I have put database user passw , and doesn't work Thanks database@host user passwd 'host' can be 'localhost' for

Re: [Zope] SiteAcess (Debian Fix)

2000-11-17 Thread The Doctor What
I have submitted this bug to the Zope Bug system. Ciao! -- "Duct tape is like the force. It has a light side, and a dark side, and it holds the universe together ..." -- Carl Zwanzig The Doctor What: fill in the blank http://docwhat.gerf.org/ [EMAIL PROTECTED]

Re: [Zope] overriding manage_beforeDelete in a CatalogAware Product

2000-11-17 Thread Dennis Nichols
At 11/17/00 09:04 AM, Andy McKay wrote: But I'm confused about how to get rid of the index entry upon delete... You should just be able to do "self.manage_beforeDelete(..)" since you have inherited all CatalogAware's methods. Make sure you have CatalogAware as your first (left most) item in

[Zope] Inserting LONGs with DCOracle

2000-11-17 Thread Dorothea Kuehn
Hi, If I try to insert an ca.5000 char string with DCOracle(1.3.2) into a LONG column in Oracle (8i) I keep getting ORA-1704 'string literal too long'-Errors. Ok, I read here http://osi.oracle.com/~tkyte/Misc/LargeStrings.html that it will work (a) with bind variables or (b) that I have to use

RE: [Zope] MySQL Connection String

2000-11-17 Thread Eric Walstad
I use the following format: users@frankenstein privileged_user ThePassWord - or in general terms - TableName[@HostNameOfMachineMySQLIsRunningOn] MySQLUserName ThePassWord I guess the "@HostNameOfMachineMySQLIsRunningOn" part is optional, but I needed to put it in there for my setup. The

Re: [Zope] Running Mailman CGI under Zope ZServer

2000-11-17 Thread Stephan Richter
At 09:55 AM 11/17/00 -0500, you wrote: Any chance I could take a look at your code? 1. Make a soft link from HOME/OF/MAILMAN/Mailman to HOME/OF/PYTHON/LIBS (usually /usr/lib/python1.5). 2. Now you are able to use all the Mailman Python modules in all of you Python programs including Zope. 3.

[Zope] PTK good for MyNetscape-style read-only personalised portals?

2000-11-17 Thread Hamish Lawson
I'm looking to put together a portal site where members can choose from various content sources and personalise the layout but wouldn't be authoring content, similar to sites like MyNetscape and MyYahoo. Is the PTK good for this? Hamish Lawson

[Zope] RE: ANNOUNCE Zope 2.2.3 release...

2000-11-17 Thread Brian Lloyd
FYI - someone has noticed a problem with the posted 2.2.3 release that needs looking into, so I've unlisted it for the time being. I'll send out a note and re-list it after we dig into this a bit... Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital

Re: [Zope] ZClasse default in the product

2000-11-17 Thread Dieter Maurer
Jean Rodrigo Ferri writes: preventing (local) ZClasses to be shown in the global "Available Objects" list You may define the local ZClasses inside the global one. Then they will only be seen inside that global ZClass. I think, you will find something about this in the Zope book.

Re: [Zope] Visualization of inherited attributes

2000-11-17 Thread Dieter Maurer
Jean Rodrigo Ferri writes: access to properties in ZClass property sheets You may be able to access them by simply using their name: dtml-var property If you want more control, you may look at the "PropertySheetManager" and "PropertySheet" API's in your Zope online help.

Re: [Zope] Reasons for Apache?? SSL?? (was Running Mailman CGI under Zope ZServer)

2000-11-17 Thread Joachim Werner
how to. This works well and Apache serves Zope pretty well and we can even use SSL (there are some issues to be resolved that I suspect are due to misconfiguration on our server). However, I can always access Zope directly using port 8080 (or whatever port where ZServer is listening to)

Re: [Zope] RE: ANNOUNCE Zope 2.2.3 release...

2000-11-17 Thread Joachim Werner
FYI - someone has noticed a problem with the posted 2.2.3 release that needs looking into, so I've unlisted it for the time being. I'll send out a note and re-list it after we dig into this a bit... Oh no, not this one again ... How good that I learned my lesson from the infamous 2.1.x

Re: [Zope] How to get around non-propogating proxy roles, also security problem with zsql traversal?

2000-11-17 Thread Dieter Maurer
Brad Clements writes: 1. Why is it that proxy roles don't propogate and accumulate when methods are called? I do not know exactly but suppose it is to reduce the danger of trojan horses. It was changed with the new Zope 2.2 security policy. 2. I'm actually using simple ZSQL traversal,

[Zope] expiring dtml documents

2000-11-17 Thread wade naveja
i maintain a zope server that collects several hundred dtml documents per day. there is a need to have dtml documents removed 2 weeks after they are created. any suggestions on how to go about doing this? ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] RE: ANNOUNCE Zope 2.2.3 release...

2000-11-17 Thread Brian Lloyd
Oh no, not this one again ... How good that I learned my lesson from the infamous 2.1.x series, when you always replaced or withdrew the latest bugfix release due to "some errors" right after we had updated all our servers ... I think "always" is a bit strong... What about having a

[Zope] off toic, but... ange-ftp only works as unix root

2000-11-17 Thread Bill Welch
even though I can ftp into zope from unix root and non-root. As unix non-root, ange-ftp asks for password and then hangs emacs. Does respond to C-g. Same zope user in all cases. The obvious problem is some file or port permission, but I'm hoping someone can show me the way instead of me going for

[Zope] Need some help with installing ZPatterns

2000-11-17 Thread Steve Waterbury
I'm a newbie. Have successfully installed the precompiled Zope 2.2.2 on Solaris 2.6, running with apache 1.3.14 via fastcgi. Now trying to install ZPatterns-0-4-3b2. Untarred it into the zope dirs, so now its source is in zope/lib/python/Products/ZPatterns Following the instructions in

[Zope] Problem with escaped double quotes

2000-11-17 Thread Spicklemire, Jerry
Aitor asked: My problem is this : dtml-let foo=3D" ' blaublau : " fdsaf " df ' " /dtml-let It doesn't work 'cause I can't escape the doble quotes inside the string= I'm trying to eval. Any solution??? If I recall correctly, the work around I've used is to store the text, including

Re: [Zope-dev] Two glaring omissions

2000-11-17 Thread Alexander Limi
On Thu, 16 Nov 2000, Toby Dickenson wrote: On Tue, 14 Nov 2000 15:39:59 -0500, Shane Hathaway [EMAIL PROTECTED] wrote: 2. The ability to rename properties after instances of the classes have been created (and have the data in those fields preserved) Or if your ZClass has a python

[Zope-dev] redirect and POST

2000-11-17 Thread Robin Becker
I seem to get different behaviour when I use method=POST in my forms and then attempt to use RESPONSE.redirect later on in the handling method. It seems as though the method that was used to call the form handler is passed on. Then my index_html hangs waiting for the POST data. Is there a way to

[Zope-dev] What is the local object in zope?

2000-11-17 Thread Espen Sorbye Frederiksen
I am maybe blind, but cannot find a name for the local object in zope (like "this" in JAVA ). The command call expr="subdirectory.manage_addDTMLDocument()" works if subdirectory is a folder in the current folder. However the call expr="self.manage_addDTMLDocument(...)" does not work. Could

Re: [Zope-dev] What is the local object in zope?

2000-11-17 Thread Phil Harris
Try expr="this().manage_addDTMLDocument(...)" although you shouldn't need to do that: expr="manage_addDTMLDocument(...)" should work as well. hth Phil - Original Message - From: "Espen Sorbye Frederiksen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 17, 2000 3:35

[Zope-dev] Help! Can't unsubscribe!

2000-11-17 Thread T.J. Mannos
Help! I'm trying to unsubscribe from this list because it's filling up my mailbox too fast. However, when I try to use the web interface or the e-mail interface to unsubscribe, it gives me an odd error message. It says something to the effect of, "There's something wrong with your account.

Re: [Zope-dev] Help! Can't unsubscribe!

2000-11-17 Thread Ken Manheimer
On Fri, 17 Nov 2000, T.J. Mannos wrote: I'm trying to unsubscribe from this list because it's filling up my mailbox too fast. However, when I try to use the web interface or the e-mail interface to unsubscribe, it gives me an odd error message. It says something to the effect of, "There's

Re: [Zope-dev] Simulate DTML-Method Proxy-Roles for python-product-methods ?

2000-11-17 Thread Dieter Maurer
Martin =?iso-8859-1?Q?Gr=F6nemeyer?= writes: I've started to implement a small Product in Python. You mean a true Product implemented in Python (subpackage in "lib/python/Products")? One method should be able to access an object in a folder which isn't accessible by anonymous but only by