Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-03-05 Thread alex
Hi Chris, On Wed, 3 Mar 2004, Chris McDonough wrote: (boldly crossposting this to zodb-dev, please respond on one list or the other but not both) That error *appears* to be caused by reaching a state that is impossible to reach. The code in question is: for key in

[Zope-dev] Unexpected Behaviour iterating over catalog search...

2004-03-05 Thread Chris Withers
Hi, I have something like this: for brain in Catalog(some_index=some_value): # delete the object, and then Catalog.uncatalog_object(brain.getPath()) ...which wasn't deleting all objects where some_index=some_value. On a hunch, I tried: for brain in

[Zope-dev] Schizophrenic ObjectManager?

2004-03-05 Thread Clemens Robbenhaar
Hi Ian, Now, I want to have it also contain objects of type 'B', but displayed and managed through a separate tab in the ZMI. If I click on the Contents tab of an instance of F, I get the list of contained A-type objects, with cut, copy, paste, delete, etc. If I click on another tab

Re: [Zope-dev] help

2004-03-05 Thread Chris Withers
Vandana Bajaj wrote: I am not able to access zope management interface through mozilla. Could any one guide me why is it happening so. Can i use Javascript within Zope Page Templates to embed logic 1. zope-dev is for development of Zope, not with it, move your discussion to [EMAIL PROTECTED] 2.

Re: [Zope-dev] Execution context

2004-03-05 Thread Chris Withers
Garito wrote: def __bobo_traverse__(self, Request, Name): import sys if sys._getframe(1).f_code.co_name == traverse: return getattr(self, Name) else: return self.Propiedad(Name) Ew... some sick part of me want to ask WHY you're doing thing... Then again, some people like beating each

Re: [Zope-dev] Question about _v_ attributes and database connections

2004-03-05 Thread Chris Withers
Hi Marco, Marco Bizzarri wrote: We're trying to tackle a problem in hanging connections in ZPsycopg. Hehe, I fixed this for ZOracleDA a couple of months ago. You may want to look at the thread pool code in there to see how I did it, gimme a nod if you need a URL (it's on a CVS branch in

[Zope-dev] Re: [Zope3-dev] Re: Interfaces in Zope 2.5, 2.7, and 3.x

2004-03-05 Thread Martijn Faassen
Tres Seaver wrote: Here is an excerpt from the 'runzope' I use for FrankenZope sites (that is our affectionate name for that Interface package): [snip script] Thanks! I'll try this one out. Regards, Martijn ___ Zope-Dev maillist - [EMAIL

[Zope-dev] Re: Unexpected Behaviour iterating over catalog search...

2004-03-05 Thread Tres Seaver
Chris Withers wrote: I have something like this: for brain in Catalog(some_index=some_value): # delete the object, and then Catalog.uncatalog_object(brain.getPath()) ...which wasn't deleting all objects where some_index=some_value. On a hunch, I tried: for brain in

Re: [ZODB-Dev] Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-03-05 Thread alex
Hi Chris, On Wed, 3 Mar 2004, Chris McDonough wrote: With this text: zodb_db temporary # Temporary storage database (for sessions) filestorage path $INSTANCE/var/Sessions.fs /filestorage mount-point /temp_folder container-class

Re: [Zope-dev] Question about _v_ attributes and database connections

2004-03-05 Thread Marco Bizzarri
On Fri, Mar 05, 2004 at 11:16:37AM +, Chris Withers wrote: Hi Marco, Hi. Marco Bizzarri wrote: We're trying to tackle a problem in hanging connections in ZPsycopg. Hehe, I fixed this for ZOracleDA a couple of months ago. You may want to look at the thread pool code in there to see

Re: [ZODB-Dev] Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-03-05 Thread Chris McDonough
On Fri, 2004-03-05 at 09:15, [EMAIL PROTECTED] wrote: Installed. I had to install new zope instance first, then import old content via zexp recreate manually all admins. Because when you change the running zope config in Zope 2.7.0 it has no impact on temp_folder - Sessions.fs is not

Re: [Zope-dev] Image.tag() no longer publishable?

2004-03-05 Thread Andy McKay
Paul Winkler wrote: yeah, it might be an unpopular change. I dunno. Anything that forces me to use better style is OK with me ;-) Ideally we need to set a zope config option that states what HTML standard is being rendered too, then all parts that render HTML use those conventions. We've found

Re: [Zope-dev] Question about _v_ attributes and database connections

2004-03-05 Thread Dieter Maurer
Marco Bizzarri wrote at 2004-3-5 09:18 +0100: We're trying to tackle a problem in hanging connections in ZPsycopg. However, I would like to have some information about the functioning of the _v_ attributes, and the cache management. In particular: 1) where is the code which handles the _v_