Closed KurtPreston closed 10 years ago
Same here. Did you find a solution?
Hey guys missed this earlier. It's almost certainly this commit then: https://github.com/documentcloud/docsplit/commit/929a42638999aba5e11883c1a5adad9436f03223
I would be interested to know if you have sample docs you could share that this is failing on.
Just figured out here too! I am attempting to solve this way:
File.open(doc, &:readline).force_encoding("BINARY") =~ /\A\%PDF-\d+(\.\d+)?$/
Hey guys, there was actually a pull request that handled this which i have merged, and cut a release for.
We are getting the following error whenever converting MS Office docs:
This has been tested to work on the latest official release (v0.7.4, commit 9172e30), but is broken on master.