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

请问,镜像有支持arm的计划吗? #369

Closed
cellistV opened this issue Oct 10, 2024 · 22 comments
Closed

请问,镜像有支持arm的计划吗? #369

cellistV opened this issue Oct 10, 2024 · 22 comments
Labels
enhancement New feature or request

Comments

@cellistV
Copy link

请问,镜像有支持arm的计划吗? 感谢

@Guovin Guovin added the enhancement New feature or request label Oct 10, 2024
@Guovin
Copy link
Owner

Guovin commented Oct 10, 2024

有的,预计下个版本支持

@cellistV
Copy link
Author

Thx

@Guovin
Copy link
Owner

Guovin commented Oct 11, 2024

#374 已支持

@cellistV
Copy link
Author

cellistV commented Oct 12, 2024

安装docker版本(arm)运行后遇到如下错误

Sorting: 0%| | 0/1131 [00:00<?, ?it/s]Traceback (most recent call last):
File "/tv-requests/main.py", line 273, in
scheduled_task()
File "/tv-requests/main.py", line 259, in scheduled_task
loop.run_until_complete(update_source.start())
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/tv-requests/main.py", line 244, in start
await self.main()
File "/tv-requests/main.py", line 173, in main
self.channel_data = await process_sort_channel_list(
File "/tv-requests/utils/channel.py", line 666, in process_sort_channel_list
ffmpeg_installed = is_ffmpeg_installed()
File "/tv-requests/utils/speed.py", line 40, in is_ffmpeg_installed
result = subprocess.run(
File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.8/subprocess.py", line 1720, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: 'ffmpeg'

@Guovin
Copy link
Owner

Guovin commented Oct 12, 2024

安装docker版本(arm)运行后遇到如下错误

Sorting: 0%| | 0/1131 [00:00<?, ?it/s]Traceback (most recent call last): File "/tv-requests/main.py", line 273, in scheduled_task() File "/tv-requests/main.py", line 259, in scheduled_task loop.run_until_complete(update_source.start()) File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/tv-requests/main.py", line 244, in start await self.main() File "/tv-requests/main.py", line 173, in main self.channel_data = await process_sort_channel_list( File "/tv-requests/utils/channel.py", line 666, in process_sort_channel_list ffmpeg_installed = is_ffmpeg_installed() File "/tv-requests/utils/speed.py", line 40, in is_ffmpeg_installed result = subprocess.run( File "/usr/local/lib/python3.8/subprocess.py", line 493, in run with Popen(*popenargs, **kwargs) as process: File "/usr/local/lib/python3.8/subprocess.py", line 858, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/lib/python3.8/subprocess.py", line 1720, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: 'ffmpeg'

是使用青龙吗?有人反馈使用最新版可以正常运行

@cellistV
Copy link
Author

不是青龙,我用的是1panel

@Guovin
Copy link
Owner

Guovin commented Oct 12, 2024

看起来是ffmpeg版本不兼容arm64的原因,等我处理下

Guovin added a commit that referenced this issue Oct 12, 2024
Guovin added a commit that referenced this issue Oct 12, 2024
@Guovin
Copy link
Owner

Guovin commented Oct 12, 2024

#384 镜像更新了,再试试

@cellistV
Copy link
Author

#384 镜像更新了,再试试
谢谢,现在可以正常使用了
但是有个小问题。
到这一步“Total urls: 35930, need to sort: 1133”
CPU使用率会暴涨,卡死。
之后我限制了CPU使用数可以正常到导出结果。

@Guovin
Copy link
Owner

Guovin commented Oct 12, 2024

#384 镜像更新了,再试试
谢谢,现在可以正常使用了
但是有个小问题。
到这一步“Total urls: 35930, need to sort: 1133”
CPU使用率会暴涨,卡死。
之后我限制了CPU使用数可以正常到导出结果。

应该是ffmpeg测速并行的任务多导致,目前的测速效率比较激进,后续我增加调速配置解决这个问题

@joejoe0243
Copy link

Chrome driver 不能调用
Error on search: Message: Unable to obtain driver for chrome

@Guovin
Copy link
Owner

Guovin commented Oct 12, 2024

Unable to obtain driver for chrome

什么运行平台?

@joejoe0243
Copy link

joejoe0243 commented Oct 12, 2024

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

@cellistV
Copy link
Author

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

@Guovin
Copy link
Owner

Guovin commented Oct 15, 2024

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

拉取的是tv-driver镜像吗?该镜像内已经包含了driver,按理说容器启动应该不会出现这种情况。
请提供容器内的信息,容器内运行以下命令:

chromium --version
chromedriver --version

@cellistV
Copy link
Author

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

拉取的是tv-driver镜像吗?该镜像内已经包含了driver,按理说容器启动应该不会出现这种情况。 请提供容器内的信息,容器内运行以下命令:

chromium --version
chromedriver --version

两个版本的镜像都测试过,问题是一样的
”Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver“

@Guovin
Copy link
Owner

Guovin commented Oct 15, 2024

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

拉取的是tv-driver镜像吗?该镜像内已经包含了driver,按理说容器启动应该不会出现这种情况。 请提供容器内的信息,容器内运行以下命令:

chromium --version
chromedriver --version

两个版本的镜像都测试过,问题是一样的 ”Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver“

请提供更多信息,按上述命令在容器内运行后查看输出,否则我无法排查问题原因,谢谢

@cellistV
Copy link
Author

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

拉取的是tv-driver镜像吗?该镜像内已经包含了driver,按理说容器启动应该不会出现这种情况。 请提供容器内的信息,容器内运行以下命令:

chromium --version
chromedriver --version

两个版本的镜像都测试过,问题是一样的 ”Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver“

请提供更多信息,按上述命令在容器内运行后查看输出,否则我无法排查问题原因,谢谢

Screenshot_2024-10-15-11-37-40-51_df198e732186825c8df26e3c5a10d7cd

@joejoe0243
Copy link

Unable to obtain driver for chrome

什么运行平台?

RHEL 8.10

今天也遇到了这个问题

拉取的是tv-driver镜像吗?该镜像内已经包含了driver,按理说容器启动应该不会出现这种情况。 请提供容器内的信息,容器内运行以下命令:

chromium --version
chromedriver --version
chromium --version
Chromium 129.0.6668.100 built on Debian GNU/Linux 12 (bookworm)
chromedriver --version
ChromeDriver 129.0.6668.100 (cf58cba358d31ce285c1970a79a9411d0fb381a5-refs/branch-heads/6668@{#1704})

@Guovin
Copy link
Owner

Guovin commented Oct 15, 2024

@joejoe0243 @cellistV 建议先使用requests运行(拉取tv-requests镜像或tv-driver镜像修改config/config.ini配置:open_driver = False),这个问题我先研究下

@Guovin Guovin reopened this Oct 22, 2024
@BenjiaH
Copy link

BenjiaH commented Nov 14, 2024

同请求支持arm/v7版docker

@Guovin
Copy link
Owner

Guovin commented Dec 2, 2024

同请求支持arm/v7版docker

新版v1.5.4已经支持arm v7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants