- This topic has 6 replies, 3 voices, and was last updated 12 years, 11 months ago by
geestar.
-
AuthorPosts
-
May 17, 2012 at 3:43 am #381866
geestar
ParticipantUpdated 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 foldersRunning 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?
May 17, 2012 at 4:27 am #381867bw38
ParticipantStrange. 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.
May 17, 2012 at 4:58 am #381868geestar
ParticipantCan’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
May 17, 2012 at 7:35 am #381869geestar
ParticipantI 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]May 17, 2012 at 7:36 am #381870geestar
ParticipantI 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]May 17, 2012 at 11:03 am #381871Allister Banks
ParticipantSorry 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
May 17, 2012 at 8:49 pm #381872geestar
ParticipantThanks Allister – that did it – you’re doing a fantastic job btw!
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed