This question has been flagged
1 Reply
3446 Views

I have installed tr_barcode, tr_barcode config, tr_brcode fields. When i try to  genereate barcode from the menu barcode -> barcode-> "create" it is giving this error. 

aise RenderPMError, "Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2) RenderPMError: Can't setFont(Times-Roman) missing the T1 files? Originally <type 'exceptions.TypeError'>: makeT1Font() argument 2 must be string, not None

Avatar
Discard
Best Answer

Hi,

This error is due to missing fonts in reportlab package.

You can download fonts from : Download and uncompress in /path/to/your/python/site-packages/reportlab/fonts

Uncompress this in /path/to/your/python/site-packages/reportlab/fonts

Restart your OpenERP server and try to create barcode. It might help you . 

Avatar
Discard