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

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

Open
alexrockhill opened this issue Dec 4, 2018 · 5 comments

Comments

@alexrockhill
Copy link
Collaborator

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)

@Oye-G
Copy link

Oye-G commented Oct 18, 2019

+1

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

Thanks.

@alexrockhill
Copy link
Collaborator Author

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

@Oye-G
Copy link

Oye-G commented Oct 18, 2019

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

@mwufi
Copy link

mwufi commented May 16, 2020

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 ...

@YuliangXiu
Copy link

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.

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

4 participants