[Zope] Simple ZODB Search and Edit

2007-04-10 Thread Peppe Top
Hi all, I'm new to Zope and I'm reading through a few tutorials and the Zope book. I need to do a text string search on a ZODB and I need to know which objects contain the string. Example: I have a site running up, and I need to know where my mail is mentioned, so I can edit each object and upda

[Zope] Simple ZODB Search and Edit

2007-04-10 Thread Peppe Top
Hi all, I'm new to Zope and I'm reading through a few tutorials and the Zope book. I need to do a text string search on a ZODB and I need to know which objects contain the string. Example: I have a site running up, and I need to know where my mail is mentioned, so I can edit each object and upda

[Zope] what if the query gives no records?

2007-04-10 Thread siva k
Hi, A very basic question: a dtml-in loop calls an zsql method it works fine when there is data but when there is no data it should display no records found. But it displays nothing when there are no records. Please suggest a soultion no records found thanks,

Re: [Zope] what if the query gives no records?

2007-04-10 Thread Jonathan
- Original Message - From: "siva k" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 10, 2007 7:36 AM Subject: [Zope] what if the query gives no records? A very basic question: a dtml-in loop calls an zsql method it works fine when there is data but when there is no data it should display

[Zope] Re: localfs weirdness - dangling links

2007-04-10 Thread pol
pol wrote: > - Some sub-dirs containing a 'y' in their name give rise to the enclosed > error message. In my case, sub-dir 'physis' cannot be accessed. > - Sub-dirs named 'society' or 'system' can be accessed, apparently with > no errors. Replying to myself. After a little investigation i h

Re: [Zope] Simple ZODB Search and Edit

2007-04-10 Thread Eric Bréhault
Hello, ZCatalog is already included in Zope (you will find it in zope/lib/python/Products/ZCatalog ) You will have to declare the objects' attributes as catalog indexes, and make sure you index or re-index any object after creation or modification. Regarding the rest, I am not sure to understan

[Zope] ZEO clients going zombie

2007-04-10 Thread Bengt Giger
Hi with our new ZEO client systems, we frequently observe this problem: a ZEO process starts to use 100% CPU time (user) without a significant increase of requests. Sometimes (but not always) the process stops answering requests, still using 100% CPU. When we kill such a process, it changes to z

[Zope] Access to list items with path expression

2007-04-10 Thread Garito
Hi! Is there any way to access to some list index with TALES expression? I would like to use something like here/list/0 or here/list/int:0 Is this possible? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist - Zope@zope.org http

Re: [Zope] ZEO clients going zombie

2007-04-10 Thread Dieter Maurer
Bengt Giger wrote at 2007-4-10 15:36 +0200: >with our new ZEO client systems, we frequently observe this problem: > >a ZEO process starts to use 100% CPU time (user) without a significant >increase of requests. Sometimes (but not always) the process stops answering >requests, still using 100% CPU.

[Zope] [Ann] "analyseObjects": analyse live objects

2007-04-10 Thread Dieter Maurer
With ExtensionClass becoming a Python new style class (i.e. with Zope 2.8), Zope's main tool to analyse memory leaks (the "Refcount"s display in "Control_Panel --> Debug information) lost most of its value as it now only reports refcounts for old style classes and acquistion wrappers. Therefore,

Re: [Zope] [Ann] "analyseObjects": analyse live objects

2007-04-10 Thread Marco Bizzarri
On 4/10/07, Dieter Maurer <[EMAIL PROTECTED]> wrote: More information and download: Hi Dieter, am I missing something, or the code is not on the web? Regards Marco -- Marco Bizzarri http://iliveinpisa.blogspot.com/ __

Re: [Zope] [Ann] "analyseObjects": analyse live objects

2007-04-10 Thread Maciej Wisniowski
> Hi Dieter, > > am I missing something, or the code is not on the web? I'm able to get the code from here: http://www.dieter.handshake.de/pyprojects/zope/analyseObjects.py -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/

[Zope] Z Search Interface returns numbers

2007-04-10 Thread Peppe Top
I've diligently followed the tutorial about searching in the Zope book: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/SearchingZCatalog.stx You basically: - create a ZCatalog object - create a Lexicon and an Index - finding objects and cataloging them - create a web interface (with

Re: [Zope] Z Search Interface returns numbers

2007-04-10 Thread Luciano Ramalho
You missed a step: you must use the Metadata tab of the ZCatalog to define which fields of the indexed objects should be returned with the results from the search. After you do that, you'll have to update the catalog (Advanced tab) and then regenerate your search interface. For instance, to retur

[Zope] Problem with using versions.

2007-04-10 Thread Catherine E. Reinehr
Hi, I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, it seemed to publish the changes

Re: [Zope] Problem with using versions.

2007-04-10 Thread robert rottermann
catherine, what do you mean by version? what zope and additional products are you using? robert Catherine E. Reinehr wrote: > Hi, > > I've been working in a version for over a week and finally finished my > changes today. I saved them and quit the version, but the affected folder > still has a l

Re: [Zope] Problem with using versions.

2007-04-10 Thread Tino Wildenhain
Catherine E. Reinehr schrieb: Hi, I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, i

[Zope] VirtualHostBase VHM keyword doesn't work.

2007-04-10 Thread Mark, Jonathan (Integic)
Zope 2.9 says in the Virtual Host Monster About Tab: "For example, suppose Zope is running on port 8080 behind an Apache running on port 80. You place a Virtual Host Monster in the Zope root Folder, and use Apache to rewrite "/(.*)" to http://localhost:8080/VirtualHostBase/http/www.buystuff.com

[Zope] RE: VirtualHostBase VHM keyword doesn't work.

2007-04-10 Thread Dilley, Hara
are you loading the proxy modules? here is part of the http.config file that is working for me, however with that configuration all request are going to zope. Is there a way to have part of the requests going to zope and others being served by apache? -- LoadModule proxy_module modules/mo

[Zope] manipulating zodb from independent database connection

2007-04-10 Thread Tim Nash
Does anybody have a script available that shows how to insert objects into the ZODB root['Application'] from a non-zope process outside the Zope application? Everytime I try to read root['Application'] I get a page template error. I'm using zope 2.5 (matches a book I like) and doing like so: >>>

Re: [Zope] VirtualHostBase VHM keyword doesn't work.

2007-04-10 Thread Paul Winkler
On Wed, Apr 11, 2007 at 12:23:14AM -0400, Mark, Jonathan (Integic) wrote: > Zope 2.9 says in the Virtual Host Monster About Tab: "For example, > suppose Zope is running on port 8080 behind an Apache running on > port 80. You place a Virtual Host Monster in the Zope root Folder, > and use Apache to

Re: [Zope] manipulating zodb from independent database connection

2007-04-10 Thread Paul Winkler
On Tue, Apr 10, 2007 at 10:19:43PM -0700, Tim Nash wrote: > Does anybody have a script available that shows how to insert objects > into the ZODB root['Application'] from a non-zope process outside the > Zope application? Everytime I try to read root['Application'] I get a > page template error. >