I am using scripts provided under gvm-tools, when I run the gvm-script command for pdf report generation I get an error as "‘NoneType’ object has no attribute ‘encode’ ".
The syntax I followed for scanning is $ gvm-script --gmp-username name --gmp-password pass \ ssh --hostname scripts/scan-new-system.gmp.py <host_ip>
The syntax I followed for pdf report is $ gvm-script --gmp-username name --gmp-password pass \ ssh --hostname scripts/pdf-report.gmp.py <report_id> <pdf_file>
Can someone please help me solving this error.
The screenshot of output is as shown below-