Open itsupportzf opened 2 years ago
I receive the same error message
In case anyone else wants to fix this before transitioning over to e.g. JamfUploader, the getchildren()
call is deprecated and /Library/AutoPkg/JSSImporter/jss/jssobject.py
needs all (four) instances of foo.getchildren()
updating to list(foo)
.
@stewiem2000 if you submit a PR with the changes you have made to make it work, I will try and create a new release.
I think I've done now done that @grahampugh — appologies if I've messed it up :)
Hah! And now I find the exact same changes (and more) in another pull request 🤦♂️
I think I encountered some issues in the XML response parsing that break things further down the line, but I've reverted to 2.6 (or earlier, I don't remember) as I'm going to convert my stuff to jamf uploader policies.
JSSImporter: Copied '/Users/mluffy/Library/AutoPkg/Cache/com.github.novaksam.jss.Evernote/Evernote-10.40.9.pkg' 'Element' object has no attribute 'getchildren' Failed. Receipt written to /Users/mluffy/Library/AutoPkg/Cache/com.github.novaksam.jss.Evernote/receipts/Evernote.jss-receipt-20220718-172643.plist
The following recipes failed: Evernote.jss.recipe Error in com.github.novaksam.jss.Evernote: Processor: JSSImporter: Error: 'Element' object has no attribute 'getchildren'
Above is the error i get whenever i try to push a new .pkg. i am on the latest jssimporter. please advice. OS12.4