Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.
On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2012 09:56 PM, Suresh V. wrote: ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError

Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.
On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2012 09:56 PM, Suresh V. wrote: ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError

[Zope-dev] ZODB Mountpoint broken?

2012-02-28 Thread Suresh V.
ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError: item already present wih same id due to _setObject and _setOb both being called. Am trying to mount a plone.app.folder.folder.ATFolder from a

[Zope-CMF] GenericSetup: Question on StackOverflow

2011-04-09 Thread Suresh V.
Please see: http://stackoverflow.com/questions/5603459/genericsetup-what-does-toolset-xml-accomplish-if-toolinit-still-has-to-be-called I could not create a cmf tag, so if you can please add that to the tags in the question. Thank you for your answer. Suresh

[Zope-CMF] Versions found on pypi but not in svn tags

2011-04-02 Thread Suresh V.
How come the following versions are not found in svn tags? Products.CMFCore: Versions 2.2.1, 2.2.2, 2.2.3 How do I access previous version tarballs on pypi? Thanks. Suresh ___ Zope-CMF maillist - Zope-CMF@zope.org

[Zope-CMF] [GenericSetup] Enable export of ATFile content using portal_setup

2011-02-21 Thread Suresh V.
In order to enable ATFile objects to be exported using portal_setup, I have filed a bug and included a patch at: https://bugs.launchpad.net/zope-cmf/+bug/722726 Can someone review and merge please? Thanks. Suresh ___ Zope-CMF maillist -

[Zope-CMF] How do you add an action in python code?

2010-06-18 Thread Suresh V.
I have been looking at the Action* related code and have not been able to figure it out completely. I tried portal_actions.addAction(...) but this adds it under the Actions tab with the big RED deprecation warning. I am able to add it from the ZMI correctly, but can't trace the code that does

[Zope-dev] Multiple file upload in a single form

2008-05-13 Thread Suresh V.
Has anyone come across a Multiple File field type that be used in a form , specifically with z3c.form? This will enable an unlimited number of files to be uploaded in a single form. I know this exists in the Plone world. Just wanted to check for an analogous field for a zope3 application.

[Zope] Re: Strange property behaviour - why? (zope 2.10/Five)

2008-05-13 Thread Suresh V.
Piotr Chamera wrote: def list_items2(self): test return self.items try to remove acquisition wrapper before you access items? Suresh ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

[Zope-dev] How do you redirect and set request variables without showing up in query string?

2008-02-10 Thread Suresh V.
Is this possible? I have tried a technique with a form that submits on load but this is somewhat slow. Suresh ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

[Zope] Re: Counting threads

2008-01-22 Thread Suresh V.
Peter Bengtsson wrote: Perhaps I'm wrong but I suspect that a Zope I'm running is dying because of running out of threads. They probably die when being designated to open an external relational database connection or something dodgy. What are my options for monitoring and debugging what

[Zope] Re: compile time optimizations for python

2008-01-19 Thread Suresh V.
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Tune the ZEO disk cache size (the warning sign is seen lots of ZEO cache flip entries in the event log). Can you explain this some more? 1. Do we increase the cache size when we see these ZEO cache flips? 2. What is a

[Zope] Re: getting this trying to add a plone site to zope 2.9.4...

2007-04-17 Thread Suresh V
Did you get this problem resolved? I am facing the same. Suresh michael nt milne wrote: Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module

[Zope] Re: getting this trying to add a plone site to zope 2.9.4...

2007-04-17 Thread Suresh V
Suresh V wrote: Did you get this problem resolved? I am facing the same. I upgraded to Zope 2.9.6 and this went away. Suresh michael nt milne wrote: Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module

[Zope] Re: ImportError: cannot import name base_hasattr

2007-03-04 Thread Suresh V
[EMAIL PROTECTED] wrote: Hi: This really should go to the Plone list, but seeing as how I can't hit their site from either of my browsers, how can I subscribe to the list? I couldn't download Plone, either, so I just built it from tarballs from an earlier installation, tarballing all the

[Zope] Re: Zope hangs and Python eats all memory

2007-01-17 Thread Suresh V
Nico Grubert wrote: Dear list members, I am running Zope 2.9.6. on a 64-Bit Suse Linux 10.1 machine (9 Gbyte of RAM) with Python 2.4.3. installed. From time to time, Zope hangs and I cannot access it anymore. I tried to use the Zope DeadlockDebugger but if my Zope hangs I cannot call the

[Zope] Re: Zope hangs and Python eats all memory

2007-01-15 Thread Suresh V
Nico Grubert wrote: Dear list members, I am running Zope 2.9.6. on a 64-Bit Suse Linux 10.1 machine (9 Gbyte of RAM) with Python 2.4.3. installed. From time to time, Zope hangs and I cannot access it anymore. I tried to use the Zope DeadlockDebugger but if my Zope hangs I cannot call the

[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

[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

[Zope] Re: Preserving Context

2006-12-12 Thread Suresh V
Javier Subervi wrote: div align=center tal:condition=here/hasSearchEngine(mycontext) And where is mycontext defined? You will need a tal:define=mycontext here or something. I tested the following script with mycontext as a passed parameter: return 0 catalog = '' try: catalog =

[Zope] Re: Preserving Context

2006-12-11 Thread Suresh V
Javier Subervi wrote: Hi; I have a page template which I use to catch and customize 404 errors. In that page, I call a script that offers site navigation. Since I have several sites within a portal, I decided to move all common elements (such as this page) to a central root location from