Can't print report in openerp-web client

Bug #427170 reported by rogerger
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openerp-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: openerp-server

I am using python 2.5, openerp 5.0.3 (from official site). I am having the problem generating the report of Sales Order and Quotation in opernerp-web client. However the openerp-gtk client works okay. (openerp-web is the one causing the problem)

This is the error message that I get:

  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 350, in execute
    return self.gateway.execute(obj, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 154, in execute
    return self.__execute(obj, method, args)
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/rpc.py", line 143, in __execute
    raise common.error(_('Application Error!'), str(e))
  File "/usr/lib/python2.5/site-packages/openerp_web-5.0.3-py2.5.egg/openerp/common.py", line 72, in error
    raise TinyError(message=msg, title=title or _("Error"))
TinyError: 'utf8' codec can't decode byte 0xbc in position 10: unexpected code byte

The exception is generated when calling:

class XMLRPCGateway(RPCGateway) in rpc.py

return getattr(sock, method)(*args)

I suspect the return xml by xmlrpclib is corrupted.

Is there anyway that I can modify openerp-server to return xml in binary representation? (Since it is a pdf report)

Thanks.

rogerger (rogerger-py)
description: updated
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.