-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi everyone,
I'm the non-code person here and I'm trying to follow the docx to get the jamf2snipe is running to sync device's information from Jamf to SnipeIT.
The jamf2snipe is run successfully at the first time. All data has been sync from Jamf to SnipeIT as expected.
But when I re-run the script to update the new data from Jamf. It's returned the error:
Please note that I do not make any changes in jamf2snipe file.
Traceback (most recent call last):
File "/opt/jamf2snipe/jamf2snipe", line 901, in <module>
jamf_value = jamf_value[item]
~~~~~~~~~~^^^^^^
TypeError: list indices must be integers or slices, not str
When I added --debug it is returned:
DEBUG:root:general is not an integer
DEBUG:root:name is not an integer
DEBUG:root:Skipping the payload, because it already exits.
DEBUG:root:general is not an integer
DEBUG:root:mac_address is not an integer
DEBUG:root:The snipekey lookup failed, which means it's a custom field. Parsing those to see if it needs to be updated or not.
DEBUG:root:Skipping the payload, because it already exists, or the Snipe key we're mapping to doesn't.
DEBUG:root:hardware is not an integer
DEBUG:root:total_ram_mb is not an integer
DEBUG:root:The snipekey lookup failed, which means it's a custom field. Parsing those to see if it needs to be updated or not.
DEBUG:root:Skipping the payload, because it already exists, or the Snipe key we're mapping to doesn't.
DEBUG:root:hardware is not an integer
DEBUG:root:storage is not an integer
DEBUG:root:drive_capacity_mb is not an integer
Traceback (most recent call last):
File "/opt/jamf2snipe/jamf2snipe", line 901, in <module>
jamf_value = jamf_value[item]
~~~~~~~~~~^^^^^^
TypeError: list indices must be integers or slices, not str
Thank you !!!
Metadata
Metadata
Assignees
Labels
No labels