Skip to content

TypeError: object of type 'NoneType' has no len() #220

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

Open
jposada202020 opened this issue Mar 2, 2025 · 0 comments
Open

TypeError: object of type 'NoneType' has no len() #220

jposada202020 opened this issue Mar 2, 2025 · 0 comments

Comments

@jposada202020
Copy link
Contributor

This happens when the SSID and Password are not present in settings.toml .

  • Hardwarte used:
    Adafruit CircuitPython 9.2.4 on 2025-01-28; Adafruit PyPortal Titano with samd51j20
    Firmware vers. 2.0.0-rc.0+adafruit
Connecting to AP...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "conexion.py", line 66, in <module>
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 690, in connect_AP
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 558, in wifi_set_network
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 429, in _send_command_get_response
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 307, in _send_command
TypeError: object of type 'NoneType' has no len() 

for reference: @justmobilize

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