ApplePi-Baker has been updated again.
This version addresses a minor issue with MacOS Sierra (beta) concerning proper device detection.
Please report any issues you might run into when running MacOS Sierra, at the original ApplePi-Baker article where you can also download the latest version.
Ad Blocking Detected
Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us on the left).
Your support is very much appreciated, and can be as easy as sharing a link to my website with others, or on social media.
Support can also be done by sponsoring me, and even that can be free (e.g. shop at Amazon).
Any funds received from your support will be used for web-hosting expenses, project hardware and software, coffee, etc.
Thank you very much for those that have shown support already!
It's truly amazing to see that folks like my articles and small applications.
Please note that clicking affiliate links, like the ones from Amazon, may result in a small commission for us - which we highly appreciate as well.
There are 27 comments. You can read them below.
You can post your own comments by using the form below, or reply to existing comments by using the "Reply" button.
Just installed the newest beta of Sierra and now I get an error when trying to format my card. The error is below.
List index (0) out of bounds.
Press OK to ignore and risk data corruption
Press Cancel to kill the program
I don’t know if the latest update broke the program. I haven’t used applePi Baker since upgrading to Sierra.
Which version did you use, and can you describe the steps your did to get to the error?
I just tested v1.9.2 on a MacBook Pro Retina 13″, running macOS Sierra (build 16A238m), and did not get any errors.
2012 15″ MacBook Pro
1. Installed micro SD card (sandisk extreme 16gb)
2. Selected my SD card
3. Browsed for my Jessie Lite version
4. Hit restore and then I get that pop up with the error I listed.
When I hit OK nothing happens and when I hit cancel the program closes.
I’ll have to dig into that one, off hand I could not reproduce that problem …
I’ll try to get back to you in an hour or so.
Are you using ApplePi-Baker 1.9.2?
I just downloaded Jessie Light (zip file), insert my SD card, started up APB 1.9.2, selected the drive, clicked “Restore”, selected Jessie Light from my desktop, and it restored just fine on both my MacBook Pro 15″ Retina (2013) and MacBook Pro 13″ Retina (late 2013).
When doing a restore, does the drive disappear from the list (right under the Pi-Crust heading)?
Are you using an older ApplePi-Baker version?
Can you test with another SD card or USB drive?
I am using Apple Pi Baker 1.9.2. The drive does not disappear just stay there and nothing happens until I close the program. I used my wifes macbook (same model but without Sierra installed) and all was well. I do not have another card. I can go buy another thought
Oh boy, well, I tried it here and I cannot reproduce the problem.
I’m using ApplePi-Baker 1.9.2 and Sierra last public beta. If I click on Restore Backup i’ll get this error:
List Index (0) out of bounds. If I press on OK nothing happens. Status message from Pi Baker: Determine container size.
Error Again, with outer img container or other sd card. Thanks fur help or fixing the issue.
Thank you for reporting Manuel,
You’re the second user running into this issue, unfortunately I’m not able to reproduce this issue on my MacBook Pro (also running latest Sierra beta). Your information however helps me pin-point where the problem might occur.
Did you use a compressed file (zip, etc)?
Would you be able to try an unzipped file, incase you did use a zipped file?
Is the file in the zip file an .IMG file?
Any information will be helpful trying to determine where things potentially go wrong.
At the point that you describe, the file is being analyzed to make sure it fits, which means that a compressed file is being “opened”.
Right after that the disk is being unmounted.
I could make a test version that sends debug messages to the console (under Applications -> Utilities), would you be able to test?
for me it’s look like that the issue has nothing to do what kind of file I use. (When, then I using only uncompressed img files)
An example: I open PI Baker click on the SD card and than on “Restore Backup”. Then I see already the error. So, I have no chance to choose any file.
Sure you can send me a debug version. I will test and report to you.
That’s good info Manuel! Thank you very much!
Dan had this happen after he selected the file (from what I understand from his info).
Does the file dialog open (where you’d normally select the file)?
If not then that would help narrow down where the problem might be found.
Yeah I have tried different SD cards even a regular USB drive. Ive tried .img files and the zip file. As soon as I hit restore I get my error.
Thanks Daniel! Excellent info!
I’m trying to find where the issue could be, since I cannot reproduce the error.
I have been able to pinpoint it down to a few lines of code, but for me to debug that I’d need to write debug code so either you or Manuel can test it and see what is going on.
I hope to have a version for that by the end of the day.
For Dan and Manuel (and anyone who wishes to help debug the list index out of bounds issue in macOS Sierra):
I’ve made a test version (1.9.2 based) which sends debug messages to the Console (found in “Application” -> “Utilities”).
Testing is done as follows:
1. Insert SD card and make sure you have your IMG available (probably won’t need it).
2. Start ApplePi-Baker and enter your Sudo password. Do not do anything else yet.
3. Start “Console” and click the “Clear Display” button.
4. in ApplePi-Baker: Select your drive and click the restore button.
When the error occurs, close ApplePi-Baker and switch to Console.
Now in console a lot of messages will fly by. You need the ones with “Debug PiBaker” in it.
You can enter this the search box in Console (upper right corner), so that you will only see these messages.
Select all the messages that have “Debug PiBaker” in it, and press Command+C (copy to clipboard) and paste it either in an email (reply to the comment notification or directly to webmaster at tweaking4all dot com), or paste it here in a comment and describe what happened.
No sensitive information will be included. If you’d like to make sure, paste it in a text editor and you’ll see.
If there is info you’d rather not share, then feel free to remove it.
Looking forward to your findings, feel free to ask questions if I didn’t explain this all that clear …
Download the test version here.
Just received the beta 2 update of macOS Sierra (10.12 beta, build 16A254g).
Finally I can reproduce the problem, and I’m getting the same error message!
OK after doing a lot of searching this appears to be related to Carbon (which Apple uses/used to use to build GUI elements – Lazarus uses this widgetset instead of the newer Cocoa). I’ll have to dig deeper into the code of the compiler to see why that’s crashing things.
Good news …
I think I found the problem, which was actually not related to the widgetset (probably caused because no longer supports the GDB debugger, which was giving me erratic answers).
The problem was that Apple yet again changed the output of its commandline tools.
I will post an updated version here within the next 15 minutes … please test, and let me know, if you can, if the problem was resolved.
Here you can find the test version which should work properly with macOS Sierra beta 2:
Looking forward to feedback/confirmation, so I can make it available to others …
Thank you for this, I’ve been having this issue for a long time and never found the cause… And yet the answer was here, waiting for anyone who were willing to take 2 minutes and read carefully this thread… Or not dumb enough to not think of updating :p
Anyway, where was I? Oh yes : Thank you !
Haha, I’m happy to hear this was helpful for you!
Thanks for taking the time to post a thank you – it’s much appreciated.
It is confirmed that this fixed the problem.
The new version(1.9.3) is now publicly available …
when I’m pressing the restore button, the app freezes. this happen no matter how many times I’m quitting and reopening the app.
only by restarting my Mac I can restore an image.
didn’t mention it, but I tried both 1.9.1 and 1.9.4
which MacOS X version are you using?
So if I understand you correctly, steps to reproduce:
– boot your Mac,
– start ApplePi-Baker,
– restore image,
– close ApplePi-Baker,
– open ApplePi-Baker again,
– Try restore, but it freezes?
Open invite to test 2.1.0 beta (download here).
Version 2.1.0 comes with some major changes;
– significant speed impact (while testing, backup almost 3 times as fast as before),
– optimized backup (parts of the disk that are not partitioned will be skipped),
– option the shrink or expand Linux partitions on your Mac.
Since I have a limited number of Macs to test with, I’d love to hear feedback from other Mac users.