Scene Caching Tries to Access the Wrong File in Certain Circumstances
See original GitHub issueConsider the following scene:
class Issue3DCache(ThreeDScene):
def construct(self):
self.begin_ambient_camera_rotation(rate=0.1)
self.wait()
self.wait()
when I run manim once, it makes a black screen as expected, but when I run it again, it crashes saying that it can’t find the partial movie file.
When running manim test.py Issue3DCache -pl
the first time:
Animation 0 : Partial movie file written in {'.../480p15/partial_movie_files/Issue3DCache/2314591449_1-0_2415171488.mp4'}
Animation 1 : Partial movie file written in {'.../480p15/partial_movie_files/Issue3DCache/1347326907_1-0_2415171488.mp4'}
When running it again:
Wait 0 : Using cached data (hash : 2314591449_1-0_2415171488)
Animation 1 : Partial movie file written in {'.../480p15/partial_movie_files/Issue3DCache/2314591449_1-0_2415171488.mp4'}
Impossible to open 'file:.../480p15/partial_movie_files/Issue3DCache/865043704_1-0_2415171488.mp4'
.../480p15/partial_movie_files/Issue3DCache/partial_movie_file_list.txt: No such file or directory
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
ArcGIS Enterprise HA: Tile cache failover
Scene layers access the cache data on the primary machine. If the primary machine fails, the standby machine becomes the primary machine, and ......
Read more >Troubleshoot scenes and 3D data—Portal for ArcGIS
This topic describes how to troubleshoot issues you may encounter when working with scenes, hosted scene layers, or 3D data in the portal...
Read more >Cache made consistent: Meta's cache invalidation solution
The cache first tries to fill x from the database. ... In some cases, cache inconsistencies are almost as bad as data loss...
Read more >Troubleshooting issues related to playback and ...
Use this document to diagnose issues related to playback and performance in Premiere Pro.
Read more >How to Fix the 'Cached Preview' Error in After Effects
1. PURGE RAM CACHE (MEMORY) · 2. EMPTY YOUR DISK CACHE · 3. CHANGE RAM RESERVED FOR OTHER APPLICATIONS · 4. CLOSE OUT...
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
If it worked for you, I’m fine trusting that. I don’t really know any way to test it right now short of uninstalling my copy and then installing from your fork, and that seems like more trouble than it’s worth.
Sorry for that. nevertheless, now everything is good as #489 is merged 😄