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

[Bug]: 未生成user_result.txt #863

Closed
4 of 7 tasks
zazhi4 opened this issue Jan 23, 2025 · 5 comments
Closed
4 of 7 tasks

[Bug]: 未生成user_result.txt #863

zazhi4 opened this issue Jan 23, 2025 · 5 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@zazhi4
Copy link

zazhi4 commented Jan 23, 2025

Don't skip these steps | 不要跳过这些步骤

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field | 我明白,如果我“故意”删除或跳过任何强制性的*字段,我将被限制
  • I am sure that this is a running error exception problem and will not submit any problems unrelated to this project | 我确定这是运行报错异常问题,不会提交任何与本项目无关的问题
  • I have searched and double-checked that there are no similar issues that have been created | 我已经通过搜索并仔细检查过没有存在已经创建的类似问题

Occurrence environment | 触发环境

  • Workflow | 工作流
  • GUI | 软件
  • Docker
  • Command line | 命令行

Bug description | 具体描述

安装docker完成,过了一夜,还是没有user_result.txt。(我已经在config.ini中,将输出文件改为ouput/user_result.txt)。
检查,docker logs iptv-api,结果显示,Processing,Sorting都完成了,但是Writing未完成。似乎是因为 'ipv4'。
root@armbian:~# docker logs iptv-api | grep "UPDATE_CRON"
[2025-01-22 13:43:30 +0000] [18] [INFO] Starting gunicorn 23.0.0
[2025-01-22 13:43:30 +0000] [18] [INFO] Listening at: http://0.0.0.0:8000 (18)
[2025-01-22 13:43:30 +0000] [18] [INFO] Using worker: sync
[2025-01-22 13:43:30 +0000] [25] [INFO] Booting worker with pid: 25
[2025-01-22 13:56:40 +0000] [19] [INFO] Starting gunicorn 23.0.0
[2025-01-22 13:56:40 +0000] [19] [INFO] Listening at: http://0.0.0.0:8000 (19)
[2025-01-22 13:56:40 +0000] [19] [INFO] Using worker: sync
[2025-01-22 13:56:40 +0000] [26] [INFO] Booting worker with pid: 26
Processing subscribe : 100%|██████████| 14/14 [18:35<00:00, 79.69s/it]
Sorting: 100%|██████████| 3114/3114 [13:59<00:00, 3.71it/s]s]
Writing: 0%| | 0/236 [00:00<?, ?it/s]

Error log | 报错日志

执行docker logs iptv-api,部分结果如下:
西游记: History: 1, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 1, Total: 1
三国演义: History: 5, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 5, Total: 5
水浒传: Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 0, Total: 0
新白娘子传奇: History: 5, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 6, Total: 5
济公游记: History: 1, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 1, Total: 1
封神榜: History: 5, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 1, Subscribe: 4, Total: 5
闯关东: Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 0, Total: 0
上海滩: History: 2, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 2, Total: 2
射雕英雄传: History: 4, Local: 0, Hotel_fofa: 0, Multicast: 0, Hotel_foodie: 0, Subscribe: 4, Total: 4
Total urls: 31006, need to sort: 3114
Sorting: 100%|██████████| 3114/3114 [13:59<00:00, 3.71it/s]s]
Writing: 0%| | 0/236 [00:00<?, ?it/s]

📺央视频道: ❌ Write channel to file failed: 'ipv4'
🥳 Update completed! Total time spent: 34:01. Please check the output/user_result.txt file!
root@armbian:/home/user/iptv-output#

@zazhi4 zazhi4 added the bug Something isn't working label Jan 23, 2025
@ghost
Copy link

ghost commented Jan 23, 2025 via email

@Guovin
Copy link
Owner

Guovin commented Jan 23, 2025

请确定使用最新版镜像,即昨天下午更新发布的版本,这是旧版本可能出现的问题。

@Guovin Guovin closed this as completed Jan 23, 2025
@Guovin Guovin added the invalid This doesn't seem right label Jan 23, 2025
@zazhi4
Copy link
Author

zazhi4 commented Jan 23, 2025

我是昨天晚上,估计20:00左右才安装的docker,应该是最新版了。(不知您设什么时候更新的),要不,今晚再更新一次。

Guovin added a commit that referenced this issue Jan 23, 2025
@zazhi4
Copy link
Author

zazhi4 commented Jan 23, 2025

已经更新了1.6版本的镜像,输出文件也改回默认的ouput/result.txt,但是,output目录下,仅有两个文件,cache.pkl,sort.log。我将日志文件上传吧。还是没有筛选后的文件,在writing环节出错了。再有,查看日志,说我没有ipv6环境,这是错误的,我打开ipv6了,也能看ipv6的直播源。

7153ef15aee83879d8d75102952d204747bb0489ccfd8b048855e2d239f5f067-json.log

@zazhi4
Copy link
Author

zazhi4 commented Jan 23, 2025

Image

@Guovin Guovin mentioned this issue Feb 21, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants