Got the solution for the problem:
----------------------------------------------

"paster create -t plone3_theme" creates in
<myproject>.theme/<myproject>/theme configure.zcml which includes the
following:

<configure
    xmlns="http://namespaces.zope.org/zope";
    xmlns:five="http://namespaces.zope.org/five";
    xmlns:cmf="http://namespaces.zope.org/cmf";
    xmlns:i18n="http://namespaces.zope.org/i18n";
    i18n_domain="test.theme">

  <five:registerPackage package="." initialize=".initialize" />
  <include package=".browser" />
  <include file="skins.zcml" />
  <include file="profiles.zcml" />
  <i18n:registerTranslations directory="locales" />

</configure>


Running first time bin/buildout after creation of the theme comes up with
the following error message:

<snip>
Develop: '/home/fritz/Plone/zinstance/src/test.theme'
Download error: (-2, 'Name or service not known') -- Some packages may not
be found!
warning: no previously-included files matching '*' found under directory
'docs/_build/_sources'
<snip>
---------------------

log-file var/log/instance.log came up with the following:

<snip>
------
2010-05-01T08:18:25 ERROR Application Couldn't install Five
<snip>
  File
"/home/fritz/Plone/buildout-cache/eggs/Products.PlacelessTranslationService-1.5.4-py2.4.egg/Products/PlacelessTranslationService/patches.py",
line 55, in patched_registerTranslations
    for language in os.listdir(path):
ZopeXMLConfigurationError: File
"/home/fritz/Plone/zinstance/parts/instance/etc/site.zcml", line 14.2-14.55
    ZopeXMLConfigurationError: File
"/home/fritz/Plone/zinstance/parts/instance/etc/package-includes/004-test.theme-configure.zcml",
line 1.0-1.54
    ZopeXMLConfigurationError: File
"/home/fritz/Plone/zinstance/src/test.theme/test/theme/configure.zcml", line
12.2-12.51
    OSError: [Errno 2] No such file or directory:
'/home/fritz/Plone/zinstance/src/test.theme/test/theme/locales'
<snip>

Solution:
======

Add to <myproject>.theme/<myproject>/theme the directory locales
rerun bin/buildout and restart plone

All is working fine.


BUT NOW:
To whom should we send this bug within paster ?
Because this seems to be a severe problem.
I had added the product LinguaPlone to my buildout.cfg, but I'm not sure if
it has something to do with this problem.
About Products.PlacelessTranslationService-1.5.4-py2.4.egg I haven't found
any information.
On plone.org/products PlacelessTranslationService ends with 1.4

Hope someone can give additional information.

Regards, Fritz


-- 
View this message in context: 
http://plone.293351.n2.nabble.com/Problems-running-Buildout-to-install-a-theme-created-with-Paster-tp4767981p4989287.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
Setup@lists.plone.org
http://lists.plone.org/mailman/listinfo/setup

Reply via email to