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

Error from example #1

Closed
NamkingWIN opened this issue Sep 1, 2021 · 8 comments
Closed

Error from example #1

NamkingWIN opened this issue Sep 1, 2021 · 8 comments

Comments

@NamkingWIN
Copy link

Hi
I have run you example code in this repo but the error occur after reset my esp32
" umenu.py line 373 in draw
umenu.py line 382 in item_line"

Please help me. Thanks.

@plugowski
Copy link
Owner

Hi,

Which example did you run? Simple menu or rotary?

@NamkingWIN
Copy link
Author

Yeah the simple menu example. But I have to modificative your library for my purpose. Thank you.

@johnr1245
Copy link

Hi I am having this same issue. Did you ever fix it? Author could you respond with a solution?

Thank you

@plugowski
Copy link
Owner

@johnr1245 Hi, sorry I forgot to take a look into it, but because recently I'm using my lib in one project I can confirm that it works, I will check example code and will go back to you pretty soon :)

@plugowski
Copy link
Owner

@johnr1245 okay yeah it was my fault, for example I wanted go by shortcut and use lambda as callable passed to constructor, and it didn't work as expected :P Please feel free to see updated code.

@johnr1245
Copy link

Oh beautiful thank you so much for fixing!! Have enjoyed playing around a bit and going through umenu I was able to get some stuff fixed that were causing syntax errors. Should I just add the corrected lines to the`umenu.py' file?

@plugowski
Copy link
Owner

@johnr1245 you mean push some Pull Request? You can do that, actually I didn't found other problems here so far, so I can review your fixes :)

@johnr1245
Copy link

Beautiful sounds good!! thank you! Also asked another question in a new issue and have mainly solved the switch issue but have some questions about reading from sd cards and creating proper submenus. thanks!

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

3 participants