[Zope] Problems getting started with zope3

paul kölle paul at subsignal.org
Mon Feb 21 15:08:07 EST 2005


Hi all,

I hope this is the right list as I couldn't find one for users of zope3 
and I'd rather not spam the dev list ;)

Getting my feet wet with zope for the very first time, I tried following 
the Buddy example from the programmers_tutorial and hit a roadblock when 
trying to start zope with my package.

 >> python f:\ZopeInstances\first\bin\runzope

     ZopeXMLConfigurationError: File 
"f:\ZopeInstances\first\etc\package-includes
\buddy-configure.zcml", line 1.0-1.27 

     ZopeXMLConfigurationError: File 
"f:\zopeinstances\first\lib\python\buddy\con
figure.zcml", line 6.4 

     ConfigurationError: ('Invalid value for', 'class', "Couldn't import 
buddy.buddy, No module named interfaces")

The snipplet it fells over looks like:

<content class=".buddy.Buddy">
   <require permission="zope.View" interface=".interfaces.IBuddy" />
   <require permission="zope.ManageContent" 	 
set_schema=".interfaces.IBuddy" />
</content>

Interestingly, if I write <require permissions="zope.View" 
interface=".foo.IBuddy" />, it still complains about not finding the 
module interfaces. I thought  "interfaces" is the file "interfaces.py" 
in the same directory as configure.zcml... Why doesn't it complain about 
not finding "foo" if I change it? How can I find out what's wrong here?

thanks
  Paul



More information about the Zope mailing list