Mac 10.15 Files and Folders Access Issue
When trying to create a new dataset with XMALab 1.5.5 on a Mac running OS 10.15, I get the error message “Width and Height of the videos does is not equal to the calibration images. Cannot create Trial.”
The videos in question have the same dimensions as the calibration files (1920x900), and the same files successfully create a new dataset with XMALab 1.5.5 on a Mac running 10.12.1.
Since the problem seems restricted to the new mac OS, I believe the problem may lie in the new way Mac handles files and folders access. In System Preferences/Security & Privacy/Privacy/Files and Folders, XMALab is not listed as an application that has requested access to a specific folder, so I cannot add it manually.
Comments (13)
-
-
reporter Hi Falk,
I tried that and the problem still persists. I’ve tried adding Full Disk Access permissions to the application via System Preferences/Security & Privacy/Privacy/Full Disk Access but that does not work either.
Has any one had success creating new trials in XMALab with Mac 10.15? I’d be very interested to hear from you.
-
Hi,
Can you run 2 tests for me to figure out where the problem lies:
- Can you convert the movie to image-sequences and check if that works
- Can you check if you can start a trial without calibration and load the video-sequences there.
Best,
Ben
-
reporter Hi Benjamin,
Here are the results of the tests:
- Totally works. All of the image frames load and tracking can be performed as usual. Obviously not ideal from a workflow standpoint to convert each video to image sequences, but seems to work.
- Trial videos are loaded without the error message I receive when creating a trial with calibration (“Width and Height of the videos does is not equal to the calibration images. Cannot create Trial.”), but I cannot scroll through the video with the slider on the bottom. Although the total frame counter in the bottom right says 605, the bottom left says 1/1 (see screenshot below).
-
hi Nathan,
Seems like the new OSX has problems with the codecs for the videos. Can you check which codec was used for the avi?
PS: The code to read videos is part of OpenCV and it usually uses Codecs installed by your OS. I will check what i can do, but it might be tricky as it is probably an interaction between OpenCV and the codecs on OSX 10.15.
-
Hi Nathan,
Can you upload me one of your movie files somewhere?
Ben
-
reporter Hi Benjamin,
Here’s a dropbox link to an x-ray trial with associated calibration and undistortion information.
-
Thanks,
I am currently updating the used libraries and hope that will resolve the issue. However, i did not build for mac yet as i will have to setup a new development environment. For now please work on images sequences. If your data is on the xmaportal you can directly export jpegs from it.
Best,
Ben
-
Issue
#231was marked as a duplicate of this issue. -
Hi Nathan,
Did you test with the new beta version of XMALab? I am curious if the problem still occurs.
Thanks,
Ben
-
Or can you reupload the data for me. The link has expired. Thanks
Ben
-
Hi Ben,
Here’s a new link to the data. Haven’t got a chance to try out the beta yet.
-
- changed status to resolved
fixes
#229,#231: Made sure OpenCV builds with ffmpeg and that the libraries get properly linked in the app-file by using macdeployqtfix→ <<cset 7b09c716caab>>
- Log in to comment
Dear Nathan,
To me as a mac outsider this sounds more like a mac problem. And I’m also not involved in xmalab development, so I’m kind of double blind.
However, I know that mac has some rudimentary unix capacity. So you might try to use “chmod” to alter folder permissions, so that you can at least confirm that this is a permission problem.
On linux, I would do:
wherein
chmod
is the command to change folder permissions,-R
makes it recursive (i.e. include all subfolders), and777
is the bit code to grant full permissions to all users and groups.
Maybe worth a try?
Cheers,
Falk