[Zope] Getting Errors trying to map permissions in Zope 2.3.0 for win32
Anton A. Zotov
futurb@nh.km.ua
Tue, 20 Mar 2001 02:06:45 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C0B0E2.6A500360
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: 7bit
I'm getting permanent errors trying to map permissions in Zope product
created by myself.
I seem to do everything right. Could anybody tell me how to avoid the
problem ?
Please see Zope trace page attached.
Thx in advance,
Anton.
------=_NextPart_000_000B_01C0B0E2.6A500360
Content-Type: text/html;
name="manage_setPermissionMapping[1].html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="manage_setPermissionMapping[1].html"
<html><head><title>This is top level admin's management interface =
class</title></head><body bgcolor=3D"#FFFFFF">
<table border=3D"0" width=3D"100%">
<tr valign=3D"TOP">
<td width=3D"10%" align=3D"center">
<img src=3D"http://localhost:8080/p_/ZButton" alt=3D"Zope">
</td>
<td width=3D"90%">
<h2>Zope Error</h2>
<p>Zope has encountered an error while publishing this resource.</p>
=20
<p>
<strong>Error Type: TypeError</strong><br>
<strong>Error Value: too many arguments; expected 2, got =
3</strong><br>=20
</p>
=20
<hr noshade>
=20
<p>Troubleshooting Suggestions</p>
<ul>
<li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be incorrect.</li>
<li>A resource that this resource relies on may be encountering an =
error.</li>
</ul>
<p>For more detailed information about the error, please
refer to the HTML source for this page.
</p>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
</td></tr>
</table>
<p><a href=3D"http://www.zope.org/Credits" target=3D"_top"><img =
src=3D"http://localhost:8080/p_/ZopeButton" width=3D"115" height=3D"50" =
border=3D"0" alt=3D"Powered by Zope" /></a></p></body></html>
<PRE>
Traceback (innermost last):
File C:\Workshop\xception\lib\python\ZPublisher\Publish.py, line 222, =
in publish_module
File C:\Workshop\xception\lib\python\ZPublisher\Publish.py, line 187, =
in publish
File C:\Workshop\xception\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
(Object: Admin)
File C:\Workshop\xception\lib\python\ZPublisher\Publish.py, line 171, =
in publish
File C:\Workshop\xception\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
(Object: manage_setPermissionMapping)
File C:\Workshop\xception\lib\python\ZPublisher\Publish.py, line 112, =
in call_object
(Object: manage_setPermissionMapping)
File =
C:\Workshop\xception\lib\python\AccessControl\PermissionMapping.py, line =
150, in manage_setPermissionMapping
(Object: Admin)
TypeError: (see above)
</PRE>
------=_NextPart_000_000B_01C0B0E2.6A500360--