Re: [Zope] Can t start Zope

2007-08-28 Thread Tom Von Lahndorff


This is in the error log:

-08-20T15:12:21 ERROR root Exception while rendering an error message
Traceback (most recent call last):
  File /opt/zope/Zope-2.10.1_Software/lib/python/OFS/ 
SimpleItem.py, line 225, in raise_standardErrorMessage

v = s(client, REQUEST, **kwargs)
  File /opt/zope/Zope-2.10.1_Software/lib/python/OFS/ 
DTMLMethod.py, line 143, in __call__

r=apply(HTML.__call__, (self, client, REQUEST), kw)
  File /opt/zope/Zope-2.10.1_Software/lib/python/DocumentTemplate/ 
DT_String.py, line 476, in __call__

try: result = render_blocks(self._v_blocks, md)
  File /opt/zope/Zope-2.10.1_Software/lib/python/OFS/ 
DTMLMethod.py, line 136, in __call__

r=apply(HTML.__call__, (self, client, REQUEST), kw)
  File /opt/zope/Zope-2.10.1_Software/lib/python/DocumentTemplate/ 
DT_String.py, line 476, in __call__

try: result = render_blocks(self._v_blocks, md)
Unauthorized: You are not allowed to access 'admin' in this context

Any ideas?

On Aug 28, 2007, at 12:37 PM, Andreas Jung wrote:




--On 28. August 2007 12:32:42 -0400 Tom Von Lahndorff  
[EMAIL PROTECTED] wrote:

 import AccessControl.Role, AccessControl.Owned, App.Common
ImportError: No module named AccessControl.Role


Broken installation? And why Zope 2.10.1? We are currently at 2.10.4.

Andreas


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Can t start Zope

2007-08-28 Thread Maciej Wisniowski
 try: result = render_blocks(self._v_blocks, md)
 Unauthorized: You are not allowed to access 'admin' in this context
 
 Any ideas?
This is not connected with previous error, but seems that your
Zope worked before (-08-20T15:12:21). If so then what chages
did you do? ;)

As Andreas said previous error is possibly due to
broken installation. Check if you have AccessControl.Role
and if so, then check if your python/site-packages doesn't
contain another one eg. from Zope3.

-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )