Open ryandesign opened 1 year ago
I have the exact same problem
I have this problem as well on a MacBook Pro 13-inch, M2, 2022 running macOS 14.5 with imagesnap installed from homebrew
% imagesnap -h | grep Version
Version: 0.2.16
% imagesnap
Capturing image from device "Logitech BRIO"...*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureStillImageOutput_Tundra captureStillImageAsynchronouslyFromConnection:completionHandler:] Inactive/invalid connection passed'
*** First throw call stack:
(
0 CoreFoundation 0x0000000184e872ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018496e788 objc_exception_throw + 60
2 AVFCapture 0x00000001a2a61028 -[AVCaptureStillImageOutput_Tundra _receiveSampleBuffer:] + 0
3 imagesnap 0x0000000104bc98dc -[ImageSnap takeSnapshotWithFilename:] + 188
4 imagesnap 0x0000000104bc924c -[ImageSnap saveSingleSnapshotFrom:toFile:withWarmup:withTimelapse:withLimit:] + 1104
5 imagesnap 0x0000000104bc8588 processArguments + 1220
6 imagesnap 0x0000000104bc80a4 main + 72
7 dyld 0x00000001849aa0e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort imagesnap
Wondering if this is somehow related to camera permissions in the System Settings. I expected the system to display a permission grant dialog, but it seems to crash instead.
On a MacBookPro10,1 running macOS 12.3.1: