[Zope3-dev] problems running i18nextract.py

Jean-Marc Orliaguet jmo at ita.chalmers.se
Sun Oct 2 07:53:30 EDT 2005


Hi!

does anyone have the same trouble running i18nextract.py on the trunk
since about 4-5 days?

/JM

traceback log:

python2.4 ~/Zope3/utilities/i18nextract.py -d cpsskins -p ./ -o ./locales/
base path: '/home/jmo/Zope3/'
search path: '/home/jmo/Zope3/src/cpsskins'
domain: 'cpsskins'
output file: '/home/jmo/Zope3/src/cpsskins/./locales/cpsskins.pot'
/home/jmo/Zope3/src/cpsskins/elements/interfaces.py:23:
DeprecationWarning: IContentContainer: This interface has been
deprecated. Check the "containerViews" zcml directive. The reference
will be gone in 3.3
  from zope.app.container.interfaces import IOrderedContainer,
IContentContainer
Traceback (most recent call last):
  File "/home/jmo/Zope3/utilities/i18nextract.py", line 142, in ?
    main()
  File "/home/jmo/Zope3/utilities/i18nextract.py", line 138, in main
    maker.add(tal_strings(path, domain, include_default_domain), base_dir)
  File "/home/jmo/Zope3/src/zope/app/locales/extract.py", line 398, in
tal_strings
    catalog[msgid] = map(lambda l: (l[0], l[1][0]), locations)
  File "/home/jmo/Zope3/src/zope/app/locales/extract.py", line 398, in
<lambda>
    catalog[msgid] = map(lambda l: (l[0], l[1][0]), locations)
TypeError: unsubscriptable object
make: *** [i18n] Error 1



More information about the Zope3-dev mailing list