Problem with derivatives. Error while using "convert"

44 views
Skip to first unread message

Matías Butelman

unread,
Feb 13, 2019, 4:25:06 PM2/13/19
to AtoM Users
Hi. I'm having a problem with all the derivatives: they don't show up. 

First, when regenrating derivatives, each processed item showed an error. That error was fixed by modifying the policy file as suggested in this thread: https://groups.google.com/d/msg/ica-atom-users/AwNUifxWsS4/BvfV6x9uBQAJ.

But thumbnails still fail to show. 

I tried generating one manually by using the following command:

convert -thumbnail 0x0 -background white -flatten -quality 75% 'example.pdf'['0'] thumbnail.jpg

This is what i got:


   **** Error: File has insufficient data for an image.
               Output may be incorrect.

Any help will be greatly appreciated 

Dan Gillean

unread,
Feb 14, 2019, 2:29:19 PM2/14/19
to ICA-AtoM Users
Hi Matías,

Is this only happening with PDFs, or are you experiencing this issue with derivatives for all file types? 

Have you tried examining these PDFs in a PDF editor? Searching online, it seems that this error is returned by imagemagick/ghostscript most commonly when the source PDFs are corrupt in some way. Do you have a PDF you know to be valid that you can test with?

Otherwise, can you tell us more about your installation environment? Such as: 
  • What version of AtoM do you have installed?
  • Did you follow our recommended installation instructions?
    • If yes, are you using Ubuntu 14.04 or 16.04?
    • If no, what changes have you made?
  • What version of Imagemagick do you have installed?
    • You should be able to determine this by running convert -version from AtoM's root installation directory
  • Have you upgraded recently, or made other changes in your installation environment? What first prompted this error?
Once we have a bit more info, hopefully I can get some suggestions from our team. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/aec994cc-6f97-47a6-a47b-8805793ea631%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages