pot-app / pot-desktop

🌈一个跨平台的划词翻译和OCR软件 | A cross-platform software for text translation and recognition.
https://pot-app.com
GNU General Public License v3.0
10.46k stars 475 forks source link

[BUG]: 语音合成/朗读 无法使用 #970

Open yours57 opened 1 week ago

yours57 commented 1 week ago

Description

如题,语音合成功能无法使用。

网络正常,日志见下方

Reproduction

点击朗读按钮,没有反应

Platform

Linux

System Version

Arch Linux x86_64

Window System (Linux Only)

Wayland

Software Version

3.0.6

Log File

[2024-11-01][10:36:14][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", lingva.pot-app.com) [2024-11-01][10:36:14][DEBUG][reqwest::connect] starting new connection: https://lingva.pot-app.com/ [2024-11-01][10:36:14][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("https"), host=Some("lingva.pot-app.com"), port=None [2024-11-01][10:36:14][DEBUG][hyper::client::connect::dns] resolving host="lingva.pot-app.com" [2024-11-01][10:36:14][DEBUG][hyper::client::connect::http] connecting to xxxxx [2024-11-01][10:36:14][DEBUG][hyper::client::connect::http] connected to xxxxx [2024-11-01][10:36:15][TRACE][hyper::client::conn] client handshake Http1 [2024-11-01][10:36:15][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy }

[2024-11-01][10:36:15][TRACE][hyper::client::pool] checkout dropped for ("https", lingva.pot-app.com) [2024-11-01][10:36:15][TRACE][tracing::span] encode_headers; [2024-11-01][10:36:15][TRACE][tracing::span::active] -> encode_headers; [2024-11-01][10:36:15][TRACE][hyper::proto::h1::role] Client::encode method=GET, body=None [2024-11-01][10:36:15][TRACE][tracing::span::active] <- encode_headers; [2024-11-01][10:36:15][TRACE][tracing::span] -- encode_headers; [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::io] flushed 91 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][tracing::span] parse_headers; [2024-11-01][10:36:15][TRACE][tracing::span::active] -> parse_headers; [2024-11-01][10:36:15][TRACE][hyper::proto::h1::role] Response.parse bytes=1369 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::role] Response.parse Complete(1028) [2024-11-01][10:36:15][TRACE][tracing::span::active] <- parse_headers; [2024-11-01][10:36:15][TRACE][tracing::span] -- parse_headers; [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::io] parsed 17 headers [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::conn] incoming body is chunked encoding [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Start, chunk_len: 0, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk start [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunk size is 10318 [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0x284E (10318 bytes) [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=10318 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 9983, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 9983, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=9983 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 8614, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 8614, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=8614 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 7245, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 7245, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=7245 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 5876, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 5876, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=5876 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 4507, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 4507, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=4507 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 3138, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 3138, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=3138 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 1769, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 1769, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=1769 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 400, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 400, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=400 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 402 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: BodyCr, chunk_len: 0, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: BodyCr, chunk_len: 0, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk start [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunk size is 25845 [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0x64F5 (25845 bytes) [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=25845 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 24482, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 24482, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=24482 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 23113, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 23113, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=23113 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 21744, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 21744, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=21744 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 20375, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 20375, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=20375 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 19006, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 19006, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=19006 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 17637, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 17637, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=17637 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 16268, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 16268, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=16268 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 14899, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 14899, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=14899 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 13530, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 13530, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=13530 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 12161, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 12161, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=12161 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 10792, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 10792, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=10792 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 9423, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 9423, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=9423 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 8054, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 8054, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=8054 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 6685, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 6685, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=6685 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 5316, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 5316, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=5316 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 3947, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 3947, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=3947 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 2578, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 2578, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=2578 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: Body, chunk_len: 1209, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: Body, chunk_len: 1209, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunked read, remaining=1209 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 1211 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked { state: BodyCr, chunk_len: 0, extensions_cnt: 0 }), writing: KeepAlive, keep_alive: Busy } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] decode; state=Chunked { state: BodyCr, chunk_len: 0, extensions_cnt: 0 } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk start [2024-11-01][10:36:15][TRACE][hyper::proto::h1::io] received 5 bytes [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] Chunk size is 0 [2024-11-01][10:36:15][TRACE][hyper::proto::h1::decode] end of chunked [2024-11-01][10:36:15][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-11-01][10:36:15][TRACE][hyper::client::pool] put; add idle connection for ("https", lingva.pot-app.com) [2024-11-01][10:36:15][DEBUG][hyper::client::pool] pooling idle connection for ("https", lingva.pot-app.com) [2024-11-01][10:36:15][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-11-01][10:36:18][TRACE][hyper::proto::h1::io] received 0 bytes [2024-11-01][10:36:18][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing [2024-11-01][10:36:18][TRACE][hyper::proto::h1::conn] State::close_read() [2024-11-01][10:36:18][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled } [2024-11-01][10:36:18][TRACE][hyper::proto::h1::conn] shut down IO complete

Additional Information

No response