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? Are

[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 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 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 us

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
for Zope2? thx, peter. > On Thu, Mar 5, 2009 at 6:17 AM, Peter Sabaini 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

[Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
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 tried was enabling Twisted in zope.conf but that gives me the following stac

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 logo

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, becaus

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 structur

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 > > ht

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-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: >

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 > > acc

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

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

2007-06-04 Thread Peter Sabaini
51:18 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 HTT

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 co

[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 zope.app.sessi

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

[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 http://

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 wi

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)

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

2001-01-09 Thread Peter Sabaini
IL 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

Re: [Zope] Inserting LONGs with DCOracle

2000-11-20 Thread Peter Sabaini
__ :Zope maillist - [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] DCOracle + LOB

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

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Peter Sabaini
python product tutorial) you could use lalo's "Renderable Base ZClass" product or call your instance like so: (or call it ) and in the "method_that_renders_myinstance" you'd render those "edit" buttons only if theres the correct role in AUTHENTI

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

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

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

2000-07-20 Thread Peter Sabaini
take a var from the namespace) peter. -- _____ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross post

Re: [Zope] ProxyPass Problems

2000-06-27 Thread Peter Sabaini
s - : http://lists.zope.org/mailman/listinfo/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _________ peter sabaini, mailto: [EMAIL PROTECTED] -

[Zope] another zope site gone...

2000-06-05 Thread Peter Sabaini
management to adopt zope as our primary platform! ru, peter sabaini. -- _________ peter sabaini, mailto: [EMAIL PROTECTED] - ___ Zope maillist - [E

Re: [Zope] DTML newbie question on summation

2000-06-02 Thread Peter Sabaini
/listinfo/zope :** 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 sabaini, mailto: [EMAIL PROTECTED

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread Peter Sabaini
_ :Zope maillist - [EMAIL PROTECTED] :http://lists.zope.org/mailman/listinfo/zope :** No cross posts or HTML encoding! ** :(Related lists - : http://lists.zope.org/mailman/listinfo/zo