base_report_designer module crashes on modify existing report in openoffice

Bug #691628 reported by Alexis Mai
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

Bug Description

After installation of base_report_designer module on OpenERP 6, and installation of report_designer extension on OpenOffice 3.2, when I try to modify an existing report on OpenOffice, nothing happens in openoffice and the server sends this message :

" ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/almai/openerp/6.0/addons/base_report_designer/base_report_designer.py", line 64, in report_get
    'report_sxw_content': report.report_sxw_content and base64.encodestring(report.report_sxw_content) or False,
  File "/usr/lib/python2.6/base64.py", line 315, in encodestring
    pieces.append(binascii.b2a_base64(chunk))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xce' in position 10: ordinal not in range(128)"

Changed in openobject-server:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
affects: openobject-server → openobject-addons
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Bhumika Shrimali (sbh-openerp) wrote :

Hello

The fix has been committed to lp:~openerp-dev/openobject-addons/trunk-dev-addons1.

Soon it will be merged into main addons.

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Released
Changed in openobject-addons:
milestone: none → 6.0
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.