[7.0] translation synchronization may fail with some webkit reports

Bug #1253659 reported by Yannick Vaucher @ Camptocamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Account - Closing
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Account - Financial Report
Status tracked in 7.0
7.0
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Account - Financial Tools
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Account - Invoicing Reports
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Banking Addons
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
HR - Timesheet Management
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
OpenERP Swiss Localization
Status tracked in 7.0
7.0
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Project Management - Invoicing and Reporting
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Purchase - Reports
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Sales - Reports
Fix Released
Undecided
Yannick Vaucher @ Camptocamp
Stock And Logistic Flows
New
Undecided
Unassigned
Stock and Logistic - Reports
Fix Released
Undecided
Yannick Vaucher @ Camptocamp

Bug Description

When synchronizion is launch an error will occure with some of webkit reports

This is due to special chars like °

2013-11-21 14:26:27,614 27197 ERROR openerp_db openerp.tools.translate: Failed to extract terms from .../parts/sale-reports/sale_order_webkit/report/sale_order.mako
Traceback (most recent call last):
  File ".../parts/server/openerp/tools/translate.py", line 878, in babel_extract_terms
    keywords=extract_keywords):
  File ".../eggs/Babel-0.9.6-py2.7.egg/babel/messages/extract.py", line 275, in extract
    for lineno, funcname, messages, comments in results:
  File ".../eggs/Mako-0.6.2-py2.7.egg/mako/ext/babelplugin.py", line 29, in extract
    input_encoding=encoding).parse()
  File ".../eggs/Mako-0.6.2-py2.7.egg/mako/lexer.py", line 193, in parse
    self.filename,)
  File ".../eggs/Mako-0.6.2-py2.7.egg/mako/lexer.py", line 185, in decode_raw_stream
    0, 0, filename)
CompileException: Unicode decode operation of encoding 'ascii' failed at line: 0 char: 0

Related branches

Changed in account-invoice-report:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
Changed in sale-reports:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
Changed in purchase-report:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
Changed in account-invoice-report:
status: New → Fix Committed
Changed in purchase-report:
status: New → Fix Committed
Changed in sale-reports:
status: New → Fix Committed
Changed in stock-logistic-report:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
Changed in account-financial-tools:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
Changed in account-closing:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
Changed in banking-addons:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
status: Fix Committed → New
status: New → Fix Committed
Changed in hr-timesheet:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
Changed in project-reporting:
assignee: nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c)
status: New → Fix Committed
Changed in purchase-report:
status: Fix Committed → Fix Released
Changed in account-invoice-report:
status: Fix Committed → Fix Released
Changed in sale-reports:
status: Fix Committed → Fix Released
Changed in stock-logistic-report:
status: Fix Committed → Fix Released
Changed in account-financial-tools:
status: Fix Committed → Fix Released
Changed in banking-addons:
status: Fix Committed → Fix Released
Changed in hr-timesheet:
status: Fix Committed → Fix Released
Changed in account-closing:
status: Fix Committed → Fix Released
Changed in project-reporting:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.