Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jamf_api_tool.py Errors #39

Open
dan-snelson opened this issue Nov 11, 2021 · 1 comment
Open

jamf_api_tool.py Errors #39

dan-snelson opened this issue Nov 11, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dan-snelson
Copy link

On a fresh install of …

  • macOS 11.6.1 (20G224) on Intel
  • git 2.30.1 (Apple Git-130)
  • autopkg 2.3.1

… 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
@0bl1t3r4t3
Copy link

Any updates on this?

@grahampugh grahampugh self-assigned this Nov 28, 2022
@grahampugh grahampugh added the bug Something isn't working label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants