I have a weird problem with the newest svn of InstaDMG. Despite having all my files in the “InstaUp2DatePackages” folder, some of the ones referenced from one of my catalogs can’t be found when running ./instaUp2Date.py setup:
[code]Library -checksummed 14 items in less than one secondTraceback (most recent call last):
File “./instaUp2Date.py”, line 716, in
main()
File “./instaUp2Date.py”, line 671, in main
thisController.findItems()
File “./instaUp2Date.py”, line 330, in findItems
thisItem.findItem(progressReporter=progressReporter)
File “/Volumes/Lacie 1/instadmg/AddOns/InstaUp2Date/Resources/installerPackage.py”, line 158, in findItem
self.filePath = cacheController.findItem(self.source, self.checksumType, self.checksumValue, self.displayName, additionalSourceFolders, progressReporter)
File “/Volumes/Lacie 1/instadmg/AddOns/InstaUp2Date/Resources/cacheController.py”, line 372, in findItem
raise FileNotFoundException(‘Could not locate the item: ‘ + nameOrLocation)
Resources.commonExceptions.FileNotFoundException: Could not locate the item: Library.pkg[/code]
The file is called “Library.pkg” and it’s in the “InstaUp2DatePackages” folder. This only happens with some of the files.
Could you post the catalog that is causing you the issue? An guess, would be to check and make sure lines are tabbed properly. I’d use a text editor like Text Wrangler.
Another possibility, some packages get modified after being run through InstaDMG. It could be something like a minor dummy file that was created. Don’t ask me why this happens. All I can say is that I’ve seen it before (with Office 2011). When this occurs, it causes the checksum to change as well which means you have to run a checksum on that package again and update the catalog accordingly.
But you’re saying this is happening with multiple packages so I’m guessing something else is at play here.
You can also try doing a restart of the machine. Sometimes that fixes weird error messages from InstaDMG.
[QUOTE][u]Quote by: bw38[/u][p]Could you post the catalog that is causing you the issue? An guess, would be to check and make sure lines are tabbed properly. I’d use a text editor like Text Wrangler.
Another possibility, some packages get modified after being run through InstaDMG. It could be something like a minor dummy file that was created. Don’t ask me why this happens. All I can say is that I’ve seen it before (with Office 2011). When this occurs, it causes the checksum to change as well which means you have to run a checksum on that package again and update the catalog accordingly.
But you’re saying this is happening with multiple packages so I’m guessing something else is at play here.
You can also try doing a restart of the machine. Sometimes that fixes weird error messages from InstaDMG.[/p][/QUOTE]
#Output Volume Name = Volume Name
#Output File Name = File Name
include-file: basic.catalog
OS Updates:
Apple Updates:
System Settings:
Third Party Software:
Library Library.pkg sha1:f34a95ce6f9673418f8bdcb9b5693a713ad79bae
User Template User Template.pkg sha1:c62fbc800445b0a017886b38112c181ccc9cdca9
createUser – Template createUser – Template.pkg sha1:7e1e464c7f161c00ba5706fcd07beb74c998c942
createUser – anni1105 createUser – anni1105.pkg sha1:2e2320b8b6e2234041759be6f8a91f22abc76d75
Localization-100210 Localization-100210.pkg sha1:36b31e5b58eed8f5c7f3e0179b97da84c6005253
firstboot firstboot.mpkg sha1:25ecf424e619564a3583754a5fe1b253bf1f9725
Postflight Script Postflight Script.pkg sha1:520fed0f314875058500bb351377b4175bfa53fa
Software Settings::[/code]
I have checked that the tabs are as they should be. I use Textmate for editing the catalog files. ANd the same catalog with the same packages used to work with earlier versions of instaDMG (updated instaDMG to newest SVN), so I’m suspecting it must be a bug in InstaDMG/InstaUpToDate. It does happen with multiple packages.
It seems very strange 😯 the bug may come from having the same name of the package and path to it ¿?
You could start by organizing the packages by folders? as many of us do.
Also another approach less intrusive would be doing a checkout of the latest revision in a different folder aka /instaDMG2 and copy the catalogs, installerDiscs and pkgs
An example of catalog with packages sorted by folder
[code]# GENERIC LION IMAGE WITH ILIFE ’11 AND XCODE 4
ISO Language Code = en
Output Volume Name = Macintosh HD
Output File Name = Our_Lion.i386.hfs.dmg
Comments are closed