← Back to team overview

openerp-india team mailing list archive

[Bug 936984] Re: product image error

 

*** This bug is a duplicate of bug 899794 ***
    https://bugs.launchpad.net/bugs/899794

** This bug has been marked a duplicate of bug 899794
   [6.1] Setting an image or binary field may sometimes fail with "TypeError: can't escape non-string object"

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

Title:
  product image error

Status in OpenERP Addons (modules):
  New

Bug description:
  When adding a image to a product, I receive the dollowing error:

  Build: OpenERP 6.1-20120219-003220

  Client Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\common\http.py", line 180, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\controllers\main.py", line 928, in save
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\common\http.py", line 611, in send

  
  Server Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\openerp\addons\web\common\http.py", line 592, in send
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\service\web_services.py", line 572, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\osv\osv.py", line 167, in execute_kw
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\osv\osv.py", line 121, in wrapper
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\osv\osv.py", line 176, in execute
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\osv\osv.py", line 164, in execute_cr
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\osv\orm.py", line 3892, in write
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\sql_db.py", line 152, in wrapper
    File "C:\Program Files (x86)\OpenERP 6.1-20120219-003220\server\.\openerp\sql_db.py", line 212, in execute
  TypeError: can't escape non-string object

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


References