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 open v.0.14 on MacOS Monterey #46

Open
In-Vitr0 opened this issue Dec 30, 2021 · 5 comments
Open

Can't open v.0.14 on MacOS Monterey #46

In-Vitr0 opened this issue Dec 30, 2021 · 5 comments

Comments

@In-Vitr0
Copy link

The Programm wont start and freezes.

@JeremyBrown83
Copy link

JeremyBrown83 commented Mar 12, 2022

Same here, I have tried building it, it opens but it doesn't show the camera, it's just blank. I have run it in the Qt Creator debugger, and it is unable to open the camera.

Screen Shot 2022-03-12 at 9 54 11 AM

I believe the reason it does not work is that Apple changed the security permissions to access a Camera, an application needs to properly request permission to use a camera.

@mrisney
Copy link

mrisney commented Aug 23, 2022

Confirmed, not opening in Monterey.

@orr3
Copy link

orr3 commented Oct 27, 2022

I'd love to see a push to this repo that fixes this issue

@kekiefer
Copy link
Member

Last year I started work on this, see the note here: https://github.com/groupgets/GetThermal/tree/master%2Bfix-mac-build#macos

Unfortunately I don't really know how to deal with just opening the application and having it get the right permissions, but if you run the application from the command line with sudo, it works: sudo ./GetThermal.app/Contents/MacOS/GetThermal

image

@jellehak
Copy link

jellehak commented Feb 4, 2023

Which version of GetThermal are you using? Running with sudo also fails.

Tried it with 0.13 and 0.14

sudo ./GetThermal.app/Contents/MacOS/GetThermal
UVC initialized
Device found
uvc_open: Access denied (-3)
Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5
qrc:/controls/CameraControls.qml:56: TypeError: Cannot read property 'objectName' of null
Surface supports format 0 width -1 height -1qrc:/controls/VideoRoi.qml:18: TypeError: Cannot read property 'height' of undefined
qrc:/controls/VideoRoi.qml:17: TypeError: Cannot read property 'width' of undefined
qrc:/controls/VideoRoi.qml:16: TypeError: Cannot read property 'y' of undefined
qrc:/controls/VideoRoi.qml:15: TypeError: Cannot read property 'x' of undefined
qrc:/ViewerForm.ui.qml:57: TypeError: Cannot read property 'radSpotmeterRoi' of null
qrc:/ViewerForm.ui.qml:53: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/ViewerForm.ui.qml:69: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/controls/SpotInfo.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null
qrc:/controls/SpotInfo.qml:46: TypeError: Cannot read property 'radSpotmeterInKelvinX100' of null
qrc:/controls/RangeDisplay.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null

TIP: this app works perfect to quickly view the camera https://apps.apple.com/us/app/quick-camera/id598853070?mt=12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants