I've got this problem as well - who wants to report it?

Zope Version  Zope 2.3.0b2 (source release, python 1.5.2, linux2)  
Python Version  1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66
19990314/Linux (egcs-  
System Platform  linux-sparc  
Process Id  23242 (1024)  
Running For  18 hours 53 min 23 sec  

Error Type: TypeError
Error Value: too many arguments; expected 2, got 3

Traceback (innermost last):
  File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/Zope23/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/Zope23/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_defined_roles)
  File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: manage_defined_roles)
  File /usr/local/Zope23/lib/python/AccessControl/Role.py, line 489, in
manage_defined_roles
    (Object: ApplicationDefaultPermissions)
TypeError: (see above)


Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+  

-----Original Message-----
From: Martijn Pieters [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 12:02
To: Phil Harris
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Adding roles in 2.3b2 and CVS


On Mon, Jan 22, 2001 at 11:31:27AM -0000, Phil Harris wrote:
> Has anyone else had trouble adding roles when using 2.3b2 and CVS versions
of Zope?
> 
> There seems to be a consistent bug in
<ZopeDIR>/lib/python/AccessControl/role.py.
> 
> The calls to self.manage_access(self,REQUEST) seem to have too many
arguments, am I right?
> 
> I 'fixed' my version of the file ut someone with more nouse will need to
check this out.
> 
> Would this be better reported in the collector?

Reporting to the Collector is a good idea, especially if you can reproduce
the problem.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to