[Zope] Traceback error
Dieter Maurer
dieter@handshake.de
Sat, 25 Aug 2001 00:02:23 +0200 (CEST)
oliver writes:
> I have made a new product called 'minimal' and now i want to inizialize it
> and i get this error:
>
> 2001-08-24T12:25:16 ERROR(200) Zope Couldn't install minimal
> Traceback (innermost last):
> File C:\PROGRA~1\zope240\lib\python\OFS\Application.py, line 657, in
> install_product
> (Object: ApplicationDefaultPermissions)
> (Info: minimal)
> File C:\Program Files\Zope240\lib\python\Products\minimal\__init__.py,
> line 9, in initialize
> File C:\PROGRA~1\zope240\lib\python\App\ProductContext.py, line 166, in
> registerClass
> TypeError: unsubscriptable object
>
> what i have done wrong?
You had passed a wrong argument to "registerClass":
probably a single object where a sequence has been expected.
Looking at "App\ProductContext.py:166" reveals that
"constructors" are passed wrongly (not as sequence).
Dieter