Home Forums Software InstaDMG Can’t Find Installer Image – Rev 450

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #381866
    geestar
    Participant

    Updated InstaDMG to Rev 450 and when I go to build a 10_7 Vanilla it can’t find the installer image – I have had no previous issues.

    I have no disks or images mounted and rebooted a number of times – the installer i have is in ‘Installer Discs’ and is Build 11A51.

    Code output is:

    [code]Setting up for 10.7_vanilla
    Setting up InstaDMG folders

    Running InstaDMG: /InstaDMG/instadmg.bash -f -I /InstaDMG/InstallerFiles/InstallerDiscs/InstallESD.dmg -n Macintosh HD -m 10.7 Vanilla.dmg -K /private/tmp/idmg_temp.fz_cIv/items-_T4xc9 -o /InstaDMG/OutputFiles

    Traceback (most recent call last):
    File “AddOns/InstaUp2Date/Resources/pathHelpers.py”, line 65, in
    optionsParser = optparse.OptionParser(“%prog -n/–normalize-path [-f/–follow-symlinks] target_path | -p/–path-inside-folder target_path test_folder”, version=”%%prog %s” % __version__)
    NameError: name ‘__version__’ is not defined
    13:26:22 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 450)
    Host OS: Mac OS X 10.7.4
    Host Hardware: iMac12,1
    Output file name: 10.7 Vanilla.dmg
    Output disk name: Macintosh HD
    13:26:23 ###### Finding main MacOS X installer disk ######
    13:26:23 ###### Looking for a Cached Image ######
    hdiutil: imageinfo failed – No such file or directory
    ###### Unable to get checksum for image: Traceback (most recent call last):
    File “AddOns/InstaUp2Date/Resources/pathHelpers.py”, line 65, in

    optionsParser = optparse.OptionParser(“%prog -n/–normalize-path [-f/–follow-symlinks] target_path | -p/–path-inside-folder target_path test_folder”, version=”%%prog %s” % __version__)
    NameError: name ‘__version__’ is not defined ######
    13:26:23 ###### Cleaning up ######
    Restoring normal installd daemon
    Ejecting images
    Traceback (most recent call last):
    File “./instaUp2Date.py”, line 716, in

    main()
    File “./instaUp2Date.py”, line 705, in main
    thisController.runInstaDMG(scratchFolder=options.instadmgScratchFolder, outputFolder=options.instadmgOutputFolder)
    File “./instaUp2Date.py”, line 472, in runInstaDMG
    raise RuntimeError(‘InstaDMG process did not run sucessfully’)
    RuntimeError: InstaDMG process did not run sucessfully
    neilg@[/InstaDMG/AddOns/InstaUp2Date]: cd ../../
    neilg@[/InstaDMG]: svn update
    At revision 450.
    [/code]

    Any thoughts?

    #381867
    bw38
    Participant

    Strange. What’s the command your running? Any idea what rev you previously had?

    You could try a simple reboot to see if it starts working again.

    #381868
    geestar
    Participant

    Can’t remember previous rev, I imagine it would have been 44X or something

    Command I using is…

    sudo ./instaUp2Date.py -p 10.7_vanilla

    I have rebooted 3 times -same issue

    #381869
    geestar
    Participant

    I also note that one of the file code changes in Rev 450 is:

    [code] AddOns/InstaUp2Date/Resources/pathHelpers.py[/code]

    And that is part of the error:

    [code]Running InstaDMG: /INSTA/InstaDMG/instadmg.bash -f -I /INSTA/InstaDMG/InstallerFiles/InstallerDiscs/InstallESD.dmg -n Macintosh HD -m 10.7 Vanilla.dmg -K /private/tmp/idmg_temp.o4Qyy9/items-1KnH7j -o /INSTA/InstaDMG/OutputFiles

    Traceback (most recent call last):
    File “AddOns/InstaUp2Date/Resources/pathHelpers.py”, line 65, in
    optionsParser = optparse.OptionParser(“%prog -n/–normalize-path [-f/–follow-symlinks] target_path | -p/–path-inside-folder target_path test_folder”, version=”%%prog %s” % __version__)
    [/code]

    #381870
    geestar
    Participant

    I also note that one of the file code changes in Rev 450 is:

    [code] AddOns/InstaUp2Date/Resources/pathHelpers.py[/code]

    And that is part of the error:

    [code]Running InstaDMG: /INSTA/InstaDMG/instadmg.bash -f -I /INSTA/InstaDMG/InstallerFiles/InstallerDiscs/InstallESD.dmg -n Macintosh HD -m 10.7 Vanilla.dmg -K /private/tmp/idmg_temp.o4Qyy9/items-1KnH7j -o /INSTA/InstaDMG/OutputFiles

    Traceback (most recent call last):
    File “AddOns/InstaUp2Date/Resources/pathHelpers.py”, line 65, in
    optionsParser = optparse.OptionParser(“%prog -n/–normalize-path [-f/–follow-symlinks] target_path | -p/–path-inside-folder target_path test_folder”, version=”%%prog %s” % __version__)
    [/code]

    #381871
    Allister Banks
    Participant

    Sorry geestar, that was my bad. I was trying to clear up an older issue related to a variable in pathHelpers being unset when people use git or hg’s svn emulation tool to check out svn repos. It wasn’t the right fix, so I just backed it off with r451. You could resolve it without checking out svn again by going to that file and removing the # from the beginning of the third line.

    Allister

    #381872
    geestar
    Participant

    Thanks Allister – that did it – you’re doing a fantastic job btw!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed