AFP548 Changing the world one server at a time.

Can’t find file referenced from catalog

Home › Forums › Software › InstaDMG › Can’t find file referenced from catalog

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #381746
    typofonic
    Participant

    Hi,

    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:

    Library -checksummed 14 items in less than one secondTraceback (most recent call last):
      File "./instaUp2Date.py", line 716, in <module>
        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

    The file is called “Library.pkg” and it’s in the “InstaUp2DatePackages” folder. This only happens with some of the files.

    Any ideas, on how to fix this?

    #381758
    bw38
    Participant

    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.

    #381762
    typofonic
    Participant

    bw38 wrote:

    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.

    Hi bw38,

    Thanks for your reply.

    Here’s the catalog:

    # Endelig system setup
    
    Installer Disc Builds = 10A432, 10B504, 10C540, 10D573, 10D575, 10F569
    
    #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::

    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.

    A restart doesn’t help unfortunately…

    Hmm…

    #381772
    88gb525dxQK4gt6u
    Participant

    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

    # 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
    
    include-file: 10.7_vanilla.catalog
    include-file: xcode.catalog
    include-file: iLife11_app.catalog
    include-file: iLife11_Updates.catalog
    include-file: Create_admin_users.catalog
    include-file: Common_apps.catalog
    
    Apple Updates:
    
    System Settings:
    
    Third Party Software:
    	bootpicker	b0/bootpicker.dmg	sha1:7d4e0b3c21b4b8f07890efba50d1a163a4b84475
    	GIMP-2.6.12	g1/GIMP-2.6.12.dmg	sha1:5961dc5a62845a6a092528eb2d9a49cc9f22c563
    	SAPGui	s9/SAPGui.pkg	sha1:823889775f289c249587346b95c7735de892cea3
    	Lync_14.0.0	l3/Lync_14.0.0.dmg	sha1:0a833e63e3c001637e6ba6daabb41f5ba8293bd6
    	Lync_14.0.1_Update	l3/Lync_14.0.1_Update.dmg	sha1:440b8d38fe4d1fbe80da29e7e985a46437ede2b3
    	Paintbrush	p1/Paintbrush.dmg	sha1:d81d5796cbbe0bc47d481b2d497f2380be02fa0d
    	
    Software Settings:
    	firefox.generic	f4/firefox.generic.pkg	sha1:6ddf40dd932b53763d938c150123bda1a29f7c28kw-11577:CatalogFiles
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.