Well

This *FailedToExecuteCommand `'gs' *
basically means you don't have ghostscript installed

`apt install ghostscript`


On Thu, 15 Oct 2020 at 19:20, K. Kamhamea <kamha...@googlemail.com> wrote:

> process: doJodConvert
> command: null
> exception: null
> error: Document converted successfully
> exitValue: 0
> optional: false
> out: null
>
> process: convert PDF to images
> command: convert -density 150 -define pdf:use-cropbox=true
> /opt/open501/webapps/openmeetings/data/upload/files/a3be2e9f-03da-46c1-8db8-95f335f3cb6f/a3be2e9f-03da-46c1-8db8-95f335f3cb6f.pdf
> +profile '*' -quality 90
> /opt/open501/webapps/openmeetings/data/upload/files/a3be2e9f-03da-46c1-8db8-95f335f3cb6f/page-%04d.png
>
> exception: null
> error: convert-im6.q16: FailedToExecuteCommand `'gs' -sstdout=%stderr
> -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000
> -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4
> -dGraphicsAlphaBits=4 '-r150x150' -dUseCropBox
> '-sOutputFile=/tmp/magick-58927Ww3-PTFW5x0Z%d'
> '-f/tmp/magick-58927p9wkDZxBCVUZ' '-f/tmp/magick-58927E4UPxDcnkQeY'' (1) @
> error/pdf.c/InvokePDFDelegate/291.
> convert-im6.q16: no images defined
> `/opt/open501/webapps/openmeetings/data/upload/files/a3be2e9f-03da-46c1-8db8-95f335f3cb6f/page-%04d.png'
> @ error/convert.c/ConvertImageCommand/3258.
> exitValue: 1
> optional: false
> out:
>
> Looks like ImageMagick is not properly installed, but in fact it is. I
> just double checked it. Also the configuration lines (pattern PS and PDF)
> are properly commented out.
>
> Am Do., 15. Okt. 2020 um 13:56 Uhr schrieb Maxim Solodovnik <
> solomax...@gmail.com>:
>
>> Can you click the "exclamation icon"? it will show dialog with all steps
>> including the one with error
>>
>> On Thu, 15 Oct 2020 at 17:39, K. Kamhamea <kamha...@googlemail.com>
>> wrote:
>>
>>> Though I did no problem encounter with M4, it doesn't work with the
>>> current version now.
>>>
>>> [image: grafik.png]
>>>
>>> The logfiles don't show any error (as far as I can say) This is the
>>> catalina.out content for these two uploads:
>>>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:23:59.653
>>> ^[[36mo.a.o.w.c.OmWebSocketPanel:129 [nio-5443-exec-1]^[[0;39m - Sending
>>> WebSocket PING
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.342
>>> ^[[36mo.a.o.c.d.f.FileProcessor:72 [Thread-320]^[[0;39m - file extension:
>>> pdf
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.349
>>> ^[[36mo.a.o.c.d.f.FileProcessor:76 [Thread-320]^[[0;39m - isAsIs: false
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.349
>>> ^[[36mo.a.o.c.d.f.FileProcessor:106 [Thread-320]^[[0;39m - writing file to:
>>> /opt/open501/webapps/openmeetings/data/upload/files/5c1ae4de-5ce0-42ec-8d83-8e989ca2a95e/5c1ae4de-5ce0-42ec-8d83-8e989ca2>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.350
>>> ^[[36mo.a.o.c.d.f.FileProcessor:113 [Thread-320]^[[0;39m - Office document:
>>> /opt/open501/webapps/openmeetings/data/upload/files/5c1ae4de-5ce0-42ec-8d83-8e989ca2a95e/5c1ae4de-5ce0-42ec-8d83-8e989ca2>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.352
>>> ^[[36mo.a.o.c.c.DocumentConverter:65 [Thread-320]^[[0;39m - fullProcessing:
>>> false
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.353
>>> ^[[36mo.a.o.c.c.DocumentConverter:74 [Thread-320]^[[0;39m - -- generate
>>> page images --
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.353
>>> ^[[36mo.a.o.c.c.ImageConverter:180 [Thread-320]^[[0;39m - convertDocument
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.360 ^[[36mo.a.o.u.p.ProcessHelper:85
>>> [Thread-320]^[[0;39m - START convert PDF to images #################
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.360 ^[[36mo.a.o.u.p.ProcessHelper:86
>>> [Thread-320]^[[0;39m - convert -density 150 -define pdf:use-cropbox=true
>>> /opt/open501/webapps/openmeetings/data/upload/files/5c1ae4de-5ce0-42ec-8d83-8e989ca2a95e/5c>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.391 ^[[36mo.a.o.u.p.ProcessHelper:92
>>> [Thread-320]^[[0;39m - END convert PDF to images #################
>>> ^[[34mINFO ^[[0;39m 10-15 11:24:10.392 ^[[36mo.a.o.d.d.r.RoomDao:86
>>> [Thread-320]^[[0;39m - [get]: No room id given
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.514
>>> ^[[36mo.a.o.c.d.f.FileProcessor:136 [Thread-320]^[[0;39m - fileId: 6
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:10.515
>>> ^[[36mo.a.o.c.d.f.FileProcessor:97 [Thread-320]^[[0;39m - Clean up was
>>> successful ? true
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:19.617 ^[[36mo.a.o.d.d.f.FileItemDao:55
>>> [nio-5443-exec-2]^[[0;39m - getByOwner() started
>>> ^[[39mDEBUG^[[0;39m 10-15 11:24:29.703
>>> ^[[36mo.a.o.w.c.OmWebSocketPanel:129 [nio-5443-exec-8]^[[0;39m - Sending
>>> WebSocket PING
>>>
>>>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:00.249
>>> ^[[36mo.a.o.w.c.OmWebSocketPanel:129 [nio-5443-exec-6]^[[0;39m - Sending
>>> WebSocket PING
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.437
>>> ^[[36mo.a.o.c.d.f.FileProcessor:72 [Thread-339]^[[0;39m - file extension:
>>> pptx
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.460
>>> ^[[36mo.a.o.c.d.f.FileProcessor:76 [Thread-339]^[[0;39m - isAsIs: false
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.460
>>> ^[[36mo.a.o.c.d.f.FileProcessor:106 [Thread-339]^[[0;39m - writing file to:
>>> /opt/open501/webapps/openmeetings/data/upload/files/bd02ba93-9a8a-481b-b3a0-bef60f98ad4a/bd02ba93-9a8a-481b-b3a0-bef60f98>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.460
>>> ^[[36mo.a.o.c.d.f.FileProcessor:113 [Thread-339]^[[0;39m - Office document:
>>> /opt/open501/webapps/openmeetings/data/upload/files/bd02ba93-9a8a-481b-b3a0-bef60f98ad4a/bd02ba93-9a8a-481b-b3a0-bef60f98>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.462
>>> ^[[36mo.a.o.c.c.DocumentConverter:65 [Thread-339]^[[0;39m - fullProcessing:
>>> true
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:20.462
>>> ^[[36mo.a.o.c.c.DocumentConverter:67 [Thread-339]^[[0;39m - -- running JOD
>>> --
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.464
>>> ^[[36mo.j.l.o.OfficeProcessManager:313 [Thread-339]^[[0;39m - Submitting
>>> task 'Start' and waiting...
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.472
>>> ^[[36mo.j.l.o.OfficeDescriptor:101 [officeprocess-6]^[[0;39m - soffice info
>>> (from exec path): Product: LibreOffice - Version: ??? -
>>> useLongOptionNameGnuStyle: true
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.574 ^[[36mo.j.l.o.OfficeDescriptor:75
>>> [officeprocess-6]^[[0;39m - soffice info (from help output): Product:
>>> LibreOffice - Version: 7.0.2.2 - useLongOptionNameGnuStyle: true
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.574 ^[[36mo.j.l.o.OfficeProcess:420
>>> [officeprocess-6]^[[0;39m - OFFICE HOME: /usr/lib/libreoffice
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.575 ^[[36mo.j.l.o.OfficeProcess:421
>>> [officeprocess-6]^[[0;39m - Starting process with --accept
>>> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager'
>>> and profileDir '/opt/open501/>
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.587 ^[[36mo.j.l.o.OfficeProcess:434
>>> [officeprocess-6]^[[0;39m - Started process; pid: 54868
>>> ^[[31mWARN ^[[0;39m 10-15 11:30:20.839 ^[[36mo.j.l.o.ConnectRetryable:89
>>> [officeprocess-6]^[[0;39m - Office process died with exit code 81;
>>> restarting it
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.855
>>> ^[[36mo.j.l.o.OfficeDescriptor:101 [officeprocess-6]^[[0;39m - soffice info
>>> (from exec path): Product: LibreOffice - Version: ??? -
>>> useLongOptionNameGnuStyle: true
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.946 ^[[36mo.j.l.o.OfficeDescriptor:75
>>> [officeprocess-6]^[[0;39m - soffice info (from help output): Product:
>>> LibreOffice - Version: 7.0.2.2 - useLongOptionNameGnuStyle: true
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.946 ^[[36mo.j.l.o.OfficeProcess:420
>>> [officeprocess-6]^[[0;39m - OFFICE HOME: /usr/lib/libreoffice
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.947 ^[[36mo.j.l.o.OfficeProcess:421
>>> [officeprocess-6]^[[0;39m - Starting process with --accept
>>> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager'
>>> and profileDir '/opt/open501/>
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:20.956 ^[[36mo.j.l.o.OfficeProcess:434
>>> [officeprocess-6]^[[0;39m - Started process; pid: 54893
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:21.254
>>> ^[[36mo.j.l.o.OfficeConnection:176 [officeprocess-6]^[[0;39m - Connected:
>>> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:21.255
>>> ^[[36mo.j.l.t.LocalConversionTask:93 [ter-poolentry-7]^[[0;39m - Executing
>>> local conversion task [pptx -> pdf]...
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.130
>>> ^[[36mo.j.c.o.AbstractOfficeManagerPool:156 [Thread-339]^[[0;39m - Stopping
>>> the office manager pool...
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.131
>>> ^[[36mo.j.l.o.OfficeProcessManager:313 [Thread-339]^[[0;39m - Submitting
>>> task 'Stop' and waiting...
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.180
>>> ^[[36mo.j.l.o.OfficeConnection:218 [ssageDispatcher]^[[0;39m -
>>> Disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.383
>>> ^[[36mo.j.l.o.OfficeProcessManager:121 [officeprocess-6]^[[0;39m - Process
>>> exited with code 0
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.394
>>> ^[[36mo.j.c.o.AbstractOfficeManagerPool:174 [Thread-339]^[[0;39m - Office
>>> manager stopped
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.395
>>> ^[[36mo.a.o.c.c.DocumentConverter:74 [Thread-339]^[[0;39m - -- generate
>>> page images --
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.395
>>> ^[[36mo.a.o.c.c.ImageConverter:180 [Thread-339]^[[0;39m - convertDocument
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.401 ^[[36mo.a.o.u.p.ProcessHelper:85
>>> [Thread-339]^[[0;39m - START convert PDF to images #################
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.401 ^[[36mo.a.o.u.p.ProcessHelper:86
>>> [Thread-339]^[[0;39m - convert -density 150 -define pdf:use-cropbox=true
>>> /opt/open501/webapps/openmeetings/data/upload/files/bd02ba93-9a8a-481b-b3a0-bef60f98ad4a/bd>
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.417 ^[[36mo.a.o.u.p.ProcessHelper:92
>>> [Thread-339]^[[0;39m - END convert PDF to images #################
>>> ^[[34mINFO ^[[0;39m 10-15 11:30:23.418 ^[[36mo.a.o.d.d.r.RoomDao:86
>>> [Thread-339]^[[0;39m - [get]: No room id given
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.541
>>> ^[[36mo.a.o.c.d.f.FileProcessor:136 [Thread-339]^[[0;39m - fileId: 7
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:23.542
>>> ^[[36mo.a.o.c.d.f.FileProcessor:97 [Thread-339]^[[0;39m - Clean up was
>>> successful ? true
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:26.808 ^[[36mo.a.o.d.d.f.FileItemDao:55
>>> [nio-5443-exec-5]^[[0;39m - getByOwner() started
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:26.812 ^[[36mo.a.o.d.d.f.FileItemDao:50
>>> [nio-5443-exec-5]^[[0;39m - getByRoom roomId :: 7
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:26.815 ^[[36mo.a.o.d.d.f.FileItemDao:55
>>> [nio-5443-exec-5]^[[0;39m - getByOwner() started
>>> ^[[39mDEBUG^[[0;39m 10-15 11:30:30.305
>>> ^[[36mo.a.o.w.c.OmWebSocketPanel:129 [nio-5443-exec-7]^[[0;39m - Sending
>>> WebSocket PING
>>> ^
>>> Also the files are uploaded and converted correctly. I can download the
>>> from OM_HOME/webapps/openmeetings/data/upload/files and check them on an
>>> other computer.
>>>
>>> All files have permissions nobody:nogroup 640
>>>
>>>
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim

Reply via email to