YiiGuxing / TranslationPlugin

Translation plugin for IntelliJ based IDEs/Android Studio.
https://intellij-translation.yiiguxing.top
MIT License
11.31k stars 787 forks source link

[Auto Generated]Plugin error occurred: TTS Error #1618

Closed intellij-translation-plugin-bot closed 2 years ago

intellij-translation-plugin-bot commented 2 years ago

:warning:[Auto Generated Report]-=6179B665AE85548C432F3745C0089427=-

Description

TTS Error

Environments

Plugin version: 3.3.2-203u212

IntelliJ IDEA 2021.1.2 (Ultimate Edition) Build #IU-211.7442.40, built on June 1, 2021 Runtime version: 11.0.11+9-b1341.57 amd64 VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o. Operating system: Windows 10 10.0 Last action id: null

Stack Trace

com.intellij.util.io.HttpRequests$HttpStatusException: Request failed with status code 400. Status=400, Url=https://translate.googleapis.com/translate_tts?client=gtx&ie=UTF-8&tl=gd&total=1&idx=0&textlen=9&tk=164840.362414&q=gsg+dfadf
    at com.intellij.util.io.HttpRequests.throwHttpStatusError(HttpRequests.java:668)
    at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:639)
    at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:356)
    at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:364)
    at com.intellij.util.io.HttpRequests$RequestImpl.doReadBytes(HttpRequests.java:424)
    at com.intellij.util.io.HttpRequests$RequestImpl.readBytes(HttpRequests.java:420)
    at com.intellij.util.io.RequestBuilder.lambda$readBytes$3(RequestBuilder.java:78)
    at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:531)
    at com.intellij.util.io.HttpRequests.process(HttpRequests.java:513)
    at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:332)
    at com.intellij.util.io.RequestBuilder.readBytes(RequestBuilder.java:78)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer.play(GoogleTTSPlayer.kt:146)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer.access$play(GoogleTTSPlayer.kt:36)
    at cn.yiiguxing.plugin.translate.tts.GoogleTTSPlayer$PlayTask.run(GoogleTTSPlayer.kt:86)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:497)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
    at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:829)
github-actions[bot] commented 2 years ago

This issue has been automatically closed as wontfix because nothing it's wrong here. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.