Could not create image derivatives for test:2. No image file was uploaded.

28 views
Skip to first unread message

Peter .

unread,
May 15, 2013, 4:24:21 PM5/15/13
to island...@googlegroups.com
Hi,

I just started receiving this error message when ingesting a PDFs recently. The error message seems a little cryptic to me as there is no image file being uploaded, just a PDF. The image derivative (a thumbnail) should be generated by the PDF (which it is). As far as I can tell everything ingested properly and the thumbnail created. I am at a loss as to what this is referring to. Any suggestions as to what I should be looking at to clear this error?

Thanks.

Adam Vessey

unread,
May 15, 2013, 6:56:14 PM5/15/13
to island...@googlegroups.com
Err... What error?
> --
> You received this message because you are subscribed to the Google
> Groups "islandora-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to islandora-de...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Adam Vessey

unread,
May 15, 2013, 7:02:33 PM5/15/13
to island...@googlegroups.com
Oh derp, missed it in the subject.

Looks like it gets output on
https://github.com/Islandora/islandora_solution_pack_pdf/blob/7.x/includes/derivatives.inc#L20...
Did this happen to be in a batch? Might one of the set have failed to
upload properly, or was it missing a PDF/OBJ datastream or something?

- Adam

On 15/05/2013 5:24 PM, Peter . wrote:

Peter .

unread,
May 16, 2013, 2:13:48 PM5/16/13
to island...@googlegroups.com
Thanks, for pointing that out. I see what is happening here. I had created the fedora object and set its model to be a PDF and then ingested the fedora object. After having done that, I ingested/attached the associated PDF. By ingesting the fedora object and having the model set already, it triggered the PDF solution pack to do its thing automatically and try to generate the images when the PDF hadn't been attached yet.  Solution: ingest the fedora object without setting its model first - error message disappears and everything works as it should.

I think that this behaviour of the solution packs needs to be documented. I don't recall reading anywhere that they get automatically triggered upon ingestion.
Reply all
Reply to author
Forward
0 new messages