[Zope-dev] ZClass and ZCatalog

2001-07-05 Thread Marco Nova
Hello Guys, I've a problem with a ZClass (JCEvent) I've created and ZCatalog. Base classes for JCEvent are: ZObject, JCObject, CatalogAwareBase. JCObject is another ZClass whose base class is ZObject. Instances of JCEvent are added to a ZCatalog but they are not automatically indexed by the

RE: [Zope-dev] ZClass and ZCatalog

2001-07-05 Thread Marco Nova
, CatalogAwareBase, JCObject but to make it working, you have to call the manage_editCataloger method in the constructor. regards, - mn -Original Message- From: Marco Nova [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: RE: [Zope-dev] ZClass

RE: [Zope-dev] Add a user to zope

2001-06-20 Thread Marco Nova
this is the piece of external method I use to import a user into a CMF portal. [...snip...] import Zope def add_zope_user( username, passwpord, email, fullname ): applic = Zope.app() roles = ['Member'] domains = '' properties =

RE: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Marco Nova
On Wed, 18 Apr 2001, Chris McDonough wrote: You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Is this a feature to be implemented? If not, why not? DC has no no concrete plans to implement operators or precedence in

RE: [Zope-dev] memory leak

2001-04-12 Thread Marco Nova
In either case, it seems like you shouldn't be using ParsedXML's ExpatBuilder, which is an interface to PyExpat which is made to create ParsedXML's DOM objects. You should be using your own PyExpat interface to parse this information from your XML input, without the overhead of generating a

RE: [Zope-dev] memory leak

2001-04-11 Thread Marco Nova
into (read his posts above)? I dunno because of my very lack of knowledge of Zope. All of these refcounts leaks means that the Product is doing something wrong or that I'm using in the wrong manner ? - mn -d On Tue, Apr 10, 2001 at 05:27:28PM +0200, Marco Nova wrote: Hello guys

RE: [Zope-dev] memory leak

2001-04-11 Thread Marco Nova
-Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: mercoled 11 aprile 2001 9.04 To: Marco Nova; Zope-Dev (E-mail) Subject: Re: [Zope-dev] memory leak This looks like a potential bug in either ParsedXML or the code you're using to manipulate the components

[Zope-dev] memory leak

2001-04-10 Thread Marco Nova
Hello guys, It seems that I've some memory leak problems and I want to understand where I've to look for. Scenario: I've an IIS web server that generates an XML page (taking data from SqlServer); The Zope web server must retrieve the XML page, manage the data and render them in HTML (I cant

[Zope-dev] ZCatalog

2001-03-30 Thread Marco Nova
to handle situations where the unindexs are unsuccessfull, we have to rewrite better the method with the use of transactions. That's all. Regards, Marco Nova Tera S.p.A. P.S. Zope Version Zope 2.3.1b2 (binary release, python 1.5.2, win32-x86) Python Version 1.5.2 (#0, Jul 30 1999, 09:52:18