[Zope] Zope 2.20 and SQLSession
Hugo Ramos
Hugo Ramos" <hugo@zopers.org
Sun, 30 Jul 2000 14:16:48 +0100
I've just sent him the RDB.py
no more probs after that... :-)
=====
Hugo Ramos - hugo@zopers.org
ZopersORG - http://www.zopers.org
=====
Do not meddle in the affairs of programmers, for they are easy to annoy,
and have all the source code!!!
----- Original Message -----
From: "Jorge Magalhaes" <root@predict.telepac.pt>
To: <zope@zope.org>
Sent: Sunday, July 30, 2000 11:15 AM
Subject: [Zope] Zope 2.20 and SQLSession
>
> Hi
> Since i upgrade my zope 2.14 to 2.20 i can't access to my all DTML
Method's
> which use the SQLSESSION session.
>
> I try view these method's with superuser permissions but a have this error
message:
>
>
> Zope Error
>
> Zope has encountered an error while publishing this
resource.
>
> Unauthorized
>
> Sorry, a Zope error occurred.
>
> Traceback (innermost last):
> File
/usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
> File
/usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 187, in
publish
> File
/usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 171, in
publish
> File
/usr/local/ZopeNovo/Zope/lib/python/ZPublisher/mapply.py, line 160, in
mapply
> (Object: novasessao)
> File
/usr/local/ZopeNovo/Zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
> (Object: novasessao)
> File
/usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__
> (Object: novasessao)
> File
/usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_String.py, line 502,
in __call__
> (Object: novasessao)
> File
/usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in
renderwob
> (Object: validar(SENHA=senha))
> File
/usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_In.py, line 691, in
renderwob
> (Object: idprof(SENHA=senha))
> File
/usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337,
in eval
> (Object: SESSION.set('idprofessor',profid))
> (Info: profid)
> File <string>, line 0, in ?
> File
/usr/local/ZopeNovo/Zope/lib/python/DocumentTemplate/DT_Util.py, line 142,
in careful_getattr
> File
/usr/local/ZopeNovo/Zope/lib/python/OFS/DTMLMethod.py, line 189, in validate
> (Object: novasessao)
> File
/usr/local/ZopeNovo/Zope/lib/python/AccessControl/SecurityManager.py, line
139, in validate
> File
/usr/local/ZopeNovo/Zope/lib/python/AccessControl/ZopeSecurityPolicy.py,
line 159, in validate
> Unauthorized: set
>
> In Zope 2.14 all run ok :-)
>
> Jorge
>
>
> _______________________________________________
> 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 )
>