studio icon indicating copy to clipboard operation
studio copied to clipboard

Échec du chargement du pack d'histoires

Open lionB777 opened this issue 1 year ago • 0 comments

Describe the bug Échec du chargement du pack d'histoires

To Reproduce Steps to reproduce the behavior: follow steps from provided screenshots.

Sans titre

Expected behavior I would expect to be able to edit my story from the editor.

Logs


--/ __ / / / / _ | / _ / /// / / / __/ -/ // / // / __ |/ , / ,< / // /\ \
--___
// |//|//||_//
2023-08-20 16:51:18,239 INFO [stu.web.Studio] (main) Running Studio 2023-08-20 16:51:18,665 INFO [stu.web.api.SockJsEventBusBridge] (main) Start Sockjs EventBus 2023-08-20 16:51:18,691 INFO [stu.web.Studio] (main) Opening URL http://localhost:8080/ in default browser... 2023-08-20 16:51:18,697 INFO [stu.web.ser.LibraryService] (main) library path : ./library (tmpdir path : ./tmp) 2023-08-20 16:51:18,730 INFO [stu.met.DatabaseMetadataService] (main) Read database ./db/unofficial.json 2023-08-20 16:51:18,755 INFO [stu.met.DatabaseMetadataService] (main) Read database ./db/official.json 2023-08-20 16:51:18,785 INFO [stu.met.DatabaseMetadataService] (main) Clean official packs in library database 2023-08-20 16:51:18,846 INFO [io.quarkus] (main) studio-web-ui 1.0.2 on JVM (powered by Quarkus 2.15.3.Final) started in 0.668s. Listening on: http://localhost:8080 2023-08-20 16:51:18,847 INFO [io.quarkus] (main) Profile prod activated. 2023-08-20 16:51:18,847 INFO [io.quarkus] (main) Installed features: [awt, cdi, rest-client-reactive, rest-client-reactive-jackson, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, usb4java, vertx] 2023-08-20 16:51:19,260 INFO [stu.web.ser.StoryTellerService] (vert.x-eventloop-thread-4) Setting up story teller driver 2023-08-20 16:51:19,271 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-4) Initializing libusb... 2023-08-20 16:51:19,278 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-4) Hotplug is supported. Registering hotplug callback(s)... 2023-08-20 16:51:19,283 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-4) Initializing libusb... 2023-08-20 16:51:19,284 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-4) Hotplug is supported. Registering hotplug callback(s)... 2023-08-20 16:51:19,284 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-4) Hotplug event callback (3141:26688): 1 2023-08-20 16:51:19,289 INFO [stu.dri.ser.fs.FsStoryTellerAsyncDriver] (ForkJoinPool.commonPool-worker-1) FS device partition located: /Volumes/LUNII 2023-08-20 16:51:19,312 INFO [stu.web.api.LibraryController] (executor-thread-0) Library packs scanned in 20ms 2023-08-20 16:51:19,352 INFO [stu.web.api.SockJsEventBusBridge] (vert.x-eventloop-thread-2) Sockjs open 2023-08-20 16:51:20,295 INFO [stu.web.ser.StoryTellerService] (ForkJoinPool.commonPool-worker-1) Device plugged 2023-08-20 16:51:31,704 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-3) Upload pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip' 2023-08-20 16:51:31,707 INFO [stu.web.ser.LibraryService] (vert.x-eventloop-thread-3) Add pack 358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip from /var/folders/mc/5q635xtd673bc4sctfxg23wh0000gn/T/uploads/resteasy-reactive8069384740166603663upload 2023-08-20 16:51:31,717 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata ARCHIVE from pack: 358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip 2023-08-20 16:51:31,723 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (vert.x-eventloop-thread-3) HTTP Request to /api/library/packs failed, error id: 33d69d47-9f00-4540-8059-8ca5dfd34048-1: java.util.concurrent.CompletionException: studio.core.v1.exception.StoryTellerException: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29) at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1623) Caused by: studio.core.v1.exception.StoryTellerException: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:27) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1921) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at studio.webui.service.LibraryService.packs(LibraryService.java:80) at studio.webui.service.LibraryService_ClientProxy.packs(Unknown Source) at studio.webui.api.LibraryController.lambda$packs$0(LibraryController.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 7 more Caused by: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at studio.webui.service.LibraryService.readMetadata(LibraryService.java:142) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:24) ... 21 more

2023-08-20 16:51:31,724 ERROR [org.jbo.res.rea.com.cor.AbstractResteasyReactiveContext] (vert.x-eventloop-thread-3) Request failed: java.util.concurrent.CompletionException: studio.core.v1.exception.StoryTellerException: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29) at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1623) Caused by: studio.core.v1.exception.StoryTellerException: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:27) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1921) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at studio.webui.service.LibraryService.packs(LibraryService.java:80) at studio.webui.service.LibraryService_ClientProxy.packs(Unknown Source) at studio.webui.api.LibraryController.lambda$packs$0(LibraryController.java:53) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 7 more Caused by: studio.core.v1.exception.StoryTellerException: No metadata found for pack ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.zip at studio.webui.service.LibraryService.readMetadata(LibraryService.java:142) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:24) ... 21 more

2023-08-20 16:52:27,619 INFO [stu.web.api.SockJsEventBusBridge] (vert.x-eventloop-thread-2) Sockjs closed 2023-08-20 16:52:27,762 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 358f544c-59d6-493e-8c6e-1fe9bb5ef825 2023-08-20 16:52:27,765 INFO [stu.web.api.LibraryController] (executor-thread-0) Library packs scanned in 3ms 2023-08-20 16:52:27,783 INFO [stu.web.api.SockJsEventBusBridge] (vert.x-eventloop-thread-3) Sockjs open 2023-08-20 16:52:33,016 INFO [stu.web.ser.LibraryService] (executor-thread-0) Convert pack 358f544c-59d6-493e-8c6e-1fe9bb5ef825 to ARCHIVE 2023-08-20 16:52:33,017 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Pack is in FS format. Converting to ARCHIVE format 2023-08-20 16:52:33,017 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Reading FS format pack 2023-08-20 16:52:33,166 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Writing ARCHIVE format pack, using temporary : ./tmp/358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip 2023-08-20 16:52:33,432 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Moving ARCHIVE format pack into local library: ./library/358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip 2023-08-20 16:52:33,432 INFO [stu.web.api.LibraryController] (executor-thread-0) Pack converted in 416ms 2023-08-20 16:52:33,444 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 358f544c-59d6-493e-8c6e-1fe9bb5ef825 2023-08-20 16:52:33,444 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata ARCHIVE from pack: 358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip 2023-08-20 16:52:33,452 INFO [stu.web.api.LibraryController] (executor-thread-0) Library packs scanned in 9ms 2023-08-20 16:52:34,887 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-5) Download pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip' 2023-08-20 16:52:47,395 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-5) Download pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip' 2023-08-20 16:54:37,787 INFO [stu.web.api.SockJsEventBusBridge] (vert.x-eventloop-thread-3) Sockjs closed 2023-08-20 16:55:01,131 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-1) Download pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip' 2023-08-20 17:05:34,995 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-4) Download pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip' 2023-08-20 17:05:43,113 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-4) Download pack '358f544c-59d6-493e-8c6e-1fe9bb5ef825.converted_1692543153165.zip'

Desktop and environment (please complete the following information):

  • OS: MacM1
  • 13.5.1 (22G90)
  • Java version: Version 8 Update 381 (Release date: July 18, 2023)
  • STUdio application version: 1.0.2

Additional context I had to add libusb4java.dylib.txt aka "libusb4java.dylib" in the lib folder in order to be able to read the lunii content from my M1 system

lionB777 avatar Aug 20 '23 15:08 lionB777