morse-simulator / morse

The Modular OpenRobots Simulation Engine
http://morse-simulator.github.io/
Other
353 stars 156 forks source link

Morse won't run with Blender 2.77 #710

Closed miscott closed 7 years ago

miscott commented 8 years ago

I have been using Blender 2.69 with MORSE 1.4 (and ROS as middleware) on Ubuntu 14.04. It was working great. I wanted to upgrade to Blender to 2.77 as it is easier to speed up MORSE simulations, which will be beneficial for my research. Upon upgrading to Blender 2.77, MORSE will no longer run. The error message received when I run morse check on terminal is as follows:

Ideally, I would like to get MORSE and ROS to run with Blender 2.77, but if that is not possible I would at least like to go back to Blender 2.69 to run some more tests. Thanks in advance!

PierrickKoch commented 8 years ago

Hi, you can try to:

export MORSE_SILENT_PYTHON_CHECK=1

before running morse, this will disable the crash if Python missmatch, but it might lead to various errors, due to the way both your system and Blender python libs will interact (or conflict).

You can always get another blender version at http://download.blender.org/release/

miscott commented 8 years ago

Thanks a bunch for that command. When I run it and then run morse check I get the reply: "Your environment is correctly setup to run MORSE" as expected. The problem, as you mentioned, is more errors occurred. The errors are namely attribute and assertion errors.

PierrickKoch commented 8 years ago

Then you need to build Blender from source

miscott commented 8 years ago

I'll try that, thanks again!

PierrickKoch commented 7 years ago

in case of future issue like this one, as stated in #715 it's now possible to run morse with various blender versions from d.b.o, you just have to setup the to environment variables:

export MORSE_SILENT_PYTHON_CHECK=1
export MORSE_POP_PYTHONLIB="/usr/lib/python3.5"

(assuming your system's Python3 is 3.5).