[Zope] Problem with moving from Zope2.6.0 to 2.7.1

Piotr Kral piotr.kral at euro.coig.pl
Thu Jul 15 06:30:32 EDT 2004


Hello

I'm trying to upgrade our application from Zope 2.6.0 to 2.7.1 and I've
encountered a problem. At the beginning I thought It was a DCOracle2
problem, but it seems to be a zope security thing. When I call script
(attached below) under zope 2.6.0 it works fine but under 2.7.1 it says:
###
Error Type: Unauthorized
Error Value: The container has no security assertions. Access to None of
(exceptions.Exception instance at 0xb53a13cc) denied.
###
and I'm logged out.
The script looks like this:
####
try:
    raise Exception('p1', 'p2')
    print x

except Exception, (errNr, errStr):
    print errNr
    print errStr

return printed
#####

How Can I do something to change this behavior? I'd rather to avoid
changing the script because there are hundred's of similar in the
application.

Kind regards
Piotr Kral





More information about the Zope mailing list