Moguri / blend2bam

A CLI tool to convert Blender blend files to Panda3D BAM files
MIT License
68 stars 18 forks source link

Blend2Bam terminating with error: No such file or directory: 'flatpak' #70

Closed BIueish closed 2 years ago

BIueish commented 2 years ago

When I run blend2bam cube.blend cube.bam on MacOS Monterey it results in the error:-


  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/blend2bam", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/blend2bam/cli.py", line 221, in main
    args.blender_dir = blenderutils.locate_blenderdir()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/blend2bam/blenderutils.py", line 99, in locate_blenderdir
    subprocess.check_call(flatpakloc.split() + ['--version'], stdout=None)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 368, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'flatpak'