Skip to content

Instantly share code, notes, and snippets.

@jc0b
Created February 18, 2020 12:06
Show Gist options
  • Select an option

  • Save jc0b/a9b264fbc08b4f08246081e09e18c666 to your computer and use it in GitHub Desktop.

Select an option

Save jc0b/a9b264fbc08b4f08246081e09e18c666 to your computer and use it in GitHub Desktop.
> autopkg run -vvvv local.munki.AdobeAcrobatProXIUpdate
Processing local.munki.AdobeAcrobatProXIUpdate...
{'AUTOPKG_VERSION': '2.0.2',
'MAJOR_VERSION': '11',
'MUNKI_REPO': '/Users/Shared/munki',
'MUNKI_REPO_SUBDIR': 'adobe/acrobat',
'NAME': 'AdobeAcrobatPro11_Update',
'PARENT_RECIPES': ['/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro/AdobeAcrobatProXUpdate.munki.recipe',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro/AdobeAcrobatProXUpdate.download.recipe'],
'RECIPE_CACHE_DIR': '/Users/jacobburley/Library/AutoPkg/Cache/local.munki.AdobeAcrobatProXIUpdate',
'RECIPE_DIR': '/Users/jacobburley/Library/AutoPkg/RecipeOverrides',
'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
'RECIPE_PATH': '/Users/jacobburley/Library/AutoPkg/RecipeOverrides/AdobeAcrobatProXIUpdate.munki.recipe',
'RECIPE_REPOS': {'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.48kRAM-recipes': {'URL': 'https://github.com/autopkg/48kRAM-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {'URL': 'https://github.com/autopkg/apettinen-recipes'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apizz-recipes': {'URL': 'https://github.com/autopkg/apizz-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {'URL': 'https://github.com/autopkg/arubdesu-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.aysiu-recipes': {'URL': 'https://github.com/autopkg/aysiu-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes': {'URL': 'https://github.com/autopkg/bnpl-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bochoven-recipes': {'URL': 'https://github.com/autopkg/bochoven-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {'URL': 'https://github.com/autopkg/cgerke-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.chilcote-recipes': {'URL': 'https://github.com/autopkg/chilcote-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.clburlison-recipes': {'URL': 'https://github.com/autopkg/clburlison-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dankeller-recipes': {'URL': 'https://github.com/autopkg/dankeller-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {'URL': 'https://github.com/autopkg/dataJAR-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.eholtam-recipes': {'URL': 'https://github.com/autopkg/eholtam-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {'URL': 'https://github.com/autopkg/foigus-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.gerardkok-recipes': {'URL': 'https://github.com/autopkg/gerardkok-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {'URL': 'https://github.com/autopkg/grahamgilbert-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.gregneagle-recipes': {'URL': 'https://github.com/autopkg/gregneagle-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {'URL': 'https://github.com/autopkg/hansen-m-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {'URL': 'https://github.com/autopkg/hjuutilainen-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {'URL': 'https://github.com/autopkg/homebysix-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes': {'URL': 'https://github.com/autopkg/jaharmi-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jbaker10-recipes': {'URL': 'https://github.com/autopkg/jbaker10-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes': {'URL': 'https://github.com/autopkg/jessepeterson-recipes'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {'URL': 'https://github.com/autopkg/jleggat-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes': {'URL': 'https://github.com/autopkg/joshua-d-miller-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jps3-recipes': {'URL': 'https://github.com/autopkg/jps3-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {'URL': 'https://github.com/autopkg/justinrummel-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes': {'URL': 'https://github.com/autopkg/keeleysam-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {'URL': 'https://github.com/autopkg/killahquam-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.munkireport-recipes': {'URL': 'https://github.com/autopkg/munkireport-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.n8felton-recipes': {'URL': 'https://github.com/autopkg/n8felton-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.neilmartin83-recipes': {'URL': 'https://github.com/autopkg/neilmartin83-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes': {'URL': 'https://github.com/autopkg/nmcspadden-recipes'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {'URL': 'https://github.com/autopkg/novaksam-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes': {'URL': 'https://github.com/autopkg/peshay-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {'URL': 'https://github.com/autopkg/recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {'URL': 'https://github.com/autopkg/rtrouton-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes': {'URL': 'https://github.com/autopkg/scriptingosx-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes': {'URL': 'https://github.com/autopkg/tbridge-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.thenikola-recipes': {'URL': 'https://github.com/autopkg/thenikola-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {'URL': 'https://github.com/autopkg/timsutton-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.vmiller-recipes': {'URL': 'https://github.com/autopkg/vmiller-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.wardsparadox-recipes': {'URL': 'https://github.com/autopkg/wardsparadox-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.ygini-recipes': {'URL': 'https://github.com/autopkg/ygini-recipes.git'},
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.nstrauss.autopkg-recipes': {'URL': 'https://github.com/nstrauss/autopkg-recipes.git'}},
'RECIPE_SEARCH_DIRS': ['.',
'~/Library/AutoPkg/Recipes',
'/Library/AutoPkg/Recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apizz-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.aysiu-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bochoven-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.chilcote-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.clburlison-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dankeller-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.eholtam-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.gerardkok-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jbaker10-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.munkireport-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.n8felton-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.neilmartin83-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.thenikola-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jps3-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.48kRAM-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.gregneagle-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.vmiller-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.wardsparadox-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.ygini-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.nstrauss.autopkg-recipes',
'/Users/jacobburley/Library/AutoPkg/RecipeOverrides',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro',
'/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro'],
'TARGET_OS': '10.9',
'VERSION': 'latest',
'pkginfo': {'blocking_applications': ['Adobe Acrobat Pro.app',
'Adobe Acrobat Reader DC.app',
'Adobe Acrobat.app',
'Adobe Reader.app'],
'catalogs': ['autopkg'],
'category': 'Productivity',
'description': '',
'display_name': 'Adobe Acrobat Pro Update',
'name': 'AdobeAcrobatPro11_Update',
'unattended_install': True,
'update_for': ['Adobe_Acrobat_XI_Pro']},
'verbose': 4}
AdobeAcrobatProUpdateInfoProvider
{'Input': {'major_version': '11', 'target_os': '10.9', 'version': 'latest'}}
AdobeAcrobatProUpdateInfoProvider: Curl command: ['/usr/bin/curl', '--compressed', '--location', 'https://armmf.adobe.com/arm-manifests/mac/11/manifest_url_template.txt']
Traceback (most recent call last):
File "/Library/AutoPkg/autopkglib/__init__.py", line 673, in process
self.env = processor.process()
File "/Library/AutoPkg/autopkglib/__init__.py", line 480, in process
self.main()
File "/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro/AdobeAcrobatProUpdateInfoProvider.py", line 171, in main
(url, version, prev_version) = self.get_acrobat_metadata(get_version)
File "/Users/jacobburley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/AdobeAcrobatPro/AdobeAcrobatProUpdateInfoProvider.py", line 133, in get_acrobat_metadata
META_BASE_URL + template_response.decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'
File "/Library/AutoPkg/autopkglib/__init__.py", line 673, in process
self.env = processor.process()
'str' object has no attribute 'decode'
Failed.
Receipt written to /Users/jacobburley/Library/AutoPkg/Cache/local.munki.AdobeAcrobatProXIUpdate/receipts/local.munki-receipt-20200218-130534.plist
The following recipes failed:
local.munki.AdobeAcrobatProXIUpdate
Error in local.munki.AdobeAcrobatProXIUpdate: Processor: AdobeAcrobatProUpdateInfoProvider: Error: 'str' object has no attribute 'decode'
Nothing downloaded, packaged or imported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment