marian-m12l / studio

STUdio - Story Teller Unleashed
https://marian-m12l.github.io/studio-website/
Mozilla Public License 2.0
683 stars 131 forks source link

Error : Failed to add pack to device #376

Closed RoRoStar closed 1 year ago

RoRoStar commented 1 year ago

Hello,

I try to send a simple story to my LUNII but impossible to do it, I always get same error message below. Im' using widows 10 and Lunii V2 (USB-C).

I succeed to send 3 other stories to the Lunii, so I don't understand what's wrong with this one. I rebuild this story 3 times and always same error.

I have 4 MP3 to play (18 min each) in this story, I created it like this : story

Error message is : 2023-06-22 14:38:52,673 [DEBUG] [studio.driver.fs.FsStoryTellerAsyncDriver] [FsStoryTellerAsyncDriver.java:397]: Uploading pack to folder: J:\.content\456D08DE 2023-06-22 14:38:52,696 [TRACE] [studio.driver.fs.FsStoryTellerAsyncDriver] [FsStoryTellerAsyncDriver.java:475]: Copying file C:\Users\USER.studio\library\ce4f3b20-1563-4777-af97-4eb5456d08de.converted_1687436321949\li to J:.content\456D08DE\li (36 bytes) 2023-06-22 14:38:52,717 [ERROR] [studio.webui.service.StoryTellerService] [StoryTellerService.java:323]: Failed to add pack to device java.util.concurrent.CompletionException: studio.driver.StoryTellerException: Failed to copy pack folder 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 java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: studio.driver.StoryTellerException: Failed to copy pack folder

Thank you for your help ! Regards

RoRoStar commented 1 year ago

I reply to myself has I found how to solve the issue.

In the error message I found that it try to copy story in a place where folder already exist, and can't overwrite it. So I deleted all the content of this folder using CMD in J:.content\456D08DE\

I used these commands in CMD : del J:/.content/456D08DE/li del J:/.content/456D08DE/ni del J:/.content/456D08DE/ri del J:/.content/456D08DE/sf del J:/.content/456D08DE/rf

And then the transfer of the story succeeed !