morse-simulator / morse

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

About Morse cannot recognize the Blender. #707

Closed jim1949 closed 8 years ago

jim1949 commented 8 years ago

Thanks for taking the time to fill an issue with MORSE!

I am installing the morse today again. And I am getting stuck in the step when I check the morse. It shows it cannot find the excutable blender. It shows like below: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% eduroam-164-210:~ jj$ morse check

And MORSE_BLENDER=/Applications/blender.app/Contents/MacOS/blender However, I still got the same result: My Blender still cannot be found by the Morse.

Any suggestions?

PierrickKoch commented 8 years ago

are you using bash ? to check if the variable is set up correctly, you can type the following in a terminal:

➤ echo $MORSE_BLENDER 
/path/to/blender
➤ $MORSE_BLENDER --version
Blender 2.72 (sub 0)
    build date: 2014-10-21
    build time: 16:50:57
    build commit date: 2014-10-03
    build commit time: 13:58
    build hash: 95182d1
...
PierrickKoch commented 8 years ago

Can you try this commit: https://github.com/pierriko/morse/commit/5630816b5c7c6adb186fefed2f351fa8ba33fb7c

If it works for you, I'll push to the main repository. Thanks

gsubramani commented 8 years ago

I'm getting the same issue with MAC OS X, python 3.5.1 and blender 2.77.

Could not find a correct Blender executable, neither in the path or in MORSE
prefix. Blender >= 2.65 is required to run MORSE.
You can alternatively set the $MORSE_BLENDER environment variable to point to
a specific Blender executable

was this tested?

PierrickKoch commented 8 years ago

Hi @gsubramani can you try the following patch: https://github.com/pierriko/morse/commit/e31b4df71527588466eee290b205bbc57e906f7e

Let me know if it fix your issue and I'll push upstream

gsubramani commented 8 years ago

@pierriko 👍 That seems to fix the problem!