[Zope] Too many ZODB object loads...

2006-12-21 Thread Suresh V
On the database Activity tab in the Control Panel, I am seeing a high number of Object Loads (400K per hour). My cache size if 60K from what I see in the Cache Parameters tab, each of the 4 threads is well within this limit. My database has about 1M objects. The symptom is that Zope appears sl

[Zope] RFP: Zope/Plone Performance Audit

2006-12-21 Thread Marshall Mayer
Good morning/evening, LiveModern (http://livemodern.com) is a fairly active and visible community-oriented Zope/Plone website that is experiencing performance problems after a migration from Plone 2.0.5 to Plone 2.1.4. The site is functioning well after the migration, except for performan

Re: [Zope] how can I use the python set-type in pythonscripts ?

2006-12-21 Thread Dieter Maurer
joachim wrote at 2006-12-20 18:57 +0100: >I did a > >allow_type(type(set)) This should be "allow_type(set)". >in the __init__ of my product. But when I use it in a Python script I >get global name 'set' is not defined. Allowing a type does not automatically mean that it gets available in the bui

Re: [Zope] problem using rdflib with zope profiler

2006-12-21 Thread Dieter Maurer
Lucie Lejard wrote at 2006-12-20 17:03 -0500: >I am using the default profiler of zope (in zmi/Control_Panel/DebugInfo) > to trace the calls when I go on a specific template. >This template is using a Five view that has methods using the rdflib. >You will see below the error i have when I try to

Re: [Zope] Too many ZODB object loads...

2006-12-21 Thread Dieter Maurer
Suresh V wrote at 2006-12-21 22:09 +0530: >On the database Activity tab in the Control Panel, I am seeing a high >number of Object Loads (400K per hour). My cache size if 60K from what I >see in the Cache Parameters tab, each of the 4 threads is well within >this limit. 60 k is unusually large.

[Zope] external method, not escaping < and >

2006-12-21 Thread Mihamina Rakotomandimby
Hi, I have an external method that fetches some web content (POP messages) then format an HTML output to make it easy to display. the Id of the external method is "mm". So as I said, it returns HTML content, with HTML tags and "<"s and ">"s. I directly call that external method from a ZPT this way:

Re: [Zope] RFP: Zope/Plone Performance Audit

2006-12-21 Thread Dieter Maurer
Marshall Mayer wrote at 2006-12-21 08:35 -0800: > ... >LiveModern (http://livemodern.com) is a fairly active and visible >community-oriented Zope/Plone website that is experiencing >performance problems after a migration from Plone 2.0.5 to Plone >2.1.4. The site is functioning well after the

Re: [Zope] external method, not escaping < and >

2006-12-21 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 21. Dezember 2006 20:32:39 +0100 Mihamina Rakotomandimby <[EMAIL PROTECTED]> wrote: > Hi, > I have an external method that fetches some web content (POP messages) > then format an HTML output to make it easy to display. > the Id of the exter

[Zope] Re: Too many ZODB object loads...

2006-12-21 Thread Suresh V
Dieter Maurer wrote: Suresh V wrote at 2006-12-21 22:09 +0530: On the database Activity tab in the Control Panel, I am seeing a high number of Object Loads (400K per hour). My cache size if 60K from what I see in the Cache Parameters tab, each of the 4 threads is well within this limit. 60 k

[Zope] problem with the shapelib module.. help

2006-12-21 Thread Allen Huang
I want to do some mapping application with zope.. but I have run into this problem over and over.. in "Run Zope in Console" Exception exceptions.AttributeError:"ShapeFile instance has no attribute 'thisown'" in ignored in web browser Site Error An error was encountered while publishing this