Some changes recently have caused our sync script to fail:
=======================================
[mmcgrath@puppet1 talk.fedoraproject.org]$ make
msgfmt -o po/de.mo po/de.po
cp po/talk.fedoraproject.pot po/en.po
msgfmt -o po/en.mo po/en.po
python build/translations.py po/LINGUAS > data/templates/translations.html
python build/build.py -o out -i data/content -l de -p po -s static -b /
Traceback (most recent call last):
File "build/build.py", line 114, in ?
main()
File "build/build.py", line 111, in main
process(args)
File "build/build.py", line 34, in process
process_dir(dirpath, filenames)
File "build/build.py", line 63, in process_dir
curpage=curpage,
File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 179, in
render
return encode(generator, method=method, encoding=encoding, out=out)
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 60, in
encode
return _encode(u''.join(list(iterator)))
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 425, in
__call__
for kind, data, pos in stream:
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 753, in
__call__
for kind, data, pos in stream:
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 592, in
__call__
for kind, data, pos in stream:
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 698, in
__call__
for kind, data, pos in chain(stream, [(None, None, None)]):
File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 532, in
__call__
for ev in stream:
File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 283, in
_ensure
for event in stream:
File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line
569, in _include
for event in stream:
File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py",
line 299, in _match
ctxt, match_templates[idx + 1:], **vars):
File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py",
line 246, in _match
for event in stream:
File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line
543, in _exec
for event in stream:
File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line
509, in _eval
ctxt,
File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line
520, in _eval
result = _eval_expr(data, ctxt, **vars)
File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line
286, in _eval_expr
retval = expr.evaluate(ctxt)
File "/usr/lib64/python2.4/site-packages/genshi/template/eval.py", line
180, in evaluate
return eval(self.code, _globals, {'__data__': data})
File "./data/templates/js.html", line 6, in <Expression u'relpath'>
<script type="text/javascript"
src="${relpath}/static/js/banner.js"></script>
File "/usr/lib64/python2.4/site-packages/genshi/template/eval.py", line
306, in lookup_name
val = cls.undefined(name)
File "/usr/lib64/python2.4/site-packages/genshi/template/eval.py", line
405, in undefined
raise UndefinedError(key, owner=owner)
genshi.template.eval.UndefinedError: "relpath" not defined
make: *** [de] Error 1
=======================================
Can someone please take a look at what happened?
-Mike