dfd-tud / deda

https://dfd.inf.tu-dresden.de
GNU General Public License v3.0
1.57k stars 92 forks source link

wand.exceptions.PolicyError #20

Open timojuez opened 4 years ago

timojuez commented 4 years ago

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 commented 11 months ago

Have you found the solution?

timojuez commented 11 months ago

No, only the mentioned workaround.

p1r473 commented 5 months ago

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