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

mymemory.translated.net does not work #140

Open
estralis opened this issue Apr 5, 2023 · 1 comment
Open

mymemory.translated.net does not work #140

estralis opened this issue Apr 5, 2023 · 1 comment

Comments

@estralis
Copy link
Member

estralis commented Apr 5, 2023

ERROR - 2023-04-05 16:56:19,443 - [pool-1-thread-2]: Unexpected error while decoding json
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
at com.google.gson.Gson.fromJson(Gson.java:887)
at illarion.client.util.translation.mymemory.MyMemoryProvider.getTranslation(MyMemoryProvider.java:77)
at illarion.client.util.translation.TranslateSentenceTask.call(TranslateSentenceTask.java:43)
at illarion.client.util.translation.TranslateSentenceTask.call(TranslateSentenceTask.java:25)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
... 8 common frames omitted

@estralis
Copy link
Member Author

estralis commented Apr 5, 2023

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

No branches or pull requests

1 participant