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

AttributeError: 'VideoFileClip' object has no attribute 'subclip' #558

Open
1 task done
jim-qiu opened this issue Dec 17, 2024 · 5 comments
Open
1 task done

AttributeError: 'VideoFileClip' object has no attribute 'subclip' #558

jim-qiu opened this issue Dec 17, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@jim-qiu
Copy link

jim-qiu commented Dec 17, 2024

是否已存在类似问题?

  • 我已搜索现有问题

当前行为

AttributeError: 'VideoFileClip' object has no attribute 'subclip'
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/MoneyPrinterTurbo/webui/Main.py", line 787, in
result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start
final_video_paths, combined_video_paths = generate_final_videos(
File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos
video.combine_videos(
File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos
split_clip = clip.subclip(start_time, end_time)

预期行为

生成视频

重现步骤

1.docker-compose.exe up
2. 通过浏览器访问http://127.0.0.1:8501/

堆栈追踪/日志

Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/MoneyPrinterTurbo/webui/Main.py", line 787, in
result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start
final_video_paths, combined_video_paths = generate_final_videos(
File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos
video.combine_videos(
File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos
split_clip = clip.subclip(start_time, end_time)

Python 版本

v3.12

操作系统

windows11

MoneyPrinterTurbo 版本

MoneyPrinterTurbo v1.2.1

其他信息

No response

@jim-qiu jim-qiu added the bug Something isn't working label Dec 17, 2024
@yyhhyyyyyy
Copy link
Collaborator

Please update the project to the latest version, and recreate the environment along with reinstalling the dependencies.

@jim-qiu
Copy link
Author

jim-qiu commented Dec 17, 2024

Please update the project to the latest version, and recreate the environment along with reinstalling the dependencies.

我git pull到最新版本,重新配置了config.tom1,结果,有问题如下图

@jim-qiu
Copy link
Author

jim-qiu commented Dec 17, 2024

image

@jim-qiu
Copy link
Author

jim-qiu commented Dec 18, 2024

image

@Ghost-lzy
Copy link

Ghost-lzy commented Dec 20, 2024

I've met this problem too and I used gemini as LLM with docker starting up like him. And the main branch is the latest.
image

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

3 participants