-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
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镜像,在直播源测速过程中,会出现如下报错日志:
容器安装在飞牛nas的docker,如上错误是否和epg节目单无法读取有关?我的播放软件是iPhone的aptv,添加订阅地址后,直播源可以加载出来,但是无法读取epg节目单,config配置里面epg已经打开,导出result.m3u查看第一行为#EXTM3U x-tvg-url="http://localhost:8020/epg/epg.gz",这个地址是否无法正常访问到epg地址?麻烦作者看下这个错误。
Error log | 报错日志
Total urls: 810, need to test speed: 665
Speed test: 41%|████ | 269/665 [06:18<13:48, 2.09s/it]
Speed test: 66%|██████▋ | 441/665 [10:34<10:42, 2.87s/it][2025-05-28 11:30:54,502] ERROR in app: Exception on /epg/epg.gz [GET]
Traceback (most recent call last):
File "/.venv/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/.venv/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/.venv/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/.venv/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/iptv-api/service/app.py", line 181, in show_epg_gz
return get_result_file_content(path=constants.epg_gz_result_path, show_content=False)
File "/iptv-api/utils/tools.py", line 413, in get_result_file_content
return send_file(resource_path(result_file), as_attachment=True)
File "/.venv/lib/python3.13/site-packages/flask/helpers.py", line 511, in send_file
return werkzeug.utils.send_file( # type: ignore[return-value]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**_prepare_send_file_kwargs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
)
^
File "/.venv/lib/python3.13/site-packages/werkzeug/utils.py", line 428, in send_file
stat = os.stat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/iptv-api/output/epg/epg.m3u'
Speed test: 100%|█████████▉| 661/665 [15:45<00:05, 1.48s/it]
Speed test: 100%|██████████| 665/665 [15:57<00:00, 1.44s/it]