ephtracy / ephtracy.github.io

2.62k stars 289 forks source link

Blank screen when opening MagicaVoxel #32

Open DawnRei opened 6 years ago

DawnRei commented 6 years ago

Hello, I need to know what I did wrong.

First off, my OS is High Sierra (mac). I've just read that I need to extract some entire folder, but this is what I see. screen shot 2017-12-31 at 12 03 40 pm

I'm really confused here. Let me know if you have any questions.

Kingson commented 6 years ago

Same issue to me, needs any help, thanks!

Kingson commented 6 years ago

"If you get black screen on macOS Sierra, try this: extract the whole folder move "MagicaVoxel.app" outside the folder and then back to it" I followed the steps, but I still have the confounded issue.

Kingson commented 6 years ago

@DawnRei I found the solution,follow the below steps:

  1. extract the whole folder (go to the "MagicaVoxel" applications folder)
  2. move "MagicaVoxel-mac.app" outside the folder
  3. move "MagicaVoxel-mac.app" back to the folder again

Thanks for the great App!

stephanschubert commented 6 years ago

Unfortunately these steps aren't working for me. I'm using macOS High Sierra 10.13.3 (17D47).

stephanschubert commented 6 years ago

What works for me is:

hth

Shadowturtle commented 6 years ago

@jazen @Kingson @DawnRei I need your help! i tested all your ways, but nothing works. @jazen your way was´t also useful bildschirmfoto 2018-03-05 um 16 45 42 What could be the mistake??

stephanschubert commented 6 years ago

@Shadowturtle Which OSX are you on?

JohnSlaughter commented 6 years ago

You get a black screen because the Mac has quarantined the app bundle.

Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app.

Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it:

drwxr-xr-x@  3 jslaught  staff   96 Nov 22 15:32 MagicaVoxel.app
    com.apple.quarantine     57 

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

The app should now launch just fine.

JohnSlaughter commented 6 years ago

Or just download this script, place the zip file in the same folder as the app, and double-click to unzip, then double-click the script. It should fix the app unless the script itself gets quarantined. Your mileage may vary...

Shell command to remove quarantine

[EDIT] Script works, but needs to be launched the same way the app does, due to code signing. So CTRL-click the script, and select Open to run it.

JohnSlaughter commented 6 years ago

The contents of that script:

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
xattr -d com.apple.quarantine "$DIR/MagicaVoxel.app"
SHADOWELITE7 commented 6 years ago

This should be closed It was already solved because of a graphics card thing

bdsexton commented 5 years ago

This should be closed It was already solved because of a graphics card thing

In what version? Does the graphics card thing you mentioned somehow relate to quarantines?

On November 26, 2018 a newly downloaded copy of MagicVoxel 0.99.2 opened with an empty black window under macOS 10.14.1 on my 2015 MacBook Pro.

bdsexton commented 5 years ago

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

If you wish to remove the quarantine attribute from all of the MagicaVoxel files you can do so by running the command @JohnSlaughter mentioned on the containing directory with the "r" flag (for recursive). For example, if MagicaVoxel.app is inside a folder named "MagicaVoxel-0.99.2-alpha-mac" then the command would be as follows:

xattr -dr com.apple.quarantine MagicaVoxel-0.99.2-alpha-mac

CriticalUpdate commented 5 years ago

@stephanschubert, @JohnSlaughter, and @bdsexton : the real MVPs

All these months later and you guys saved me so much time and frustration.

JohnSlaughter commented 5 years ago

If you wish to remove the quarantine attribute from all of the MagicaVoxel files you can do so by running the command @JohnSlaughter mentioned on the containing directory with the "r" flag (for recursive). For example, if MagicaVoxel.app is inside a folder named "MagicaVoxel-0.99.2-alpha-mac" then the command would be as follows:

xattr -dr com.apple.quarantine MagicaVoxel-0.99.2-alpha-mac

I didn’t realize there was a recursive flag for that. Even easier now. Just type xattr -dr com.apple.quarantine in the Terminal and then drag your entire MagicaVoxel folder into the Terminal to find the path to it and press Enter.

stevenjparrett commented 5 years ago

@JohnSlaughter M

Screenshot 2019-09-08 at 22 14 15

y one comes up with this..

JohnSlaughter commented 5 years ago

Looks like your inside the bundle you’re trying to access. Type “cd ../“ first. Then run that command again.

lronking commented 5 years ago

hi,just rename the folder, delete "-0'.

bodinsamuel commented 4 years ago

Thanks 🙏 still applicable for 0.99.4.2

xattr -dr com.apple.quarantine MagicaVoxel-0.99.4.2-alpha-macos/

nftchance commented 4 years ago

This should not be closed.

Circumstances:

Solution:

pulsaronline commented 4 years ago

Thanks to everyone, it works!

jwpjrdev commented 4 years ago

Works very well, I'm extremely thankful for the help.

endel commented 4 years ago

If you install the MagicaVoxel under your user's Application's folder instead of the system Application's folder, it just works.

e.g. use /Users/yourusername/Applications instead of /Applications

CriticalUpdate commented 3 years ago

@DawnRei I found the solution,follow the below steps:

  1. extract the whole folder (go to the "MagicaVoxel" applications folder)
  2. move "MagicaVoxel-mac.app" outside the folder
  3. move "MagicaVoxel-mac.app" back to the folder again

Thanks for the great App!

Still needed this in 2020 with Big Sur and it worked great. Thanks!

amandalouparker commented 3 years ago

You get a black screen because the Mac has quarantined the app bundle.

Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app.

Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it:

drwxr-xr-x@  3 jslaught  staff   96 Nov 22 15:32 MagicaVoxel.app
  com.apple.quarantine     57 

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

The app should now launch just fine.

This worked for me on Mac OS 10.15.7 the moving in and out of folders did not.

jwpjrdev commented 3 years ago

That's super informative. I will keep that in mind!

On Feb 8 2021, at 5:48 pm, AL Parker notifications@github.com wrote:

You get a black screen because the Mac has quarantined the app bundle. Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app. Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it: drwxr-xr-x@ 3 jslaught staff 96 Nov 22 15:32 MagicaVoxel.app com.apple.quarantine 57 You can remove the quarantine flag by running the following command in the Terminal: xattr -d com.apple.quarantine MagicaVoxel.app The app should now launch just fine. This worked for me on Mac OS 10.15.7 the moving in and out of folders did not.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/ephtracy/ephtracy.github.io/issues/32#issuecomment-775515431), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJJZWYXPOYS7BYKTUH7UZKLS6BS5TANCNFSM4EJ7SOIA).

jwpjrdev commented 3 years ago

Now that I look at this again, what caused the Mac to quarantine the app? What does that even mean?

On Tue, Feb 9, 2021 at 8:36 AM Joshua Price jpric2024@olemiss.k12.in.us wrote:

That's super informative. I will keep that in mind!

On Feb 8 2021, at 5:48 pm, AL Parker notifications@github.com wrote:

You get a black screen because the Mac has quarantined the app bundle.

Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app.

Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it:

drwxr-xr-x@ 3 jslaught staff 96 Nov 22 15:32 MagicaVoxel.app com.apple.quarantine 57

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

The app should now launch just fine.

This worked for me on Mac OS 10.15.7 the moving in and out of folders did not.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ephtracy/ephtracy.github.io/issues/32#issuecomment-775515431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJZWYXPOYS7BYKTUH7UZKLS6BS5TANCNFSM4EJ7SOIA .

-- Joshua Price

JohnSlaughter commented 3 years ago

It’s the default behavior for downloaded applications that are not signed. You (normally) have to acknowledge them at launch and all good, but something about the way this app presents itself to the OS prevents that from happening.

On Feb 25, 2021, at 2:13 PM, Joshua P. notifications@github.com wrote:

 Now that I look at this again, what caused the Mac to quarantine the app? What does that even mean?

On Tue, Feb 9, 2021 at 8:36 AM Joshua Price jpric2024@olemiss.k12.in.us wrote:

That's super informative. I will keep that in mind!

On Feb 8 2021, at 5:48 pm, AL Parker notifications@github.com wrote:

You get a black screen because the Mac has quarantined the app bundle.

Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app.

Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it:

drwxr-xr-x@ 3 jslaught staff 96 Nov 22 15:32 MagicaVoxel.app com.apple.quarantine 57

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

The app should now launch just fine.

This worked for me on Mac OS 10.15.7 the moving in and out of folders did not.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ephtracy/ephtracy.github.io/issues/32#issuecomment-775515431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJZWYXPOYS7BYKTUH7UZKLS6BS5TANCNFSM4EJ7SOIA .

-- Joshua Price — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

jwpjrdev commented 3 years ago

Huh. Interesting. Thanks for the explanation.

On Feb 25 2021, at 4:32 pm, John Slaughter notifications@github.com wrote:

It’s the default behavior for downloaded applications that are not signed. You (normally) have to acknowledge them at launch and all good, but something about the way this app presents itself to the OS prevents that from happening.

On Feb 25, 2021, at 2:13 PM, Joshua P. notifications@github.com wrote:

 Now that I look at this again, what caused the Mac to quarantine the app? What does that even mean?

On Tue, Feb 9, 2021 at 8:36 AM Joshua Price jpric2024@olemiss.k12.in.us wrote:

That's super informative. I will keep that in mind!

On Feb 8 2021, at 5:48 pm, AL Parker notifications@github.com wrote:

You get a black screen because the Mac has quarantined the app bundle.

Open a Terminal window and type cd and a space, then drag and drop the folder you just extracted in the terminal and press Return. You should now be in the same folder as the MagicaVoxel app.

Type ls -l@ in the Terminal and hit Return and you'll see that the app has a quarantine flag on it:

drwxr-xr-x@ 3 jslaught staff 96 Nov 22 15:32 MagicaVoxel.app com.apple.quarantine 57

You can remove the quarantine flag by running the following command in the Terminal:

xattr -d com.apple.quarantine MagicaVoxel.app

The app should now launch just fine.

This worked for me on Mac OS 10.15.7 the moving in and out of folders did not.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ephtracy/ephtracy.github.io/issues/32#issuecomment-775515431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJZWYXPOYS7BYKTUH7UZKLS6BS5TANCNFSM4EJ7SOIA .

-- Joshua Price — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/ephtracy/ephtracy.github.io/issues/32#issuecomment-786242095), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJJZWYSLLBPJRBHPKIBIWYLTA26YTANCNFSM4EJ7SOIA).

CyberSkull commented 2 years ago

Code signing should fix this problem.