Hallo,
ich schlage mich jetzt seit ein paar Tagen damit herum, dass ich in Zope eigene aber auch schon existierende XDV-themes integrieren möchte. Ich bin aber auch noch nicht so lange dabei.
Ich habe es über zwei Wege ausprobiert. Beide funktionieren nicht.
1. über buildout.cfg
xdvtheme.inventions wurde komplett von mir vom Plone-Server kopiert. Ich habe in der buildout.cfg nur bei extends, eggs und zcml etwas geändert.
[buildout]
extends =
[URL]http://dist.plone.org/release/4.0-latest/versions.cfg[/URL]
lxml.cfg
[URL]http://good-py.appspot.com/release/collective.xdv/1.0?plone=4.0[/URL]
eggs =
Plone
PIL==1.1.6
collective.xdv
src/xdvtheme.inventions.tar.gz
src/xdvtheme.ld.tar.gz
src/xdvtheme.ric.tar.gz
src/xdvtheme.blogld.tar.gz
src/xdvtheme.blogric.tar.gz
zcml =
collective.xdv
src/xdvtheme.inventions.tar.gz
src/xdvtheme.ld.tar.gz
src/xdvtheme.ric.tar.gz
src/xdvtheme.blogld.tar.gz
src/xdvtheme.blogric.tar.gz
debug-mode = off
parts =
instance
zopepy
zopeskel
unifiedinstaller
chown
[versions]
Cheetah = 2.2.1
Paste = 1.7.5.1
PasteScript = 1.7.3
ZopeSkel = 2.18
collective.recipe.backup = 1.7
plone.recipe.command = 1.1
plone.recipe.osxcontroller = 0.4
plone.recipe.unifiedinstaller = 4.0rc1
Alles anzeigen
wenn ich dann buildout nach dem Runterfahren von Zope ausführe kommt folgende Fehlermeldung:
./bin/buildout
While:
Installing.
Getting section instance.
Error: The referenced section, 'instance', was not defined.
Wie und wo kann man denn "instance" definieren oder was bedeutet die Fehlermeldung?
2. über develop.cfg
Ich habe nur bei Sources etwas geändert.
[sources]
xdvtheme.inventions = svn [URL]https://svn.plone.org/svn/collective/xdvtheme.inventions/trunk[/URL]
plonetheme.sunburst = svn [url]https://svn.plone.org/svn/plone/plonetheme.sunburst/trunk[/url]
Die Fehlermeldung ist folgende:
./bin/buildout -c develop.cfg
mr.developer: Queued 'plonetheme.sunburst' for checkout.
mr.developer: Queued 'xdvtheme.inventions' for checkout.
mr.developer: Updated 'plonetheme.sunburst' with subversion.
mr.developer: Updated 'xdvtheme.inventions' with subversion.
Develop: '/home/lebensdorf.net/beta_html/zinstance/src/plonetheme.sunburst'
install_dir /home/lebensdorf.net/beta_html/zinstance/develop-eggs/tmpwdribEbuild
Develop: '/home/lebensdorf.net/beta_html/zinstance/src/xdvtheme.inventions'
/home/lebensdorf.net/beta_html/Python-2.6/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'paster_plugins'
warnings.warn(msg)
install_dir /home/lebensdorf.net/beta_html/zinstance/develop-eggs/tmpWQA9nabuild
Updating _mr.developer.
Installing instance.
While:
Installing instance.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/lebensdorf.net/beta_html/zinstance/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1660, in main
getattr(buildout, command)(args)
File "/home/lebensdorf.net/beta_html/zinstance/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 532, in install
installed_files = self[part]._call(recipe.install)
File "/home/lebensdorf.net/beta_html/zinstance/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1204, in _call
return f()
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/plone.recipe.zope2instance-4.1.5-py2.6.egg/plone/recipe/zope2instance/__init__.py", line 91, in install
self.install_scripts()
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/plone.recipe.zope2instance-4.1.5-py2.6.egg/plone/recipe/zope2instance/__init__.py", line 513, in install_scripts
requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/zc.recipe.egg-1.2.2-py2.6.egg/zc/recipe/egg/egg.py", line 90, in working_set
**kw)
File "/home/lebensdorf.net/beta_html/zinstance/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/easy_install.py", line 800, in install
return installer.install(specs, working_set)
File "/home/lebensdorf.net/beta_html/zinstance/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/easy_install.py", line 636, in install
for spec in specs]
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/distribute-0.6.14-py2.6.egg/pkg_resources.py", line 2547, in parse
reqs = list(parse_requirements(s))
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/distribute-0.6.14-py2.6.egg/pkg_resources.py", line 2472, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/home/lebensdorf.net/beta_html/buildout-cache/eggs/distribute-0.6.14-py2.6.egg/pkg_resources.py", line 2440, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'Plone collective.xdv', 'at', ' collective.xdv')
*************** PICKED VERSIONS ****************
[versions]
collective.recipe.omelette = 0.10
Alles anzeigen
Kann mir jemand helfen? Ich weiß nicht mehr weiter.
Viele Grüße,
Ergy