Discussion:
Problems running web and mobile on Plone 4.0.3
morten-A9enih0ZUwqRtqRaY+ouwQ@public.gmane.org
2011-03-01 14:53:46 UTC
Permalink
Hi,

I've followed the instructions on how to setup web and mobile on Plone
4.0.3, using buildout. However, I get a traceback, something about
the system python's xml module.

I've installed a fresh Python 2.6.6 with no extras except
easy_install, and run buildout as instructed. Here's the traceback:

2011-03-01 15:47:34 INFO ZServer HTTP server started at Tue Mar 1
15:47:34 2011
Hostname: 0.0.0.0
Port: 17080
/home/cop_contact/zope/independent_python/plone3/eggs/
Products.AdvancedQuery-3.0.1-py2.6.egg/Products/AdvancedQuery/
__init__.py:10: DeprecationWarning: InitializeClass is deprecated.
import from App.class_init instead
from Globals import InitializeClass
2011-03-01 15:47:35 WARNING ZODB.FileStorage Ignoring index for /home/
cop_contact/zope/independent_python/plone3/var/filestorage/Data.fs
2011-03-01 15:47:35 WARNING ZODB.blob (23436) Blob dir /home/
cop_contact/zope/independent_python/plone3/var/blobstorage/ has
insecure mode setting
/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/resizer.py:16:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
2011-03-01 15:47:37 ERROR Application Couldn't install Five
Traceback (most recent call last):
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
initmethod(context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
zcml.load_site()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
_context = xmlconfig.file(file)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
include(context, name, package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
handleBrokenProduct(product)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
include(_context, filename, includable_package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
includeZCMLGroup(_context, info, 'configure.zcml')
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
include(_context, filename, includable_package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
args = toargs(context, *self.argdata)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
args[str(name)] = field.fromUnicode(s)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
mod = __import__(mname, *_import_chickens)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
from basic import BasicCleaner
File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
from lxml.html import defs
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/parts/instance/etc/site.zcml", line
16.2-16.23
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
ImportError: No module named lxml.html
Traceback (most recent call last):
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 56, in
<module>
run()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 21, in
run
starter.prepare()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
87, in prepare
self.startZope()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
264, in startZope
Zope2.startup()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/__init__.py", line 47, in
startup
_startup()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/App/startup.py", line 116, in
startup
OFS.Application.initialize(application)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 251, in
initialize
initializer.initialize()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 279, in
initialize
self.install_products()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 492, in
install_products
return install_products(app)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 523, in
install_products
folder_permissions, raise_exc=debug_mode)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
initmethod(context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
zcml.load_site()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
_context = xmlconfig.file(file)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
include(context, name, package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
handleBrokenProduct(product)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
include(_context, filename, includable_package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
includeZCMLGroup(_context, info, 'configure.zcml')
File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
include(_context, filename, includable_package)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
args = toargs(context, *self.argdata)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
args[str(name)] = field.fromUnicode(s)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
mod = __import__(mname, *_import_chickens)
File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
from basic import BasicCleaner
File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
from lxml.html import defs
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/
cop_contact/zope/independent_python/plone3/parts/instance/etc/
site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
ImportError: No module named lxml.html

-Morten
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.
winnk
2011-03-01 15:45:30 UTC
Permalink
Hi Morten,
Check here: http://svn.plone.org/svn/collective/collective.developermanual/trunk/source/troubleshooting/exceptions.txt
Search for "lxml".
This will give you an idea where to start to trouble shoot this.
Winn
Post by morten-A9enih0ZUwqRtqRaY+***@public.gmane.org
Hi,
I've followed the instructions on how to setup web and mobile on Plone
4.0.3, using buildout.  However, I get a traceback, something about
the system python's xml module.
I've installed a fresh Python 2.6.6 with no extras except
2011-03-01 15:47:34 INFO ZServer HTTP server started at Tue Mar  1
15:47:34 2011
        Hostname: 0.0.0.0
        Port: 17080
/home/cop_contact/zope/independent_python/plone3/eggs/
Products.AdvancedQuery-3.0.1-py2.6.egg/Products/AdvancedQuery/
__init__.py:10: DeprecationWarning: InitializeClass is deprecated.
import from App.class_init instead
  from Globals import InitializeClass
2011-03-01 15:47:35 WARNING ZODB.FileStorage Ignoring index for /home/
cop_contact/zope/independent_python/plone3/var/filestorage/Data.fs
2011-03-01 15:47:35 WARNING ZODB.blob (23436) Blob dir /home/
cop_contact/zope/independent_python/plone3/var/blobstorage/ has
insecure mode setting
/home/cop_contact/zope/independent_python/plone3/eggs/
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
2011-03-01 15:47:37 ERROR Application Couldn't install Five
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
    initmethod(context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
    zcml.load_site()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
    _context = xmlconfig.file(file)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
    include(context, name, package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
    handleBrokenProduct(product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
    includeZCMLGroup(_context, info, 'configure.zcml')
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
    args = toargs(context, *self.argdata)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
    from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
    from basic import BasicCleaner
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
    from lxml.html import defs
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/parts/instance/etc/site.zcml", line
16.2-16.23
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
    ImportError: No module named lxml.html
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 56, in
<module>
    run()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 21, in
run
    starter.prepare()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
87, in prepare
    self.startZope()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
264, in startZope
    Zope2.startup()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/__init__.py", line 47, in
startup
    _startup()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/App/startup.py", line 116, in
startup
    OFS.Application.initialize(application)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 251, in
initialize
    initializer.initialize()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 279, in
initialize
    self.install_products()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 492, in
install_products
    return install_products(app)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 523, in
install_products
    folder_permissions, raise_exc=debug_mode)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
    initmethod(context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
    zcml.load_site()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
    _context = xmlconfig.file(file)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
    include(context, name, package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
    handleBrokenProduct(product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
    includeZCMLGroup(_context, info, 'configure.zcml')
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
    args = toargs(context, *self.argdata)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
    from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
    from basic import BasicCleaner
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
    from lxml.html import defs
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/
cop_contact/zope/independent_python/plone3/parts/instance/etc/
site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
    ImportError: No module named lxml.html
-Morten
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.
Morten W. Petersen
2011-03-02 07:41:22 UTC
Permalink
Hi Winn,

OK. Well I have used virtualenv, on Python 2.6.6. As you can
see here:


ldd *.so

etree.so:
linux-gate.so.1 => (0xb76fa000)
libxslt.so.1 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxslt/lib/libxslt.so.1
(0xb75b0000)
libexslt.so.0 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxslt/lib/libexslt.so.0
(0xb759e000)
libxml2.so.2 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxml2/lib/libxml2.so.2
(0xb7478000)
libz.so.1 => /lib/libz.so.1 (0xb745d000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7437000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb741e000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb72c4000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb72bf000)
/lib/ld-linux.so.2 (0xb76fb000)
objectify.so:
linux-gate.so.1 => (0xb77b0000)
libxslt.so.1 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxslt/lib/libxslt.so.1
(0xb772f000)
libexslt.so.0 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxslt/lib/libexslt.so.0
(0xb771d000)
libxml2.so.2 =>
/home/cop_contact/zope/virtualenv3/plone3/parts/lxml/libxml2/lib/libxml2.so.2
(0xb75f7000)
libz.so.1 => /lib/libz.so.1 (0xb75dc000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb75b6000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb759d000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7443000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb743e000)
/lib/ld-linux.so.2 (0xb77b1000)

the lxml module built by buildout is linked to. So, this fails with
a traceback. But, the plot thickens..

When I "unpack" the lxml egg and put it in the lib/python2.6
directory for the virtualenv, things work.

So to me it looks like something about the egg is failing
here, and that lxml should be installed into the python library
directory to make things work.

-Morten
Post by winnk
Hi Morten,
Check here: http://svn.plone.org/svn/collective/collective.developermanual/trunk/source/troubleshooting/exceptions.txt
Search for "lxml".
This will give you an idea where to start to trouble shoot this.
Winn
Post by morten-A9enih0ZUwqRtqRaY+***@public.gmane.org
Hi,
I've followed the instructions on how to setup web and mobile on Plone
4.0.3, using buildout.  However, I get a traceback, something about
the system python's xml module.
I've installed a fresh Python 2.6.6 with no extras except
2011-03-01 15:47:34 INFO ZServer HTTP server started at Tue Mar  1
15:47:34 2011
        Hostname: 0.0.0.0
        Port: 17080
/home/cop_contact/zope/independent_python/plone3/eggs/
Products.AdvancedQuery-3.0.1-py2.6.egg/Products/AdvancedQuery/
__init__.py:10: DeprecationWarning: InitializeClass is deprecated.
import from App.class_init instead
  from Globals import InitializeClass
2011-03-01 15:47:35 WARNING ZODB.FileStorage Ignoring index for /home/
cop_contact/zope/independent_python/plone3/var/filestorage/Data.fs
2011-03-01 15:47:35 WARNING ZODB.blob (23436) Blob dir /home/
cop_contact/zope/independent_python/plone3/var/blobstorage/ has
insecure mode setting
/home/cop_contact/zope/independent_python/plone3/eggs/
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
2011-03-01 15:47:37 ERROR Application Couldn't install Five
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
    initmethod(context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
    zcml.load_site()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
    _context = xmlconfig.file(file)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
    include(context, name, package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
    handleBrokenProduct(product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
    includeZCMLGroup(_context, info, 'configure.zcml')
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
    args = toargs(context, *self.argdata)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
    from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
    from basic import BasicCleaner
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
    from lxml.html import defs
ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/parts/instance/etc/site.zcml", line
16.2-16.23
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
    ImportError: No module named lxml.html
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 56, in
<module>
    run()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/run.py", line 21, in
run
    starter.prepare()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
87, in prepare
    self.startZope()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line
264, in startZope
    Zope2.startup()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/__init__.py", line 47, in
startup
    _startup()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Zope2/App/startup.py", line 116, in
startup
    OFS.Application.initialize(application)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 251, in
initialize
    initializer.initialize()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 279, in
initialize
    self.install_products()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 492, in
install_products
    return install_products(app)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 523, in
install_products
    folder_permissions, raise_exc=debug_mode)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/OFS/Application.py", line 671, in
install_product
    initmethod(context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/__init__.py", line
31, in initialize
    zcml.load_site()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in
load_site
    _context = xmlconfig.file(file)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
    include(context, name, package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 74, in loadProducts
    handleBrokenProduct(product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
Zope2-2.12.14-py2.6-linux-i686.egg/Products/Five/fiveconfigure.py",
line 72, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 104, in
includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 54, in
includeDependenciesDirective
    includeZCMLGroup(_context, info, 'configure.zcml')
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
z3c.autoinclude-0.3.2-py2.6.egg/z3c/autoinclude/zcml.py", line 30, in
includeZCMLGroup
    include(_context, filename, includable_package)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
    actions = self.handler(context, **args)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
    processxmlfile(f, context)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
    parser.parse(src)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/home/cop_contact/zope/independent_python/lib/python2.6/xml/
sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
    self.context.end()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
    self.stack.pop().finish()
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
684, in finish
    args = toargs(context, *self.argdata)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
1376, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/fields.py", line
139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
180, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
gomobile.mobile-1.0.0-py2.6.egg/gomobile/mobile/browser/
imageprocessor.py", line 39, in <module>
    from mobile.htmlprocessing.transformers.imageresizer import
ImageResizer
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/imageresizer.py", line 19, in <module>
    from basic import BasicCleaner
  File "/home/cop_contact/zope/independent_python/plone3/eggs/
mobile.htmlprocessing-0.9.1-py2.6.egg/mobile/htmlprocessing/
transformers/basic.py", line 23, in <module>
    from lxml.html import defs
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/
cop_contact/zope/independent_python/plone3/parts/instance/etc/
site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/
configure.zcml", line 94.4-98.10
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/mfabrik.webandmobile-1.0.1-py2.6.egg/
mfabrik/webandmobile/configure.zcml", line 9.2-9.37
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/configure.zcml", line 19.4-19.34
    ZopeXMLConfigurationError: File "/home/cop_contact/zope/
independent_python/plone3/eggs/gomobile.mobile-1.0.0-py2.6.egg/
gomobile/mobile/browser/configure.zcml", line 24.4-29.10
    ImportError: No module named lxml.html
-Morten
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.
Loading...