Hello,
I want open a file. This file is r.a.120kB. Because I have a ESP with 8/4MB SPI-RAM. I open the file, read it with readlines(), determinate the numbers of lines and show that in the shell. SC1
All in butter.
Maby a half minutes later the completly content of the variabe lines/file appears in the shell. The ESP hangs up(I must reset him) and the Thonny is 1 minute blocked. SC2
I suspect this is related to the size of the variable. Or ist his a problem of Thonny?
a problem with thonny or µPython???
a problem with thonny or µPython???
- Attachments
-
- SC2.jpg (282.88 KiB) Viewed 1867 times
-
- SC1.jpg (53.87 KiB) Viewed 1867 times
- aivarannamaa
- Posts: 171
- Joined: Fri Sep 22, 2017 3:19 pm
- Location: Estonia
- Contact:
Re: a problem with thonny or µPython???
This is probably Thonny's fault. Please try https://github.com/thonny/thonny/releases/tag/v3.3.0b7, which shortens the repr-s of the values for the variable browser.
Actually, before you upgrade, please try whether you experience the same problem if you close the variable browser.
Actually, before you upgrade, please try whether you experience the same problem if you close the variable browser.
Aivar Annamaa
https://thonny.org
https://thonny.org
Re: a problem with thonny or µPython???
Thank you very mutch!
If you are in Thuringia the next time, I owe you:
If you are in Thuringia the next time, I owe you:
- Attachments
-
- BierBratwurst.jpg (258.15 KiB) Viewed 1797 times
- aivarannamaa
- Posts: 171
- Joined: Fri Sep 22, 2017 3:19 pm
- Location: Estonia
- Contact:
Re: a problem with thonny or µPython???
Wow! I'll keep this in mind
Aivar Annamaa
https://thonny.org
https://thonny.org