Hi, Some starting suggestions.
First, check that you have added the known good set to your buildout extends file as documented at http://pypi.python.org/pypi/collective.xdv Under mac os x you should probably use the staticlxml recipe as documented at: http://pypi.python.org/pypi/xdv Then from bin/zopepy try: >>> from lxml import etree and see if you get an error. After that run: bin/test -s xdv and bin/test -s collective.xdv to see if the xdv and collective.xdv tests run ok. Post back the results here if you are still having problems. Laurence erik kulvinskas wrote: > > I know that there are challenges to installing collective.xdv on mac osx. > I tried it anyway its not working as prescribed. I was wondering if anyone > has any mojo they could share that could help me get this successfully > installed. > > So here is what i have so far: OS X 10.6.4, Plone 4 installed. > > Plone 4, once installed out of the box, works just fine. I go to the > following URL and followed the instructions: > > http://plone.org/products/collective.xdv/documentation/reference-manual/theming/adding-xdv-to-your-plone-instance/mac > > During the buildout i received a few warning messages: > > Building lxml version 2.2.4. > NOTE: Trying to build without Cython, pre-generated > 'src/lxml/lxml.etree.c' needs to be available. > Using build configuration of libxslt 1.1.24 > ld: warning: directory > '/Users/steve/nobackup/osx-4.0/Plone-4.0-UnifiedInstaller/work-build/Python-2.6/lib' > following -L not found > ld: warning: directory > '/Users/steve/nobackup/osx-4.0/Plone-4.0-UnifiedInstaller/work-build/Python-2.6/lib' > following -L not found > Got lxml 2.2.4. > > I don't know who steve is or why its looking to his volume for this. > Anyway, The buildout completes and then I start the instance. The > instance.log file has the following entries on startup: > > > zcml.load_site() > File > "/Applications/Plone4/buildout-cache/eggs/Zope2-2.12.10-py2.6-macosx-10.4-i386.egg/Products/Five/zcml.py", > line 51, in load_site > _context = xmlconfig.file(file) > File > "/Applications/Plone4/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/Plone4/buildout-cache/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py", > line 548, in include > assert _context.stack[-1].context is context > AssertionError > ------ > 2010-09-24T09:40:11 INFO Zope Ready to handle requests > > And when trying to hit the Plone site i get: > > Site Error > > An error was encountered while publishing this resource. > > Resource not found > > Sorry, the requested resource does not exist. > Check the URL and try again. > > Resource: http://localhost:8080/Plone/front-page/document_view > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering an error. > For more detailed information about the error, please refer to the error > log. > > If the error persists please contact the site maintainer. Thank you for > your patience. > > I've been struggling with this for a while. Does anyone have any solutions > out there that work? > > Thanks, > > -erik > > -- View this message in context: http://plone.293351.n2.nabble.com/collective-xdv-install-on-Snow-Leopard-tp5567322p5567489.html Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com. _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
