BlenderUpdaterCLI icon indicating copy to clipboard operation
BlenderUpdaterCLI copied to clipboard

All tasks finished but Blender OSX app isn't output nor updated

Open nickmadeventures opened this issue 6 years ago • 5 comments
trafficstars

Hey there,

So I was able to run this with: python3 BlenderUpdaterCLI.py -b 28 -p ~/Applications/ but the app isn't overwritten (similar to dragging and dropping a downloaded Blender into that folder) so the version is the same.

My download, extraction, copying, and clean up tasks look successful:

image

but the hash is the old one and not the latest build.

I'm guessing there's some type of issue installing it into the apps folder but I'm not sure what other Mac users are doing otherwise.

Any ideas?

nickmadeventures avatar Mar 04 '19 17:03 nickmadeventures

I decided to give up on installing directly to the Applications folder (which ended up being /Applications/ instead) and simply have the CLI tool drop it in a downloads folder. Each time it says it's already installed even though it's not:

image

Blender isn't in any applications folder nor the folder I'm extracted it into. It looks like the config.ini is pointing to what is 'installed' version-wise, but not system installed.

Blender won't open at all.

image

The usual Security & Privacy notification to allow opening Blender isn't there either.

I downloaded the zip from the Blender builder site and it opens normally with the expected message: image

image

So I'd say for any Mac users to update manually until there's a hotfix.

Thanks!

nickmadeventures avatar Mar 04 '19 20:03 nickmadeventures

For those following along, I resolved the "The application "blender" can't be opened" that isn't resolved by opening up the privacy and security settings based on the solution listed on stackexchange:

chmod +x blender.app/Contents/MacOS/*

For now, I can use the CLI to pull the file down into /Applications with:

python3 BlenderUpdaterCLI.py -b 28 -p /Applications -y && chmod +x /Applications/blender.app/Contents/MacOS/*

The CLI -r Run flag won't work because it needs the permission set with chmod but that's ok with me.

Thanks!

nickmadeventures avatar Mar 05 '19 21:03 nickmadeventures

@nickmadedesign it should actually set the chmod +x within the script. I did a small commit 2 day ago, can you re-check if it works now? Cheers!

tobkum avatar Mar 06 '19 11:03 tobkum

@tobkum Ah, sorry I missed that. I downloaded it. Without the chmod command as installed into /Applications it returns the same "can't be opened" issue. chmod'ing after resolves it.

nickmadeventures avatar Mar 06 '19 12:03 nickmadeventures

@nickmadedesign I'll try to figure out what is happening, but cannot check because I don't have an OSX machine :-/ Cheers, -T

tobkum avatar Mar 11 '19 01:03 tobkum