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]: v3.0.0 之前的插件不见了 + 插件无法安装 #848

Closed TCOTC closed 1 week ago

TCOTC commented 1 week ago

Description

之前的插件不见了 + 插件无法安装

Reproduction

  1. 更新到 v3.0.0
  2. 启用后发现插件都没了
  3. 在插件列表里重新下载了插件,并解压 image
  4. 安装报错 image

Platform

Windows

System Version

Windows 10 家庭中文版 22H2

Window System (Linux Only)

None

Software Version

3.0.0

Log File

[2024-06-23][14:50:58][INFO][pot] ============== Start App ==============
[2024-06-23][14:50:58][INFO][pot] Init Config Store
[2024-06-23][14:50:58][INFO][pot::config] Load config from: "C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"
[2024-06-23][14:50:58][INFO][pot::config] Config loaded
[2024-06-23][14:50:58][INFO][pot::tray] Update tray with language: zh_cn, copy mode: disable
[2024-06-23][14:50:58][INFO][pot::hotkey] Registered global shortcut: Alt+Q for hotkey_selection_translate
[2024-06-23][14:50:58][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", gh.pylogmon.com)
[2024-06-23][14:50:58][DEBUG][reqwest::connect] starting new connection: https://gh.pylogmon.com/
[2024-06-23][14:50:58][DEBUG][reqwest::connect] proxy(http://127.0.0.1:7890) intercepts 'https://gh.pylogmon.com/'
[2024-06-23][14:50:58][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("http"), host=Some("127.0.0.1"), port=Some(Port(7890))
[2024-06-23][14:50:58][DEBUG][hyper::client::connect::http] connecting to 127.0.0.1:7890
[2024-06-23][14:50:58][DEBUG][tiny_http] Server listening on 127.0.0.1:60828
[2024-06-23][14:50:58][DEBUG][tiny_http] Running accept thread
[2024-06-23][14:50:58][DEBUG][hyper::client::connect::http] connected to 127.0.0.1:7890
[2024-06-23][14:50:58][TRACE][reqwest::connect] tunneling HTTPS over proxy
[2024-06-23][14:51:00][TRACE][hyper::client::conn] client handshake Http1
[2024-06-23][14:51:00][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task
[2024-06-23][14:51:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy }
[2024-06-23][14:51:00][TRACE][hyper::client::pool] checkout dropped for ("https", gh.pylogmon.com)
[2024-06-23][14:51:00][TRACE][tracing::span] encode_headers;
[2024-06-23][14:51:00][TRACE][tracing::span::active] -> encode_headers;
[2024-06-23][14:51:00][TRACE][hyper::proto::h1::role] Client::encode method=GET, body=None
[2024-06-23][14:51:00][TRACE][tracing::span::active] <- encode_headers;
[2024-06-23][14:51:00][TRACE][tracing::span] -- encode_headers;
[2024-06-23][14:51:00][DEBUG][hyper::proto::h1::io] flushed 143 bytes
[2024-06-23][14:51:00][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] Conn::read_head
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::io] received 1369 bytes
[2024-06-23][14:51:01][TRACE][tracing::span] parse_headers;
[2024-06-23][14:51:01][TRACE][tracing::span::active] -> parse_headers;
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::role] Response.parse bytes=1369
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::role] Response.parse Complete(1221)
[2024-06-23][14:51:01][TRACE][tracing::span::active] <- parse_headers;
[2024-06-23][14:51:01][TRACE][tracing::span] -- parse_headers;
[2024-06-23][14:51:01][DEBUG][hyper::proto::h1::io] parsed 29 headers
[2024-06-23][14:51:01][DEBUG][hyper::proto::h1::conn] incoming body is content-length (5286 bytes)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::decode] decode; state=Length(5286)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(5138)), writing: KeepAlive, keep_alive: Busy }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::decode] decode; state=Length(5138)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::io] received 1369 bytes
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(3769)), writing: KeepAlive, keep_alive: Busy }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::decode] decode; state=Length(3769)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::io] received 1369 bytes
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(2400)), writing: KeepAlive, keep_alive: Busy }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::decode] decode; state=Length(2400)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::io] received 1369 bytes
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Body(Length(1031)), writing: KeepAlive, keep_alive: Busy }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::decode] decode; state=Length(1031)
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::io] received 1031 bytes
[2024-06-23][14:51:01][DEBUG][hyper::proto::h1::conn] incoming body completed
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2024-06-23][14:51:01][TRACE][hyper::client::pool] pool dropped, dropping pooled (("https", gh.pylogmon.com))
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::dispatch] client tx closed
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] State::close_read()
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] State::close_write()
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled }
[2024-06-23][14:51:01][TRACE][hyper::proto::h1::conn] shut down IO complete
[2024-06-23][15:08:39][INFO][pot::window] Mouse position: 2145, 1227
[2024-06-23][15:08:39][INFO][pot::window] Current Monitor: Monitor { name: Some("\\\\.\\DISPLAY1"), size: PhysicalSize { width: 2560, height: 1440 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 }
[2024-06-23][15:08:39][INFO][pot::window] Window not existence, Creating new window: config
[2024-06-23][15:08:43][INFO][pot::window] Mouse position: 2229, 1113
[2024-06-23][15:08:43][INFO][pot::window] Current Monitor: Monitor { name: Some("\\\\.\\DISPLAY1"), size: PhysicalSize { width: 2560, height: 1440 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 }
[2024-06-23][15:08:43][INFO][pot::window] Window existence: config
[2024-06-23][15:08:44][TRACE][os_info::imp] windows::current_platform is called
[2024-06-23][15:08:44][TRACE][os_info::imp] Returning Info { os_type: Windows, version: Semantic(10, 0, 19045), edition: Some("Windows 10 Home China"), codename: None, bitness: X64, architecture: Some("x86_64") }
[2024-06-23][15:08:44][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:44][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:44][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:44][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:44][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:44][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:44][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:44][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:46][TRACE][notify_debouncer_mini] debounced event: AnyContinuous
[2024-06-23][15:08:46][TRACE][notify_debouncer_mini] debounced event: Any
[2024-06-23][15:08:53][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:53][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:53][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:53][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:53][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:53][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:53][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:08:53][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:08:55][TRACE][notify_debouncer_mini] debounced event: Any
[2024-06-23][15:08:58][INFO][webview::unknown] Focus
[2024-06-23][15:09:04][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:09:04][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:09:04][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:09:04][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:09:06][TRACE][notify_debouncer_mini] debounced event: Any
[2024-06-23][15:09:31][INFO][webview::unknown] Focus
[2024-06-23][15:10:29][INFO][webview::unknown] Focus
[2024-06-23][15:10:41][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:10:41][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:10:41][INFO][webview::unknown] Focus
[2024-06-23][15:11:19][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:11:19][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:11:19][INFO][webview::unknown] Focus
[2024-06-23][15:11:26][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:11:26][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:11:26][INFO][webview::unknown] Focus
[2024-06-23][15:11:33][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:11:33][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:11:33][INFO][webview::unknown] Focus
[2024-06-23][15:11:50][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:11:50][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:11:50][TRACE][notify::windows] Event: path = `C:\Users\Hello\AppData\Roaming\com.pot-app.desktop\config.json`, action = 3
[2024-06-23][15:11:50][TRACE][notify_debouncer_mini] raw event: Event { kind: Modify(Any), paths: ["C:\\Users\\Hello\\AppData\\Roaming\\com.pot-app.desktop\\config.json"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
[2024-06-23][15:11:52][TRACE][notify_debouncer_mini] debounced event: Any
[2024-06-23][15:13:04][INFO][webview::unknown] Focus
[2024-06-23][15:13:19][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:13:19][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:13:19][INFO][webview::unknown] Focus
[2024-06-23][15:13:31][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-06-23][15:13:31][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-06-23][15:13:31][INFO][webview::unknown] Focus
[2024-06-23][15:13:38][INFO][webview::unknown] Focus
[2024-06-23][15:14:43][INFO][webview::unknown] Focus
[2024-06-23][15:16:25][INFO][webview::unknown] Focus
[2024-06-23][15:16:34][INFO][webview::unknown] Focus
[2024-06-23][15:17:12][INFO][webview::unknown] Focus
[2024-06-23][15:17:14][INFO][webview::unknown] Move
[2024-06-23][15:18:55][INFO][webview::unknown] Move
[2024-06-23][15:18:55][INFO][webview::unknown] Focus
[2024-06-23][15:18:55][INFO][webview::unknown] Focus

Additional Information

No response

Pylogmon commented 1 week ago

3.0只支持新版插件,如果插件作者没有适配可以给插件仓库提交issue反馈