Fit4Cybersecurity
Fit4Cybersecurity copied to clipboard
Error in report generation
Hey,
Crossed an error while trying to generate the report in the "survey/finish" page with the "Download" button.
Context:
- Windows 11
- Dockerized db and app from docker-compose.yml conf
- Branch: fstp_registration
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
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.