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

fix Run Blender button in mac #14

Closed
ghost opened this issue Apr 4, 2018 · 1 comment
Closed

fix Run Blender button in mac #14

ghost opened this issue Apr 4, 2018 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Apr 4, 2018

I get some errors when click in "Run Blender" button.

errors:

sh: /Applications/lastBlender/\blender.app: No such file or directory
sh: /Applications/lastBlender/blender.app/Contents/MacOS/blender: Permission denied

Solution:
for solve it you can edit your sexec_osx section this way and so on if it works:

def exec_osx(self):
        blenderPath = os.path.join('"' + dir_ + "blender.app/Contents/MacOS/blender" + '"')
        system("chmod +x " + blenderPath)
        system(blenderPath)
        logger.info('Executing ' + dir_ + 'blender.app')
@tobkum
Copy link
Member

tobkum commented Apr 4, 2018

Oh, thanks for that! I don't have an OSX system to test on - cheers!

tobkum pushed a commit that referenced this issue Apr 4, 2018
@tobkum tobkum closed this as completed Apr 4, 2018
@tobkum tobkum added the bug label Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant