[scene caching] partial movie file not found
See original GitHub issueHere is another scene caching error: running the code
from manim import *
class TestZoom1(ZoomedScene):
CONFIG = {
"zoomed_camera_frame_starting_position": [0, 0, 0],
"zoomed_display_corner": [0, 0, 0],
"zoomed_display_height": config['frame_height'],
"zoomed_display_width": config['frame_width'],
"zoom_factor": 0.1,
}
def construct(self):
self.activate_zooming(animate=True)
d = Dot()
self.add(d)
(one of our examples from the documentation) twice raises the following error:
[behackl@atreus playground]$ manim test.py TestZoom1 -m
[09/23/20 14:38:04] INFO Animation 0 : Partial movie file written in {'/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/2818502609_1974117047_3316235269.mp4'} scene_file_writer.py:463
[09/23/20 14:38:05] INFO Animation 1 : Partial movie file written in {'/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/1160423895_881011468_1267139589.mp4'} scene_file_writer.py:463
INFO scene_file_writer.py:635
File ready at /home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/TestZoom1.mp4
INFO Rendered TestZoom1 scene.py:129
Played 2 animations
[behackl@atreus playground]$ manim test.py TestZoom1 -m
[09/23/20 14:38:07] INFO Animation 0 : Using cached data (hash : 2818502609_1974117047_3316235269) scene.py:823
[09/23/20 14:38:08] INFO Animation 1 : Partial movie file written in {'/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/2818502609_1974117047_3316235269.mp4'} scene_file_writer.py:463
[concat @ 0x564241a313c0] Impossible to open 'file:/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/2796914319_881011468_1267139589.mp4'
/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/partial_movie_file_list.txt: No such file or directory
INFO scene_file_writer.py:635
File ready at /home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/TestZoom1.mp4
Traceback (most recent call last):
File "/home/behackl/Dokumente/git/etc/manim/manim/__main__.py", line 170, in main
scene = SceneClass()
File "/home/behackl/Dokumente/git/etc/manim/manim/scene/scene.py", line 93, in __init__
self.file_writer.finish()
File "/home/behackl/Dokumente/git/etc/manim/manim/scene/scene_file_writer.py", line 387, in finish
self.combine_movie_files()
File "/home/behackl/Dokumente/git/etc/manim/manim/scene/scene_file_writer.py", line 592, in combine_movie_files
modify_atime(file_path)
File "/home/behackl/Dokumente/git/etc/manim/manim/utils/file_ops.py", line 53, in modify_atime
os.utime(file_path, times=(time.time(), os.path.getmtime(file_path)))
File "/usr/lib/python3.8/genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/home/behackl/Dokumente/git/etc/manim/playground/media/videos/test/720p30/partial_movie_files/TestZoom1/2796914319_881011468_1267139589.mp4'
(I’ve noticed this from running make html && make clean && make html
from docs
.)
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
SceneFileWriter - Manim Community v0.17.1 - Docs
Concatenate partial movie files for each section. Creates an empty, silent, Audio Segment.
Read more >20 most common video errors & how to fix them
This article guide you how to fix all 20 problems or errors while playing videos like playback errors, audio video sync, issues, choppy, ......
Read more >How do I watch my saved project without Caching?
I learned to enter files, edit and save them. The caching process takes a long time. I understand that caching is necessary before...
Read more >Partial file caching - IBM
With partial file caching, the cache can fetch only the blocks that are read and not the entire file, thereby utilizing network and...
Read more >Optimal Chunking and Partial Caching in Information-Centric ...
If the item is not stored in the network, it is retrieved from CP. III. ANALYSIS ON CHUNKING. Cutting a file into smaller...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just to let you know, I found a potential fix. I will PR a soon as I can 😄
@behackl You’re right. I will investigate.
PS : First time I see the documentation quoted as a reference. Although I didn’t contribute to it, I feel very proud 😄