Skip to content
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

wand.exceptions.PolicyError #20

Open
timojuez opened this issue Dec 5, 2019 · 3 comments
Open

wand.exceptions.PolicyError #20

timojuez opened this issue Dec 5, 2019 · 3 comments

Comments

@timojuez
Copy link
Collaborator

timojuez commented Dec 5, 2019

There appears the error on wand operations:
wand.exceptions.PolicyError: attempt to perform an operation not allowed by the security policy PDF' @ error/constitute.c/IsCoderAuthorized/408

Not sure what we can do, this is a wand issue. Workaround: Add this <policy domain="coder" rights="read | write" pattern="PDF" /> just before </policymap> in /etc/ImageMagick-*/policy.xml.

See https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion

@Mansi9991
Copy link

Have you found the solution?

@timojuez
Copy link
Collaborator Author

timojuez commented Nov 1, 2023

No, only the mentioned workaround.

@p1r473
Copy link
Contributor

p1r473 commented Apr 5, 2024

Getting this too, the workaround works for me to avoid this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants