[Product-Developers] plone.reload, grokcore.component

Christian Klinger cklinger at novareto.de
Thu Jul 3 10:20:44 UTC 2008


Hi Plone-Developers

is it possible to use plone.reload and grokcore.component in a
plone2.5_buildout?

By added plone.reload to my buildout.cfg with

- snippet -
eggs = plone.reload
zcml = plone.reolad

Then i try to visiting http://localhost/@@reload i got a NotFound Execption.

When i add grokcore.component to my buildout

- snippet -
eggs = grokcore.component
zcml = grokcore.component

i got this error on startup:

yeti:putlis cklinger$ bin/instance fg
Traceback (most recent call last):
   File "bin/instance", line 31, in ?
     plone.recipe.zope2instance.ctl.main(
   File 
"/Users/cklinger/work/extranet/putlis/eggs/tmpoV8qOm/plone.recipe.zope2instance-2.3.1-py2.4.egg/plone/recipe/zope2instance/ctl.py", 
line 204, in main
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/Zope2/Startup/zopectl.py", 
line 95, in realize
     ZDOptions.realize(self, *args, **kw)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/zdaemon/zdoptions.py", 
line 273, in realize
     self.load_schema()
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/zdaemon/zdoptions.py", 
line 321, in load_schema
     self.schema = ZConfig.loadSchema(self.schemafile)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/loader.py", 
line 31, in loadSchema
     return SchemaLoader().loadURL(url)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/loader.py", 
line 65, in loadURL
     return self.loadResource(r)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/loader.py", 
line 159, in loadResource
     schema = ZConfig.schema.parseResource(resource, self)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/schema.py", 
line 27, in parseResource
     xml.sax.parse(resource.file, parser)
   File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/sax/__init__.py", 
line 33, in parse
     parser.parse(source)
   File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/sax/expatreader.py", 
line 107, in parse
     xmlreader.IncrementalParser.parse(self, source)
   File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/sax/xmlreader.py", 
line 123, in parse
     self.feed(buffer)
   File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/sax/expatreader.py", 
line 207, in feed
     self._parser.Parse(data, isFinal)
   File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/sax/expatreader.py", 
line 300, in start_element
     self._cont_handler.startElement(name, AttributesImpl(attrs))
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/schema.py", 
line 99, in startElement
     getattr(self, "start_" + name)(attrs)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/schema.py", 
line 475, in start_schema
     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/schema.py", 
line 201, in get_sect_typeinfo
     datatype = self.get_datatype(attrs, "datatype", "null", base)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/schema.py", 
line 194, in get_datatype
     return self._registry.get(dtname)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/datatypes.py", 
line 398, in get
     t = self.search(name)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/ZConfig/datatypes.py", 
line 423, in search
     package = __import__(n, g, g, component)
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/Zope2/Startup/datatypes.py", 
line 21, in ?
     import OFS.Uninstalled
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/OFS/Uninstalled.py", 
line 20, in ?
     import SimpleItem, Globals, Acquisition
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/OFS/SimpleItem.py", 
line 26, in ?
     import AccessControl.Role, AccessControl.Owned, App.Common
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/AccessControl/__init__.py", 
line 17, in ?
     from Implementation import setImplementation
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/AccessControl/Implementation.py", 
line 98, in ?
     setImplementation("C")
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/AccessControl/Implementation.py", 
line 51, in setImplementation
     from AccessControl import ImplC as impl
   File 
"/Users/cklinger/work/extranet/putlis/parts/zope2/lib/python/AccessControl/ImplC.py", 
line 30, in ?
     from ImplPython import RestrictedDTML, SecurityManager, 
ZopeSecurityPolicy
ImportError: No module named ImplPython


Any Ideas?

Thanks Christian





More information about the Product-Developers mailing list