"Error on 5766" (or some other number)
gravelld opened this issue · comments
I'm trying to print this document direct from Firefox: https://jtbd.info/2-what-is-jobs-to-be-done-jtbd-796b82081cca
If I try to print it directly, using the Firefox print dialog, I get "Error on (some number)". /var/log/syslog shows:
Aug 26 12:21:42 study-workstation dbus-daemon[3800]: [session uid=1000 pid=3800] Activating service name='org.boomaga' requested by ':1.162' (uid=1000 pid=8775 comm="/usr/lib/boomaga/boomagabackend 494 What is Jobs t" label="/usr/sbin/cupsd//third_party (enforce)")
Aug 26 12:21:42 study-workstation dbus-daemon[3800]: [session uid=1000 pid=3800] Successfully activated service 'org.boomaga'
Aug 26 12:21:43 study-workstation org.boomaga[3800]: Failed to create for shader cache (No such file or directory)---disabling.
If I print the file to a PDF instead, and then open that in boomaga, I get the same error message in boomaga, but syslog also shows:
Aug 26 12:23:04 study-workstation org.boomaga[3800]: poppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref tablepoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't find trailer dictionarypoppler/error: Couldn't read xref table"Error on 5591"
Aug 26 12:23:04 study-workstation kernel: [ 9371.788454] traps: boomaga[8778] general protection ip:7f82eb83741e sp:7ffcd7956f08 error:0 in libc-2.27.so[7f82eb77c000+1e7000]
I think this suggests the PDF is broken... but then directly printing the HTML appears broken too (or does this create an interim PDF?)
Ah yes, I was able to fix the corrupted PDF using ghostscript and then boomaga could open and print it.
So maybe Firefox is just generated bad PDFs - I'll leave this open but feel free to close.