openerp.tools.translate: Failed to extract terms from [path]/openobject-addons/hr_timesheet_sheet/hr_timesheet_sheet.py
Traceback (most recent call last):
File "[path]/openobject-server/openerp/tools/translate.py", line 878, in babel_extract_terms
keywords=extract_keywords):
ValueError: too many values to unpack
As a result the code translations are not updated.
I noticed some code translations missing in the .po and pot files.
It seems Babel on Pypi moved from 0.9.6 to 1.3 recently (Pypi mentions 2013-07-29).
The update includes this change: /github. com/mitsuhiko/ babel/commit/ a1bcb84f19b92f0 75fc46c113b987f cf9e894879
https:/
The API change causes the following error:
openerp. tools.translate : Failed to extract terms from [path]/ openobject- addons/ hr_timesheet_ sheet/hr_ timesheet_ sheet.py /openobject- server/ openerp/ tools/translate .py", line 878, in babel_extract_terms extract_ keywords) :
Traceback (most recent call last):
File "[path]
keywords=
ValueError: too many values to unpack
As a result the code translations are not updated.