Re: [Zope] DTML newbie question on summation

2000-06-02 Thread Peter Sabaini
list - [EMAIL PROTECTED] :http://lists.zope.org/mailman/listinfo/zope :** 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] another zope site gone...

2000-06-05 Thread Peter Sabaini
zope as our primary platform! ru, peter sabaini. -- _ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Peter Sabaini
y_method()' and gets passed in to 'category_method()' (which, being a zsqlmethod, wouldnt take a var from the namespace) peter. -- _________ peter sabaini, mail

Re: [Zope] Property problem - still the same...

2000-09-29 Thread Peter Sabaini
sts - : http://lists.zope.org/mailman/listinfo/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _____ peter sabaini, mailto: [EMAIL PROTECTED] - ___

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Peter Sabaini
renders_myinstance(_.None,_)") and in the "method_that_renders_myinstance" you'd render those "edit" buttons only if theres the correct role in AUTHENTICATED_USER hth peter sabaini. On Mon, 9 Oct 2000, Seb Bacon wrote: :Thanks for the reply, : : Either I don't understand the problem or you're making i

[Zope] DCOracle + LOB

2000-10-18 Thread Peter Sabaini
! peter. -- _ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Inserting LONGs with DCOracle

2000-11-20 Thread Peter Sabaini
AIL PROTECTED] :http://lists.zope.org/mailman/listinfo/zope :** No cross posts or HTML encoding! ** :(Related lists - : http://lists.zope.org/mailman/listinfo/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _________ peter sab

RE: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Peter Sabaini
ttp://lists.zope.org/mailman/listinfo/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _________ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope

Re: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Peter Sabaini
On Tue, 9 Jan 2001, Toby Dickenson wrote: :On Tue, 9 Jan 2001 09:31:35 +0100 (CET), Peter Sabaini :[EMAIL PROTECTED] wrote: : :actually i use a combination of squid / apache because i need some :re-writing, you could as well use squid for caching and apache for :(name-based) virtual hosting

Re: [Zope] MVC Approach

2005-08-04 Thread Peter Sabaini
On Wednesday 03 August 2005 22:06, Thomas Adams wrote: Hi all, I'm a newbie to Zope, using version 2.7.3 (okay it is not the newest one) and I want to know if there is something like a MVC approach available for Zope, i.e. Model-View-Controller approach, as it is for instance in Java with

[Zope] APE and Zope 2.9?

2005-12-20 Thread Peter Sabaini
It seems APE 1.0 doesnt run out of the box with Zope 2.9 -- has anyone tried hacking APE up so it can run inside Zope 2.9? Any thoughts as to what would be necessary / how hard this would be? Thanks, peter. ___ Zope maillist - Zope@zope.org

Re: [Zope] Permissions, files and folders

2006-04-21 Thread Peter Sabaini
On Friday 21 April 2006 10:15, Tino Wildenhain wrote: Erik Billing schrieb: Ah! Thanx! DocFinder will shore come very useful in time =) Btw, what editor would you recommend for writing python outside Zope. I've frequently used Eclipse with PyDev before, but it's a bit slow and heavy.

[Zope] Five: Adapter registry not working?

2007-05-30 Thread Peter Sabaini
Hi list, I am clearly doing something wrong here. I try to use an Adapter from zope.app.session with an HTTPRequest object, but the Adapterregistry doesnt quite cooperate. Specifically, I try to adapt a HTTPRequest object to zope.app.session.interfaces.IClientId via the Adapter

Re: [Zope] Re: Five: Adapter registry not working?

2007-05-30 Thread Peter Sabaini
On Wed 2007-05-30 17:14:13 Tres Seaver wrote: Peter Sabaini wrote: Hi list, I am clearly doing something wrong here. I try to use an Adapter from zope.app.session with an HTTPRequest object, but the Adapterregistry doesnt quite cooperate. Specifically, I try to adapt a HTTPRequest

Re: [Zope] Re: Five: Adapter registry not working?

2007-06-04 Thread Peter Sabaini
Peter Sabaini wrote: On Wed 2007-05-30 17:14:13 Tres Seaver wrote: Peter Sabaini wrote: Hi list, I am clearly doing something wrong here. I try to use an Adapter from zope.app.session with an HTTPRequest object, but the Adapterregistry doesnt quite cooperate. Specifically

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
On Monday 25 February 2008 20:45:37 Joerg Baach wrote: Hi *, I am trying to have a folderish object that acquires from a user object (ldapuserfolder). It should have its own properties and contents, but fall back to the ones of the ldap user. I have created an object, extending Folder, and

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
On Monday 25 February 2008 22:45:24 Joerg Baach wrote: I should have mentioned that in order for verbose-security to work you also need to switch to the python security implementation -- did you do that? Yes, I did. If yes, you should see lines like these in your event.log: No, don't

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
On Monday 25 February 2008 21:31:46 Joerg Baach wrote: Hi Peter, I'm not familiar with LDAPUserFolder (its not really a user object but a user container, isn't it?) but the error you're getting is a security error -- the Python Script checks for security attributes before it accesses

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
ps.: http://www.zope.org/Documentation/Books/ZDG/current/Security.stx has old but AFAIK still good info On Monday 25 February 2008 22:45:24 Joerg Baach wrote: I should have mentioned that in order for verbose-security to work you also need to switch to the python security implementation --

Re: [Zope] Acquisition / proxying object

2008-02-26 Thread Peter Sabaini
On Monday 25 February 2008 23:52:26 Joerg Baach wrote: Hi *, But somehow I have the feeling it has more to do with the 'and the container is not wrapped' part of the message. Not that I can make sense of it ;-) Mmm, after even more searching, and not understanding I found

Re: [Zope] Managing Zope objects in Subversion

2008-03-02 Thread Peter Sabaini
On Sunday 02 March 2008 14:17:31 [EMAIL PROTECTED] wrote: Dear all We use Zope for the user interface part of our software product. We currently export the whole folder hierarchy into a .zexp file and maintain this file in Subversion. I'm looking for a way to manage a folder structure as

Re: [Zope] define a class in a python script

2008-03-05 Thread Peter Sabaini
On Wednesday 05 March 2008 10:21:32 Yuri wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). The default Script(Python) objects dont support class definition, because of

Re: [Zope] Multithreading sessions

2008-05-23 Thread Peter Sabaini
On Friday 23 May 2008 17:09:49 Jon Emmons wrote: Jaroslav and everyone, I have made the changes Jaroslav suggested and I cannot get Zope to serve even 2 sessions simultaneously. In our testing, one client will start a query to the data servers. Another will try to simply get the logon page

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
, Mar 5, 2009 at 6:17 AM, Peter Sabaini pe...@sabaini.at wrote: I'd like to run a Twisted client in Zope 2.10 (for a legacy app). How do I do that? Simply loading twisted.internet is probably not a good idea since Twisted would not work well with ZServer threads, right? One thing I

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
On Thursday 05 March 2009 23:33:40 you wrote: On Thu, Mar 5, 2009 at 18:59, Peter Sabaini pe...@sabaini.at wrote: So, I'd need the twisted reactor and libraries running in the Python VM that runs Zope. Which should be no problem except I suspect that I shouldn't be using the (threaded

[Zope] Dependent ZCA utility registration ?

2010-05-12 Thread Peter Sabaini
I have trouble registering utilities which depend on the presence of other utilities; eg. I have a package A where I want to register utility B which depends on registration of utility C. I tried to register B by putting registration in the __init__.py of A, which fails because at import time C

Re: [Zope] zope timeouts

2010-07-20 Thread Peter Sabaini
Hm, just some quick ideas -- thread 3 is busy doing a stat64() , should usually done quickly. And thread 4 is doing some kind of string operation (comparison), which also shouldn't take long except if you have a huge dataset. Is this backtrace repeatable, ie. does it hang in the same syscalls?

RE: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-20 Thread Peter Sabaini
FROM etc... Aliasing works for me. (ZOracleDA). -- _ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Using propertysheets?

2002-06-06 Thread peter sabaini
Lennart Regebro wrote: I'm making a Zope product (in python) where I want the users to have control over what properties that exist. At the same time I don't want the users to have to deal with having all properties in one big mess under the standard Property-tab. So, my question is then:

Re: [Zope-dev] calling DTML method from python script in Zope

2003-11-24 Thread Peter Sabaini
Hm, I would hope that the Zope book answers this kind of questions, see: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx search for Calling DTML from Scripts This should solve your problem -- please leave a comment if it doesn't. Thanks, peter. [EMAIL PROTECTED]

Re: [Zope-dev] Newbie Question

2003-12-08 Thread Peter Sabaini
Aaron Paxson wrote: I hope I'm posting to the right mailing list. There were so many to decide from. This should've probably been directed to the main Zope list; zope-dev is for development *of* Zope. I've just been introduced to Zope, and am curious on how it will fit into my company's plans.

Re: [Zope-dev] Zope Start Script Woes

2004-01-21 Thread Peter Sabaini
I'm no big shell scripter, some suggestions anyway... * I think you might be missing an INSTANCE_HOME parameter here, something like # what we'd like but won't recognize instance home # exec /usr/bin/python $ZOPE_BASE/z2.py -z $ZOPE_BASE -u $USER \ # -w $HTTP_PORT -f $FTP_PORT

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Peter Sabaini
This very much depends on your application and requirements (and your definition of nicely :-)), but I'd argue that it rarely make sense to handle this at the TCP Connection level (just to think about browsers opening multiple connections, HTTP/1.0 or /1.1 compliant browsers, proxies etc.) As

Re: [Zope-dev] Re: How to make Zope fail nicely under high load?

2004-02-12 Thread Peter Sabaini
Tres Seaver wrote: Bjorn Stabell wrote: If you run Apache as a caching reverse proxy (caching surrogate server) then images will be served from Apache. Only the dynamic HTML pages are served from Zope, so having them fail without regards to sessions is relatively okay. Images and other static

Re: [Zope-dev] Re: How to make Zope fail nicely under high load?

2004-02-12 Thread Peter Sabaini
Bjorn Stabell wrote: Hi Peter, I think I did find some sort of knob for this For Apache 2.0, mod_cache, dir. CacheIgnoreCacheControl could be used for this http://httpd.apache.org/docs-2.0/mod/mod_cache.html For Apache 1.3 mod_proxy, dir. CacheMaxExpire could do

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Shane Hathaway wrote: On Tue, 20 Apr 2004, Chris Withers wrote: I wonder how many Plone users are aware their passwords are stored unencrypted in client cookies which fly back and forth waiting to be snapped up by packet sniffers, XSS, and JS attacks ;-) Even with unbreakable encryption of

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Chris Withers wrote: Shane Hathaway wrote: Hmm. I really wasn't expecting any new code yet. Session cookies are a very significant maintenance burden in Zope, and it's not in my interest to support them. If you don't mind, I think I'll release a version of CC without any session support, then

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-20 Thread Peter Sabaini
Shane Hathaway wrote: On Tue, 20 Apr 2004, Peter Sabaini wrote: Shane Hathaway wrote: Even with unbreakable encryption of credentials after login, you still send the username and password in the clear at login time, and sniffers can reuse the session ID with ease. You really shouldn't tell

Re: [Zope-dev] The bleak Future of Zope?!

2004-04-21 Thread Peter Sabaini
is there an URL for the original? Martin Kretschmar wrote: Hello, Maik Jablonski of the german speaking Zope Users Group DZUG issued a pretty bleak outlook for the future of Zope. What are your oppinions? Here comes the translation of his oppoion: smime.p7s Description: S/MIME Cryptographic

Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Stephan Richter wrote: On Wednesday 21 April 2004 03:58, Martin Kretschmar wrote: -- snip -- 2. Maik is is frustrated with the releases of both Zope 2 and Zope 3, including their merging. -- snip -- The situation is even more obvious with the Zope book. All the community has to do is to give

Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Chris McDonough wrote: On Wed, 2004-04-21 at 10:18, Peter Sabaini wrote: That being said, I wonder if there are people interested to make an effort for a 2.7 Edition of the Zope book? I am. I think Paul is too. It won't be nearly as much work as 2.5 - 2.6. Let's just do it. Wanna pick

Re: Call for Zope Book volunteers (was Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?)

2004-04-21 Thread Peter Sabaini
Chris McDonough wrote: I've set up a development BackTalk sandbox for the 2.7 edition of the Zope book at http://zope.org/Documentation/Books/ZopeBook/2_7Edition. Currently it's just an exact copy of the 2.6 Edition book (comments and all). I think the plan should be for people to: 1. take

Re: Zope Book, was Re: [Zope-dev] The bleak Future of Zope?

2004-04-21 Thread Peter Sabaini
Paul Winkler wrote: On Wed, Apr 21, 2004 at 08:10:26PM +0200, Peter Sabaini wrote: * Reference: IMHO one of the trickier things, especially for the API Ref. because one would first have to decide what constitutes the API and what is simply Zope core... The long-term solution, I think

Re: [Zope-dev] Re: Zope on Python 2.5?

2007-11-01 Thread Peter Sabaini
On Thursday 01 November 2007 06:18:18 Andreas Jung wrote: --On 31. Oktober 2007 22:00:46 -0700 Alexander Limi [EMAIL PROTECTED] wrote: On Wed, 31 Oct 2007 21:29:36 -0700, Andreas Jung [EMAIL PROTECTED] wrote: The recommendation is still System python is evil, evil, evil (quoting Jim).

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
On Mon, 2010-05-24 at 21:33 -0700, Mark Phillips wrote: I am reading the zope 2 book (relational database section) and it talks about binding classes by putting them in the Extensions directory and then associating them with a Z SQL Method. That seems to be rather straight forward, but where

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
be treated like lists (eg. iterable, allow individual record access, have a length). Where is this documented? I can't seem to find it in the Zope 2 book. Unfortunately this is largely undocumented. peter. Thanks! Mark On Tue, May 25, 2010 at 12:03 PM, Peter Sabaini pe...@sabaini.at