Skip to content

inventorycsv.py Fails to create CSVs for Multiple Orgs #71

@mloraditchhelion

Description

@mloraditchhelion

No matter what platform I run it on, this script fails to create the CSV when I have it run against all my orgs, below is from a MAC, but Windows 11, and WSL Ubuntu (multiple versions) give the same error, the CSV is created and only gets the results from the first org pulled:

200 Writing file "inventory_2026-06-01_09.57.42.csv"... Traceback (most recent call last): File "/Users/username/Documents/inventorycsv.py", line 483, in <module> main(sys.argv[1:]) ~~~~^^^^^^^^^^^^^^ File "/Users/username/Documents/inventorycsv.py", line 443, in main strDevice[key] = " ".join(device[key]) ~~~~~~~~^^^^^^^^^^^^^ TypeError: sequence item 0: expected str instance, dict found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions