Could you please include the Excel file that is causing this problem and a SSCCE (short, self-contained correct example)? Without this information, we are unable to reproduce this problem. A link to a discussion of this problem on a Docjure forum or mailing list or an open bug may be helpful.
It's cool to see POI getting used in other libraries, especially libraries written in languages other than Java (my projects that use POI are written in Jython). The folks on this mailing list may be less familiar with clojure, so if you're comfortable writing the SSCCE in Java, there would be a wider audience who would be able to help. The SSCCE should preferably directly call the POI API rather than calling docjure which calls POI. A few questions: Do you get this error using other spreadsheets with docjure? Does the referenced spreadsheet open in a modern version of Microsoft Excel, LibreOffice, or OpenOffice without any corruption errors? What version of POI are you using? Is the referenced spreadsheet password-protected? On Sat, Dec 19, 2015 at 11:15 PM, Finite Trade <finitetra...@outlook.com> wrote: > > Hello, > I am trying to open an excel 2010 file using a Clojure library that uses > Apache POI. However, I am getting the following error: > clj-spelling-list-parser.core> (spreadsheet/load-workbook > "wachat_20150410.xlsx") > clojure.core/eval core.clj: 3081 > ... > clj-spelling-list-parser.core/eval26754 form-init5197475672653279465.clj: 112 > ... > dk.ative.docjure.spreadsheet/eval4923/fn spreadsheet.clj: 79 > dk.ative.docjure.spreadsheet/load-workbook-from-file spreadsheet.clj: 64 > dk.ative.docjure.spreadsheet/load-workbook-from-stream spreadsheet.clj: 58 > org.apache.poi.ss.usermodel.WorkbookFactory.create WorkbookFactory.java: 87 > org.apache.poi.openxml4j.opc.OPCPackage.open OPCPackage.java: 272 > org.apache.poi.openxml4j.opc.ZipPackage.<init> ZipPackage.java: 88 > org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource.<init> > ZipInputStreamZipEntrySource.java: 51 > java.util.zip.ZipInputStream.getNextEntry ZipInputStream.java: 122 > java.util.zip.ZipInputStream.readLOC ZipInputStream.java: 310 > java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor > > How should I fix it? > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org