libs.urequests.request() Error in M5ATOM Lite
-
Unfortunately, the requests module does not work in the M5ATOM Lite firmware:
req = libs.urequests.request(method='GET', url='https://api.github.com/repos/kapest007/My-Micropython-OTA-Updater/releases/latest', headers={'Content-Type': 'text/html', 'User-Agent': 'kapest007'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "libs/urequests.py", line 60, in request
OSError: [Errno 12] ENOMEMIn the M5Stick C Plus and M5STAMP Pico it does what it should.
I have tried this with the current firmware 1.11.8.
I hope the problem can be fixed in the next firmware release.Peter
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login