kairoh / studio

STUdio - Story Teller Unleashed
Mozilla Public License 2.0
116 stars 16 forks source link

Je ne peux pas importer des histoires en zip et celle de Lunii sont bloqués avec un symbole #151

Open yquenechdu opened 11 months ago

yquenechdu commented 11 months ago

J4ai im^porter les histoires de lunii, je ne peux pas les transférez sur studio, il y a un symbole (stationnement interdit), j'ai aussi essayé d'importer un package d'histoire en zip

J'ai un message après l'import du fichier : rafraichissement de la bibliothèque impossible

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to bouton importer de fichier

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Logs java.util.concurrent.CompletionException: studio.core.v1.exception.StoryTellerException: java.util.zip.ZipException: invalid CEN header (bad entry name) at java.base@17.0.5/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base@17.0.5/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base@17.0.5/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@17.0.5/java.lang.Thread.run(Thread.java:833) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203) Caused by: studio.core.v1.exception.StoryTellerException: java.util.zip.ZipException: invalid CEN header (bad entry name) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:27) at java.base@17.0.5/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base@17.0.5/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base@17.0.5/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base@17.0.5/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base@17.0.5/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) at java.base@17.0.5/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base@17.0.5/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base@17.0.5/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base@17.0.5/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base@17.0.5/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@17.0.5/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 9 more Caused by: java.util.zip.ZipException: invalid CEN header (bad entry name) at jdk.zipfs@17.0.5/jdk.nio.zipfs.ZipFileSystem.checkUTF8(ZipFileSystem.java:1613) at jdk.zipfs@17.0.5/jdk.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1584) at jdk.zipfs@17.0.5/jdk.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:179) at jdk.zipfs@17.0.5/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125) at jdk.zipfs@17.0.5/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:120) at java.base@17.0.5/java.nio.file.FileSystems.newFileSystem(FileSystems.java:528) at java.base@17.0.5/java.nio.file.FileSystems.newFileSystem(FileSystems.java:400) at studio.core.v1.service.archive.ArchiveStoryPackReader.readMetadata(ArchiveStoryPackReader.java:33) at studio.webui.service.LibraryService.readMetadata(LibraryService.java:140) at studio.core.v1.utils.stream.ThrowingFunction.lambda$unchecked$0(ThrowingFunction.java:24)

Internal Server Error: {"details":"Error id 6c5ea774-45b3-4370-a765-99235de3e837-1","stack":""}

Desktop and environment (please complete the following information):