Odoo Help


When I try to install qrcode module from a reference site I got this errror makeT1Font() argument 2 must be string, not None [Closed]

on 9/4/14, 2:23 AM 896 views

The Question has been closed for reason: contains offensive or malicious remarks

on 09/11/2014 23:34:41

This is the error when I try to install this module--------need a help....


ient Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/server/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/opt/openerp/server/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/server/openerp/addons/tr_barcode/tr_barcode.py", line 53, in generate_image hr=self_obj.hr_form) File "/opt/openerp/server/openerp/addons/tr_barcode/tr_barcode.py", line 42, in get_image return base64.encodestring(ret_val.asString('jpg')) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/shapes.py", line 780, in asString rl_config.showBoundary),**_extraKW(self,'_renderPM_',**kw)) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 656, in drawToString drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 651, in drawToFile c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 637, in drawToPMCanvas draw(d, c, 0, 0, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 50, in draw R.draw(renderScaledDrawing(drawing), canvas, x, y, showBoundary=showBoundary) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderbase.py", line 198, in draw self.initState(x,y) #this is the push() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 93, in initState self.applyState() File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 87, in applyState self._canvas.setFont(s['fontName'], s['fontSize']) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 368, in setFont _setFont(self._gs,fontName,fontSize) File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 221, in _setFont raise 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

How did you solve this error?

Abhishek H Menon
on 11/25/14, 7:38 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 9/4/14, 2:23 AM
Seen: 896 times
Last updated: 3/16/15, 8:10 AM