Can you share pdf file causing the issues?

On Fri, 6 Dec 2019 at 01:10, <bigti...@netcourrier.com> wrote:

> Hello Maxim,
>
> thank you for the link. Not sure i can use it as this, but it will help
> for sure.
>
> I haven't find any issue with my crude little hack so far but as it is
> done in a bash script,
> i can add more checks at will. For exemple, use Graphicsmagick only for
> pdf files.
>
> Beware, the "+"  before a parameter is specific to Graphicsmagick i think
> ...
>
>
>
> De : Maxim Solodovnik <solomax...@gmail.com>
> À : Openmeetings user-list <user@openmeetings.apache.org>
> Sujet : Re: pdf conversion failure, my ugly solution
> Date : 05/12/2019 18:04:43 Europe/Paris
> Copie à : bigti...@netcourrier.com
>
> start script is bundled into OM5
>
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service
>
> do you have any issues with this "+adjoin" parameter?
> if not i can add this param to OM code :)
>
>
>
> On Thu, 5 Dec 2019 at 23:31, Stefan Kühl <ste...@quatrekuehl.eu> wrote:
>
>>
>>
>>
>> Hello,
>>
>> did you take the settings in policy.xml in
>>
>> /etc/ImageMagick-6/policy.xml
>>
>> to avoid the conversion problems?
>>
>> Greetz
>>
>> Stefan
>>
>> Am 05.12.2019 16:25, schrieb bigti...@netcourrier.com:
>>
>> Hello there,
>>
>> i hope this is a good place to share my ugly but working solution to the
>> conversion
>> failure of a pdf into OM5.
>>
>> I have a freshly cloud installation of OM5 on ubuntu 18.04 LTS following
>> a tutorial
>> by Alvaro, many thanks to him for this great work.
>>
>> Still little struggle with automatic starting of daemons, the scripts in
>> /etc/init.d only
>> works manually. I began to write some systemd unit, but it's another
>> story.
>>
>> One of my beta-testers ;-) runs across a problem with a pdf of his
>> creation. This pdf
>> was small (640 Ko) and opens like a charm with everything i try to open
>> it. I even open
>> it in LibreOffice, re-save in pdf, same result.
>>
>> Digging in OM logs, I found convert from Imagemagick is used to save each
>> page in png.
>> In command line, i was able to reproduce the failure of convert. With the
>> error message
>> from convert, i tried many of the switches proposed over Internet to
>> circumvent the problem
>> but with no luck.
>>
>> Finally i tried Graphicsmagick and it works. I just write a little bash
>> script named convert
>> to intercept OM command and insert the parameter "+adjoin"
>>
>> maybe it can help somebody.
>>
>> Titus
>>
>>
>>
>>
>
> --
> WBR
> Maxim aka solomax
>
>

-- 
WBR
Maxim aka solomax

Reply via email to