pelednoam / mmvt

The Multi-Modality Visualization Tool (MMVT) is built for researchers who wish to have a better understanding of their neuroimaging anatomical and spatio-temporal data
http://mmvt.org
87 stars 26 forks source link

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

Open alexrockhill opened 5 years ago

alexrockhill commented 5 years ago

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 commented 4 years ago

+1

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

Thanks.

alexrockhill commented 4 years ago

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

Oye-G commented 4 years ago

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

mwufi commented 4 years ago

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 commented 2 years ago

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.