[Setup] plone 3 ZopeXMLConfigurationError install new plone3 based
theme
sveri
sssssrichter at gmx.de
Sat Feb 21 09:53:43 UTC 2009
Hi,
i am very new to plone and still trying out a lot of things.
After messing around a bit with plone and zope i wanted to make my
own theme.
I found that page:
http://plone.org/documentation/how-to/how-to-create-a-plone-3-theme-product-on-the-filesystem
which lead me to create a new plone3_theme with joels webpaster.
Afterwards i followed the instructions on this page:
http://plone.org/documentation/how-to/how-to-install-a-3-x-theme-using-buildout
and the buildout after changing the buildout.cfg runs fine, but
when i try to start the server with
/bin/instance fg
i get the following Errors:
./bin/instance fg
/home/sveri/Plone/projects/youriq/parts/instance/bin/runzope -X
debug-mode=on
2009-02-21 10:36:39 INFO ZServer HTTP server started at Sat Feb 21 10:36:39
2009
Hostname: 0.0.0.0
Port: 8080
2009-02-21 10:36:41 INFO Marshall libxml2-python not available. Unable to
register libxml2 based marshallers.
2009-02-21 10:36:45 ERROR Application Couldn't install Five
Traceback (most recent call last):
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 786, in install_product
initmethod(context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Products/Five/__init__.py",
line 28, in initialize
zcml.load_site()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Products/Five/zcml.py",
line 53, in load_site
_context = xmlconfig.file(file)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 579, in file
include(context, name, package)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 691, in finish
args = toargs(context, *self.argdata)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 1383, in toargs
args[str(name)] = field.fromUnicode(s)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/fields.py",
line 141, in fromUnicode
raise schema.ValidationError(v)
ZopeXMLConfigurationError: File
"/home/sveri/Plone/projects/youriq/parts/instance/etc/site.zcml", line
14.2-14.55
ZopeXMLConfigurationError: File
"/home/sveri/Plone/projects/youriq/parts/instance/etc/package-includes/002-plonetheme.youriq-configure.zcml",
line 1.0-1.61
ConfigurationError: ('Invalid value for', 'package', 'ImportError:
Module plonetheme has no global youriq')
Traceback (most recent call last):
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/Startup/run.py",
line 56, in ?
run()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/Startup/run.py",
line 21, in run
starter.prepare()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/Startup/__init__.py",
line 102, in prepare
self.startZope()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/Startup/__init__.py",
line 278, in startZope
Zope2.startup()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/__init__.py",
line 47, in startup
_startup()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/App/startup.py",
line 102, in startup
OFS.Application.initialize(application)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 309, in initialize
initializer.initialize()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 338, in initialize
self.install_products()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 603, in install_products
return install_products(app)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 634, in install_products
folder_permissions, raise_exc=debug_mode)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/OFS/Application.py",
line 786, in install_product
initmethod(context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Products/Five/__init__.py",
line 28, in initialize
zcml.load_site()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/Products/Five/zcml.py",
line 53, in load_site
_context = xmlconfig.file(file)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 579, in file
include(context, name, package)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 692, in finish
actions = self.handler(context, **args)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 515, in include
processxmlfile(f, context)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 370, in processxmlfile
parser.parse(src)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/sveri/Plone/Python-2.4/lib/python2.4/xml/sax/expatreader.py",
line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/xmlconfig.py",
line 349, in endElementNS
self.context.end()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 544, in end
self.stack.pop().finish()
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 691, in finish
args = toargs(context, *self.argdata)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/config.py",
line 1383, in toargs
args[str(name)] = field.fromUnicode(s)
File
"/home/sveri/Plone/Zope-2.10.7-final-py2.4/lib/python/zope/configuration/fields.py",
line 141, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/sveri/Plone/projects/youriq/parts/instance/etc/site.zcml", line
14.2-14.55
ZopeXMLConfigurationError: File
"/home/sveri/Plone/projects/youriq/parts/instance/etc/package-includes/002-plonetheme.youriq-configure.zcml",
line 1.0-1.61
ConfigurationError: ('Invalid value for', 'package', 'ImportError:
Module plonetheme has no global youriq')
The theme is named plonetheme.youriq.
I tried a lot of things out, started two times from scratch with
the unified installer, installed the theme a thousand times, but no
luck. I also tried the paster from my local machine, with the same result.
I tried to create a plone based theme, same result.
But, i managed to get the notredame 1.0.3 theme installed and running
without problems.
I am using the actual plone release 3.2.1 and the python that
came with the unified installer. My buildout was done with them too.
Thanks in Advance
Sven
--
View this message in context: http://n2.nabble.com/plone-3-ZopeXMLConfigurationError-install-new-plone3-based-theme-tp2363196p2363196.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list