autopkg / jessepeterson-recipes

Recipes for http://autopkg.github.io/autopkg/
17 stars 38 forks source link

VirtualBoxExtPack: download works, with error 'str' object has no attribute 'get' #102

Open jw-macworks opened 2 years ago

jw-macworks commented 2 years ago

This seems to be the relevant portion from autopkg run -vv com.github.jessepeterson.munki.VirtualBoxExtPack. I believe this started after the update to macOS 12.3.

MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Volumes/Munki/munki_repo
'str' object has no attribute 'get'
Failed.
Receipt written to /Volumes/Munki/AutoPkg/Cache/com.github.jessepeterson.munki.VirtualBoxExtPack/receipts/com.github.jessepeterson.munki-receipt-20220320-075437.plist

The following recipes failed:

    com.github.jessepeterson.munki.VirtualBoxExtPack
        Error in com.github.jessepeterson.munki.VirtualBoxExtPack: Processor: MunkiImporter: Error: 'str' object has no attribute 'get'

The following new items were downloaded:
    Download Path                                                                                                                             
    -------------                                                                                                                             
    /Volumes/Munki/AutoPkg/Cache/com.github.jessepeterson.munki.VirtualBoxExtPack/downloads/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack  
jessepeterson commented 2 years ago

Huh. Perhaps a Python 2 vs 3 issue? I haven't had time to look at any of this in a long long time.

octomike commented 2 years ago

This should be fixed with a new autopkg release:

https://github.com/autopkg/autopkg/pull/794