pot-app / pot-desktop

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

[BUG]: 无法打开输入翻译的窗口 #833

Open suibianzai opened 3 weeks ago

suibianzai commented 3 weeks ago

Description

我设置的是默认隐藏翻译窗口,并自动copy译文。从昨天开始,按alt+D无法划词翻译(没有翻译的动作,因为按ctrl+V没有出现译文)、按alt+W无法弹出翻译窗口。

Reproduction

刚出现问题时,我尝试了关闭“隐藏翻译窗口”、重新注册快捷键、重启电脑,都不行。 今天重新安装了pot,重新注册快捷键,关闭“隐藏翻译窗口”的选项,经测试,按alt+D可以划词搜索(即按ctrl+v能粘贴译文),但仍没有翻译窗口弹出;按alt+Q仍然没有反应,重启应用也不行。请问是怎么回事? 这是我第二次在pot上碰到快捷键问题🤦‍♀️,上一次的issue: https://github.com/pot-app/pot-desktop/issues/747 这个issue后来是解决了,后来我把这两个翻译软件都卸载了,重新安装了pot,莫名其妙就好了,一直用到现在,直到这次又碰到快捷键问题……😢

Platform

Windows

System Version

Windows 10 专业版 19045.4412

Window System (Linux Only)

None

Software Version

2.7.10

Log File

No response

Additional Information

No response

suibianzai commented 2 weeks ago

日志 [2024-06-15][01:49:40][INFO][pot] ============== Start App ============== [2024-06-15][01:49:40][INFO][pot] Init Config Store [2024-06-15][01:49:40][INFO][pot::config] Load config from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json" [2024-06-15][01:49:40][INFO][pot::config] Config loaded [2024-06-15][01:49:40][INFO][pot::tray] Update tray with language: zh_cn, copy mode: target [2024-06-15][01:49:40][INFO][pot::hotkey] Registered global shortcut: Alt+D for hotkey_selection_translate [2024-06-15][01:49:40][INFO][pot::hotkey] Registered global shortcut: Alt+Q for hotkey_input_translate [2024-06-15][01:49:40][INFO][pot::hotkey] Registered global shortcut: Alt+W for hotkey_ocr_recognize [2024-06-15][01:49:40][DEBUG][tiny_http] Server listening on 127.0.0.1:60828 [2024-06-15][01:49:40][INFO][pot::hotkey] Registered global shortcut: Shift+Alt+W for hotkey_ocr_translate [2024-06-15][01:49:40][DEBUG][tiny_http] Running accept thread [2024-06-15][01:49:40][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", gh.pylogmon.com) [2024-06-15][01:49:40][DEBUG][reqwest::connect] starting new connection: https://gh.pylogmon.com/ [2024-06-15][01:49:40][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("https"), host=Some("gh.pylogmon.com"), port=None [2024-06-15][01:49:40][DEBUG][hyper::client::connect::dns] resolving host="gh.pylogmon.com" [2024-06-15][01:49:40][DEBUG][hyper::client::connect::http] connecting to 172.67.216.121:443 [2024-06-15][01:49:40][DEBUG][hyper::client::connect::http] connected to 172.67.216.121:443 [2024-06-15][01:49:41][TRACE][hyper::client::conn] client handshake Http1 [2024-06-15][01:49:41][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::client::pool] checkout dropped for ("https", gh.pylogmon.com) [2024-06-15][01:49:41][TRACE][tracing::span] encode_headers; [2024-06-15][01:49:41][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:49:41][TRACE][hyper::proto::h1::role] Client::encode method=GET, body=None [2024-06-15][01:49:41][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:49:41][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:49:41][DEBUG][hyper::proto::h1::io] flushed 143 bytes [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-06-15][01:49:41][TRACE][tracing::span] parse_headers; [2024-06-15][01:49:41][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:49:41][TRACE][hyper::proto::h1::role] Response.parse bytes=1369 [2024-06-15][01:49:41][TRACE][hyper::proto::h1::role] Response.parse Complete(1266) [2024-06-15][01:49:41][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:49:41][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:49:41][DEBUG][hyper::proto::h1::io] parsed 30 headers [2024-06-15][01:49:41][DEBUG][hyper::proto::h1::conn] incoming body is content-length (5697 bytes) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(5697) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(5594)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(5594) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(4225)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(4225) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(2856)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(2856) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(1487)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(1487) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 1369 bytes [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(118)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::decode] decode; state=Length(118) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::io] received 118 bytes [2024-06-15][01:49:41][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:41][TRACE][hyper::client::pool] pool dropped, dropping pooled (("https", gh.pylogmon.com)) [2024-06-15][01:49:41][TRACE][hyper::proto::h1::dispatch] client tx closed [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] State::close_read() [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] State::close_write() [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled } [2024-06-15][01:49:41][TRACE][hyper::proto::h1::conn] shut down IO complete [2024-06-15][01:49:44][INFO][selection::windows] get_text_by_automation is empty [2024-06-15][01:49:44][INFO][selection::windows] fallback to get_text_by_clipboard [2024-06-15][01:49:44][ERROR][selection::windows] get_text_by_automation error:Copy Failed [2024-06-15][01:49:44][INFO][pot::window] Mouse position: 1391, 483 [2024-06-15][01:49:44][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:49:44][INFO][pot::window] Window not existence, Creating new window: translate [2024-06-15][01:49:44][TRACE][os_info::imp] windows::current_platform is called [2024-06-15][01:49:44][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 19045), edition: Some("Windows 10 Pro"), codename: None, bitness: X64, architecture: None } [2024-06-15][01:49:45][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", fanyi.baidu.com) [2024-06-15][01:49:45][DEBUG][reqwest::connect] starting new connection: https://fanyi.baidu.com/ [2024-06-15][01:49:45][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("https"), host=Some("fanyi.baidu.com"), port=None [2024-06-15][01:49:45][DEBUG][hyper::client::connect::dns] resolving host="fanyi.baidu.com" [2024-06-15][01:49:45][DEBUG][hyper::client::connect::http] connecting to 180.101.49.58:443 [2024-06-15][01:49:45][DEBUG][hyper::client::connect::http] connected to 180.101.49.58:443 [2024-06-15][01:49:45][TRACE][hyper::client::conn] client handshake Http1 [2024-06-15][01:49:45][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy } [2024-06-15][01:49:45][TRACE][hyper::client::pool] checkout dropped for ("https", fanyi.baidu.com) [2024-06-15][01:49:45][TRACE][tracing::span] encode_headers; [2024-06-15][01:49:45][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:49:45][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(6)) [2024-06-15][01:49:45][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:49:45][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:49:45][TRACE][hyper::proto::h1::encode] sized write, len = 6 [2024-06-15][01:49:45][TRACE][hyper::proto::h1::io] buffer.flatten self.len=133 buf.len=6 [2024-06-15][01:49:45][DEBUG][hyper::proto::h1::io] flushed 139 bytes [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:45][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:49:45][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:49:45][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:49:45][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:49:45][TRACE][hyper::proto::h1::io] received 482 bytes [2024-06-15][01:49:45][TRACE][tracing::span] parse_headers; [2024-06-15][01:49:45][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:49:45][TRACE][hyper::proto::h1::role] Response.parse bytes=482 [2024-06-15][01:49:45][TRACE][hyper::proto::h1::role] Response.parse Complete(413) [2024-06-15][01:49:45][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:49:45][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:49:45][DEBUG][hyper::proto::h1::io] parsed 9 headers [2024-06-15][01:49:45][DEBUG][hyper::proto::h1::conn] incoming body is content-length (69 bytes) [2024-06-15][01:49:45][TRACE][hyper::proto::h1::decode] decode; state=Length(69) [2024-06-15][01:49:45][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:45][TRACE][hyper::client::pool] put; add idle connection for ("https", fanyi.baidu.com) [2024-06-15][01:49:45][DEBUG][hyper::client::pool] pooling idle connection for ("https", fanyi.baidu.com) [2024-06-15][01:49:45][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:45][TRACE][hyper::client::pool] idle interval checking for expired [2024-06-15][01:49:47][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:49:58][INFO][selection::windows] get_text_by_automation is empty [2024-06-15][01:49:58][INFO][selection::windows] fallback to get_text_by_clipboard [2024-06-15][01:49:59][INFO][pot::window] Mouse position: 1049, 364 [2024-06-15][01:49:59][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:49:59][INFO][pot::window] Window existence: translate [2024-06-15][01:49:59][INFO][webview::unknown] Focus [2024-06-15][01:49:59][TRACE][hyper::client::pool] take? ("https", fanyi.baidu.com): expiration = Some(90s) [2024-06-15][01:49:59][DEBUG][hyper::client::pool] reuse idle connection for ("https", fanyi.baidu.com) [2024-06-15][01:49:59][TRACE][tracing::span] encode_headers; [2024-06-15][01:49:59][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:49:59][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(141)) [2024-06-15][01:49:59][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:49:59][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:49:59][TRACE][hyper::proto::h1::encode] sized write, len = 141 [2024-06-15][01:49:59][TRACE][hyper::proto::h1::io] buffer.flatten self.len=135 buf.len=141 [2024-06-15][01:49:59][DEBUG][hyper::proto::h1::io] flushed 276 bytes [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:49:59][TRACE][hyper::proto::h1::io] received 451 bytes [2024-06-15][01:49:59][TRACE][tracing::span] parse_headers; [2024-06-15][01:49:59][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:49:59][TRACE][hyper::proto::h1::role] Response.parse bytes=451 [2024-06-15][01:49:59][TRACE][hyper::proto::h1::role] Response.parse Complete(413) [2024-06-15][01:49:59][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:49:59][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:49:59][DEBUG][hyper::proto::h1::io] parsed 9 headers [2024-06-15][01:49:59][DEBUG][hyper::proto::h1::conn] incoming body is content-length (38 bytes) [2024-06-15][01:49:59][TRACE][hyper::proto::h1::decode] decode; state=Length(38) [2024-06-15][01:49:59][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:59][TRACE][hyper::client::pool] put; add idle connection for ("https", fanyi.baidu.com) [2024-06-15][01:49:59][DEBUG][hyper::client::pool] pooling idle connection for ("https", fanyi.baidu.com) [2024-06-15][01:49:59][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:49:59][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", www2.deepl.com) [2024-06-15][01:49:59][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.ecdict\plugin.dll" [2024-06-15][01:49:59][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.tatoeba\plugin.dll" [2024-06-15][01:49:59][DEBUG][reqwest::connect] starting new connection: https://www2.deepl.com/ [2024-06-15][01:49:59][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("https"), host=Some("www2.deepl.com"), port=None [2024-06-15][01:49:59][DEBUG][hyper::client::connect::dns] resolving host="www2.deepl.com" [2024-06-15][01:49:59][DEBUG][hyper::client::connect::http] connecting to 172.65.212.243:443 [2024-06-15][01:49:59][DEBUG][hyper::client::connect::http] connected to 172.65.212.243:443 [2024-06-15][01:50:00][TRACE][hyper::client::conn] client handshake Http1 [2024-06-15][01:50:00][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy } [2024-06-15][01:50:00][TRACE][hyper::client::pool] checkout dropped for ("https", www2.deepl.com) [2024-06-15][01:50:00][TRACE][tracing::span] encode_headers; [2024-06-15][01:50:00][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:50:00][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(275)) [2024-06-15][01:50:00][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:50:00][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:50:00][TRACE][hyper::proto::h1::encode] sized write, len = 275 [2024-06-15][01:50:00][TRACE][hyper::proto::h1::io] buffer.flatten self.len=114 buf.len=275 [2024-06-15][01:50:00][DEBUG][hyper::proto::h1::io] flushed 389 bytes [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:50:00][TRACE][hyper::proto::h1::io] received 1017 bytes [2024-06-15][01:50:00][TRACE][tracing::span] parse_headers; [2024-06-15][01:50:00][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:50:00][TRACE][hyper::proto::h1::role] Response.parse bytes=1017 [2024-06-15][01:50:00][TRACE][hyper::proto::h1::role] Response.parse Complete(613) [2024-06-15][01:50:00][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:50:00][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:50:00][DEBUG][hyper::proto::h1::io] parsed 9 headers [2024-06-15][01:50:00][DEBUG][hyper::proto::h1::conn] incoming body is chunked encoding [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] decode; state=Chunked(Size, 0) [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Chunk size is 397 [2024-06-15][01:50:00][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0x18D (397 bytes) [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Chunked read, remaining=397 [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked(BodyCr, 0)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] decode; state=Chunked(BodyCr, 0) [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::io] received 5 bytes [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] Chunk size is 0 [2024-06-15][01:50:00][TRACE][hyper::proto::h1::decode] end of chunked [2024-06-15][01:50:00][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:00][TRACE][hyper::client::pool] put; add idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:00][DEBUG][hyper::client::pool] pooling idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:00][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=59.2µs [2024-06-15][01:50:00][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=4.455ms [2024-06-15][01:50:02][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=49.1µs [2024-06-15][01:50:02][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=8.5857ms [2024-06-15][01:50:07][INFO][pot::window] Mouse position: 1340, 674 [2024-06-15][01:50:07][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:50:07][INFO][pot::window] Window existence: translate [2024-06-15][01:50:07][INFO][webview::unknown] Focus [2024-06-15][01:50:13][INFO][pot::window] Mouse position: 1350, 779 [2024-06-15][01:50:13][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:50:13][INFO][pot::window] Window not existence, Creating new window: config [2024-06-15][01:50:13][INFO][webview::unknown] Focus [2024-06-15][01:50:13][TRACE][os_info::imp] windows::current_platform is called [2024-06-15][01:50:13][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 19045), edition: Some("Windows 10 Pro"), codename: None, bitness: X64, architecture: None } [2024-06-15][01:50:13][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:13][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:13][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:13][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:13][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:13][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:13][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:13][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:15][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:15][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:19][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:19][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:19][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:19][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:19][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:19][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:19][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:19][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:19][TRACE][hyper::client::pool] take? ("https", www2.deepl.com): expiration = Some(90s) [2024-06-15][01:50:19][DEBUG][hyper::client::pool] reuse idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:19][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.ecdict\plugin.dll" [2024-06-15][01:50:19][TRACE][tracing::span] encode_headers; [2024-06-15][01:50:19][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.tatoeba\plugin.dll" [2024-06-15][01:50:19][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:50:19][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(275)) [2024-06-15][01:50:19][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:50:19][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:50:19][TRACE][hyper::proto::h1::encode] sized write, len = 275 [2024-06-15][01:50:19][TRACE][hyper::proto::h1::io] buffer.flatten self.len=114 buf.len=275 [2024-06-15][01:50:20][DEBUG][hyper::proto::h1::io] flushed 389 bytes [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:50:20][TRACE][hyper::proto::h1::io] received 865 bytes [2024-06-15][01:50:20][TRACE][tracing::span] parse_headers; [2024-06-15][01:50:20][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:50:20][TRACE][hyper::proto::h1::role] Response.parse bytes=865 [2024-06-15][01:50:20][TRACE][hyper::proto::h1::role] Response.parse Complete(611) [2024-06-15][01:50:20][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:50:20][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:50:20][DEBUG][hyper::proto::h1::io] parsed 9 headers [2024-06-15][01:50:20][DEBUG][hyper::proto::h1::conn] incoming body is chunked encoding [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] decode; state=Chunked(Size, 0) [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Chunk size is 243 [2024-06-15][01:50:20][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0xF3 (243 bytes) [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Chunked read, remaining=243 [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked(BodyCr, 0)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] decode; state=Chunked(BodyCr, 0) [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] Chunk size is 0 [2024-06-15][01:50:20][TRACE][hyper::proto::h1::decode] end of chunked [2024-06-15][01:50:20][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:20][TRACE][hyper::client::pool] put; add idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:20][DEBUG][hyper::client::pool] pooling idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:20][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:20][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=46.7µs [2024-06-15][01:50:20][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=8.4345ms [2024-06-15][01:50:21][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:21][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:23][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=19µs [2024-06-15][01:50:23][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=8.6022ms [2024-06-15][01:50:23][INFO][pot::window] Mouse position: 1367, 688 [2024-06-15][01:50:23][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:50:23][INFO][pot::window] Window existence: translate [2024-06-15][01:50:23][INFO][webview::unknown] Focus [2024-06-15][01:50:28][INFO][pot::window] Mouse position: 1332, 728 [2024-06-15][01:50:28][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:50:28][INFO][pot::window] Window not existence, Creating new window: config [2024-06-15][01:50:28][INFO][webview::unknown] Focus [2024-06-15][01:50:28][TRACE][os_info::imp] windows::current_platform is called [2024-06-15][01:50:28][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 19045), edition: Some("Windows 10 Pro"), codename: None, bitness: X64, architecture: None } [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:28][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:29][TRACE][hyper::proto::h1::io] received 0 bytes [2024-06-15][01:50:29][TRACE][hyper::proto::h1::conn] found EOF on idle connection, closing [2024-06-15][01:50:29][TRACE][hyper::proto::h1::conn] State::close_read() [2024-06-15][01:50:29][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Init, keep_alive: Disabled } [2024-06-15][01:50:29][TRACE][hyper::proto::h1::conn] shut down IO complete [2024-06-15][01:50:30][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:30][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:30][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:50:33][TRACE][hyper::client::pool] take? ("https", www2.deepl.com): expiration = Some(90s) [2024-06-15][01:50:33][DEBUG][hyper::client::pool] reuse idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:33][TRACE][tracing::span] encode_headers; [2024-06-15][01:50:33][TRACE][tracing::span::active] -> encode_headers; [2024-06-15][01:50:33][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(275)) [2024-06-15][01:50:33][TRACE][tracing::span::active] <- encode_headers; [2024-06-15][01:50:33][TRACE][tracing::span] -- encode_headers; [2024-06-15][01:50:33][TRACE][hyper::proto::h1::encode] sized write, len = 275 [2024-06-15][01:50:33][TRACE][hyper::proto::h1::io] buffer.flatten self.len=114 buf.len=275 [2024-06-15][01:50:33][DEBUG][hyper::proto::h1::io] flushed 389 bytes [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:33][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.tatoeba\plugin.dll" [2024-06-15][01:50:33][INFO][pot::cmd] Load plugin from: "C:\Users\3318\AppData\Roaming\com.pot-app.desktop\plugins\translate\[plugin].com.pot-app.ecdict\plugin.dll" [2024-06-15][01:50:33][INFO][webview::unknown] Focus [2024-06-15][01:50:33][INFO][webview::unknown] Focus [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] Conn::read_head [2024-06-15][01:50:33][TRACE][hyper::proto::h1::io] received 860 bytes [2024-06-15][01:50:33][TRACE][tracing::span] parse_headers; [2024-06-15][01:50:33][TRACE][tracing::span::active] -> parse_headers; [2024-06-15][01:50:33][TRACE][hyper::proto::h1::role] Response.parse bytes=860 [2024-06-15][01:50:33][TRACE][hyper::proto::h1::role] Response.parse Complete(611) [2024-06-15][01:50:33][TRACE][tracing::span::active] <- parse_headers; [2024-06-15][01:50:33][TRACE][tracing::span] -- parse_headers; [2024-06-15][01:50:33][DEBUG][hyper::proto::h1::io] parsed 9 headers [2024-06-15][01:50:33][DEBUG][hyper::proto::h1::conn] incoming body is chunked encoding [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] decode; state=Chunked(Size, 0) [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Chunk size is 243 [2024-06-15][01:50:33][DEBUG][hyper::proto::h1::decode] incoming chunked header: 0xF3 (243 bytes) [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Chunked read, remaining=243 [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Chunked(BodyCr, 0)), writing: KeepAlive, keep_alive: Busy } [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] decode; state=Chunked(BodyCr, 0) [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:33][TRACE][hyper::proto::h1::io] received 5 bytes [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Read chunk hex size [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] Chunk size is 0 [2024-06-15][01:50:33][TRACE][hyper::proto::h1::decode] end of chunked [2024-06-15][01:50:33][DEBUG][hyper::proto::h1::conn] incoming body completed [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:33][TRACE][hyper::client::pool] put; add idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:33][DEBUG][hyper::client::pool] pooling idle connection for ("https", www2.deepl.com) [2024-06-15][01:50:33][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle } [2024-06-15][01:50:33][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=29.8µs [2024-06-15][01:50:33][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=7.833ms [2024-06-15][01:50:35][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:35][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:35][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:50:35][DEBUG][sqlx::query] summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=65.1µs [2024-06-15][01:50:35][DEBUG][sqlx::query] summary="INSERT into history (text, …" db.statement="\n\nINSERT into\n history (text, source, target, service, result, timestamp)\nVALUES\n ($1, $2, $3, $4, $5, $6)\n" rows_affected=1 rows_returned=0 elapsed=12.5104ms [2024-06-15][01:50:50][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared [2024-06-15][01:50:50][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared [2024-06-15][01:50:50][INFO][webview::unknown] Focus [2024-06-15][01:50:50][INFO][webview::unknown] Focus [2024-06-15][01:50:58][INFO][webview::unknown] Focus [2024-06-15][01:51:04][INFO][pot::window] Mouse position: 699, 308 [2024-06-15][01:51:04][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:51:04][INFO][pot::window] Window existence: translate [2024-06-15][01:51:04][INFO][webview::unknown] Focus [2024-06-15][01:51:10][INFO][pot::window] Mouse position: 942, 232 [2024-06-15][01:51:10][INFO][pot::window] Current Monitor: Monitor { name: Some("\\.\DISPLAY1"), size: PhysicalSize { width: 1600, height: 900 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 } [2024-06-15][01:51:10][INFO][pot::window] Window not existence, Creating new window: screenshot [2024-06-15][01:51:10][INFO][webview::unknown] Focus [2024-06-15][01:51:10][TRACE][os_info::imp] windows::current_platform is called [2024-06-15][01:51:10][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 19045), edition: Some("Windows 10 Pro"), codename: None, bitness: X64, architecture: None } [2024-06-15][01:51:10][INFO][pot::screenshot] Screenshot screen with position: x=0, y=0 [2024-06-15][01:51:10][INFO][pot::screenshot] Screen: DisplayInfo { id: 2776250164, x: 0, y: 0, width: 1600, height: 900, rotation: 0.0, scale_factor: 1.0, is_primary: true } [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify::windows] Event: path = C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json, action = 3 [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:10][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\Users\3318\AppData\Roaming\com.pot-app.desktop\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None } [2024-06-15][01:51:12][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:51:12][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:51:12][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:51:12][TRACE][notify_debouncer_mini] debounced event: Any [2024-06-15][01:51:15][TRACE][hyper::client::pool] idle interval checking for expired [2024-06-15][01:51:15][TRACE][hyper::client::pool] idle interval evicting closed for ("https", fanyi.baidu.com)