Closed sarahjeansweeney closed 10 years ago
It doesn't seem to think your file exists
And Fedora agrees. Could you email me the literal pptx file so I can try uploading it myself?
Hm. Odd. I found the file at http://nb4676.neu.edu:8080/fedora/objects/neu:5m60qt07j
Will look into it more
Wow, this is a special file. I just got this trying to upload it myself...
I'll look into developing some extra error handling
Huh. Is it just this file, or is all .pptx files?
As far as I know just this one, but I'll look at it more on Monday
On Sep 14, 2014, at 11:29 AM, Sarah S. notifications@github.com<mailto:notifications@github.com> wrote:
Huh. Is it just this file, or is all .pptx files?
— Reply to this email directly or view it on GitHubhttps://github.com/NEU-Libraries/cerberus/issues/555#issuecomment-55529113.
Ok. I'll do two things to fix this I think. One, is convert ppt and pptx to pdf before creating the jpg to stop it from erroring out. The other is put in a catch for files before trying to delete them, which I have done here
https://github.com/NEU-Libraries/cerberus/commit/6dc4f8da02e8c080c2a61fea3b09010bf7beb1db
Not exactly the same problem, but indicative of the issue I think - http://superuser.com/questions/388350/convert-ppt-to-jpg
Blech. The standard linux-y way of doing this, is with unoconv - https://github.com/dagwieers/unoconv
There are a bunch of issues with it's installation and environment being non-standard and weird. Going to put this (waaay) on the backburner. In the meantime, putting in a patch so that we don't crash the job on things that we can't make thumbnails with.
I uploaded a .ppt on Friday afternoon (neu:5m60qt068), and it seems to be stuck as an incomplete file.
Rather than destroy it, I tried "Complete this object". Somehow the title was missing, so I re-added that, but the file is still incomplete. If I try to edit the metadata for the file, I get a "Item will be available for edit/update when it has finished building." message.
Why won't this file finish?