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