credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #04111
[Bug 919982] Re: [trunk] base_contact module error
*** This bug is a duplicate of bug 899794 ***
https://bugs.launchpad.net/bugs/899794
Maybe bug https://bugs.launchpad.net/bugs/899794 has the same roots, but problem which i found is something different.
Maybe problem connected with specific package versions of postgresql, psycopg and some other packages. I use archlinux with latest package versions and maybe this doesnt allow reproduce bug in other more conservative distributions.
But i find next features. Bug is reproducible on all my machines under archlinux with latest packages and not random but constant. after some research i found that bug is in saving image field into database. Hence addons that are affected are base_contact, hr, product. When i drop image - all works in all modules - all new records are saved. But when i choose default or any other image as contact photo employee photo or product image - saving fails.
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/919982
Title:
[trunk] base_contact module error
Status in OpenERP Addons (modules):
Incomplete
Bug description:
openobject-addons trunk base_contact, openerp-web
Error when try to create new contact.
Traceback (most recent call last):
File "/home/prospwro/openerp/server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/prospwro/openerp/server/openerp/osv/osv.py", line 175, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/prospwro/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/prospwro/openerp/server/openerp/osv/orm.py", line 4154, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/home/prospwro/openerp/server/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/home/prospwro/openerp/server/openerp/sql_db.py", line 214, in execute
res = self._obj.execute(query, params)
TypeError: can't escape unicode to binary
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/919982/+subscriptions
References