question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scene Caching Tries to Access the Wrong File in Certain Circumstances

See original GitHub issue

Consider 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:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sudgycommented, Oct 4, 2020

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.

0reactions
huguesdevimeuxcommented, Oct 9, 2020

Sorry for that. nevertheless, now everything is good as #489 is merged 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found