Skip to content
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

exc_info not implemented on ESP32 #7

Closed
rdagger opened this issue Sep 11, 2017 · 17 comments
Closed

exc_info not implemented on ESP32 #7

rdagger opened this issue Sep 11, 2017 · 17 comments

Comments

@rdagger
Copy link

rdagger commented Sep 11, 2017

sys.exc_info is not implemented for the ESP32 yet. It is used in several modules in this repo.
Would it be OK to replace them with Exception.message such as:

except :
    print("MicroWebSocket : Error on accept callback (%s)." % exc_info()[1])

replace with

except Exception as e:
    msg = e.message if hasattr(e, 'message') else str(e)
    print("MicroWebSocket : Error on accept callback (%s)." % msg)
@jczic
Copy link
Owner

jczic commented Sep 11, 2017

Yes, I'll fix that :)

@jczic
Copy link
Owner

jczic commented Sep 11, 2017

I've removed the usage of exc_info :)

@jczic jczic closed this as completed Sep 11, 2017
@rdagger
Copy link
Author

rdagger commented Sep 11, 2017

Thanks!
I'm making a series of ESP32 MicroPython tutorials on YouTube.
Is it OK if I include your MicroWebSrv library in one of my videos?

@jczic
Copy link
Owner

jczic commented Sep 11, 2017

Thanks to you !
Yes, no problem, it's very cool !

Do you have already some videos to see ? :)

@rdagger
Copy link
Author

rdagger commented Sep 11, 2017

So far, I've made 2 videos. Here's a link.

@jczic
Copy link
Owner

jczic commented Sep 11, 2017

Good job 👍

@jczic
Copy link
Owner

jczic commented Oct 10, 2017

Hello, do you have made your video with MicroWebSrc ? :)
2 news libs for querying HTTP(S) :

https://github.com/jczic/MicroWebCli
AND
https://github.com/jczic/MicroRESTCli

If you want to try on your ESP32 :)

@rdagger
Copy link
Author

rdagger commented Oct 11, 2017

I did record the video. I just need to finish the video editing. I'll probably post this week.
Those libraries look great!

@rdagger
Copy link
Author

rdagger commented Oct 15, 2017

I posted the video tutorial.

@jczic
Copy link
Owner

jczic commented Oct 16, 2017 via email

@jczic
Copy link
Owner

jczic commented Oct 17, 2017 via email

@rdagger
Copy link
Author

rdagger commented Oct 18, 2017

4MB flash, memory-mapped to the CPU code space. I think there is an additional 520K of integrated SRAM.
Here is a link to the board:. https://wiki.wemos.cc/products:lolin32:lolin32

@jczic
Copy link
Owner

jczic commented Aug 20, 2018 via email

@rdagger
Copy link
Author

rdagger commented Aug 20, 2018

@jczic Very impressive work! Thanks.

@jczic
Copy link
Owner

jczic commented Oct 20, 2019 via email

@rdagger
Copy link
Author

rdagger commented Oct 23, 2019

That's great! I look forward to trying it out. I linked the new repo on my video and website.
Thanks.

@jczic
Copy link
Owner

jczic commented Oct 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants