[Zope] Socket.error problem

2000-10-08 Thread Ronald L. Chichester
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

[Zope] Can you specify user/group to run Zope as during install

2000-10-08 Thread Yusuf Goolamabbas
I would like to run Zope not as user 'nobody' but as something else. Is this possible somehow, also is it possible to install the Zope tree in a location other than that untarred into [something like ./configure --prefix=/usr/local/site/Zope] Regards, Yusuf -- Yusuf Goolamabbas [EMAIL

Re: [Zope] Socket.error problem

2000-10-08 Thread Tino Wildenhain
Hi Ronald, "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

Re: [Zope] Can you specify user/group to run Zope as during install

2000-10-08 Thread Tino Wildenhain
Hi Yusuf, Yusuf Goolamabbas wrote: I would like to run Zope not as user 'nobody' but as something else. Is this possible somehow, also is it possible to install the Zope tree in a location other than that untarred into [something like ./configure --prefix=/usr/local/site/Zope] Regards,

[Zope] Creating Member folders with the Membership Product

2000-10-08 Thread tav
Hi, I have been trying to mimic the way the PTK (and zope.org) automatically creates a Member folder with specific objects, when someone signs up. I want to do something similar, but call it something other than Members/ and have 5 objects in a subfolder copied over to the User's directory that

Re: [Zope] DTML: fetch an object by its url?

2000-10-08 Thread iap_y2fun.com
Hi, I don't know why, but dtml-var "REQUEST.resolve_url('/some/folder/and/path/wotsit')" doesn't work in my zope installation (2.2.2) well, dtml-var "REQUEST.resolve_url(REQUEST.BASE0+'/some/folder/and/path/wotsit')" works. Maybe it is because that zope want to get ready for RPC. Iap, Singuan

Re: [Zope] LoginManager - how does it work?

2000-10-08 Thread Aleksander Salwa
On Sat, 7 Oct 2000, ed colmar wrote: I've managed to get loginManager to install, but I am very confused as to what to do with it. I was confused too :) Now I have working instalation of LoginManager-0-8-7a1. It retrieves users' data from ZODB, but it may be helpfull to understand how to

Re: [Zope] Newbie question : ZopeTime permissions

2000-10-08 Thread Dieter Maurer
Aaron Straup Cope writes: 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(). Strange... "DateTime.DateTime" objects (and therefore "ZopeTime") are explicitely unprotected (and can be used by everyone). I

Re: [Zope] A DTML problem using Namespaces

2000-10-08 Thread Dieter Maurer
tav writes: i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". however i get stuck when in parseit, as i dont know how to do dtml-var Bill, i tried to set Bill in the namespace by using dtml-with Billdtml-var parseit,

[Zope] overriding __str__ method?

2000-10-08 Thread Seb Bacon
Hi, What I'd really like to do is have inline content-management. I don't know if I'm completely up the wrong tree, and some advice would be much appreciated. My reason: Correct me if I'm wrong, but the zope security model does not allow me exclude an authenticated user from knowing that an

[Zope] Xen login

2000-10-08 Thread Stephan Goeldi
What is the password I have to use for my first login in Xen? I never was asked for a password while installing. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself,

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

2000-10-08 Thread Stephan Goeldi
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? When you think that this is the reality in the web, then yes. But, if you think of the following

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

2000-10-08 Thread Stephan Goeldi
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. You can use Apache/Zope without PCGI or FCGI (via ProxyPass) too.

[Zope] DTML Method not working

2000-10-08 Thread Ronald L. Chichester
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')" lia href="dtml-absolute_url;"dtml-var title_or_id/abr/li

Re: [Zope] DTML Method not working

2000-10-08 Thread Phil Harris
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

Re: [Zope] DTML Method not working

2000-10-08 Thread Phil Harris
Oops: That should be: dtml-with expr="REQUEST.resolve_url(BASE0+'/')" ul dtml-in expr="objectValues('Folder')" lia href="dtml-absolute_url;"dtml-var title_or_id/abr/li /dtml-in /ul /dtml-with hth Phil [EMAIL PROTECTED] - Original Message - From: "Phil Harris" [EMAIL PROTECTED] To:

Re: [Zope] Xen login

2000-10-08 Thread Terry Kerr
I don't think xen is safe to use yet. Stephan Goeldi wrote: What is the password I have to use for my first login in Xen? I never was asked for a password while installing. _ Get Your Private, Free E-mail from MSN

Re: [Zope] overriding __str__ method?

2000-10-08 Thread Tim Cook
Seb Bacon wrote: My strategy: Each element that I want the user to be able to edit is a ZClass with a manage_content method. This provides the custom management view (e.g. combines properties and title/data into a single form). Now I want a way to give the user access to this screen. I

[Zope] Login Manager

2000-10-08 Thread Mark Twiddy
Hi I've been tring to install Login Manager. I installed ZPattens ok and it works but i am unable to get login manager going. file "/home/markt/Zope/lib/python/Products/LoginManager/LoginManager.py", line 9, in ? from Products.ZPatterns.SheetProviders import SheetProviderContainer

[Zope-dev] Re: [Zope] Container Class questions

2000-10-08 Thread Dieter Maurer
Robin Becker writes: I would like to add properties in a property sheet, but cannot find a neat way to see the properties on the base object and on the propertySheet. So I would like my properties to show id title and the properties on my basic properties sheet. I can

Re: [Zope-dev] Re: [Zope] Container Class questions

2000-10-08 Thread Kapil Thangavelu
Dieter Maurer wrote: Robin Becker writes: I would like to add properties in a property sheet, but cannot find a neat way to see the properties on the base object and on the propertySheet. So I would like my properties to show id title and the properties on my basic

Re: [Zope-dev] ZPatterns design questions

2000-10-08 Thread Phillip J. Eby
At 12:50 PM 10/7/00 -0700, Michael Bernstein wrote: "Phillip J. Eby" wrote: Presentation logic lives with an object's class, and deals with what that object knows about presenting itself. UI implementation is "glue" presentation that lives in a Specialist for use by any object that needs to

Re: [Zope-dev] Accessors for DataSkin attributes (was Re: [Zope-dev] Success!

2000-10-08 Thread Phillip J. Eby
At 09:14 PM 10/6/00 -0500, Steve Spicklemire wrote: OK.. allow me to summarize my very latest thought. Subclassing is OK withing my own framework. Yep. It's OK to require users of my framework to create ZClasses that subclass from my core logic Python classes, and from DataSkin. Sort of. To