NC3-LU / Fit4Cybersecurity

A self-assessment tool by @NC3-LU to help business owners implement a better cybersecurity strategy.
https://fit4cybersecurity.nc3.lu
GNU Affero General Public License v3.0
20 stars 10 forks source link

Error in report generation #116

Open alexisprunier opened 9 months ago

alexisprunier commented 9 months ago

Hey,

Crossed an error while trying to generate the report in the "survey/finish" page with the "Download" button.

Context:

2023-12-05 12:49:33 [ERROR ] (views.show_report) function/symbol 'pango_context_set_round_glyph_positions' not found in library 'libpango-1.0.so.0': /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: pango_context_set_round_glyph_positions

Downgrading this package as such: weasyprint = "^52.5" solves the issue. Don't know if it is the best way to do though.

Cheers

ruslanbaidan commented 9 months ago

This is the only way for os and win as we see on ubuntu it works with any version, perhaps we need to limit the version.