[trunc] crash Print Invoice (incorrect padding)

Bug #699955 reported by Chertykov Denis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Medium
OpenERP's Framework R&D

Bug Description

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
 - 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: 3226
trunk addons - revno: 4197

Revision history for this message
Chertykov Denis (chertykov) wrote :
affects: openobject-addons → openobject-server
Changed in openobject-server:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello Denis,

This is in fact due to the web client bug 670228, that corrupts the binary data of all images when you save a form that contains an image. It should be solved soon.

In the mean time, you could use the same workaround as for bug 670228 to fix the situation: edit the company with GTK client and restore the correct logo. Also avoid saving forms that contain images with the web client, until the bugfix is released.

Sorry for the inconvenience... I will raise the importance of bug 670228 to reflect the numerous possible impacts of this bug, and mark the current bug as a duplicate.

Thank you for your bug report!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.