shion-app / shion

Time tracker | 时间追踪 🍂
https://shion.app/
GNU General Public License v3.0
592 stars 31 forks source link

[bug] 浏览器历史记录失败 #38

Closed wcgjob closed 1 day ago

wcgjob commented 4 days ago

Describe the bug

图片


[2024-07-03][17:27:53][DEBUG][tauri_plugin_shion_watcher::watcher] remove program: C:\SoftWare\Microsoft VS Code\Code.exe [2024-07-03][17:27:53][DEBUG][tauri_plugin_shion_watcher::watcher] add program: C:\Windows\explorer.exe [2024-07-03][17:27:53][DEBUG][tauri_plugin_shion_watcher::watcher] remove program: C:\Windows\explorer.exe [2024-07-03][17:27:53][DEBUG][tauri_plugin_shion_watcher::watcher] add program: D:\Software\shion\shion.exe [2024-07-03][17:27:54][DEBUG][tauri_plugin_shion_watcher::watcher] remove program: D:\Software\shion\shion.exe [2024-07-03][17:27:54][DEBUG][tauri_plugin_shion_watcher::watcher] add program: C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.81\msedgewebview2.exe [2024-07-03][17:27:57][ERROR][webview::unknown] history import: 另一个程序正在使用此文件,进程无法访问。 (os error 32) [2024-07-03][17:27:58][DEBUG][tauri_plugin_shion_watcher::watcher] remove program: C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.81\msedgewebview2.exe [2024-07-03][17:27:58][DEBUG][tauri_plugin_shion_watcher::watcher] add program: C:\SoftWare\Microsoft VS Code\Code.exe

Version

v0.11.15

Steps to reproduce

No response

Additional information

重启电脑无效

hanaTsuk1 commented 4 days ago

是每次都会这样吗?多试几次

shion_0.11.15_x64-setup.zip

试一下这个 看看报错是什么

wcgjob commented 3 days ago

还是不行,一样的错误

这个是什么请求

标头

请求 URL: http://ipc.localhost/plugin%3Ashion-history%7Cread_history 请求方法: POST 状态代码: 400 Bad Request 引用站点策略: strict-origin-when-cross-origin

负载

{name: "Firefox", start: 0, end: 1720058562794}

预览

"remove file error: 另一个程序正在使用此文件,进程无法访问。 (os error 32)"

请求表头

Content-Type: application/json Referer: http://tauri.localhost/ Sec-Ch-Ua: "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126", "Microsoft Edge WebView2";v="126" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "Windows" Tauri-Callback: 2646846016 Tauri-Error: 723914814 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0


图片

hanaTsuk1 commented 3 days ago

拉取本地浏览器数据的请求

再试一下这个,看日志 我想知道每次都报错吗?每次都是同一个浏览器吗? 拉取过程中会生成临时文件,看日志temp file path显示的路径在结束后是否还存在

shion_0.11.15_x64-setup.zip