You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug OSError: Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected when running pibooth with a MacBook (M3).
Steps to reproduce the bug
Install pibooth with sudo pip3 install pibooth
Install OpenCV with homebrew brew install opencv
Run pibooth
Logs
With default config file :
pygame 2.5.2 (SDL 2.28.3, Python 3.9.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame-menu 4.0.7
[ INFO ] pibooth : Installed plugins:
[ INFO ] pibooth : Starting the photo booth application without physical GPIO, fallback to GPIO mock
/Library/Python/3.9/site-packages/pluggy/_manager.py:469: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: pibooth-core:camera, Hook: pibooth_setup_camera
OSError: Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
outcome = Result.from_call(
Traceback (most recent call last):
File "/usr/local/bin/pibooth", line 8, in <module>
sys.exit(main())
File "/Library/Python/3.9/site-packages/pibooth/booth.py", line 490, in main
app = PiApplication(config, plugin_manager)
File "/Library/Python/3.9/site-packages/pibooth/booth.py", line 131, in __init__
self.camera = self._pm.hook.pibooth_setup_camera(cfg=self._config)
File "/Library/Python/3.9/site-packages/pluggy/_hooks.py", line 501, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/Library/Python/3.9/site-packages/pluggy/_manager.py", line 119, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Library/Python/3.9/site-packages/pluggy/_manager.py", line 473, in traced_hookexec
return outcome.get_result()
File "/Library/Python/3.9/site-packages/pluggy/_result.py", line 99, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/Library/Python/3.9/site-packages/pluggy/_result.py", line 61, in from_call
result = func()
File "/Library/Python/3.9/site-packages/pluggy/_manager.py", line 470, in <lambda>
lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult)
File "/Library/Python/3.9/site-packages/pluggy/_callers.py", line 155, in _multicall
teardown[0].send(outcome)
File "/Library/Python/3.9/site-packages/pibooth/plugins/camera_plugin.py", line 28, in pibooth_setup_camera
cam = camera.find_camera()
File "/Library/Python/3.9/site-packages/pibooth/camera/__init__.py", line 52, in find_camera
raise EnvironmentError("Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected")
OSError: Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected
pibooth-diag give:
pygame 2.5.2 (SDL 2.28.3, Python 3.9.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame-menu 4.0.7
Pibooth version installed: 2.0.8
Installed plugins:
gPhoto2 not installed, cannot diagnose connected DSLR
Environment
Sonoma 14.3.1
Internal MacBook camera and Studio Display camera
Pibooth version 2.0.8
gPhoto2 and OpenCV via homebrew
The text was updated successfully, but these errors were encountered:
Describe the bug
OSError: Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected
when runningpibooth
with a MacBook (M3).Steps to reproduce the bug
sudo pip3 install pibooth
brew install opencv
pibooth
Logs
With default config file :
pibooth-diag
give:Environment
The text was updated successfully, but these errors were encountered: