← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Regarding the line:
ERROR:web-services:[10]: logo = base64.decodestring(rml_parser.logo)

I've pdb just before it and found that
rml_parser.logo  is equal to : '/openerp/image/get_image?field=logo&model=res.company&id=1'
instead of being a base64 encoded string corresponding to the logo.

-- 
Report generation crashes on web-client (64 Bit OS)
https://bugs.launchpad.net/bugs/670228
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: 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