[Zope-PTK] PTK CVS problem?

Jeffrey P Shell jeffrey@Digicool.com
Fri, 16 Feb 2001 13:48:15 -0500


On 2/16/01 1:36 PM, "Kent Polk" <kent@tiamat.goathill.org> wrote:

> Just did a cvs PTK checkout:
> 
> cvs server: Updating ZopePTK
> cvs checkout: move away ZopePTK/CHANGES.txt; it is in the way
> C ZopePTK/CHANGES.txt
> cvs server: Updating ZopePTK/DemoPortal
> cvs server: Updating ZopePTK/LoginManager
> cvs server: Updating ZopePTK/LoginManager/help
> cvs server: Updating ZopePTK/LoginManager/www
> cvs server: Updating ZopePTK/Membership
> cvs server: Updating ZopePTK/PTKBase
> cvs checkout: move away ZopePTK/PTKBase/ActionsTool.py; it is in the way
> C ZopePTK/PTKBase/ActionsTool.py
> cvs checkout: move away ZopePTK/PTKBase/CatalogTool.py; it is in the way
> C ZopePTK/PTKBase/CatalogTool.py
> cvs checkout: move away ZopePTK/PTKBase/CookieCrumbler.py; it is in the way
> C ZopePTK/PTKBase/CookieCrumbler.py
> cvs checkout: move away ZopePTK/PTKBase/DateBound.py; it is in the way
> C ZopePTK/PTKBase/DateBound.py
> cvs checkout: move away ZopePTK/PTKBase/DateRange.py; it is in the way
> C ZopePTK/PTKBase/DateRange.py
> cvs checkout: move away ZopePTK/PTKBase/DirectoryView.py; it is in the way
> C ZopePTK/PTKBase/DirectoryView.py
> cvs checkout: move away ZopePTK/PTKBase/DiscussionTool.py; it is in the way
> C ZopePTK/PTKBase/DiscussionTool.py
> cvs checkout: move away ZopePTK/PTKBase/FSDTMLMethod.py; it is in the way
> C ZopePTK/PTKBase/FSDTMLMethod.py
> cvs checkout: move away ZopePTK/PTKBase/FSImage.py; it is in the way
> C ZopePTK/PTKBase/FSImage.py
> cvs checkout: move away ZopePTK/PTKBase/FSPropertiesObject.py; it is in the
> way
> C ZopePTK/PTKBase/FSPropertiesObject.py
> cvs checkout: move away ZopePTK/PTKBase/INSTALL; it is in the way
> 
> etc. on what looks like every file in the ZopePTK, and on restart:
> 
> PTKDemo Product traceback:
> 
> Traceback (innermost last):
> File "/usr/pkg/share/zope/lib/python/OFS/Application.py", line 397, in
> import_products
>   product=__import__(pname, global_dict, global_dict, silly)
> File "/var/zope/Products/PTKDemo/__init__.py", line 91, in ?
>   import Document, Link, NewsItem, File, Image, Favorite
> File "/var/zope/Products/PTKDemo/Document.py", line 93, in ?
>   from AccessControl import ClassSecurityInfo
> ImportError: cannot import name ClassSecurityInfo
> 
> I waited a while and tried again, thinking I hit at the wrong time,
> but got the same results.
> 
> What's up?

ClassSecurityInfo is a new feature in Zope 2.3.0, although you'll really
need Zope 2.3.1 (in beta now) due to a bug in 2.3.0 that Document.py
exposes.

See the project for declarative security at
http://dev.zope.org/Wikis/DevSite/Projects/DeclarativeSecurity/FrontPage


Jeffrey P Shell, jeffrey@Digicool.com
http://www.digicool.com/ | http://www.zope.org