← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670228] Re: Report generation crashes on web-client (64 Bit OS)

 

Here is a way to reproduce it : just go to administration -> company, upload a logo, save the document.
Then edit the document again, change anything in the header template in the second tab, and save the document. (Here I usually get a write conflict error.)

After that, the logo seems to be there, but I get the same Error('Incorrect padding',) when generating a PDF containing the logo.
If I go again to the company page (admin-> company), the logo is not there anymore, and I have to upload it again.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/670228

Title:
  Report generation crashes on web-client (64 Bit OS)

Status in OpenObject Server:
  Confirmed

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 )





References