mjul / docjure

Read and write Office documents from Clojure
MIT License
622 stars 129 forks source link

Error loading workbook #40

Closed Immortalin closed 8 years ago

Immortalin commented 8 years ago

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
Immortalin commented 8 years ago

@mjul a bit of help on this?

Immortalin commented 8 years ago

@mjul see this.

mjul commented 8 years ago

If I read your messages correctly, it is an issue with the underlying Apache POI library. It would be great if you could see if it is reproducible with the latest Docjure version (with the new POI) and report the issue in the POI project if necessary.