← Back to team overview

openerp-dev-web team mailing list archive

[Bug 670228] Re: Web-client corrupts binary fields (e.g. company logo)

 

My bug https://bugs.launchpad.net/bugs/699955 was marked as duplicate of this bug.
I still can reproduce it.

1) Steps to reproduce the issue you have observed
 - Create database with demo data. (In english language)
 - Create invoice.
 - Go to 'Administration'->'Companies'->'Companies'
 - Click 'OpenERP S.A.'
 - Click Edit button
 - Click 'Header/Footer' notebook page 
 - Change something in header description
 - Click Save button
 - Go to created invoice and try to print it.

2) The result you observed

Error message: (<class 'binascii.Error'>, Error('Incorrect padding',),
<traceback object at 0x7fa730953cf8>)

Server output and screenshot of error in attachment.

4) The platform your are using

Ubuntu 10.10
python 2.6.6

5) The OpenERP version
trunk sevrver - revno: 3279
trunk web - revno: 4349

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/670228

Title:
  Web-client corrupts binary fields (e.g. company logo)

Status in OpenObject Web Client:
  Fix Released

Bug description:
  When we try to generate an accounting report from the web client. (
  6.0 RC1 )

  For example.

  The General Ledger report from Accounting division
   ( Reporting -> Legal Reports -> Accounting Reports -> General Ledger )

  It crashes with the message - (<class 'binascii.Error'>,
  Error('Incorrect padding',), <traceback object at 0x4b1f200>)

  We are using 64 bit Ubuntu 10.04 LTS. This seems to work fine when
  running on a 32 bit Ubuntu 10.04 LTS.

  After a bit of googling we found that the issue maybe with Python
  libraries (?) that you are using.

  The source code we are using is the same that is published on the
  OpenERP website ( 6.0 RC1 )