Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

adafruit_esp32spi_wsgiserver.py problem
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

adafruit_esp32spi_wsgiserver.py problem

by m50finlayson on Wed Apr 22, 2020 12:27 pm

Trying to run simple server on Metro M4 Airlift.
Adafruit CircuitPython 5.2.0 on 2020-04-09; Adafruit Metro M4 Airlift Lite with samd51j19

When my code runs i get an error on my line 227:
wsgiServer = server.WSGIServer(80, application=web_app)

The error is:
Traceback (most recent call last):
File "code.py", line 227, in <module>
File "/lib/adafruit_esp32spi/adafruit_esp32spi_wsgiserver.py", line 76, in __init__
TypeError: unexpected keyword argument 'socknum'

m50finlayson
 
Posts: 2
Joined: Fri Nov 01, 2019 3:22 pm

Re: adafruit_esp32spi_wsgiserver.py problem

by m50finlayson on Thu Apr 23, 2020 3:01 pm

Fixed my problem. It was bad library file. I updated CircuitPython and all libraries to solve problem. I usually find it is something simple. Thanks

m50finlayson
 
Posts: 2
Joined: Fri Nov 01, 2019 3:22 pm

Please be positive and constructive with your questions and comments.