Bonjour,
Pour information, je suis sous W10.
En essayant d'imprimer en PDF le compte de résultats ou le bilan, j'obtiens l'erreur suivante :
no library called "cairo-2" was found no library called "cairo" was found no library called "libcairo-2" was found cannot load library 'libcairo.so.2': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2' cannot load library 'libcairo.2.dylib': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib' cannot load library 'libcairo-2.dll': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo-2.dll'
c:\lucterios2\Python\lib\site-packages\django\views\generic\base.py in line 143 in dispatch : return handler(request, *args, **kwargs)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\xferbasic.py in line 303 in get : return self.request_handling(request, *args, **kwargs)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\xferprinting.py in line 227 in request_handling : self.fillresponse(**self._get_params())
c:\lucterios2\Python\lib\site-packages\lucterios\framework\xferprinting.py in line 255 in fillresponse : self.report_content = b64encode(report_generator.generate_report(self.request, self.report_ext))
c:\lucterios2\Python\lib\site-packages\lucterios\framework\printgenerators.py in line 482 in generate_report : content = build_from_xml(report_content, self.watermark)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\reporting_pdf.py in line 579 in build_from_xml : lpdf.execute(xml_content)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\reporting_base.py in line 201 in execute : self._parse_comp(body, self.header_h + self.t_margin)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\reporting_base.py in line 170 in _parse_comp : fct(child, current_x, current_y, current_w, current_h)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\reporting_pdf.py in line 491 in parse_image : img_file = self.open_image(xmlimage)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\reporting_base.py in line 142 in open_image : img_file = open_from_mdi(img_content)
c:\lucterios2\Python\lib\site-packages\lucterios\framework\filetools.py in line 142 in open_from_mdi : from cairosvg import svg2png
c:\lucterios2\Python\lib\site-packages\cairosvg\__init__.py in line 26 in <module> : from . import surface # noqa isort:skip
c:\lucterios2\Python\lib\site-packages\cairosvg\surface.py in line 9 in <module> : import cairocffi as cairo
c:\lucterios2\Python\lib\site-packages\cairocffi\__init__.py in line 60 in <module> : cairo = dlopen(
c:\lucterios2\Python\lib\site-packages\cairocffi\__init__.py in line 57 in dlopen : raise OSError(error_message)
Je reste à disposition pour fournir plus d'informations.