Useless dependency on rsvg-convert

Bug #1182904 reported by Houssine
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Stock And Logistic Bar Code
Fix Released
Medium
Alexandre Fayolle - camptocamp

Bug Description

Hi,

The tr_barecode make a useless dependency on the rsvg-convert to generate the barecode and then to convert it to a .png image type while the png could directly be generated.

Furthermore the rsvg-convert library is not available on windows environment. Which make tthe addons quiet a nightmare to install.

Modifying three lines of code avoids this depency, the convertion effort and executing a shell command.

Find a patch attached to this bug report

Regards,
Houssine

Related branches

Revision history for this message
Houssine (houssine-bakkali) wrote :
description: updated
description: updated
description: updated
Revision history for this message
maroua Belkneni (maroua-belkneni) wrote :

hello
i have the same probleme that you and I have to correct the function get_image but i have an erreur :

RenderPMError: Can't setFont(Times-Roman) missing the T1 files?
Originally <type 'exceptions.TypeError'>: makeT1Font() argument 2 must be string, not None

please help me

Revision history for this message
Houssine (houssine-bakkali) wrote :

Hi Marouan,

you should ask your question on the forum not on a bug report

http://help.openerp.com/questions/

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Thanks for the patch Houssine. I've created a merge proposal based on it.

Changed in stock-logistic-barcode:
assignee: nobody → Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Houssine (houssine-bakkali) wrote :

you're welcome Alexandre.

your fix is even better that the original patch ;)

Changed in stock-logistic-barcode:
status: Fix Committed → Fix Released
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.