autopkg / novaksam-recipes

JSS Autopkg recipes
Apache License 2.0
12 stars 23 forks source link

Cant build WacomIntuos.pkg #57

Open Svenb72 opened 4 years ago

Svenb72 commented 4 years ago

Hi. Im getting this error then running the WacomIntuos.pkg recipe. I cleaned out all old stuff and added the recipe again but still get the same error: ......... Processing WacomIntuos.pkg... WARNING: WacomIntuos.pkg is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding... File '/Volumes/Backup_Cache/AutoPKG/Cache/com.github.novaksam.pkg.WacomIntuos/downloads/PAYLOAD/Library/Application Support/Tablet/WacomTabletDriver.app/Contents/Info.plist' does not exist or could not be read. Failed.

The following recipes failed: WacomIntuos.pkg Error in com.github.novaksam.pkg.WacomIntuos: Processor: Versioner: Error: File '/Volumes/Backup_Cache/AutoPKG/Cache/com.github.novaksam.pkg.WacomIntuos/downloads/PAYLOAD/Library/Application Support/Tablet/WacomTabletDriver.app/Contents/Info.plist' does not exist or could not be read.

Nothing downloaded, packaged or imported.

billyp179 commented 4 years ago

Any update on this? i am having the same errors

billyp179 commented 4 years ago

Ok, what i have found is that the "WacomTabletDriver.app" is not being downloaded into the cache folder. During the process the reason for the error is its unable to get the version from info.plist.

What i did was choose another app from the cache folder in order to get the version of the latest Wacom Intuos driver. I then reviewed the recipe used from the RecipeRepos to convert dmg to pkg (located in the Recipe - pkg folder). i edited the input_plist_path to point to a different app found in the cache folder. You also have to edit right below, plist_version_key</> and change "CFBundle" to "CFBundleShortVersionString". That way, the recipe will be able to find the info.plist from an app, and finish converting dmg to pkg with the version number.

After you have made the edit, launch terminal and run 'autopkg update-trust-info RecipeOverrides/WacomIntuosDriver.jss.recipe' so that the changes are trusted. Once you run the Wacom Intuos Driver.jss override, it will have no errors.

SeanHansell commented 3 years ago

PR #61 fixes this issue.