Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start fastflix on MacOS #92

Closed
pbakaus opened this issue Oct 23, 2020 · 4 comments
Closed

Can't start fastflix on MacOS #92

pbakaus opened this issue Oct 23, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@pbakaus
Copy link

pbakaus commented Oct 23, 2020

Hi there!

I've tried to install Fastflix on MacOS with your instructions, made your ffmpeg/ffprobe are available, and after installing it with pipx, I get this error:

fastflix-core[11540] INFO Starting FastFlix 3.2.1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 268, in run_path
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 97, in _run_module_code
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
  File "/Users/pbakaus/.local/bin/fastflix", line 5, in <module>
  File "/Users/pbakaus/.local/pipx/venvs/fastflix/lib/python3.9/site-packages/fastflix/__main__.py", line 4, in <module>
  File "/Users/pbakaus/.local/pipx/venvs/fastflix/lib/python3.9/site-packages/fastflix/gui.py", line 91, in main
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 121, in start
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
  File "/usr/local/Cellar/[email protected]/3.9.0/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

Have you seen this before? Anything I can do on my end?

Thanks!

@cdgriffith cdgriffith added the bug Something isn't working label Oct 23, 2020
@cdgriffith
Copy link
Owner

Thanks for reporting that issue, I don't have a Mac so wouldn't have known!

That is an odd one, I am trying a fix with newest version (currently in hdr-opt branch).

Not sure if I can get access to a Mac this weekend to test it, so may have to go out blind. If you're comfortable with git / command line feel free to try it yourself.

@pbakaus
Copy link
Author

pbakaus commented Oct 24, 2020

Looks like it worked! I just ran it from the hdr-opt branch and it works like a charm. Thanks!

@cdgriffith
Copy link
Owner

Excellent, thanks for testing it!

cdgriffith added a commit that referenced this issue Oct 24, 2020
* Adding ETA and size estimates on status panel
* Adding custom x265-params options
* Changing height to say "Auto" when keeping aspect ratio
* Fixing cover extraction could timeout and crash program
* Fixing #89 x265 params for hdr10 changed names (thanks to SlashX)
* Fixing #92 cannot start FastFlix on Mac (thanks to Paul Bakaus)
cdgriffith added a commit that referenced this issue Oct 24, 2020
* Adding ETA and size estimates on status panel
* Adding custom x265-params options
* Changing height to say "Auto" when keeping aspect ratio
* Fixing cover extraction could timeout and crash program
* Fixing #89 x265 params for hdr10 changed names (thanks to SlashX)
* Fixing #92 cannot start FastFlix on Mac (thanks to Paul Bakaus)
cdgriffith added a commit that referenced this issue Oct 24, 2020
* Adding ETA and size estimates on status panel
* Adding custom x265-params options
* Adding support for WebP encodings
* Changing height to say "Auto" when keeping aspect ratio
* Changing that buttons will be disabled without video or when encoding
* Fixing cover extraction could timeout and crash program
* Fixing #89 x265 params for hdr10 changed names (thanks to SlashX)
* Fixing #92 cannot start FastFlix on Mac (thanks to Paul Bakaus)
* Fixing autocrop sometimes failing due to muxing size limitations
* Fixing thumbnail generation did not work for videos with multiple video tracks
* Fixing gif generation to work with new filter_complex
* Fixing gif output network location would not work
@cdgriffith
Copy link
Owner

Fixed in 3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants