Skip to content

Ошибка при сохранении скачанного файла #9

@SeyranGrig

Description

@SeyranGrig

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users\Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users\Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users~\AppData\Local\Programs\Python\Python312\Scripts\mtslinker.exe_main
.py", line 7, in
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\cli.py", line 51, in main
if fetch_webinar_data(
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Seyran.DESKTOP-31H5FHH\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\webinar.py", line 26, in fetch_webinar_data
compile_final_video(total_duration, video_clips, audio_clips, output_video_path, max_duration)
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\mtslinker\processor.py", line 109, in compile_final_video
video_result.write_videofile(
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 53, in requires_duration
return func(clip, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 145, in wrapper
find_fps(clip, arg) if name == "fps" else arg
^^^^^^^^^^^^^^^^^^^
File "C:\Users~\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\decorators.py", line 136, in find_fps
raise AttributeError(
AttributeError: No 'fps' (frames per second) attribute specified for function write_videofile and the clip has no 'fps' attribute. Either provide e.g. fps=24 in the arguments of the function, or define the clip's fps with clip.fps=24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions