Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while opening fleet #2735

Open
tyumen-777 opened this issue May 11, 2024 · 8 comments
Open

Error while opening fleet #2735

tyumen-777 opened this issue May 11, 2024 · 8 comments
Labels
bug? Fleet Specific for the Fleet IDE

Comments

@tyumen-777
Copy link

tyumen-777 commented May 11, 2024

Have you checked the issues and discussions to ensure there are no duplicates?

Yes

Your programming languages

Javascript

Free or paid?

Free users

Expected Behavior

Should open IDE with colorized brackets

Current Behavior

Exception in DefaultDispatcher-worker-17
org.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]at org.json@20240205/org.json.JSONTokener.syntaxError(JSONTokener.java:503)
  at org.json@20240205/org.json.JSONObject.<init>(JSONObject.java:211)
  at org.json@20240205/org.json.JSONObject.<init>(JSONObject.java:429)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin.appendColorSchemaIfNotExists(Unknown Source)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin.initColorSchema(Unknown Source)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin.access$initColorSchema(Unknown Source)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin$load$1.invokeSuspend(Unknown Source)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin$load$1.invoke(Unknown Source)
  at com.github.izhangzhihao.rainbow.brackets.frontendImpl/com.github.izhangzhihao.rainbow.brackets.frontendImpl.RainbowBracketsPlugin$load$1.invoke(Unknown Source)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1$1.invokeSuspend(Worker.kt:46)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1$1.invoke(Worker.kt)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1$1.invoke(Worker.kt)
  at kotlinx.coroutines.core/kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
  at kotlinx.coroutines.core/kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
  at kotlinx.coroutines.core/kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
  at fleet.reporting.api/fleet.tracing.TracingKt.spannedScope(Tracing.kt:61)
  at fleet.reporting.api/fleet.tracing.TracingKt.spannedScope(Tracing.kt:56)
  at fleet.reporting.api/fleet.tracing.TracingKt.spannedScope$default(Tracing.kt:55)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1.invokeSuspend(Worker.kt:45)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1.invoke(Worker.kt)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1$1.invoke(Worker.kt)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invokeSuspend(Durable.kt:20)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invoke(Durable.kt)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invoke(Durable.kt)
  at kotlinx.coroutines.core/kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
  at kotlinx.coroutines.core/kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
  at fleet.rpc/fleet.rpc.client.DurableKt.durable(Durable.kt:20)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1.invokeSuspend(Worker.kt:44)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1.invoke(Worker.kt)
  at fleet.kernel.plugins/fleet.kernel.plugins.WorkerKt$withWorkers$2$1$1.invoke(Worker.kt)
  at fleet.kernel/fleet.kernel.TrackedQueryKt$launchOnEachEntity$3$1.invokeSuspend(TrackedQuery.kt:36)
  at fleet.kernel/fleet.kernel.TrackedQueryKt$launchOnEachEntity$3$1.invoke(TrackedQuery.kt)
  at fleet.kernel/fleet.kernel.TrackedQueryKt$launchOnEachEntity$3$1.invoke(TrackedQuery.kt)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invokeSuspend(Durable.kt:20)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invoke(Durable.kt)
  at fleet.rpc/fleet.rpc.client.DurableKt$durable$2.invoke(Durable.kt)
  at kotlinx.coroutines.core/kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
  at kotlinx.coroutines.core/kotlinx.coroutines.Coro…

Code snippet for reproduce

Your Environment

Fleet version: build 1.34.94
OS: Mac OS X (14.4.1, aarch64)

@izhangzhihao izhangzhihao added the Fleet Specific for the Fleet IDE label May 11, 2024
@izhangzhihao
Copy link
Owner

Can you show me your theme under ~/.fleet/themes

@tyumen-777
Copy link
Author

dark_purple-edited.json
It's only 1 file in this directory

@izhangzhihao
Copy link
Owner

Can you upload it?

@tyumen-777
Copy link
Author

dark_purple-edited.json

@izhangzhihao
Copy link
Owner

It works for me without error:
image

Can you delete this file and re-edit it again?

Or can you replace your json with this dark_purple-edited.json?

@tyumen-777
Copy link
Author

Same error.
image

@izhangzhihao
Copy link
Owner

is your ~/.fleet/themes dir readable? or writeable?

@tyumen-777
Copy link
Author

yes sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Fleet Specific for the Fleet IDE
Projects
None yet
Development

No branches or pull requests

2 participants