← Back to team overview

openerp-india team mailing list archive

[Bug 934312] [NEW] cant inser an product with image

 

Public bug reported:

while inserting a product with image  i got an error:
Client Traceback (most recent call last):
  File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\http.py", line 180, in dispatch
  File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\controllers\main.py", line 928, in save
  File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
  File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
  File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\http.py", line 611, in send


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

if image is not attached  , the product goes fine.
it was occurred after the upgrade  20120113-020001->20120215-020001

thanks!

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/934312

Title:
  cant inser an product with image

Status in OpenERP Addons (modules):
  New

Bug description:
  while inserting a product with image  i got an error:
  Client Traceback (most recent call last):
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\http.py", line 180, in dispatch
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\controllers\main.py", line 928, in save
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120215-020001\server\openerp\addons\web\common\http.py", line 611, in send

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

  if image is not attached  , the product goes fine.
  it was occurred after the upgrade  20120113-020001->20120215-020001

  thanks!

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


Follow ups

References