… with a local clone of jamf-upload, I’m observing the following errors:
% /usr/local/autopkg/python ~/Documents/GitHub/grahampugh/jamf-upload/jamf_api_tool.py --prefs ~/Library/Preferences/com.github.autopkg.plist --computers --all --verbose
** Jamf API Tool for Jamf Pro.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 379 0 379 0 0 2005 0 --:--:-- --:--:-- --:--:-- 2005
Session token received
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 424 100 424 0 0 2409 0 --:--:-- --:--:-- --:--:-- 2409
Traceback (most recent call last):
File "/Users/ladmin/Documents/GitHub/grahampugh/jamf-upload/jamf_api_tool.py", line 1060, in <module>
main()
File "/Users/ladmin/Documents/GitHub/grahampugh/jamf-upload/jamf_api_tool.py", line 1026, in main
handle_computers(jamf_url, enc_creds, args, slack_webhook, verbosity)
File "/Users/ladmin/Documents/GitHub/grahampugh/jamf-upload/jamf_api_tool.py", line 52, in handle_computers
for x in obj:
TypeError: 'NoneType' object is not iterable
On a fresh install of …
… with a local clone of jamf-upload, I’m observing the following errors: