-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersmacos-catalinaterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: 1.44.0
- OS Version: Max OSX Catalina 10.15.2
Steps to Reproduce:
- Run this python script in the VSCode terminal which needs access to the camera:
import cv2
cam = cv2.VideoCapture(0)
print(cam.isOpened())
cam.release()
The result will be Abort trap: 6
. This also occurs if you try to run the debugger.
The script does work in the Mac Terminal and iTerm.
This is likely because vscode does not have permissions to access the camera. There is no way to force vscode to appear in the Mac permissions (Security & Privacy -> Privacy -> Camera), such that it cannot be enabled by the user.
Does this issue occur when all extensions are disabled?: Yes
niranjantdesai, ellbosch, Ali-Albaker, stephen-bunn, vehansayvazi and 16 more
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersmacos-catalinaterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelverifiedVerification succeededVerification succeeded