Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NotImplementedError("Use of template is not supported in XSLX-output.") even though --template is not provided #2
I am encountering the following problem.
Replacing the following line with print("1") or sleep 1 is my current workaround ^^
This check should clearly not result in 'True' because neither '-t' or '--template' are passed to openvasreporting.
I have installed openvasreporting via pip:
My current version is 1.4.3:
Am I doing something wrong, because looking at the code 'template' is set to 'None' per default everywhere?
What's weird is that I'm not getting this error.
Are you running on Windows or on Linux?
I could follow the suggestion in #3 and remove the check resulting in this error. However, I'd like to keep it for the sake of informing a user that might incorrectly assume that a template features is available in each of the export formats.
Thanks you for verifying this odd behaviour.
Sadly enough, I haven't had the time to dig deeper into this.
The code sets default to Null and check for the param not being Null, so it doesn't make sense that this is triggering.
Can you test with the last commit?
Testing on a recent Ubuntu install:
Ok for testing purposes I am using a Docker container with the official Python image (latest).
I am getting the following error on all systems (local, kubernetes docker with debian 10, python official image):
On the template error: