[Zope-CMF] Bug in i18n-cmfdefaultextract?
Charlie Clark
charlie.clark at clark-consulting.eu
Tue Oct 12 14:42:09 EDT 2010
Hi,
having probably recently added a few entries to the catalogue I thought I
try the i18n tools. But i18n-cmfdefaultextract fails with the following
traceback.
fuchsia:CMF charlieclark$ bin/i18n-cmfdefaultextract
Traceback (most recent call last):
File "bin/i18n-cmfdefaultextract", line 103, in <module>
z3c.recipe.i18n.i18nextract.main(['i18n-cmfdefaultextract', '-d',
'cmf_default', '-s',
'/Users/charlieclark/Sites/CMF/parts/i18n-cmfdefault/configure.zcml',
'-o',
'/Users/charlieclark/Sites/CMF/src/Products.CMFDefault/Products/CMFDefault/locales',
'-m', 'Products.CMFDefault.locales.tal_strings_html', '-m',
'Products.CMFDefault.locales.tal_strings_xml', '-m',
'Products.CMFDefault.locales.manual_pot', '-p', 'Products.CMFCore', '-p',
'Products.CMFDefault', '-p', 'Products.CMFTopic', '-p',
'Products.DCWorkflow', '-t',
'/Users/charlieclark/Sites/CMF/src/Products.CMFDefault/Products/CMFDefault/locales/pot_header.txt'])
File
"/Users/charlieclark/Sites/CMF/eggs/z3c.recipe.i18n-0.7.0-py2.6.egg/z3c/recipe/i18n/i18nextract.py",
line 190, in main
package = resolve(arg)
File
"/Users/charlieclark/Sites/CMF/eggs/zope.configuration-3.7.2-py2.6.egg/zope/configuration/name.py",
line 47, in resolve
return __import__(name, _globals, _globals, _silly)
File
"/Users/charlieclark/Sites/CMF/src/Products.CMFCore/Products/CMFCore/__init__.py",
line 20, in <module>
import ActionsTool, UndoTool, RegistrationTool, SkinsTool
File
"/Users/charlieclark/Sites/CMF/src/Products.CMFCore/Products/CMFCore/SkinsTool.py",
line 31, in <module>
from Products.PythonScripts.PythonScript import PythonScript
ImportError: No module named PythonScripts.PythonScript
This is, of course, humbug:
fuchsia:CMF charlieclark$ bin/zopepy
>>> from Products.PythonScripts.PythonScript import PythonScript
>>>
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
More information about the Zope-CMF
mailing list