Error Message:
ERROR_POLICY: attempt to perform an operation not allowed by the security policy 'PDF' @ error/constitute.c/IsCoderAuthorized/421
Solution:
Modifysudo nano /etc/ImageMagick-6/policy.xml
.....
<!-- not needed due to the need to use explicitly by mvg: -->
<!-- <policy domain="delegate" rights="none" pattern="MVG" /> -->
<!-- use curl -->
<policy domain="delegate" rights="none" pattern="URL" />
<policy domain="delegate" rights="none" pattern="HTTPS" />
<policy domain="delegate" rights="none" pattern="HTTP" />
<!-- in order to avoid to get image with password text -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- disable ghostscript format types -->
<!--<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />-->
<policy domain="coder" rights="read|write" pattern="PDF" />
</policymap>
Comment coder, add the last line
Read More:
- [Solved] Android Networking error: CLEARTEXT communication to www.xxxxx.xyz not permitted by network security policy
- [Solved] ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- [Solved] Rabbitmq Server Error: unable to perform an operation on node ‘rabbit@nscczzms‘. P
- [Solved] Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa
- [Solved] Redisson distributed lock error: attempt to unlock lock, not locked by current thread by node id
- bazel Compile Error: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14 are not supported.”
- [Solved] juniper/Junos-OS ssamlib error when create policy
- [Solved] error: invalid operands of types ‘const char [6]‘ and ‘const char [6]‘ to binary ‘operator+‘
- [Solved] HTTP Error 405.0-Method Not Allowed occurs in the Put operation of the REST service on IIS7.5
- [GO]Solve request origin not allowed by Upgrader.CheckOrigin websocket cross-domain
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- [Solved] C++ Error: terminate called after throwing an instance of ‘char const‘
- [Solved] RuntimeError: An attempt has been made to start a new process before the current process…
- There was an unexpected error (type=Method Not Allowed, status=405). Request
- [Solved] react Error: Can‘t perform a React state update on an unmounted component
- [Exception] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
- apache 2.2 configuration error: couldn’t perform authentication. AuthType not set!: /
- Overleaf PDF Rendering Error Something went wrong while rendering this PDF [How to Solve]
- [Solved] Unity Error: “Not allowed to access vertices on mesh”
- [Solved] Android Error: java.lang.IllegalStateException: Not allowed to start service Intent