[Zope] zope-2.1.5 and zclass

- bak@nstp.com.my
Mon, 20 Mar 2000 10:53:56 +0800


hi all,
i d/l the 2.1.5 zope src, compiled, and got it running.  however, on one
machine, i got unauthorize error when i tried adding a zclass.  the same
error when i tried it with site summary,zphoto, and some other zclass based
product.

on another machine, i can add some zclass based object, but got a trace back on
others.

platform 1 and 2
rh6.1, zope-2.1.5
the first tarceback

Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: index_html)
  File /usr/local/Zope/lib/python/App/Factory.py, line 170, in index_html
    (Object: RoleManager)
  File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 142, in __call__
    (Object: Artikel_addForm)
  File /usr/local/Zope/lib/python/AccessControl/User.py, line 711, in verify_watermark
Unauthorized: You are not authorized to access this resource.


the second traceback
  <P><STRONG>AttributeError</STRONG></P>
  
  Sorry, a Zope error occurred.<p>
<!--
Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/Zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: RoleManager)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: Artikel_add)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: Artikel_add)
  File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 150, in __call__
    (Object: Artikel_add)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: Artikel_add)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_With.py, line 133, in render
    (Object: Artikel.createInObjectManager(REQUEST['id'], REQUEST))
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval
    (Object: Artikel.createInObjectManager(REQUEST['id'], REQUEST))
    (Info: REQUEST)
  File <string>, line 0, in ?
  File /usr/local/Zope/lib/python/ZClasses/ZClass.py, line 461, in createInObjectManager
    (Object: Artikel)
AttributeError: _getOb

 --  ------------------------------------------------------
http://www.kedai.com.my/kk
Am I Evil?