← Back to team overview

openerp-india team mailing list archive

[Bug 1086130] Re: bug inserting image on purchase order report rev 4150

 

** Attachment added: "Purchase Order with image .pdf"
   https://bugs.launchpad.net/openobject-server/+bug/1086130/+attachment/3453644/+files/Purchase%20Order%20with%20image%20.pdf

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1086130

Title:
  bug inserting image on purchase order report rev 4150

Status in OpenERP Server:
  Incomplete

Bug description:
  Hi.

  I wanted to add a picture in purchase orders report
  First I encountered the encoding problem normally solved by rev 4150:
  "TypeError: coercing to Unicode: need string or buffer, tuple found"
  With rev 4150, here is what happends:
  File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 933, in __init__
  TypeError: __init__() takes at least 5 non-keyword arguments (1 given)
  2012-12-03 16:27:20,950 10744 ERROR ? openerp.netsvc: __init__() takes at least 5 non-keyword arguments (1 given)
  (<type 'exceptions.TypeError'>, TypeError('__init__() takes at least 5 non-keyword arguments (1 given)',), <traceback object at 0x05062D50>)
  2012-12-03 16:27:20,950 10744 ERROR ? openerp.addons.web.common.http.HttpRequest.dispatch: An error occurred while handling a json request
  Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 260, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\controllers\main.py", line 1784, in index
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 596, in send
  TypeError: coercing to Unicode: need string or buffer, tuple found

  Any idea ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1086130/+subscriptions


References