Useless dependency on rsvg-convert
Bug #1182904 reported by
Houssine
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
lp:~camptocamp/stock-logistic-barcode/7.0-fix_1182904-houssinebakali+afe
- Pedro Manuel Baeza: Approve (code review)
- Houssine (community): Approve (lgtm/no test)
-
Diff: 85 lines (+23/-14)1 file modifiedtr_barcode/tr_barcode.py (+23/-14)
Changed in stock-logistic-barcode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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? TypeError' >: makeT1Font() argument 2 must be string, not None
Originally <type 'exceptions.
please help me