Я пытаюсь установить colle.xdv на моем Mac локально.Я следую инструкциям здесь: http://plone.org/products/collective.xdv/documentation/tutorial/advanced-xdv-theming/prerequisites
Мой сайт работает только тогда, когда я убираю все ссылки на коллективный файл .xdv в buildout.cfg.Если я добавляю ссылки на коллективный файл .xdv, то мой сайт не загружается, и в моем файле журнала говорится: «Ошибка установки приложения 5» (я видел онлайн-форумы, где люди получают это сообщение об ошибке при установке других продуктов. Я пробовалисправления рекомендованы, но они не работают для меня.)
РЕДАКТИРОВАТЬ: ошибка «Приложение не удалось установить пять», похоже, является типовой, поэтому наиболее вероятнойчасть трассировки: ImportError: dlopen (/Applications/Plone/buildout-cache/eggs/lxml-2.2.4-py2.6-macosx-10.4-i386.egg/lxml/etree.so, 2): подходящее изображение не найдено.Удалось найти: /Applications/Plone/buildout-cache/eggs/lxml-2.2.4-py2.6-macosx-10.4-i386.egg/lxml/etree.so: мач-о, но неправильная архитектура
2011-07-29T13:44:57 ERROR Application Couldn't install Five
Traceback (most recent call last):
File "/Applications/Plone/buildout-cache/eggs/Zope2-2.12.11-py2.6-macosx-10.4-i386.egg/OFS/Application.py", line 671, in install_product
initmethod(context)
File "/Applications/Plone/buildout-cache/eggs/Zope2-2.12.11-py2.6-macosx-10.4-i386.egg/Products/Five/__init__.py", line 31, in initialize
zcml.load_site()
File "/Applications/Plone/buildout-cache/eggs/Zope2-2.12.11-py2.6-macosx-10.4-i386.egg/Products/Five/zcml.py", line 51, in load_site
_context = xmlconfig.file(file)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 647, in file
include(context, name, package)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 537, in end
self.stack.pop().finish()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 685, in finish
actions = self.handler(context, **args)
File "/Applications/Plone/buildout-cache/eggs/Zope2-2.12.11-py2.6-macosx-10.4-i386.egg/Products/Five/fiveconfigure.py", line 74, in loadProducts
handleBrokenProduct(product)
File "/Applications/Plone/buildout-cache/eggs/Zope2-2.12.11-py2.6-macosx-10.4-i386.egg/Products/Five/fiveconfigure.py", line 72, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 537, in end
self.stack.pop().finish()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 685, in finish
actions = self.handler(context, **args)
File "/Applications/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/Applications/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
include(_context, filename, includable_package)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/Applications/Plone/Python-2.6/lib/python2.6/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 537, in end
self.stack.pop().finish()
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 684, in finish
args = toargs(context, *self.argdata)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 1376, in toargs
args[str(name)] = field.fromUnicode(s)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line 229, in fromUnicode
v = vt.fromUnicode(s)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line 139, in fromUnicode
value = self.context.resolve(name)
File "/Applications/Plone/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line 180, in resolve
mod = __import__(mname, *_import_chickens)
File "/Applications/Plone/buildout-cache/eggs/collective.xdv-1.0rc11-py2.6.egg/collective/xdv/transform.py", line 4, in <module>
from lxml import etree
ZopeXMLConfigurationError: File "/Applications/Plone/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/Applications/Plone/buildout-cache/eggs/Plone-4.0.1-py2.6.egg/Products/CMFPlone/configure.zcml", line 94.4-98.10
ZopeXMLConfigurationError: File "/Applications/Plone/buildout-cache/eggs/collective.xdv-1.0rc11-py2.6.egg/collective/xdv/configure.zcml", line 25.4-28.10
ImportError: dlopen(/Applications/Plone/buildout-cache/eggs/lxml-2.2.4-py2.6-macosx-10.4-i386.egg/lxml/etree.so, 2): no suitable image found. Did find:
/Applications/Plone/buildout-cache/eggs/lxml-2.2.4-py2.6-macosx-10.4-i386.egg/lxml/etree.so: mach-o, but wrong architecture