SheetJS / js-ppt

Pure JS PowerPoint 97-2003 (PPT) Parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erroring out

dbashford opened this issue · comments

I have a .ppt that's been sitting in the textract repo for a bit that I used for testing graceful error handling. In my case the error was textract does not currently extract files of type [[ application/vnd.ms-powerpoint ]]. Obviously that'll be changing.

https://github.com/dbashford/textract/blob/master/test/files/MxAgCrProd.ppt

This file throws up.

ppt MxAgCrProd.ppt 

/Users/dbashford/.nvm/v0.10.12/lib/node_modules/ppt/ppt.js:623
            if(persist) throw "unexpected second RT_PersistDirectoryAtom";
                        ^
unexpected second RT_PersistDirectoryAtom