[Zope3-dev] ConfigurationConflictError for 'protectName in c2

Peter Mayne PeterMayne at ap.spherion.com
Tue Oct 5 20:58:56 EDT 2004


I've just installed c2. When I start it up, I get a few errors along the 
lines of:

   File 
"/tmp/ZopeX3-3.0.0c2/build/lib.linux-i686-2.3/zope/configuration/config.py", 
line 1452, in resolveConflicts
     raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting 
configuration actions
   For: ('protectName', <class 'bugtracker.vocabulary.UserVocabulary'>, 
'__contains__')
     File "/home/zope/zopex3/lib/python/bugtracker/configure.zcml", line 
145.2-148.2
         <content class=".vocabulary.UserVocabulary">
           <allow interface="zope.schema.interfaces.IVocabulary"/>
           <allow interface="zope.schema.interfaces.IVocabularyTokenized"/>
         </content>
     File "/home/zope/zopex3/lib/python/bugtracker/configure.zcml", line 
145.2-148.2
         <content class=".vocabulary.UserVocabulary">
           <allow interface="zope.schema.interfaces.IVocabulary"/>
           <allow interface="zope.schema.interfaces.IVocabularyTokenized"/>
         </content>

If I comment out the lines from bugtracker/configure.zcml:

   <content class=".vocabulary.UserVocabulary">
     <allow interface="zope.schema.interfaces.IVocabulary"/>
     <allow interface="zope.schema.interfaces.IVocabularyTokenized"/>
   </content>

Z3 starts properly.

What's changed here?

Thanks.

PJDM
-- 
Peter Mayne
Spherion Technology Solutions
Canberra, ACT, Australia
"You're given the form, but you have to write the sonnet yourself.
What you say is completely up to you." - Mrs. Whatsit



More information about the Zope3-dev mailing list