Open iBobik opened 5 years ago
Could be relevant, but I do not understand it :-)
>>> import gc
>>> gc.mem_free()
24112
>>> import micropython
>>> micropython.mem_info(1)
stack: 2128 out of 8192
GC: total: 35968, used: 12064, free: 23904
No. of 1-blocks: 90, 2-blocks: 21, max blk sz: 264, max free sz: 514
GC memory layout; from 3ffef550:
00000: MDLhhhMASDDhhDSB=BBBh===h====BBShh==BhB=BhBBBDhBBB=h=hh=hBh=hBhh
00400: =hB=BBBBh=h====h===h=h=h===ShShSh=======hShhh=T=hMDBD.h==...h=.B
00800: hTT.D.Dh==h==.BBBB=Bh==h===...hh=h===DBSB=BBBh==h===h===h====h==
00c00: =============================h=.h==h=Bh..h==h====h=...h=h=======
01000: ===========.........S..Lh...Lhh======........MD..BBBB..h===...h=
01400: ================================================================
01800: ================================================================
01c00: ================================================================
02000: ================................................................
02400: ......h=========================================================
02800: ================================================================
02c00: ================================================================
03000: ================================================================
03400: ==============..................................................
(7 lines all free)
05400: ................h=====..........................................
(6 lines all free)
07000: ..............................................................hT
(6 lines all free)
08c00: ........
Sorry I had notifications turned off somehow! That's curious, I will dig out an ESP8266 and try it.. usually this error means it has run out of memory, but this is a tiny project. The other possibility is you've done a bunch of stuff and need to reset the device to free up memory.
It could be also by some setting on gzip what by default requires buffer bigger than ESP8266 usually have.
Jan Pobořil https://honza.poboril.cz/
Sorry I had notifications turned off somehow! That's curious, I will dig out an ESP8266 and try it.. usually this error means it has run out of memory, but this is a tiny project. The other possibility is you've done a bunch of stuff and need to reset the device to free up memory.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm about to create a new minor release... I'll give it a check then. Should be using standard OSX zip parameters, but I'll see what the changes are possible.
I found info about this requirement (dictionary size in gzip) here: https://docs.micropython.org/en/latest/reference/packages.html#distribution-packages
- 2019 v 11:14, Mitchell Currie notifications@github.com:
I'm about to create a new minor release... I'll give it a check then. Should be using standard OSX zip parameters, but I'll see what the changes are possible.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mitchins/micropython-wifimanager/issues/1#issuecomment-460193919, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlfWOvxUnjpNf3QtbtqYLQdkKDAM1R_ks5vKAf3gaJpZM4YmgDq.
I've released 0.3.6 using the recommended bdist_upip thanks to your suggestion. Could you Kindly give it a try from PyPi
Currently my upip can not install anything and I do not know why. :-)
That's strange. It could be running out of memory. ESP8266 right? What micro python platform version as you
I tried it on Unix. And it seems the issue is for all packages, not only wifimanager.
Jan Pobořil https://honza.poboril.cz/
That's strange. It could be running out of memory. ESP8266 right? What micro python platform version as you
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Do this:
import network sta_if = network.WLAN(network.STA_IF) sta_if.active(True) sta_if.connect('xxx', 'xxx') sta_if.ifconfig() import upip upip.index_urls = ["https://test.pypi.org/pypi", "https://micropython.org/pi", "https://pypi.org/pypi"] upip.install('micropython-wifimanager')
Hope this helps.
In just installed and connected ESP8266 4MB: