Edge on Ubuntu 18.04: convert-im6.q16: not authorized `.../QC_qc_report.pdf'

34 views
Skip to first unread message

gmoore777

unread,
Nov 16, 2018, 3:15:13 PM11/16/18
to edge-users
To myself:

---------

Problem:

In error.log, I saw many of these errors:

    convert-im6.q16: not authorized `.../QC_qc_report.pdf'

I also noticed that on the Project Page, that some graphics, the thumbnails, were not rendered.
( I assume that some .png files did not get converted from .pdf files)

---------

Solution:

$ sudo vi /etc/ImageMagick-6/policy.xml

Change:
   <policy domain="coder" rights="none" pattern="PDF" />
To:
   <policy domain="coder" rights="read|write" pattern="PDF" />


Gmoore777

P.S.:
---------

I initially tried to change the resources that ImageMagick's `convert` utility uses, but that was not a solution:

$ sudo vi /etc/ImageMagick-6/policy.xml

<   <policy domain="resource" name="memory" value="256MiB"/>
---
>   <policy domain="resource" name="memory" value="3GiB"/>

<   <policy domain="resource" name="disk" value="1GiB"/>
---
>   <policy domain="resource" name="disk" value="10GiB"/>

---------

After the solution above, I now get new errors, but I think they can be safely ignored, as the thumbnails appear
on the main Project page and opens up the corresponding chart:

    convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG

Reply all
Reply to author
Forward
0 new messages