[Zope] Set Product Permissions: TypeError?
Chris McDonough
chrism@digicool.com
Mon, 2 Apr 2001 13:38:33 -0400
This was a bug in 2.3.0, I believe it's fixed in 2.3.1.
----- Original Message -----
From: "Jonathan (Listserv Account)" <listsmurf@ur.nl>
To: <zope@zope.org>
Sent: Monday, April 02, 2001 8:11 AM
Subject: [Zope] Set Product Permissions: TypeError?
> Hi all,
>
> Add a Product, go to 'Define Permissions', change 'Use Database Methods'
> from '(disabled)' to 'Use Database Methods' so I can use and call SQL
> Methods within my ZClass. But when I try to save my changes I get a
> TypeError:
>
> too many arguments, expected 2, got 3
>
> Zope 2.3.0 source release, Python 1.5.2 (Linux). Traceback:
>
> Traceback (innermost last):
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
> .py, line 222, in publish_module
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
> .py, line 187, in publish
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/Zope/__init__.py,
> line 221, in zpublisher_exception_hook
> (Object: Traversable)
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
> .py, line 171, in publish
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/mapply.
> py, line 160, in mapply
> (Object: manage_setPermissionMapping)
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/ZPublisher/Publish
> .py, line 112, in call_object
> (Object: manage_setPermissionMapping)
> File
>
/net/fs-1/bigdisk/po-1/opt/zope/Zope-2.3.0-src/lib/python/AccessControl/Perm
> issionMapping.py, line 150, in manage_setPermissionMapping
> (Object: Traversable)
> TypeError: (see above)
>
> Any ideas? Am I doing something wrong or what?
>
> Thnx!
> Jonathan
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
>