[Zope-PTK] problem creating new portal

iap_y2fun.com iap@y2fun.com
Mon, 5 Feb 2001 21:28:40 +0800


Hi, Simon
Sometime "AttributeError" is due to not enough permissions.
Hope it helps.

Iap, Singuan

----- Original Message -----
From: "Simon Michael" <simon@joyful.com>
To: <zope-ptk@zope.org>
Sent: Monday, February 05, 2001 8:49 PM
Subject: [Zope-PTK] problem creating new portal


> Using today's cvs code with zope 2.2.2, I get this while trying to add
> a Portal (new):
>
> AttributeError: aq_base
>
> Traceback (innermost last):
>   File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
>   File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
187, in publish
>   File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
>   File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
171, in publish
>   File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
>     (Object: manage_addDemoPortal)
>   File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
>     (Object: manage_addDemoPortal)
>   File /home/bb/Products/PTKDemo/Portal.py, line 441, in
manage_addDemoPortal
>   File /home/bb/Products/PTKDemo/Portal.py, line 415, in create
>   File /home/bb/Products/PTKDemo/Portal.py, line 398, in setup
>   File /home/bb/Products/PTKDemo/Portal.py, line 320, in setupTools
>   File /home/bb/Products/PTKBase/utils.py, line 229, in manage_addTool
>   File /home/bb/Products/PTKBase/MemberDataTool.py, line 127, in __init__
>     (Object: portal_memberdata)
>   File /usr/local/Zope-2.2.2-src/lib/python/OFS/PropertyManager.py, line
243, in _setProperty
>     (Object: portal_memberdata)
>   File /usr/local/Zope-2.2.2-src/lib/python/OFS/PropertyManager.py, line
198, in valid_property_id
>     (Object: portal_memberdata)
> AttributeError: (see above)
>
>
> Any ideas ?