cascadeur_bridge icon indicating copy to clipboard operation
cascadeur_bridge copied to clipboard

Errors on MacOS (permissions/address already in use)

Open divan opened this issue 2 years ago • 6 comments

Installed fresh version of the plugin with the latest MacOS, Cascadeur and Blender versions.

When clicking "Import Scene" error is the same as in https://github.com/arcsikex/cascadeur_bridge/issues/40 - "Permission denied: '/Applications/Cascadeur.app'".

However, if I click "Install Requirements" in Preferences, and try again, error is "address already in use": Screenshot 2023-11-02 at 15 43 25

Restarting Blender leads to the same sequence – "Permission denied" is shown again. Going to preferences, clicking "Install Requirements" leads to "Addres already in use".

divan avatar Nov 02 '23 14:11 divan

I have similar issues...

In order to "Install Requirements" function, I had to go into Privacy & Security > Apps Management > Blender > On

Restarting Blender and pressing the Install Requirements button in the addon panel was successful.

But every time I try and run a function in the addon menu, I get a permission denied error for /Applications/Cascadeur.app

I even tried setting permissions on the app to read/write everyone but that did not work.

Mac OS 13.5.1 Blender 4.0.1 Cascadeur 2023.2.1 Bridge 1.0.2

tezza1971 avatar Dec 03 '23 10:12 tezza1971

This is what happens with the Start Cascadeur button.... image

tezza1971 avatar Dec 03 '23 10:12 tezza1971

This is the error I get when I try and import a scene using my Mac Mini M1 image

tezza1971 avatar Dec 03 '23 10:12 tezza1971

I have similar issues...

In order to "Install Requirements" function, I had to go into Privacy & Security > Apps Management > Blender > On

Restarting Blender and pressing the Install Requirements button in the addon panel was successful.

But every time I try and run a function in the addon menu, I get a permission denied error for /Applications/Cascadeur.app

I even tried setting permissions on the app to read/write everyone but that did not work.

Mac OS 13.5.1 Blender 4.0.1 Cascadeur 2023.2.1 Bridge 1.0.2

Can confirm this is a bug with M2 Max, even after following this process. @arcsikex any ideas what might be the issue here?

xndyz avatar Dec 09 '23 21:12 xndyz

Yeah, I have this problem too. I believe the issue is that on Mac OS, you can't just allow Automation permission for an app, the app has to request the permission first. If you look in the settings, there's no "+" in the automation section, because you can't add the permission without a request. Very annoying. I believe @arcsikex is on Windows, which doesn't restrict automation permissions like this (and it doesn't matter anyway, since on Windows you can just run the app 'as admin').

realchangnesia avatar Jan 24 '24 10:01 realchangnesia

I solved this particular issue by setting the Cascadeur excutable config to the full executable path, "/Applications/Cascadeur.app/Contents/MacOS/cascadeur". However when I try to export the scene, it crashes Cascadeur entirely with this error: 2024-12-21 19:52:48,389 ERROR [..bot/gitlab-runner/-YBbsxgL/0/csc/cascadeurcode/src/data_source/fbx/animation/animation_loader.cpp:327] Invalid FocalLength curve in camera with name: Camera =============== Backtrace: ================= 0# datasource::fbx::AnimationLoader::Impl::loadCameraChannels(fbxsdk::FbxNode&, fbxsdk::FbxAnimLayer&) in /Applications/Cascadeur.app/Contents/Frameworks/libdata_source_lib.dylib 1# datasource::fbx::AnimationLoader::Impl::loadChannels(fbxsdk::FbxAnimLayer&, std::__1::vector<datasource::fbx::AnimationLoader::Impl::NodeLoadData, std::__1::allocatordatasource::fbx::AnimationLoader::Impl::NodeLoadData>, bool) in /Applications/Cascadeur.app/Contents/Frameworks/libdata_source_lib.dylib

kskelm avatar Dec 22 '24 02:12 kskelm