Hi,
I am currently experimenting with the AJAX capabilities of Prince. Every time I call xhr.open this appears in the console "prince: error: TypeError: invalid this value"
Sample Code:
xhReq.open("GET", "http://www.princexml.com", false);
xhReq.send();
No matter what URL I use the result is always the same.
I am also using a NodeJS Prince wrapper (https://www.npmjs.com/package/prince) which fails because of the TypeError.
When I run from the command line the PDF still gets generated despite the error, but when using the NodeJS wrapper it is considered an error condition and halts execution. Are there settings that will make this error go away? Am I calling open with the wrong parameters? Is this error really just a warning and not a real error?
I am using Prince 10 rev 6 on mac-osx and on the Amazon Web Services version of Linux through AWS Lambda (https://aws.amazon.com/lambda)
Thanks
I am currently experimenting with the AJAX capabilities of Prince. Every time I call xhr.open this appears in the console "prince: error: TypeError: invalid this value"
Sample Code:
xhReq.open("GET", "http://www.princexml.com", false);
xhReq.send();
No matter what URL I use the result is always the same.
I am also using a NodeJS Prince wrapper (https://www.npmjs.com/package/prince) which fails because of the TypeError.
When I run from the command line the PDF still gets generated despite the error, but when using the NodeJS wrapper it is considered an error condition and halts execution. Are there settings that will make this error go away? Am I calling open with the wrong parameters? Is this error really just a warning and not a real error?
I am using Prince 10 rev 6 on mac-osx and on the Amazon Web Services version of Linux through AWS Lambda (https://aws.amazon.com/lambda)
Thanks