← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello, I found steps to reproduce:

- use the web client V6 RC 1 (this problem doesn't happen in the GTK client).
- prepare a purchase order
- go to Admin/companies. Edit the form view and add an image as Company logo. Save the image and save the form view. 
- the logo is displayed in the saved form view and all seems fine.
- go to the purchase order, print the purchase order -> and error is displayed :  Warning :     (<class 'binascii.Error'>, Error('Incorrect padding',), <traceback object at 0x6267518>)
- go back to the Admin / Companies : The logo has disappeared !!!
- upload a picture logo again. Save the picture and then save the form view. The following error is displayed  - "Write concurrency warning": This document has been modified while you were editing it. Choose:
                       - "Cancel" to cancel saving.
                       - "Write anyway" to save your current version.
- When clicking either on "Cancel" or on "Write anyway", the error continues and the report cannot be printed;
- When clicking close (top right corner of the error message pop-up), the image is saved and the reports works (see screen shot attached).


So I guess the workaround is to not click the Cancel nor the Write anyway but to just close the error window, and the reports will work. But this is quite anoying and should be fixed !

If more info is need, please let me know.



** Attachment added: "Write concurrency screen shot.jpg"
   https://bugs.launchpad.net/openobject-addons/+bug/670228/+attachment/1727768/+files/Write%20concurrency%20screen%20shot.jpg

-- 
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: Incomplete

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