Skip to content

Error when trying to run CLI for first time #62

@Tilix4

Description

@Tilix4

Describe the bug
Error message when running.

To Reproduce
Steps to reproduce the behaviour:

  1. python figaro.py
  2. Error message:
figaro-0.3-alpha % python figaro.py 
ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libsnappy --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
Traceback (most recent call last):
  File "/Users/felixdavid/Downloads/figaro-0.3-alpha/figaro.py", line 6, in <module>
    from lib import cmd, params, gui
  File "/Users/felixdavid/Downloads/figaro-0.3-alpha/lib/cmd.py", line 14, in <module>
    from lib.interpreter import Interpreter
  File "/Users/felixdavid/Downloads/figaro-0.3-alpha/lib/interpreter.py", line 5, in <module>
    from pynput import keyboard as kb
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/site-packages/pynput/__init__.py", line 40, in <module>
    from . import keyboard
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/site-packages/pynput/keyboard/__init__.py", line 43, in <module>
    from ._darwin import KeyCode, Key, Controller, Listener
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/site-packages/pynput/keyboard/_darwin.py", line 31, in <module>
    from pynput._util.darwin import (
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/site-packages/pynput/_util/darwin.py", line 40, in <module>
    OBJC.PyObjCObject_New.restype = ctypes.py_object
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)
  File "/Users/felixdavid/.pyenv/versions/3.9.2/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x7f8a62239450, PyObjCObject_New): symbol not found

Expected behaviour
That it runs as mentioned in the doc ;)

Desktop (please complete the following information):

  • OS: MacOS
  • Version 11.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions