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.

Error on compiling video: partial_movie_file_list.txt: No such file or directory

See original GitHub issue

If this is a support request:

I encountered this error mulitple times today

$ rm -rf /home/cobordism/Documents/renderings/
$ manim --media_dir /home/cobordism/Documents/renderings/ ./examples.py ycombinator -pl --disable_caching -n 30
---
---
[concat @ 0x560c5416b7c0] Impossible to open 'file:/home/cobordism/Documents/renderings/videos/examples/480p15/partial_movie_files/ycombinator/uncached_00031.mp4'
/home/cobordism/Documents/renderings/videos/examples/480p15/partial_movie_files/ycombinator/partial_movie_file_list.txt: No such file or directory
                    INFO                                                                                scene_file_writer.py:635
                             File ready at /home/cobordism/Documents/renderings/videos/examples/480p15/                         
                             ycombinator.mp4                                                                                    
                                                                                                                                



Traceback (most recent call last):
  File "/home/cobordism/.local/lib/python3.8/site-packages/manim/__main__.py", line 170, in main
    scene = SceneClass()
  File "/home/cobordism/.local/lib/python3.8/site-packages/manim/scene/scene.py", line 93, in __init__
    self.file_writer.finish()
  File "/home/cobordism/.local/lib/python3.8/site-packages/manim/scene/scene_file_writer.py", line 387, in finish
    self.combine_movie_files()
  File "/home/cobordism/.local/lib/python3.8/site-packages/manim/scene/scene_file_writer.py", line 592, in combine_movie_files
    modify_atime(file_path)
  File "/home/cobordism/.local/lib/python3.8/site-packages/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/cobordism/Documents/renderings/videos/examples/480p15/partial_movie_files/ycombinator/uncached_00031.mp4'

I don’t know exactly what is triggering it, but running without -n (and with an empty media dir and no cache …). that seems to work. Will post more info if I find it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
cobordismcommented, Sep 22, 2020

Update. I have been able to recreate it.

Try this: Step 1: empty the data dir. rm -rf ./media Step 2: $ manim example.py test -pl (should work fine) Step 3: $ manim example.py test -pl -n 3 (staccato effect) Step 4: empty the data dir. rm -rf ./media Step 5: $ manim example.py test -pl -n 3 (error message, but video produced ok) Step 6: $ manim example.py test -pl (error message, but video produced ok)

0reactions
huguesdevimeuxcommented, Sep 28, 2020

Thanks. I forgot to assign myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Error: GCC/G++ No such file or directory - YouTube
How to fix error GCC/G++ No such file or directory - fatal error No input files. ... Your browser can't play this video....
Read more >
no such file or directory) but can compile file C++ VSCode
I can compile active file and intellisense is fine. But every time I click the Run Code button, it gives the following error:...
Read more >
Error compiling of example file · Issue #25 · reo7sp/tgbot-cpp
When I compiled sample programm, it gave me lots of error (in file). ... C++:7:10: fatal error: tgbot/tgbot: No such file or directory...
Read more >
Compilation error - The VideoLAN Forums - VLC media player
I am getting following error, while compiling the vlc. MAKE : po. MAKE : compat. MAKE : src /bin/sh ./config.status --file=src/.
Read more >
Error message, can't compile because "no such file or directory"
Select File > Preferences from the Arduino IDE menus. · Check the box next to "Show verbose output during: ☐ compilation". · Click...
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