Closed diegantobass closed 4 years ago
Hi. Thanks for your feedback.
Looks like your metadata database (official.json
) is corrupted (the app reads a primitive when an object is expected).
Thank you very much. The official.json
was indeed the problem. Having replaced the file with a valid one allows me to launch the application.
Now, I have a recurring "failed to refresh library" error in the interface, which is another matter for another issue, I guess.
Hello,
Sorry to write on this closed topics but I have the same issue and I can't find another way to retrieve the json file I'm using this command line: curl -o C:/Users/Ded/.studio/db/official.json -v -X GET -H 'Accept:application/json' -H 'Content-Type:application/json;charset=UTF-8' -H 'X-AUTH-TOKEN:eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1aWQiOiJHdWVzdCIsInJvbGUiOiJHVUVTVCJ9.hsXcZmt7jKFQWYzOkFuzCraiXKdRJlVfHUGGRuHAFTXLraDGCar4HI9LR6rAHLQEd8h1r_4ydghbEVyPx5UnpjlCS9PcO6jOw1GRDg4Lsfp7_sF196xV3ITn9zAITUvZuCk8wxXIjFCt9f5KOXuBevxsXc20-E82XNArgjZ2ALA5wVGEoWOJliaEOCR2JELLNw_AUKer1De-7M3Co7S-q0zeVm3VuR8f6_FetJAl5mJ5U_I8qfT_9yMq-dyVACuguR1BAIeQrkyJTko5K_vR2L_0KUr9DxmQGeKo4EWfc_D8snqdeKjhaDdvlOr5uDo_E_XbJYTptAyRCAoUJm5Ggg' https://server-data-prod.lunii.com/v2/packs
Can you tell me where my mistake is?
Thanks Andre
@Dedcap You can try the latest beta release which can fetch the "official metadata" automatically.
Hello,
I'm very sorry for the late answer
I use the latest version today and it works like a charm
Thank you so much for the work!
Andre
Le dim. 25 avr. 2021 à 00:04, marian-m12l @.***> a écrit :
@Dedcap https://github.com/Dedcap You can try the latest beta release https://github.com/marian-m12l/studio/releases/tag/0.3.0-beta.3 which can fetch the "official metadata" automatically.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marian-m12l/studio/issues/140#issuecomment-826159293, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXVVBCCJEO6HOOE3AG6XZLTKM57PANCNFSM4TKDMMNQ .
I'm trying to launch studio-linux.sh on kubuntu 20.10 and it fails to deploy the verticle.
Steps to reproduce the behavior:
Expected behavior I expected my default browser to open to localhost:8080
Logs 2020-11-04 14:54:15,199 [ERROR] [i.v.c.i.l.c.VertxIsolatedDeployer]: Failed in deploying verticle java.lang.ClassCastException: class com.google.gson.JsonPrimitive cannot be cast to class com.google.gson.JsonObject (com.google.gson.JsonPrimitive and com.google.gson.JsonObject are in unnamed module of loader 'app') at com.google.gson.JsonObject.getAsJsonObject(JsonObject.java:205) at studio.metadata.DatabaseMetadataService.lambda$new$0(DatabaseMetadataService.java:41) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at studio.metadata.DatabaseMetadataService.(DatabaseMetadataService.java:40)
at studio.webui.MainVerticle.start(MainVerticle.java:47)
at io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:106)
at io.vertx.core.Verticle.start(Verticle.java:66)
at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$9(DeploymentManager.java:556)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
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(Thread.java:834)
Desktop and environment (please complete the following information):
Additional context It works if I sudo it, but then STUdio can't read what is on my lunii and I can't add anything to it.