documentcloud / docsplit

Break Apart Documents into Images, Text, Pages and PDFs
http://documentcloud.github.io/docsplit/
Other
831 stars 214 forks source link

Can't covert nil into string in ensure_pdfs on server, but works fine locally #87

Open chintanparikh opened 11 years ago

chintanparikh commented 11 years ago

Here's the error log: https://gist.github.com/chintanparikh/6041528

So for some reason, when I'm trying to OCR a pdf, I get TypeError - can't convert nil into String:

I've been trying to work this out for two days, but I'm apparently in over my head. Anyone know where to start debugging?

I'm running docsplit with a sinatra app (https://github.com/chintanparikh/faxattach) running nginx, unicorn, passenger on a EC2 instance running Ubuntu 12.04.

Any ideas?