[Grok-dev] Re: Upgrade problem (grok 0.12)

Martijn Faassen faassen at startifact.com
Fri May 9 09:03:49 EDT 2008

Sebastian Ware wrote:
>    from zope.app.securitypolicy.interfaces import IPrincipalRoleManager, 
> IRole, IRolePermissionManager
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
> "/Users/jhsware/groksandbox/Nackademin/parts/app/site.zcml", line 4.0-4.32
>    ZopeXMLConfigurationError: File 
> "/Users/jhsware/groksandbox/Nackademin/src/nackademin/configure.zcml", 
> line 4.2-4.37
>    ZopeXMLConfigurationError: File 
> "/Users/jhsware/groksandbox/Nackademin/ProtonCMS/src/protoncms/configure.zcml", 
> line 4.2-4.27
>    ImportError: No module named securitypolicy.interfaces
> Fortunately the answer to this can be found in the permissions tutorial, 
> but it was more of a fluke that I looked there.
> Since this is just a simple matter of changing a fixed string to another 
> fixed string (in most cases), why can't grok be smart enough to say:
> "In grok 0.12, zope.app.securitypolicy was moved to zope.securitypolicy. 
> Please update your application."
> I can surely not be the only one who will get stuck on one of these.

Hm, it should actually do this. Did we drop zope.app.securitypolicy 
completely from our list of dependencies? If so, we should add it to 0.12.1.



More information about the Grok-dev mailing list