jlarriba / astounding

A multiplatform GUI for the reMarkable tablet
Apache License 2.0
48 stars 3 forks source link

can't download; pdf not in the zip file #5

Open SmartLayer opened 3 years ago

SmartLayer commented 3 years ago

Reproduce:

  1. Attempt to download a notebook, using remarkable 2 version 2.6.2.75
  2. get this
$ java -jar /tmp/astounding.jar 
[ERROR] 2021-04-02 17:37:50.531 [JavaFX Application Thread] Jrmapi - Error unzipping file
net.lingala.zip4j.exception.ZipException: No file found with name f879cc67-0e01-4c8f-ae80-bf6659b1c941.pdf in zip file
        at net.lingala.zip4j.ZipFile.extractFile(ZipFile.java:555) ~[astounding.jar:?]
        at es.jlarriba.jrmapi.Jrmapi.exportPdf(Jrmapi.java:111) ~[astounding.jar:?]
        at es.jlarriba.astounding.MainController.buttonDoubleClick(MainController.java:85) ~[astounding.jar:?]
        at es.jlarriba.astounding.MainController.lambda$renderDocument$0(MainController.java:124) ~[astounding.jar:?]
        at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) ~[astounding.jar:?]
        at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) ~[astounding.jar:?]
        at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) ~[astounding.jar:?]
        at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) ~[astounding.jar:?]
        at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) ~[astounding.jar:?]
        at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[astounding.jar:?]
        at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[astounding.jar:?]
        at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[astounding.jar:?]
        at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[astounding.jar:?]
        at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[astounding.jar:?]
        at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[astounding.jar:?]
        at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[astounding.jar:?]
        at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) ~[astounding.jar:?]
        at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) ~[astounding.jar:?]
        at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) ~[astounding.jar:?]
        at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) ~[astounding.jar:?]
        at javafx.event.Event.fireEvent(Event.java:198) ~[astounding.jar:?]
        at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3564) ~[astounding.jar:?]
        at javafx.scene.Scene$ClickGenerator.access$8200(Scene.java:3492) ~[astounding.jar:?]
        at javafx.scene.Scene$MouseHandler.process(Scene.java:3860) ~[astounding.jar:?]
        at javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3579) ~[astounding.jar:?]
        at javafx.scene.Scene.processMouseEvent(Scene.java:1849) ~[astounding.jar:?]
        at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2588) ~[astounding.jar:?]
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) ~[astounding.jar:?]
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) ~[astounding.jar:?]
        at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]
        at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) ~[astounding.jar:?]
        at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390) ~[astounding.jar:?]
        at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) ~[astounding.jar:?]
        at com.sun.glass.ui.View.handleMouseEvent(View.java:556) ~[astounding.jar:?]
        at com.sun.glass.ui.View.notifyMouse(View.java:942) ~[astounding.jar:?]
        at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) ~[astounding.jar:?]
        at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277) ~[astounding.jar:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]