After installing beta 2, I tried adding some ZClass instances, but I was unable to add any. Then I tried making a test Product with a test ZClass using the default data.fs. Here is the traceback I get: <STRONG>Error Type: AttributeError</STRONG><BR> <STRONG>Error Value: foo</STRONG><BR> Traceback (innermost last): File C:\Program Files\Byproducts\lib\python\ZPublisher\Publish.py, line 209, in publish_module File C:\Program Files\Byproducts\lib\python\ZPublisher\Publish.py, line 179, in publish File C:\Program Files\Byproducts\lib\python\Zope\__init__.py, line 199, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File C:\Program Files\Byproducts\lib\python\ZPublisher\Publish.py, line 165, in publish File C:\Program Files\Byproducts\lib\python\ZPublisher\mapply.py, line 154, in mapply (Object: TestClass_add) File C:\Program Files\Byproducts\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: TestClass_add) File C:\Program Files\Byproducts\lib\python\OFS\DTMLMethod.py, line 145, in __call__ (Object: TestClass_add) File C:\Program Files\Byproducts\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: TestClass_add) File C:\Program Files\Byproducts\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: TestClass.createInObjectManager(REQUEST['id'], REQUEST)) File C:\Program Files\Byproducts\lib\python\DocumentTemplate\DT_Util.py, line 315, in eval (Object: TestClass.createInObjectManager(REQUEST['id'], REQUEST)) File <string>, line 0, in ? File C:\Program Files\Byproducts\lib\python\ZClasses\ZClass.py, line 436, in createInObjectManager (Object: TestClass) File C:\Program Files\Byproducts\lib\python\App\FactoryDispatcher.py, line 145, in __getattr__ AttributeError: (see above) I was trying to add an instance 'foo' of ZClass 'TestClass'. I'm logged in as the superuser... When I attempted to add an instance of a ZClass I created with Beta 1, I got an AttributeError stating that it could not find the addForm method... Kevin
Kevin Dangoor wrote:
After installing beta 2, I tried adding some ZClass instances, but I was unable to add any. Then I tried making a test Product with a test ZClass using the default data.fs. Here is the traceback I get:
<STRONG>Error Type: AttributeError</STRONG><BR> <STRONG>Error Value: foo</STRONG><BR>
I don't know if it is at all related, but today (with beta1) I got an attribute error when I tried to add an instance of a ZClass to another ZClass. That is, I tried to have one ZClass contain another. This may be something else entirely, <shot distance="long">or it may be a clue towards beta2 problems</shot>. Regards, Martijn
participants (2)
-
Kevin Dangoor -
Martijn Faassen