On Thursday 25 January 2001 16:37, you wrote: > On Thu, 25 Jan 2001, [iso-8859-1] Åsmund Hjulstad wrote: > > I am having a nightmare getting ZClasses to work with Python 2.0. Does it > > work for you?? > > I don't create ZClasses because: > > 1. I am The Knight Of Command Line! I do not understand visual programming > :) > > 2. I learned Zope Product API before ZClassess... and sticked to it :) > > Really, I want to learn ZClasses, but knowledge of the Product API > stands on the way :) > > Well, I use ZClasses written by other people. FlexFAQ, for example. > Let's see whether it would work with Zope on Python 2.0: > > http://phd.russ.ru/zope.net.ru/Zope/FAQ/ > > Don't see any problem, do you? At least these ZClasses (Questions and > Answers) are working fine. Then there must be something wrong with my setup. I really cannot see what could be wrong. I have done a fresh install of everything; it still doesn't work. (and I really hate trying the "fresh install" option.. .) I try the following: (apologies for posting this again, but this is a different thread) In Control Panel, generate new product. In the new product, Added new class (filled in the blanks). In the root folder: Add, select the new class, entered ID, and then... Error Type: AttributeError Error Value: _setId I have reproduced it several times, with Python 2.0 and 2.1a. Traceback (innermost last): File /home/ahj/polar/zope/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/ahj/polar/zope/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/ahj/polar/zope/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File /home/ahj/polar/zope/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/ahj/polar/zope/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: CDClass_add) File /home/ahj/polar/zope/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: CDClass_add) File /home/ahj/polar/zope/Zope2/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: CDClass_add) File /home/ahj/polar/zope/Zope2/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: CDClass_add) File /home/ahj/polar/zope/Zope2/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: CDClass.createInObjectManager(REQUEST['id'], REQUEST)) File /home/ahj/polar/zope/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval (Object: CDClass.createInObjectManager(REQUEST['id'], REQUEST)) (Info: CDClass) File <string>, line 0, in ? File /home/ahj/polar/zope/Zope2/lib/python/ZClasses/ZClass.py, line 522, in createInObjectManager (Object: CDClass) AttributeError: (see above) ____________________________________ _______________________________________________ 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 )