yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08529
[Bug 1263813] Re: TypeError - not enough args for format string in i18n_cfg.py
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => icehouse-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1263813
Title:
TypeError - not enough args for format string in i18n_cfg.py
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
jpipes@uberbox:~/repos/openstack/neutron$ git log --oneline | head -1
84aeb9a Merge "Imported Translations from Transifex"
Running tox -eALL resulted in:
i18n runtests: commands[0] | python ./tools/check_i18n.py ./neutron ./tools/i18n_cfg.py
Traceback (most recent call last):
File "./tools/check_i18n.py", line 151, in <module>
debug):
File "./tools/check_i18n.py", line 112, in check_i18n
ASTWalker())
File "/usr/lib/python2.7/compiler/visitor.py", line 106, in walk
walker.preorder(tree, visitor)
File "/usr/lib/python2.7/compiler/visitor.py", line 63, in preorder
self.dispatch(tree, *args) # XXX *args make sense?
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 38, in default
compiler.visitor.ASTVisitor.default(self, node, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 40, in default
self.dispatch(child, *args)
File "/usr/lib/python2.7/compiler/visitor.py", line 57, in dispatch
return meth(node, *args)
File "./tools/check_i18n.py", line 62, in visitConst
self.lines[node.lineno - 1][:-1], msg),
TypeError: not enough arguments for format string
ERROR: InvocationError: '/home/jpipes/repos/openstack/neutron/.tox/i18n/bin/python ./tools/check_i18n.py ./neutron ./tools/i18n_cfg.py'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1263813/+subscriptions
References