No trasversable adapter found

2 messages Options
Embed this post
Permalink
Daniel Merino () No trasversable adapter found
Reply Threaded More More options
Print post
Permalink
Hello, everybody. I'm trying to install Plone 3.0.4 and Zope 2.10.5, in order to install later EduCommons 3.0.2.

I have installed Python 2.4.4 over Ubuntu 7.10 and have made it the predefinite option. I have installed all the packages as is told in this page:

http://cosl.usu.edu/projects/educommons/documentation/how-to/installation-instructions

After that, I'm able to run Zope, but I have an error when I try to add a CMF Site, or check the Zope logs (with the ZMI) or make a Plone site. All the errors have in common the next phrase: "No trasversable adapter found".

These errors are exactly like in this report that I have found searching in google, but they solved them installing python-setuptools and that doesn't work to me.

http://groups.google.com/group/plone-users/browse_thread/thread/3ccc6e55db22ed70/2871c23a3401c671

When I start zope with zopectl fg, I receive the next messages:

$ sudo ./zopectl fg

[sudo] password for csie:
/opt/Zope-2.10.5/web/bin/runzope -X debug-mode=on
2008-02-12 13:23:39 INFO ZServer HTTP server started at Tue Feb 12 13:23:39 2008
  Hostname: 0.0.0.0
  Port: 8100
2008-02-12 13:23:39 INFO Zope Set effective user to "zope"
2008-02-12 13:23:46 INFO Plone OpenID system packages not installed, OpenID support not available
/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
/opt/Zope-2.10.5/lib/python/zope/configuration/config.py:692: DeprecationWarning: The five:traversable statement is no longer needed and will be removed in Zope 2.12.
  actions = self.handler(context, **args)
/opt/Zope-2.10.5/lib/python/zope/configuration/config.py:184: DeprecationWarning: zope.app.event.interfaces has moved to zope.lifecycleevent.interfaces. Import of zope.app.event.interfaces will become unsupported in Zope 3.5
  mod = __import__(mname, *_import_chickens)
2008-02-12 13:23:46 ERROR Application Couldn't install Five
Traceback (most recent call last):
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 786, in install_product
    initmethod(context)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/__init__.py", line 28, in initialize
    zcml.load_site()
  File "/opt/Zope-2.10.5/lib/python/Products/Five/zcml.py", line 53, in load_site
    _context = xmlconfig.file(file)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 579, in file
    include(context, name, package)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/fiveconfigure.py", line 78, in loadProducts
    handleBrokenProduct(product)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/fiveconfigure.py", line 76, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 691, in finish
    args = toargs(context, *self.argdata)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 1383, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 184, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/opt/Zope-2.10.5/web/Products/IMSTransport/browser/imstransportform.py", line 44, in ?
    from Products.IMSTransport.Manifest import ZipfileReader, ZipfileWriter
  File "/opt/Zope-2.10.5/web/Products/IMSTransport/Manifest.py", line 37, in ?
    from libxslt import parseStylesheetDoc
ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/etc/site.zcml", line 15.2-15.23
    ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/Products/IMSTransport/configure.zcml", line 6.2-6.32
    ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/Products/IMSTransport/browser/configure.zcml", line 7.2-12.3
    ImportError: No module named libxslt
Traceback (most recent call last):
  File "/opt/Zope-2.10.5/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/opt/Zope-2.10.5/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/opt/Zope-2.10.5/lib/python/Zope2/Startup/__init__.py", line 102, in prepare
    self.startZope()
  File "/opt/Zope-2.10.5/lib/python/Zope2/Startup/__init__.py", line 278, in startZope
    Zope2.startup()
  File "/opt/Zope-2.10.5/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/Zope-2.10.5/lib/python/Zope2/App/startup.py", line 102, in startup
    OFS.Application.initialize(application)
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 309, in initialize
    initializer.initialize()
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 338, in initialize
    self.install_products()
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 603, in install_products
    return install_products(app)
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 634, in install_products
    folder_permissions, raise_exc=debug_mode)
  File "/opt/Zope-2.10.5/lib/python/OFS/Application.py", line 786, in install_product
    initmethod(context)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/__init__.py", line 28, in initialize
    zcml.load_site()
  File "/opt/Zope-2.10.5/lib/python/Products/Five/zcml.py", line 53, in load_site
    _context = xmlconfig.file(file)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 579, in file
    include(context, name, package)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/fiveconfigure.py", line 78, in loadProducts
    handleBrokenProduct(product)
  File "/opt/Zope-2.10.5/lib/python/Products/Five/fiveconfigure.py", line 76, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 691, in finish
    args = toargs(context, *self.argdata)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 1383, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/opt/Zope-2.10.5/lib/python/zope/configuration/config.py", line 184, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/opt/Zope-2.10.5/web/Products/IMSTransport/browser/imstransportform.py", line 44, in ?
    from Products.IMSTransport.Manifest import ZipfileReader, ZipfileWriter
  File "/opt/Zope-2.10.5/web/Products/IMSTransport/Manifest.py", line 37, in ?
    from libxslt import parseStylesheetDoc
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/etc/site.zcml", line 15.2-15.23
    ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/Products/IMSTransport/configure.zcml", line 6.2-6.32
    ZopeXMLConfigurationError: File "/opt/Zope-2.10.5/web/Products/IMSTransport/browser/configure.zcml", line 7.2-12.3
    ImportError: No module named libxslt


I am really blocked and don't know what more to do. Could anybody help me, plz?

Thanks in advance.
Daniel
Kursat () Re: No trasversable adapter found
Reply Threaded More More options
Print post
Permalink
Hi all,

Daniel wrote this message over a year but it has not been replied yet. If
there is someone who can help, please do something. Or Daniel, have you
solved it already?
I have exactly same problem now. Traceback is exactly same.
Kursat Hosel
Universidad de Alcala