Skip to content

Simple Test (examples/httpserver_simpletest_auto.py) error on M5stack Timer Camera X #81

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

Closed
sina2 opened this issue Feb 8, 2024 · 2 comments

Comments

@sina2
Copy link

sina2 commented Feb 8, 2024

Adafruit CircuitPython 8.2.9 on M5stack Timer Camera X.
I am building simple HTTP server.
I ran examples/httpserver_simpletest_auto.py( https://docs.circuitpython.org/projects/httpserver/en/latest/examples.html#id4 ) and got the following error.
AttributeError : 'SocketPool' object has no attribure 'SOL_SOCET' .
screen shot

I saw adafruitt_server/server.py line216 .
self.host, self.port = host, port

host is "192.168.10.116". port is 80.

Let me know if there is anything else to do.

@michalpokusa
Copy link
Contributor

michalpokusa commented Feb 8, 2024

Hi, thanks for posting the issue.

The problem you are facing only exists in version 4.5.3, as I made a simple mistake, which resulted exactly in this problem.

Please update your version of the lib, as yesterday it was fixed and now should be working fine.

PR that fixes the issue described above: #80

@sina2
Copy link
Author

sina2 commented Feb 8, 2024

I upgraded to version 4.5.4 and the problem is fixed. Thank you!

@sina2 sina2 closed this as completed Feb 8, 2024
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

2 participants