Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多次更新时提示测速日志文件被占用 #655

Closed
4 of 7 tasks
Zhuazizizi opened this issue Dec 11, 2024 · 2 comments
Closed
4 of 7 tasks

多次更新时提示测速日志文件被占用 #655

Zhuazizizi opened this issue Dec 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Zhuazizizi
Copy link

Zhuazizizi commented Dec 11, 2024

Don't skip these steps

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field
  • I have checked through the search that there are no similar issues that already exist
  • I will not submit any issues that are not related to this project

Occurrence environment

  • Workflow
  • GUI
  • Docker
  • Command line

Bug description

在1.5.5GUI版本,我更新一次节目列表后修改了下设置再更新的话就会提示[WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'output\sort.log'并卡在这一步,看起来这应该是测速的结果日志文件?我必须 重启软件 或者 关闭测速排序选项 才可以重新更新节目。

还有个疑问是测速排序功能似乎只是检测了访问响应延迟排序,并没有实际的传输速度测试,经常会有一部分质量不行的(在同机器上用potplayer播放时能访问但速度在200-400k/s或更低,不足以流畅播放)混在其中,这功能能改进下增加实际的速度测试并排序吗,目前看来有点点不太实用,或者是我单纯的使用有误?

Error log

Processing subscribe : 100%|███████████████████████████████████████████████████████████| 15/15 [04:04<00:00, 16.30s/it]
Update cancelled!ibe :  93%|███████████████████████████████████████████████████████    | 14/15 [01:18<00:13, 13.63s/it]
Processing subscribe : 100%|███████████████████████████████████████████████████████████| 15/15 [03:17<00:00, 13.19s/it]
湖南卫视: Hotel_fofa: 0, Subscribe: 316, total: 196████████████████████████████████████| 15/15 [03:17<00:00, 45.53s/it]
Checking if your network supports IPv6...
Your network supports IPv6
Total urls: 196, need to sort: 192
Sorting: 100%|███████████████████████████████████████████████████████████████████████| 192/192 [01:01<00:00,  2.61it/s]Exception in thread Thread-7 (run_loop):
Traceback (most recent call last):
  File "threading.py", line 1041, in _bootstrap_inner
  File "threading.py", line 992, in run
  File "tkinter_ui\tkinter_ui.py", line 119, in run_loop
  File "asyncio\base_events.py", line 721, in run_until_complete
  File "tkinter_ui\tkinter_ui.py", line 104, in run_update
  File "main.py", line 197, in start
  File "main.py", line 139, in main
  File "utils\channel.py", line 575, in process_sort_channel_list
  File "utils\tools.py", line 26, in get_logger
PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'output\\sort.log'
@Zhuazizizi Zhuazizizi added the bug Something isn't working label Dec 11, 2024
@Guovin
Copy link
Owner

Guovin commented Dec 12, 2024

1.可能是日志写入进程没有被释放导致,我会修复该问题。
2.目前工作流已实现获取延迟和速率,其它工作方式待下版更新。

Guovin added a commit that referenced this issue Dec 12, 2024
@Guovin Guovin mentioned this issue Dec 16, 2024
@Guovin
Copy link
Owner

Guovin commented Dec 17, 2024

v1.5.6已更新,该问题已修复。

@Guovin Guovin closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants