scientist-softserv / britishlibrary

Other
3 stars 0 forks source link

PDFs not available in viewer #510

Open grahamjevon opened 5 months ago

grahamjevon commented 5 months ago

SMG have reported that some PDF files are not displaying in the viewer. This manifests in two different ways.

In this example, the "View files in viewer" icon is available, but the viewer opens only as a black screen.

In this example, the PDF child works are listed as items but the "View files in viewer" icon is not available:

Something similar was discussed in this slack thread.

NoraRamsey commented 5 months ago

It seems to mostly be affecting the Oramics to Electronica: Revealing Histories of Electronic Music exhibition panels:

Here is one example. And another. It might be affecting most of these.

cziaarm commented 5 months ago

Fixed: https://sciencemuseumgroup.iro.bl.uk/concern/articles/e21a4d05-9799-4b2d-a0a2-df8e6edff741?locale=en

The errors for the two "Oramics" items are due to the high resolution of the images. There is a resolution limit in the IIIF server: eg https://dudgkgvsbllzg.cloudfront.net/iiif/2/35cc2c9ce1f678e2a427ec8ad82e1618b6774021/info.json

This issue seems to be related: https://github.com/samvera/serverless-iiif/issues/135

There is some issue with the processing of the pdf pages for the report https://sciencemuseumgroup.iro.bl.uk/concern/reports/465ba9e8-4c1a-4345-8475-63382695cc7a

I have tried making a whole new work but it seems to have gone the same way. The worker was not busy with other stuff so it seems this one 44 page PDF is causing the worker to restart and in doing so he end up with patchy derivative generation... I'll see if I can pick up the characterisation of those file sets on the console and maybe that will get us somewhere with that.