Page 1 of 1

ApplePi-Baker v1.9.2 update for MacOS Sierra

ApplePi-Baker v1.9.2 update for MacOS Sierra
   24

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.




Donation options


Donations are very much appreciated, but not required. Donations will be used for web-hosting expenses, project hardware or a motivational boost (a drink or snack). Thank you very much for those have donated already! It's truly AwEsOmE to see that folks like our articles and small applications.

Comments


There are 24 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.

  • Jul 16, 2016 - 8:20 PM - tomtas01 Comment Link

    Thanks

    Reply

    tomtas01

  • Jul 20, 2016 - 7:12 PM - Daniel Comment Link

    Just installed the newest beta of Sierra and now I get an error when trying to format my card.  The error is below.

    ApplePi Baker

    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.

    Thanks

    Dan

    Reply

    Daniel

    • Jul 21, 2016 - 3:15 AM - hans - Author: Comment Link

      Hi Dan!

      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.

      Reply

      hans

      • Jul 21, 2016 - 4:33 AM - Daniel Comment Link

        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.

        Thanks

        Reply

        Daniel

      • Jul 21, 2016 - 6:16 AM - hans - Author: Comment Link

        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. 

        Reply

        hans

      • Jul 21, 2016 - 6:36 AM - hans - Author: Comment Link

        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?

        Reply

        hans

        • Jul 22, 2016 - 9:28 AM - Daniel Comment Link

          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

          Reply

          Daniel

        • Jul 23, 2016 - 3:52 AM - hans - Author: Comment Link

          Oh boy, well, I tried it here and I cannot reproduce the problem.

          You can try a simple USB stick as well, or grab an SD card from a camera, if you have one laying around.
          Another thing you could try: use “Prep for Noobs” first, and uncheck “Auto eject”.
          If you keep getting the same error, I could make a test version with a tiny modification.
          Reply

          hans

  • Jul 26, 2016 - 7:21 AM - Manuel Comment Link

    Hello,

    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. 

    Regards Manuel

    Reply

    Manuel

    • Jul 26, 2016 - 8:29 AM - hans - Author: Comment Link

      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?

      Reply

      hans

      • Jul 26, 2016 - 8:52 AM - Manuel Comment Link

        Hi Hans,

        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.

        Reply

        Manuel

      • Jul 26, 2016 - 9:02 AM - hans - Author: Comment Link

        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.

        Reply

        hans

  • Jul 26, 2016 - 9:12 AM - Daniel Comment Link

    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.

    Reply

    Daniel

    • Jul 26, 2016 - 9:59 AM - hans - Author: Comment Link

      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.

      Reply

      hans

  • Jul 26, 2016 - 10:30 AM - hans - Author: Comment Link

    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.

    Reply

    hans

    • Jul 27, 2016 - 5:30 AM - hans - Author: Comment Link

      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! 

      Reply

      hans

    • Jul 27, 2016 - 6:47 AM - hans - Author: Comment Link

      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.

      Reply

      hans

    • Jul 27, 2016 - 8:38 AM - hans - Author: Comment Link

      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.

      Reply

      hans

    • Jul 27, 2016 - 8:44 AM - hans - Author: Comment Link

      Here you can find the test version which should work properly with macOS Sierra beta 2:

      Download

      Looking forward to feedback/confirmation, so I can make it available to others … 

      Reply

      hans

    • Jul 27, 2016 - 10:22 AM - hans - Author: Comment Link

      It is confirmed that this fixed the problem.

      The new version(1.9.3) is now publicly available … 

      Reply

      hans

  • Aug 22, 2016 - 6:26 AM - Ido Comment Link

    hey, 

    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. 

    Reply

    Ido

    • Aug 22, 2016 - 6:27 AM - Ido Comment Link

      didn’t mention it, but I tried both 1.9.1 and 1.9.4

      Reply

      Ido

    • Aug 22, 2016 - 12:34 PM - hans - Author: Comment Link

      Hi Ido,

      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?

      Reply

      hans



Your Comment …

Friendly request to not post large files here (like source codes, log files or config files). Please use the Forum for that purpose.

Please share:
*
*
Notify me about new comments (email).
       You can also use your RSS reader to track comments.


Tweaking4All uses the free Gravatar service for Avatar display.
Tweaking4All will never share your email address with others.