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

Mac OS X El Capitain - not starting #29

Closed
mukulseth opened this issue Sep 13, 2016 · 11 comments
Closed

Mac OS X El Capitain - not starting #29

mukulseth opened this issue Sep 13, 2016 · 11 comments
Labels

Comments

@mukulseth
Copy link

Hi,

I've been trying since yesterday to start up the app from source. But it seems to get stuck on "Attempting Auto-Fix..." I'm attaching some screenshots to show the error messages and the flow.

1
2
3
4

I did grant permission to the app when it starts up initially. Not sure what it could be. Also, there are no error messages in the console.

@mukulseth
Copy link
Author

I've tried a few times to ensure I'm following the instructions exactly.. I'll double check to make sure the version of node isn't causing this problem

@mukulseth
Copy link
Author

These logs from the syslog might be relevant --

Sep 13 15:57:50 prime-5 launchservicesd[85]: SecTaskLoadEntitlements failed error=22
Sep 13 15:57:50 prime-5 lsd[296]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Sep 13 15:57:50 prime-5 launchservicesd[85]: SecTaskLoadEntitlements failed error=22
Sep 13 15:57:50 --- last message repeated 1 time ---
Sep 13 15:57:50 prime-5 appleeventsd[56]: SecTaskLoadEntitlements failed error=22
Sep 13 15:57:50 prime-5 launchservicesd[85]: SecTaskLoadEntitlements failed error=22
Sep 13 15:57:50 prime-5 sudo[3298]: mseth : TTY=ttys003 ; PWD=/Users/mseth/Projects/physi/lg-link-app ; USER=root ; COMMAND=/Users/mseth/n/lib/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron .
Sep 13 15:57:50 prime-5 Electron Helper[3297]: GVA info: preferred scaler idx 0
Sep 13 15:57:50 prime-5 lsd[213]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Sep 13 15:57:50 prime-5 appleeventsd[56]: SecTaskLoadEntitlements failed error=22
Sep 13 15:57:50 prime-5 Electron Helper[3300]: GVA info: preferred scaler idx 0
Sep 13 15:57:50 prime-5 lsd[213]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Sep 13 15:57:52 prime-5 kernel[0]: Sandbox: diskutil(3309) System Policy: allow(0) file-ioctl /dev/rdisk0
Sep 13 15:58:03 prime-5 mds[66]: (DiskStore.Normal:2382) 5001 1.000005
Sep 13 15:58:18 prime-5 lsd[213]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Sep 13 15:58:18 prime-5 lsd[296]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Sep 13 15:58:40 --- last message repeated 2 times ---

@davidferguson
Copy link
Owner

It seems there is a bug when you try and built from source. I think that PiBakery is not managing to extract the raspbian 7z file which it downloads, and therefore every time has the error of not being able to find raspbian.img.

If you go to the folder /Library/Application Support/ is there a PiBakery folder in there? If there is, could you post the output of its contents?

@mukulseth
Copy link
Author

@davidferguson

I'm not even sure it had a chance to download the file.. it fails very quickly. And there doesn't seem to be a PiBakery folder in /Library/Application Support/

Where would the compressed 7z file be downloaded?

The Terminal titlebar seems to cycle repeatedly (very fast) between awk and diskutil while it's stuck on "Attempting Auto-Fix" -- no messages in the console though

@davidferguson
Copy link
Owner

The issue might very well be that you need to manually create the PiBakery folder inside /Library/Application Support/ (the installer usually does this for you). Try creating it, and see if the Auto-Fix gets any further ahead (I fear that there might still be a bug in the extraction process).

@mukulseth
Copy link
Author

I created the folder.. there doesn't seem to be any change :(

@marcelogaio
Copy link

Same problem here. OSX El Capitan, identical issue.

@davidferguson
Copy link
Owner

Whilst I try and fix this, I'd recommend just using the Mac installer. If you want to edit the files from the installer, they can be found in /Applications/PiBakery.app/Contents/Resources/app/ and the raspbian image can be found in /Library/Application Support/PiBakery/

@davidferguson
Copy link
Owner

I've updated my README to include that you need to create the /Library/Application Support/PiBakery/os directory before running npm start, and I've just checked it on my Mac which also runs El Capitan, and it now works (although the progress bar does stay on nearly complete for a few minutes - just wait for it, it should complete).

Please let me know if that works for you.

@mukulseth
Copy link
Author

@davidferguson yep.. that seems to fix the issue :) thanks!

@davidferguson
Copy link
Owner

Great to hear, @mukulseth!

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

3 participants