Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4651 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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 . 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
276
2
thg 9 25
481
0
thg 2 25
1613
0
thg 1 25
46
0
thg 12 24
1384