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


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'
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,
Traceback (most recent call last):
  File "/home/jmo/Zope3/utilities/i18nextract.py", line 142, in ?
  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
    catalog[msgid] = map(lambda l: (l[0], l[1][0]), locations)
  File "/home/jmo/Zope3/src/zope/app/locales/extract.py", line 398, in
    catalog[msgid] = map(lambda l: (l[0], l[1][0]), locations)
TypeError: unsubscriptable object
make: *** [i18n] Error 1

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to