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

TypeError: sequence item 0: expected str instance, NoneType found #12

Open
eduder opened this issue Feb 15, 2024 · 1 comment
Open

TypeError: sequence item 0: expected str instance, NoneType found #12

eduder opened this issue Feb 15, 2024 · 1 comment

Comments

@eduder
Copy link

eduder commented Feb 15, 2024

Running macOS 14.3.1 on ARM, with official Python 3.12.2 installed from python.org

The script starts to run for me, but on the third AP, it errors out with this console text:

    Processing AP device: XXXX-XXXX-XXXX...
      Processing BSSID: XX:XX:XX:XX:XX:XX...
Traceback (most recent call last):
  File "/Users/myusername/Documents/meraki/meraki-bssid-dump/meraki-bssid-dump.py", line 29, in <module>
    file.write(f"{','.join(list)}\n") 
                  ^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found
@eduder
Copy link
Author

eduder commented Feb 15, 2024

Upon further investigation, it looks like the device it is getting hung up on has the MAC address (with colons) as the device name, as it hasn't been deployed. We have quite a few of these. If I rename the colons to dashes, it runs fine. Unfortunately we have a lot of devices that will need to be manually renamed to avoid this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant