openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16780
[Bug 1068687] [NEW] Unable to upload company logo : OpenERP v6.0.4-r1
Public bug reported:
Hey,
I just installed OpenERP v6.0.4-r1 on my gentoo x86_64. Everything is running smoothly, but I am unable to upload my company logo, btw it was not the case in the last version I used (v5).
The client is OpenERP web client v6.0.4.
Python2.6
Database informations :
PostgreSQL 9.1.5
Psycopg 2.4.5
Here is the error on the server side :
[2012-10-19 16:43:53,567][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
[2012-10-19 16:43:55,804][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
[2012-10-19 16:44:11,290][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
On the client side :
[19/Oct/2012:16:43:55] HTTP
Request Headers:
REFERER: http://openerp:8080/
HOST: openerp:8080
CONNECTION: keep-alive
Remote-Addr: 192.168.1.19
ACCEPT: */*
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11
COOKIE: PPA_ID=fs199uetd2kjt7bop2c21sl4k2; webfx-tree-cookie-persistence=wfxt-4+wfxt-6; terp_db=OpenERP; terp_user=admin; session_id=5b16108ca621bfb0356529ed4e04ddb9331bd31e
ACCEPT-LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
ACCEPT-ENCODING: gzip,deflate,sdch
192.168.1.19 - - [19/Oct/2012:16:43:55] "GET /openerp/form/binary_image_get_image?field=logo&model=res.company&id=1&nocache=4187251013 HTTP/1.1" 500 8614 "http://openerp:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11"
[19/Oct/2012:16:44:11] HTTP
Request Headers:
REFERER: http://openerp:8080/
ORIGIN: http://openerp:8080
Remote-Addr: 192.168.1.19
Content-Length: 144775
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11
CONNECTION: keep-alive
COOKIE: PPA_ID=fs199uetd2kjt7bop2c21sl4k2; webfx-tree-cookie-persistence=wfxt-4+wfxt-6; terp_db=OpenERP; terp_user=admin; session_id=5b16108ca621bfb0356529ed4e04ddb9331bd31e
HOST: openerp:8080
CACHE-CONTROL: max-age=0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryQAJ2BHob9ntnrQBM
ACCEPT-ENCODING: gzip,deflate,sdch
In the web browser client side it just said that an error just happened.
>From what I've seen around the web it seems to be a problem about data
encapsulation in a session, but I didn't find any workaround.
Regards,
** 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/1068687
Title:
Unable to upload company logo : OpenERP v6.0.4-r1
Status in OpenERP Addons (modules):
New
Bug description:
Hey,
I just installed OpenERP v6.0.4-r1 on my gentoo x86_64. Everything is running smoothly, but I am unable to upload my company logo, btw it was not the case in the last version I used (v5).
The client is OpenERP web client v6.0.4.
Python2.6
Database informations :
PostgreSQL 9.1.5
Psycopg 2.4.5
Here is the error on the server side :
[2012-10-19 16:43:53,567][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
[2012-10-19 16:43:55,804][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
[2012-10-19 16:44:11,290][OpenERP] DEBUG:web-services:netrpc: communication-level exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 71, in run
ts.mysend(result)
File "/usr/lib64/python2.6/site-packages/openerp-server/tiny_socket.py", line 63, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle buffer objects
On the client side :
[19/Oct/2012:16:43:55] HTTP
Request Headers:
REFERER: http://openerp:8080/
HOST: openerp:8080
CONNECTION: keep-alive
Remote-Addr: 192.168.1.19
ACCEPT: */*
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11
COOKIE: PPA_ID=fs199uetd2kjt7bop2c21sl4k2; webfx-tree-cookie-persistence=wfxt-4+wfxt-6; terp_db=OpenERP; terp_user=admin; session_id=5b16108ca621bfb0356529ed4e04ddb9331bd31e
ACCEPT-LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
ACCEPT-ENCODING: gzip,deflate,sdch
192.168.1.19 - - [19/Oct/2012:16:43:55] "GET /openerp/form/binary_image_get_image?field=logo&model=res.company&id=1&nocache=4187251013 HTTP/1.1" 500 8614 "http://openerp:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11"
[19/Oct/2012:16:44:11] HTTP
Request Headers:
REFERER: http://openerp:8080/
ORIGIN: http://openerp:8080
Remote-Addr: 192.168.1.19
Content-Length: 144775
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.17 Safari/536.11
CONNECTION: keep-alive
COOKIE: PPA_ID=fs199uetd2kjt7bop2c21sl4k2; webfx-tree-cookie-persistence=wfxt-4+wfxt-6; terp_db=OpenERP; terp_user=admin; session_id=5b16108ca621bfb0356529ed4e04ddb9331bd31e
HOST: openerp:8080
CACHE-CONTROL: max-age=0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryQAJ2BHob9ntnrQBM
ACCEPT-ENCODING: gzip,deflate,sdch
In the web browser client side it just said that an error just
happened.
From what I've seen around the web it seems to be a problem about data
encapsulation in a session, but I didn't find any workaround.
Regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1068687/+subscriptions
Follow ups
References