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

STUdio can't access lunii-3 #398

Closed Benroxxx closed 2 months ago

Benroxxx commented 11 months ago

Describe the bug STUdio can't access nor verify latest version lunii-3 firmware 3.1.2

To Reproduce connect the lunii-3 to STUdio

Expected behavior

Logs Check the logs in the console for errors, if any. Join the studio-latest.log file if relevant. Also check the network tab of your browser's developer tools and look for HTTP calls in error, if any. HTTP responses may contain useful data.

Internal Server Error: Error 500: studio.core.v1.utils.exception.StoryTellerException: Unsupported device metadata format version: 6 at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.thenApply(Unknown Source) at java.base/java.util.concurrent.CompletableFuture.thenApply(Unknown Source) at studio.webui.service.StoryTellerService.deviceInfos(StoryTellerService.java:124) at studio.webui.api.DeviceController.lambda$apiRouter$1(DeviceController.java:35) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1212) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:163) at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:201) at io.vertx.ext.web.impl.RouterImpl.handleContext(RouterImpl.java:248) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1212) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:163) at io.vertx.ext.web.impl.RoutingContextWrapper.next(RoutingContextWrapper.java:201) at io.vertx.ext.web.impl.RouterImpl.handleContext(RouterImpl.java:248) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1212) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:163) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:141) at io.vertx.ext.web.handler.impl.CorsHandlerImpl.handle(CorsHandlerImpl.java:169) at io.vertx.ext.web.handler.impl.CorsHandlerImpl.handle(CorsHandlerImpl.java:41) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1212) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:163) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:141) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:67) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:37) at io.vertx.core.http.impl.Http1xServerRequestHandler.handle(Http1xServerRequestHandler.java:67) at io.vertx.core.http.impl.Http1xServerRequestHandler.handle(Http1xServerRequestHandler.java:30) at io.vertx.core.impl.EventLoopContext.emit(EventLoopContext.java:50) at io.vertx.core.impl.DuplicatedContext.emit(DuplicatedContext.java:168) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:145) at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:156) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Unknown Source)

Desktop and environment (please complete the following information):

Additional context Add any other context about the problem here.

r4cker commented 11 months ago

same probleme as #390

Lafabriquemanolo commented 10 months ago

Me too

SnowKhanOfficial commented 8 months ago

Hello, Same issue here with Lunii 3

marian-m12l commented 8 months ago

Experimental support for V3 devices has been merged on master. This remains mostly untested.

johaziel commented 7 months ago

Hi, i get success to compil 0.3.2 release, connect and upload stories on lunii-v3 with Firmware 3.1. Thanks for your works and happy new year !

RickMcFly commented 7 months ago

Hi,

First thanks for the release and all the hard work !

I have the same problem, STUdio fails to load the device, here is the log :

2024-01-23 18:10:41,682 [INFO ] [s.w.s.StoryTellerService]: Setting up story teller driver 2024-01-23 18:10:41,689 [DEBUG] [s.d.r.RawStoryTellerAsyncDriver]: Registering hotplug listener 2024-01-23 18:10:41,690 [INFO ] [s.d.LibUsbDetectionHelper]: Initializing libusb... 2024-01-23 18:10:41,705 [INFO ] [s.d.LibUsbDetectionHelper]: Hotplug is NOT supported. Scheduling task to actively poll USB device... 2024-01-23 18:10:41,705 [DEBUG] [s.d.LibUsbAsyncEventsWorker]: Starting worker thread to handle libusb async events... 2024-01-23 18:10:41,720 [DEBUG] [s.d.f.FsStoryTellerAsyncDriver]: Registering hotplug listener 2024-01-23 18:10:41,720 [INFO ] [s.d.LibUsbDetectionHelper]: Initializing libusb... 2024-01-23 18:10:41,720 [INFO ] [s.d.LibUsbDetectionHelper]: Hotplug is NOT supported. Scheduling task to actively poll USB device... 2024-01-23 18:10:41,720 [DEBUG] [s.d.LibUsbAsyncEventsWorker]: Starting worker thread to handle libusb async events... 2024-01-23 18:10:41,830 [INFO ] [s.w.MainVerticle]: Opening URL in default browser... 2024-01-23 18:10:41,942 [INFO ] [i.v.c.i.l.c.VertxIsolatedDeployer]: Succeeded in deploying verticle 2024-01-23 18:11:01,743 [INFO ] [s.d.LibUsbActivePollingWorker]: Active polling found a new device. Firing event. 2024-01-23 18:11:01,745 [DEBUG] [s.d.f.FsStoryTellerAsyncDriver]: Waiting for device partition... 2024-01-23 18:11:02,752 [INFO ] [s.d.f.FsStoryTellerAsyncDriver]: FS device partition located: D:\ 2024-01-23 18:11:02,752 [INFO ] [s.w.s.StoryTellerService]: Device 2.x plugged 2024-01-23 18:11:02,752 [ERROR] [s.w.s.StoryTellerService]: Failed to plug device 2.x studio.driver.StoryTellerException: Unsupported device metadata format version: 0 at studio.driver.fs.FsStoryTellerAsyncDriver.getDeviceInfos(FsStoryTellerAsyncDriver.java:122) at studio.webui.service.StoryTellerService$2.lambda$onDevicePlugged$1(StoryTellerService.java:115) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) 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)

Is it a Java failure ?

Thanks for your help!

marian-m12l commented 2 months ago

I'm closing issues from past years. Feel free to reopen if needed.