mmvt icon indicating copy to clipboard operation
mmvt copied to clipboard

MacOS linked blender doesn't work because of cryptic error but unlinked works fine

Open alexrockhill opened this issue 5 years ago • 5 comments

When launch_mmvt contains /Users/alexrockhill/projects/mmvt_root_alex/links/blender/blender --enable-new-depsgraph

I get the cryptic error:

alexs-mbp:~ alexrockhill$ /Users/alexrockhill/projects/mmvt_root_alex/mmvt/misc/launch_mmvt ; exit; Color management: using fallback mode for management Using new dependency graph. BLT_lang_init: 'locale' data path for translations not found, continuing Read prefs: /Users/alexrockhill/Library/Application Support/Blender/2.79/config/userpref.blend Warning! bundled python not found and is expected on this platform. (if you built with CMake: 'install' target may have not been built) Fatal Python error: Py_Initialize: unable to load the file system codec ImportError: No module named 'encodings'

Current thread 0x00000001094a35c0 (most recent call first): Illegal instruction logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]

But when I run the blender that should be exactly the same because it's the one that is linked to, it works fine. i.e. launch_mmvt has /Users/alexrockhill/software/Blender/blender.app/Contents/MacOS/blender --enable-new-depsgraph (Works great)

alexrockhill avatar Dec 04 '18 18:12 alexrockhill

+1

@alexrockhill I am getting exactly the same error message. Were you able to fix this eventually?

Thanks.

Oye-G avatar Oct 18 '19 18:10 Oye-G

Unfortunately, no. I just linked an icon to the blender source file not a link of it

alexrockhill avatar Oct 18 '19 21:10 alexrockhill

Thanks @alexrockhill for your response. Sorry to bother you again, but can you please provide more details on how you did that?

Oye-G avatar Oct 18 '19 23:10 Oye-G

Hahaha this helped me a lot, I was struggling to fix this error. I'm just going to not link it for now 😆

(linked, suxxxxxxx)

> ln -s /Applications/Blender.app/Contents/MacOS/Blender blender
> blender ...

(not linked, swagggggg)

alias blender=/Applications/Blender.app/Contents/MacOS/Blender
> blender ...

mwufi avatar May 16 '20 17:05 mwufi

Hahaha this helped me a lot, I was struggling to fix this error. I'm just going to not link it for now 😆

(linked, suxxxxxxx)

> ln -s /Applications/Blender.app/Contents/MacOS/Blender blender
> blender ...

(not linked, swagggggg)

alias blender=/Applications/Blender.app/Contents/MacOS/Blender
> blender ...

This saves me too! The alias works well for Blender 2.93 LTS on Mac OSX Silicon M1.

YuliangXiu avatar May 31 '22 23:05 YuliangXiu