Trouble Shooting Issues๏
PDF Rendering gives 500 error๏
Important
Weasy print will sometimes express errors - this is due to library issues with Weasy print and can occur after an update. The best solution is to update Weasy print
The best solution at the moment is to update weasy print when you update your OS
Open up a terminal, and use Secure Shell (SSH) to log into your environment
Change directory to the location of the virtual environmentโs root folder is stored
cd /<<virtual_env_root>>Note
you do not have to change directory into the virtual environment folder
Activate your virtual environment
source ./<<virtual_env_folder>>/bin/activateNote
If you have changed directory into the virtual environment folder in the previous set, just modify the instructions to reflect that
Update pip, then weasy print
pip install -U pip pip install -U weasyprint
If the issues still persist, please consider updating your system and the pip packages
sudo apt-get update && sudo apt-get upgrade -y
pip install -U -r <<path_to_requirements.txt>>