Hallo zusammen,
wir möchten in unserer Feuerwehr nun auch mal das Alarmdisplay testen. Ich bin über den Beitrag im BR auf das Projekt aufmerksam geworden. Richtig tolle Sache!
Ich habe die Zentrale inkl. Datenbank usw. nun auf einem RaspbberyPi 4 installiert.
Nun wollte ich das Beispielfax aus diesem Beitrag als Test einspielen.
Leider wird der Einsatz nicht korrket getriggert.
Mein Logfile sieht so aus:
e[32m[2021-12-08T10:47:33.774] [INFO] default - e[39mLogging level is ‚DEBUG‘
e[32m[2021-12-08T10:47:34.805] [INFO] default - e[39mHub Backend started on http://localhost:3030
e[32m[2021-12-08T10:47:34.953] [INFO] default - e[39mConnected to database
e[32m[2021-12-08T10:47:35.042] [INFO] default - e[39mDatabase migration successful
e[32m[2021-12-08T10:47:35.093] [INFO] default - e[39mStarted watching folder /home/pi/faxbox/
e[36m[2021-12-08T10:47:39.034] [DEBUG] default - e[39mNew anonymous socket connection
e[32m[2021-12-08T10:49:59.488] [INFO] default - e[39mFound new file in watched folder 3
e[91m[2021-12-08T10:49:59.738] [ERROR] default - e[39mUnhandled Rejection at: Promise Promise {
{ Error: Command failed: convert -density 204x196 in.pdf -type Grayscale -compress lzw -background white in.tif
convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF’ @ error/constitute.c/IsCoderAuthorized/408.
convert-im6.q16: no images defined `in.tif’ @ error/convert.c/ConvertImageCommand/3258.
at ChildProcess.exithandler (child_process.js:294:12) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Socket.stream.socket.on (internal/child_process.js:389:11) at Socket.emit (events.js:198:13) at Pipe._handle.close (net.js:607:12) killed: false, code: 1, signal: null, cmd: 'convert -density 204x196 in.pdf -type Grayscale -compress lzw -background white in.tif', stdout: '', stderr: 'convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF\' @ error/constitute.c/IsCoderAuthorized/408.\nconvert-im6.q16: no images defined `in.tif\' @ error/convert.c/ConvertImageCommand/3258.\n' } } { Error: Command failed: convert -density 204x196 in.pdf -type Grayscale -compress lzw -background white in.tif
convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF’ @ error/constitute.c/IsCoderAuthorized/408.
convert-im6.q16: no images defined `in.tif’ @ error/convert.c/ConvertImageCommand/3258.
at ChildProcess.exithandler (child_process.js:294:12) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Socket.stream.socket.on (internal/child_process.js:389:11) at Socket.emit (events.js:198:13) at Pipe._handle.close (net.js:607:12)
killed: false,
code: 1,
signal: null,
cmd:
‚convert -density 204x196 in.pdf -type Grayscale -compress lzw -background white in.tif‘,
stdout: ‚‘,
stderr:
‚convert-im6.q16: attempt to perform an operation not allowed by the security policy
PDF\' @ error/constitute.c/IsCoderAuthorized/408.\nconvert-im6.q16: no images defined
in.tif' @ error/convert.c/ConvertImageCommand/3258.\n‘ }