[Zope] browsable parent directories

2000-10-06 Thread Stephan Goeldi
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

Re: [Zope] redirect to user's folder not working

2000-10-06 Thread knight
> 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 na

Re: [Zope] external method database connection

2000-10-06 Thread knight
> 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

Re: [Zope] external method database connection

2000-10-06 Thread knight
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 [EMAIL PROTECTED] On Fri, 6 Oct 2000, knigh

[Zope] XMLDocument create attributes problem

2000-10-06 Thread matt
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 l

Re: [Zope] Migrating from 2.1.6 to 2.2.2

2000-10-06 Thread Ragnar Beer
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

[Zope] Passing lists to zsql methods

2000-10-06 Thread steve smith
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

[Zope] Base ZClass propertysheet management

2000-10-06 Thread Seb Bacon
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: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Zope] Base ZClass propertysheet management

2000-10-06 Thread knight
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, the

[Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__

2000-10-06 Thread Olivier Deckmyn
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 inter

[Zope] variable

2000-10-06 Thread Joaldo Junior
It will be that somebody knows with I obtains to capture the last register registered in cadastre in some 0 variable. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! *

Re: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__

2000-10-06 Thread Olivier Deckmyn
the new magic buzz word is : "_SUPPRESS_SITEROOT" et voila ! Olivier. - Original Message - From: "Olivier Deckmyn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 06, 2000 3:16 PM Subject: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__ > Hi all, > > What is t

[Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Aitor Grajal Crespo
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/   Aitor Grajal Crespo Director General e-mail: [EMAIL PROTECTED]   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] FCGI or PCGI for Zope behind Stronghold for SSL, which way to go?

2000-10-06 Thread Brad Clements
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,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)2

Re: [Zope] LDAP won't work - yes I've applied the patch

2000-10-06 Thread Joachim Werner
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 h

Re: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__

2000-10-06 Thread Evan Simpson
From: Olivier Deckmyn <[EMAIL PROTECTED]> > 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

[Zope] Animated GIFs

2000-10-06 Thread Lars Heber
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 an

[Zope] Problems with animated GIFs

2000-10-06 Thread Lars Heber
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,

RE: [Zope] Base ZClass propertysheet management

2000-10-06 Thread Seb Bacon
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

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Ansgar W. Konermann
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: [EMAIL PROTECTED] WWW: http://www.inf.tu-dresden.de/~ak26 _

RE: [Zope] status of SOAP for Zope?

2000-10-06 Thread Brian Lloyd
> 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 sudde

RE: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Brian Lloyd
> 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 pe

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Tom Deprez
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. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope] ZSQL returns integer only

2000-10-06 Thread wmiller
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 ret

[Zope] Zope with Apache

2000-10-06 Thread James Howe
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

Re: [Zope] Base ZClass propertysheet management

2000-10-06 Thread Jim Washington
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 ha

[Zope] HTML-Code in variables

2000-10-06 Thread Lars Heber
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: "

this is some html

What can I do against it??? TIA Lars ___ Zope maillist - [EMAIL P

[Zope] Problem with Z SQL Method associated with a class...

2000-10-06 Thread Frederic Quin
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 publis

[Zope] HTML-Code in variables (addition)

2000-10-06 Thread Lars Heber
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: http://www.yahoo.com">Yahoo!"> I tried typing " instead of ", but then the """ also goes into the html code on my page - thus the link is broken...

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Aitor Grajal Crespo
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 t

Re: [Zope] Zope with Apache

2000-10-06 Thread Steve Spicklemire
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 <[EMAIL PROTECTED]> writes: James> I asked this question a couple of months ago but received James> no

Re: [Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__

2000-10-06 Thread Simon Michael
You need to set an environment variable and restart zope, see the siteaccess2 documentation on zope.org for more details. -Simon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] Can Free Software Manage Your Web Site?

2000-10-06 Thread Steven D. Majewski
Inside magazine has a feature on Zope: "Can Free Software Manage Your Web Site?" ---| Steven D. Majewski (804-982-0831) <[EMAIL PROTECTED]> |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia He

[Zope] ZopeLDAP 1.0b4 breaks the root directory security tab

2000-10-06 Thread Corey Zimmet
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 nee

[Zope] Fwd: Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Diego Rodrigo Neufert
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 har

[Zope] Data.fs has invalid transaction header

2000-10-06 Thread Nestor A. Diaz L.
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 ZopeTraceback (innermost last): File "/usr/sbin/zope-z2", line 558, in ? exec "import "+MODULE in {} File "", line 1

[Zope] Re: Data.fs has invalid transaction header

2000-10-06 Thread Nestor A. Diaz L.
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: [EMAIL PROTECTED] - WWW: http://www.engendro.com ___ Zope maillist - [EMAIL PROTECTED] h

[Zope] Java equivalent to WorldPilot?

2000-10-06 Thread Hung Jung Lu
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

[Zope] Re: Data.fs has invalid transaction header

2000-10-06 Thread Nestor A. Diaz L.
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

[Zope] HTTP user authentication in Python

2000-10-06 Thread Hung Jung Lu
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

[Zope] Newbie question : ZopeTime & permissions

2000-10-06 Thread Aaron Straup Cope
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 t

[Zope] one external method calling another; what possibilities?

2000-10-06 Thread Fred Yankowski
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

[Zope] Zope, Threads and Signals

2000-10-06 Thread Wilkinson Charlie E
Title: 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!  H

Re: [Zope] Zope with Apache

2000-10-06 Thread Evan Simpson
From: James Howe <[EMAIL PROTECTED]> > 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

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Peter Bengtsson
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 eve

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Ansgar W. Konermann
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! Ansga

Re: [Zope] Zope, Threads and Signals

2000-10-06 Thread Jonothan Farr
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" <[EMAIL PROTECTED]> To: <[

Re: [Zope] Java equivalent to WorldPilot?

2000-10-06 Thread Kapil Thangavelu
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 por

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread knight
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

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread knight
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

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-06 Thread knight
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 add

Re: [Zope] one external method calling another; what possibilities?

2000-10-06 Thread knight
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 i

Re: [Zope] Zope, Threads and Signals

2000-10-06 Thread knight
cw, Are you spawning additional threads by chance? Or just the threads that Zope creates? Knight [EMAIL PROTECTED] 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

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread knight
> 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.

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-06 Thread Aaron Straup Cope
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 : manag

[Zope] xmldocument and properties

2000-10-06 Thread matt
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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No c