3b1b / 3b1b/manim

Broken pipe error but not because FFMPEG, in stead `permission denied`

未关闭
#1,182 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
93.8k
派生
7.7k
PR 合并指标
PR 指标待抓取

描述

I have been working with MANIM quite some time now and it all worked well. I haven't worked on it for about two weeks and all of the sudden (with no serious changes on either manim or computer) I run into an error when I try to compile a video.

I get the following:
```

PS C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim> py -m manim .\example_scenes.py SquareToCircle -pl
Media will be written to ./media\. You can change this behavior with the --media_dir flag.
Animation 0: ShowCreationSquare: 7%|########7
1/15 [00:00<00:02, 5.89it/s]C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\media\videos\example_scenes\480p15\partial_movie_files\SquareToCircle\00000_temp.mp4: Permission denied

Traceback (most recent call last):
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene.py", line 53, in __init__
self.construct()
File ".\example_scenes.py", line 83, in construct
self.play(ShowCreation(square))
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene.py", line 406, in wrapper
func(self, *args, **kwargs)
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene.py", line 463, in play
self.progress_through_animations(animations)
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene.py", line 439, in progress_through_animations
self.add_frames(self.get_frame())
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene.py", line 543, in add_frames
self.file_writer.write_frame(frame)
File "C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\manimlib\scene\scene_file_writer.py", line 186, in write_frame
self.writing_process.stdin.write(frame.tostring())
BrokenPipeError: [Errno 32] Broken pipe
```
Now I have found other issues regarding the Broken Pipe issue, but as far as I can tell, this was always because of the FFMPEG codec. But in the above we find:

`1/15 [00:00<00:02, 5.89it/s]C:\Users\steve\OneDrive\Documenten\Nerds\Manim\manim\media\videos\example_scenes\480p15\partial_movie_files\SquareToCircle\00000_temp.mp4: Permission denied`

As if this map is unreachable. I already tried to change the MEDIA DIR, but same error occurs. Also, when I render an image, so use `-ps`, no error occurs at all.

Any thoughts?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。