[Zope3-Users] error on start

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Dec 14 17:39:45 EST 2005


Hi Peter,

sorry for the long delay, but I am just now catching up with the mails. Since 
you have silent for so long, I assume you figured out the problem? Personally 
I do not understand at all how this failure could occur, since this file is 
used all the time.

Regards,
Stephan

On Saturday 12 November 2005 16:06, Peter Koppatz wrote:
> I performed the following steps:
>
> svn co svn://svn.zope.org/repos/main/Zope3/trunk Zope3
> (At revision 40077.)
> cd Zope3
> /usr/local/bin/python2.4 setup.py -q build_ext -i
> cp sample_principals.zcml principals.zcml
> /usr/local/bin/python2.4 z3.py
>
> and I got the following output:
>
>    AttributesNSImpl(newattrs, qnames))
>    File "/Users/peter/programme/Zope3/src/zope/configuration/
> xmlconfig.py", line 222, in startElementNS
>      self.context.begin(name, data, info)
>    File "/Users/peter/programme/Zope3/src/zope/configuration/
> config.py", line 550, in begin
>      self.stack.append(self.stack[-1].contained(__name, __data, __info))
>    File "/Users/peter/programme/Zope3/src/zope/configuration/
> config.py", line 849, in contained
>      return RootStackItem.contained(self, name, data, info)
>    File "/Users/peter/programme/Zope3/src/zope/configuration/
> config.py", line 717, in contained
>      factory = self.context.factory(self.context, name)
>    File "/Users/peter/programme/Zope3/src/zope/configuration/
> config.py", line 496, in factory
>      raise ConfigurationError("Unknown directive", ns, n)
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Users/
> peter/programme/Zope3/site.zcml", line 13.2-13.40
>      ZopeXMLConfigurationError: File "/Users/peter/programme/Zope3/
> securitypolicy.zcml", line 11.2
>      ConfigurationError: ('Unknown directive', u'http://
> namespaces.zope.org/zope', u'role')
>
> What is the missing part?

-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list