Hi, 1st question: I'm currently creating a ZClass based product which includes some external methods. If I want to distribute this product, do I have to distribute my product AND my external methods for it to work correctly elsewhere, or just distributing the product is sufficient ? 2nd question about ZCatalog and Zope 2.1.6: When I instanciate a folderish ZClass of my own, I want to automatically create a ZCatalog instance, then I add the following line to MyZClass_add method: <dtml-call "manage_addZCatalog('Catalog', 'My Catalog')"> and when I create an instance of my class I've got the following NameError : <!-- Traceback (innermost last): File /usr/local/zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/zope/Zope-2.1.6/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/zope/Zope-2.1.6/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: MyZClass_add) File /usr/local/zope/Zope-2.1.6/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: MyZClass_add) File /usr/local/zope/Zope-2.1.6/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: MyZClass_add) File ./DT_String.py, line 504, in __call__ (Object: MyZClass_add) File /usr/local/zope/Zope-2.1.6/lib/python/DocumentTemplate/DT_With.py, line 148, in render (Object: MyZClass.createInObjectManager(REQUEST['id'], REQUEST)) File /usr/local/zope/Zope-2.1.6/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: manage_addZCatalog('Catalog', 'My Catalog')) (Info: manage_addZCatalog) File <string>, line 0, in ? NameError: (see above) --> If I don't call manage_addZCAtalog in my add method but instead add the ZCatalog from Zope management interface it works fine. I think I've called this method correctly according to the ZQR, so I can't understand why it doesn't work. I've searched on this list archives on egroups about "adding ZCatalog" or "add ZCatalog" and I've not found anything useful. then I've searched for manage_addZCatalog and I've applied the patch sent by Dieter Maurer on May 28th to ZCatalog.py and restarted Zope but with no luck. please could someone help me ? thanks in advance. Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE _______________________________________________ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )