Re: PDF upload problem

2021-04-26 Thread Filip Žák
Thank you for your help. :)

Best regards,
Filip


Re: PDF upload problem

2021-04-25 Thread Maxim Solodovnik
Hello Filip,

I would try this
https://stackoverflow.com/questions/31407010/cache-resources-exhausted-imagemagick
link :)))

Particularly:





*Find the policy.xml with find / -name "policy.xml"something like
/etc/ImageMagick-6/policy.xmland change  to *


On Mon, 26 Apr 2021 at 06:03, Filip Žák  wrote:

> Hello,
> I have a problem uploading some .pdf files. It shows this error:
> process: convert PDF to images command: /usr/bin/convert -density 150
> -define pdf:use-cropbox=true
> /opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/8ae96f51-d6a0-4058-a0dc-02b7abf32098.pdf
> +profile '*' -quality 90
> /opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png
> exception: null error: convert: cache resources exhausted
> `/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png'
> @ error/cache.c/OpenPixelCache/4083. convert: memory allocation failed
> `/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png'
> @ error/png.c/WriteOnePNGImage/9108. convert: No IDATs written into file
> `/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-.png'
> @ error/png.c/MagickPNGErrorHandler/1641. exitValue: 1 optional: false out:
>
> Any solution to fix this error? PDF is not secured it is classic PDF file.
> It has around 90 pages and 1378 kB.
>
> Thanks
>
> Best regards,
> Filip
>


-- 
Best regards,
Maxim


PDF upload problem

2021-04-25 Thread Filip Žák
Hello,
I have a problem uploading some .pdf files. It shows this error:
process: convert PDF to images command: /usr/bin/convert -density 150
-define pdf:use-cropbox=true
/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/8ae96f51-d6a0-4058-a0dc-02b7abf32098.pdf
+profile '*' -quality 90
/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png
exception: null error: convert: cache resources exhausted
`/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png'
@ error/cache.c/OpenPixelCache/4083. convert: memory allocation failed
`/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-%04d.png'
@ error/png.c/WriteOnePNGImage/9108. convert: No IDATs written into file
`/opt/open600/webapps/openmeetings/data/upload/files/8ae96f51-d6a0-4058-a0dc-02b7abf32098/page-.png'
@ error/png.c/MagickPNGErrorHandler/1641. exitValue: 1 optional: false out:

Any solution to fix this error? PDF is not secured it is classic PDF file.
It has around 90 pages and 1378 kB.

Thanks

Best regards,
Filip