Univention Bugzilla – Bug 54138
udm/reports/create (computers/computer): KeyError: 'Verdana'
Last modified: 2021-11-24 15:16:39 CET
Version: 4.4-8 errata987 (Blumenthal) Error: Interner Server-Fehler in "udm/reports/create (computers/computer)". Request: udm/reports/create (computers/computer) File "%PY2.7%/notifier/threads.py", line 80, in _run result = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function(*tmp, **self._kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 97, in _decorated return method(*args, **kwargs) File "%PY2.7%/univention/management/console/ldap.py", line 152, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 661, in _thread report_file = report.create(request.flavor, request.options['report'], request.options['objects']) File "%PY2.7%/univention/directory/reports/report.py", line 73, in create pdffile = func(tmpfile) File "%PY2.7%/univention/directory/reports/document.py", line 163, in create_rml_pdf outputfile = trml2pdf.parseString(fd.read(), output) File "%PY2.7%/trml2pdf/trml2pdf.py", line 539, in parseString r.render(fp) File "%PY2.7%/trml2pdf/trml2pdf.py", line 172, in render pt_obj.render(self.dom.documentElement.getElementsByTagName('story')[0]) File "%PY2.7%/trml2pdf/trml2pdf.py", line 533, in render self.doc_tmpl.build(fis) File "%PY2.7%/reportlab/platypus/doctemplate.py", line 956, in build self.handle_flowable(flowables) File "%PY2.7%/reportlab/platypus/doctemplate.py", line 821, in handle_flowable if frame.add(f, canv, trySplit=self.allowSplitting): File "%PY2.7%/reportlab/platypus/frames.py", line 167, in _add w, h = flowable.wrap(aW, h) File "%PY2.7%/reportlab/platypus/tables.py", line 1182, in wrap self._calc(availWidth, availHeight) File "%PY2.7%/reportlab/platypus/tables.py", line 618, in _calc W = self._calcPreliminaryWidths(availWidth) #widths File "%PY2.7%/reportlab/platypus/tables.py", line 732, in _calcPreliminaryWidths new = elementWidth(value,style) File "%PY2.7%/reportlab/platypus/tables.py", line 516, in _elementWidth return max([stringWidth(x,fontName,fontSize) for x in v]) File "%PY2.7%/reportlab/pdfbase/pdfmetrics.py", line 720, in stringWidth return getFont(fontName).stringWidth(text, fontSize, encoding=encoding) File "%PY2.7%/reportlab/pdfbase/pdfmetrics.py", line 686, in getFont return findFontAndRegister(fontName) File "%PY2.7%/reportlab/pdfbase/pdfmetrics.py", line 668, in findFontAndRegister face = getTypeFace(fontName) File "%PY2.7%/reportlab/pdfbase/pdfmetrics.py", line 625, in getTypeFace return _typefaces[faceName] KeyError: 'Verdana' Role: domaincontroller_master