-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to perform an operation not allowed by the security policy `PDF' #384
Comments
Yeah I don't think it is possible to work around the policy restrictions. I can try to ping the sysadmins... |
I actually thought they had just removed the policy: rstudio/shinyapps-package-dependencies#323 |
They definitely removed the policy a while back, but it has reappeared. |
Thanks, jeroen! I think what happened is that they wrote a script to remove policy.xml for Focal that has was included (and updated) to work with Jammy. |
The Posit folks fixed this so new apps launched there do not continue to have this problem. |
The error happens when trying to write to a pdf with image_write() on shinyapps.io. I think the Posit needs to change the policy.xml file on their newly updated Ubuntu servers (see https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion).
Do you have ideas to fix this issue without needing to wait for Posit to make a change?
Here's an example app that reproduces the error:
Related: rstudio/shinyapps-package-dependencies#289 (comment)
The text was updated successfully, but these errors were encountered: