Search found 15 matches
- Tue Mar 24, 2020 8:22 pm
- Forum: General Discussion and Questions
- Topic: OSError: -110
- Replies: 2
- Views: 1682
OSError: -110
Hi, could somebody please give me a hint with this error. Thanks for your help! Traceback (most recent call last): File "main.py", line 68, in <module> File "main.py", line 47, in main File "oauth.py", line 178, in request_initial_token File "exturequests.py", line 85, in extract OSError: -110 it ha...
- Tue Mar 24, 2020 12:34 pm
- Forum: General Discussion and Questions
- Topic: urequest library with cookie support and some redirect enhancements
- Replies: 3
- Views: 2448
Re: urequest library with cookie support and some redirect enhancements
Hi,
i added a first part as PR where i'm sure it works standalone.
mardi2020
i added a first part as PR where i'm sure it works standalone.
mardi2020
- Tue Mar 24, 2020 7:01 am
- Forum: General Discussion and Questions
- Topic: urequest library with cookie support and some redirect enhancements
- Replies: 3
- Views: 2448
Re: urequest library with cookie support and some redirect enhancements
Hi,
I will give it a try in the next days.
mardi2020
I will give it a try in the next days.
mardi2020
- Mon Mar 23, 2020 8:47 pm
- Forum: General Discussion and Questions
- Topic: urequest library with cookie support and some redirect enhancements
- Replies: 3
- Views: 2448
urequest library with cookie support and some redirect enhancements
Hi, i extended the uurequest.py from pfalcon to support cookies, some improvement for redirects and a method to extract parts of larger response bodies, which don't fit in the heap of a ESP32. https://github.com/mardigras2020/urequests There are a lot of changes at once, which usually violate contri...
- Tue Mar 17, 2020 2:05 pm
- Forum: General Discussion and Questions
- Topic: Memory allocation failed, when loading a html page
- Replies: 10
- Views: 6065
- Tue Mar 17, 2020 10:49 am
- Forum: General Discussion and Questions
- Topic: Memory allocation failed, when loading a html page
- Replies: 10
- Views: 6065
Re: Memory allocation failed, when loading a html page
So your program is holding references to things... e.g. appending to a list on every request or something like that. yes, i have a lot of loops collecting infos and storing the Info in dictionaries. Is there a better way of allocating the memory? Is there a possibility of defragmenting memory? Than...
- Tue Mar 17, 2020 6:01 am
- Forum: General Discussion and Questions
- Topic: Memory allocation failed, when loading a html page
- Replies: 10
- Views: 6065
Re: Memory allocation failed, when loading a html page
Hi, this would be the result before and after gc.collect(). For me it doe not look really better after gc.collect() MemoryError: memory allocation failed, allocating 4864 bytes MicroPython v1.12 on 2019-12-20; ESP32 module with ESP32 Type "help()" for more information. >>> import micropython >>> mic...
- Mon Mar 16, 2020 3:53 pm
- Forum: General Discussion and Questions
- Topic: Memory allocation failed, when loading a html page
- Replies: 10
- Views: 6065
Re: Memory allocation failed, when loading a html page
Hi, thanks for your effort and i appreciate your help. I can't reproduce it with the same code, because i changed it a lot the last days, and i can't share a running example - because i can't share with you some of the access secrets. I did a lot of changes since my post (changed library) and with t...
- Mon Mar 16, 2020 2:52 pm
- Forum: General Discussion and Questions
- Topic: Random generator on ESP32
- Replies: 10
- Views: 7463
Re: Random generator on ESP32
Thanks for the advice, but for this application it is not critical.
- Mon Mar 16, 2020 5:02 am
- Forum: General Discussion and Questions
- Topic: Memory allocation failed, when loading a html page
- Replies: 10
- Views: 6065
Re: Memory allocation failed, when loading a html page
I hoped with ~100kb RAM i would be able to load the page :-( but i am not getting past 3kb. Which board are you using? Is the request using SSL? I'm using a ESP32 heltec wifi kit 32 The request uses ssl. My workaround At the moment i' reading the stream byte by byte and extract only matching start/...