openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08755
Re: [Bug 948770] Re: image in binary field is not displayed in openerp server 6.03 but the image is displayed in openerp server in development PC
Hello Jignesh,
Thank your for checking problem.
I downloaded latest openerp-client-6.0.3.tar.gz from www.openerp.com and selected a employee with picture but photo of the employee is still blank box.
Our configuration is postgres server 9.0.4, ubuntu server 10.04.
I have set log_level = debug_sql and found one difference.
in log of the server DEBUG_RPC_ANSWER result of photo field of employee is raw continuios byte sequences same as sql selection of the field.
in log of local PC(on which the photo is displayed correctly), DEBUG_RPC_ANSWER result of photo field of employee is not continuios byte sequence which is separated by new line after various length of bytes.
Please advice where I need to set configuration for changing view format of binary image field in one of openerp-server, postgres, ubuntu server.
Best regards Badral
> Date: Wed, 7 Mar 2012 10:37:45 +0000
> From: 948770@xxxxxxxxxxxxxxxxxx
> To: badralkh@xxxxxxxxxxx
> Subject: [Bug 948770] Re: image in binary field is not displayed in openerp server 6.03 but the image is displayed in openerp server in development PC
>
> Hello badralkh ,
>
> I have checked this issue at my end with 6.0.3 but
> I did not face any problem like yours , So would you please
> check this again with latest 6.0.3 GTK client.
>
> Thanks and waiting for reply!
>
> ** Changed in: openobject-server
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/948770
>
> Title:
> image in binary field is not displayed in openerp server 6.03 but the
> image is displayed in openerp server in development PC
>
> Status in OpenERP Server:
> Incomplete
>
> Bug description:
> On Openerp-client 6.03 image field is not displayed. When upload a picture on the openerp-server 6.03, binary field value was stored correctly. But when display the image openerp-server or openerp-client does not display the image.
> But restored the database and run the code on local server the image displayed normally.
> I set debug_level to debug_rpc on 2 PC and compared log of the photo field of employee.
> On the 64 bit server :
> [2012-03-07 12:12:46,283][tpp4erpdb] DEBUG_RPC_ANSWER:result: 'photo': 'x2f396a2f34414151536b5a4a5267414241674541554142514141442f3451365352141414141414251414b414138414641415........'
> On the local PC
>
> [2012-03-07 13:53:57,740][tpp4erpdb_20120307] DEBUG_RPC_ANSWER:result:
> 'photo':
> '/9j/4AAQSkZJRgABAgEAUABQAAD/4Q6SRXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUA\nAAABAAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAcAAAAcgEyAAIAAAAUAAAAjod
>
> Image data of binary field is different. On the 64 bit server the data is same as data selecting the field in postgres psql.
> Please kindly help correct this problem.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-server/+bug/948770/+subscriptions
--
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/948770
Title:
image in binary field is not displayed in openerp server 6.03 but the
image is displayed in openerp server in development PC
Status in OpenERP Server:
Incomplete
Bug description:
On Openerp-client 6.03 image field is not displayed. When upload a picture on the openerp-server 6.03, binary field value was stored correctly. But when display the image openerp-server or openerp-client does not display the image.
But restored the database and run the code on local server the image displayed normally.
I set debug_level to debug_rpc on 2 PC and compared log of the photo field of employee.
On the 64 bit server :
[2012-03-07 12:12:46,283][tpp4erpdb] DEBUG_RPC_ANSWER:result: 'photo': 'x2f396a2f34414151536b5a4a5267414241674541554142514141442f3451365352141414141414251414b414138414641415........'
On the local PC
[2012-03-07 13:53:57,740][tpp4erpdb_20120307] DEBUG_RPC_ANSWER:result:
'photo':
'/9j/4AAQSkZJRgABAgEAUABQAAD/4Q6SRXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUA\nAAABAAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAcAAAAcgEyAAIAAAAUAAAAjod
Image data of binary field is different. On the 64 bit server the data is same as data selecting the field in postgres psql.
Please kindly help correct this problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/948770/+subscriptions
References