RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Itai Tavor

Change all occurrences of self.manage_access(self,REQUEST) to 
self.manage_access(REQUEST) in AccessControl/Role.py.

BTW, this has been reported to the collector before this thread even started.

Mayers, Philip J wrote:

>What's the easiest fix on a 2.3.0b2 server?
>
>Regards,
>Phil
>
>+--+
>| Phil Mayers, Network Support |
>| Centre for Computing Services|
>| Imperial College |
>+--+ 
>
>-Original Message-
>From: Brian Lloyd [mailto:[EMAIL PROTECTED]]
>Sent: 22 January 2001 16:20
>To: Mayers, Philip J; 'Martijn Pieters'; Phil Harris
>Cc: [EMAIL PROTECTED]
>Subject: RE: [Zope] Adding roles in 2.3b2 and CVS
>
>
>Already fixed in CVS guys - thanks though!
>
>
>Brian Lloyd[EMAIL PROTECTED]
>Software Engineer  540.371.6909
>Digital Creations  http://www.digicool.com

-- 
Itai Tavor"Je sautille, donc je suis."
C3Works[EMAIL PROTECTED]  - Kermit the Frog

"If you haven't got your health, you haven't got anything"


___
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 )




RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Mayers, Philip J

What's the easiest fix on a 2.3.0b2 server?

Regards,
Phil

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

-Original Message-
From: Brian Lloyd [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 16:20
To: Mayers, Philip J; 'Martijn Pieters'; Phil Harris
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS


Already fixed in CVS guys - thanks though!


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.com



___
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 )




RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Brian Lloyd

Already fixed in CVS guys - thanks though!


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.com




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Mayers, Philip J
> Sent: Monday, January 22, 2001 10:58 AM
> To: 'Martijn Pieters'; Phil Harris
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Zope] Adding roles in 2.3b2 and CVS
>
>
> 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 -, 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
> /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 )
>
>


___
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 )




Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris

Looks like it could be the same problem, just in a different place.

- Original Message -
From: "Mayers, Philip J" <[EMAIL PROTECTED]>
To: "'Martijn Pieters'" <[EMAIL PROTECTED]>; "Phil Harris"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 3:57 PM
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS


> 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 -, 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
> /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 )




Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris

btw,  follow on from my last post, looks like the original problem is
already fixed in CVS.

- Original Message -
From: "Mayers, Philip J" <[EMAIL PROTECTED]>
To: "'Martijn Pieters'" <[EMAIL PROTECTED]>; "Phil Harris"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 3:57 PM
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS


> 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 -, 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
> /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 )




RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Mayers, Philip J

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 -, 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
/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 )




Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Martijn Pieters

On Mon, Jan 22, 2001 at 11:31:27AM -, 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 /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 )