-
Notifications
You must be signed in to change notification settings - Fork 115
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
noob question- examples not working. #47
Comments
Hello Nedoskiv, |
thank you for quick response, in my test I do not use import main,, when i do that it going worse: �[0;32mI (125668) modsocket: Initializing�[0m Backtrace: 0x400f22cb:0x3ffb6680 0x400df8e1:0x3ffb66b0 0x400dbd01:0x3ffb66d0 0x400dbd69:0x3ffb66f0 0x400e8ea5:0x3ffb6710 0x400df9fc:0x3ffb67b0 0x400dbd01:0x3ffb6820 0x400dbd69:0x3ffb6840 0x400e8ea5:0x3ffb6860 0x400df9fc:0x3ffb6900 0x400dbd01:0x3ffb6970 0x400dbd2e:0x3ffb6990 0x400dc7ab:0x3ffb69b0 0x400e6831:0x3ffb6a40 0x400e6851:0x3ffb6a70 0x400df97a:0x3ffb6a90 0x400dbd01:0x3ffb6ac0 0x400e8e19:0x3ffb6ae0 0x400df9fc:0x3ffb6b80 0x400dbd01:0x3ffb6bf0 0x400dbd2e:0x3ffb6c10 0x400f8eba:0x3ffb6c30 0x400f9104:0x3ffb6cd0 0x400efc50:0x3ffb6d10 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) in my test I simply do that: from microWebSrv import MicroWebSrv and set web path to proper location. |
Hello @nedoskiv, some news ? |
Hello, I give up trying to fix something that I do not understand, instead of it write my own simple web server that run in _thread and consume low memory. So far so good, it servers my project needs. |
What's your code ? |
This is an standalone example of something i found on web, just modified to serve new connections in different _threads and to have timeout on incoming connection. My current work is more complicated than that, but that can be a basic to those who want to have own web server |
Ok :) |
Looks nice to use, but in my case I gonna run out of memory, gonna keep in mind when receive esp32 with 4mb RAM :) |
I can confirm the identiation error with the test.pyhtml on an ESP32 with Micropython v1.10-54-g43a894fb4 |
Hello,
I released a fully new version (v2.0) of my web server here :
github.com/jczic/MicroWebSrv2.
Open source MIT, fully asynchronous, more robust, more fast and more
efficient!
It is delivered with a good documentation.
Thank you for your support and feedback.
… I can confirm the identiation error with the test.pyhtml on an ESP32 with
Micropython v1.10-54-g43a894fb4
The Websocket example is working fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAegLDAU4y1zqh4SvpnEPzF5a6ap5b70ks5vN7SRgaJpZM4Zl9hi>
.
--
*Sincèrement,*
|
Thank you, I took a look at it, looks promising. |
Hello,
I was switching to micropython and start to looking for web server, found this wonderful server and decided to test it. I was able to start the server from basic example and access root "/" also open PDF example file, but when decided to test .pyhtml it returns an error (http://192.168.7.96/test.pyhtml):
PyHTML page execution error
unexpected indent (line 1)
another error seen when try (http://192.168.7.96/wstest.html):
MicroWebSocket Test :
Connection to ws://192.168.7.96...
ERROR : undefined
-- DISCONNECTED --
perhaps I'm missing something, my python knowledge is far from good :)
I'm using micropython 1.9.4 on ESP32
The text was updated successfully, but these errors were encountered: