BlueBrain / NeuroMorphoVis

A lightweight, interactive, extensible and cross-platform framework for building, visualizing and analyzing digital reconstructions of neuronal morphology skeletons extracted from microscopy stacks.
https://portal.bluebrain.epfl.ch/
GNU General Public License v3.0
127 stars 27 forks source link

Compiled Blender install not working on MacOS #39

Closed SchwartzNU closed 6 years ago

SchwartzNU commented 6 years ago

When opening the application, I get the following error message: “blender” is damaged and can’t be opened. You should move it to the Trash.

Blender itself works from its own download page, but it is not clear how to add the add-on from this repository. Is blender looking for me to point to a .py file that has all the code for the add-on?

marwan-abdellah commented 6 years ago

This issue has been reported in (https://github.com/BlueBrain/NeuroMorphoVis/issues/32). But you can launch blender from the command line as follows:

screenshot 2018-11-04 at 09 23 37

Just let me know how it goes with you.

Best

SchwartzNU commented 6 years ago

Thanks for the tip. Blender did open form the command line, but then the add-on still failed to load. Here is the error.

FSMC02R615AG8WM:neuromorphovis-blender-2.79-macOS-10.6 gregoryschwartz$ ./blender.app/Contents/MacOS/blender Read prefs: /Users/gregoryschwartz/Library/Application Support/Blender/2.79/config/userpref.blend found bundled python: /Users/gregoryschwartz/neuromorphovis-blender-2.79-macOS-10.6/blender.app/Contents/Resources/2.79/python fake_module: addon missing 'bl_info' gives bad performance!: '/Users/gregoryschwartz/Library/Application Support/Blender/2.79/scripts/addons/neuromorphovis.py' Traceback (most recent call last): File "/Users/gregoryschwartz/neuromorphovis-blender-2.79-macOS-10.6/blender.app/Contents/Resources/2.79/scripts/modules/addon_utils.py", line 331, in enable mod = import(module_name) File "/Users/gregoryschwartz/neuromorphovis-blender-2.79-macOS-10.6/blender.app/Contents/Resources/2.79/scripts/addons/NeuroMorphoVis/init.py", line 87, in import neuromorphovis.interface.ui.io_panel File "/Users/gregoryschwartz/Library/Application Support/Blender/2.79/scripts/addons/neuromorphovis.py", line 36, in import arguments_parser ImportError: No module named 'arguments_parser'

-Greg


Greg Schwartz Assistant Professor Departments of Ophthalmology and Physiology Northwestern University, Feinberg School of Medicine 300 E. Superior St. Chicago, IL 60611 Adjunct Professor in the Department of Neurobiology Weinberg College of Arts and Sciences Northwestern University

SchwartzLab http://schwartzlab.feinberg.northwestern.edu/ 312.503.7503 – Office (Tarry 5-733) 312.503.0857 – Lab (Tarry 5-726/8) 312.503.2509 – Fax

On Nov 4, 2018, at 2:24 AM, Marwan Abdellah notifications@github.com wrote:

This issue has been reported in (#32 https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_BlueBrain_NeuroMorphoVis_issues_32&d=DwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=LLN6ByP-sN6tPCs5cGveLvv6vJCMFnjU_iVxKFAe0lY&m=xaERM0Ts3MVVPyTQRU-3nrJomEql0LCngVcC4vSYzbU&s=2X0hNTcSfm0O1UXm80a6rlmH-VCg3DCbl2fEB_be9oA&e=). But you can launch blender from the command line as follows:

Go to the NeuroMorphoVis directory, for example cd ~/Downloads/neuromorphovis-blender-2.79-macOS-10.6 Then, launch blender from to the following directory ./blender.app/Contents/MacOS/blender <x-msg://20/url> Just let me know how it goes with you. Best — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_BlueBrain_NeuroMorphoVis_issues_39-23issuecomment-2D435651159&d=DwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=LLN6ByP-sN6tPCs5cGveLvv6vJCMFnjU_iVxKFAe0lY&m=xaERM0Ts3MVVPyTQRU-3nrJomEql0LCngVcC4vSYzbU&s=wuyUVa4y2NzAeiAc4mxlw7fvQ2nm3vXJhZutKSWgK7M&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFbAlBA7yQ5gnQ-5FSIilmhr0cC9JXU6L9ks5urqRagaJpZM4YNGEC&d=DwMFaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=LLN6ByP-sN6tPCs5cGveLvv6vJCMFnjU_iVxKFAe0lY&m=xaERM0Ts3MVVPyTQRU-3nrJomEql0LCngVcC4vSYzbU&s=_tzYh_PqbA_L5ya1DCArO_pl7Jyea6nYL6Ehy-d_Dfc&e=.

marwan-abdellah commented 6 years ago

This issue happens due to the difference in versions. I think you have a version that is already installed on your local machine in Applications folder. This version loads preferences from this file /Users/gregoryschwartz/Library/Application Support/Blender/2.79/config/userpref.blend which does not have NeuroMorphoVis for the same version of Blender.

I have dowloaded the .zip file and extracted it and tested it on multiple machines. So I think if you delete this file /Users/gregoryschwartz/Library/Application Support/Blender/2.79/config/userpref.blend or just moved it to a temporary file, then you would be able to load the plugin. In any case, if you prefer, we can have a Skype call to see how can we resolve this issue together.

marwan-abdellah commented 6 years ago

Deleting the userpref file /Users/gregoryschwartz/Library/Application Support/Blender/2.79/config/userpref.blend did the trick.

wvangeit commented 5 years ago

So the 'solution' is still to open from commandline ? Is this mentioned in the doc/readme somewhere ?

orena1 commented 4 years ago

This fix does not work for me: image macOS Catalina version 10.15.1

Thanks