I keep having this error while I'm not using a recursive function (meaning that is not using recursion a function that I wrote myself, mybe I'm using some fuction that is recursive and I don't know).
What my program does is as follow: every 150ms a timer calls a function. Everytime this function is called, one file is read and datas are extracted from it (data are subsequently used to light some leds). Every time the timer triggers, a different file from a pool of 99 is opened and processed. Once the 99th file has been read, it start reading backwards (98, 97 and so on).
Everything works great for a few minutes, then when I try to change some parameters (like deinit the timer or change file sequence) by the http server that control the application, the server http crashes. Funny thing is, the reading loop itself goes on forever (I can see that because the leds keep on turning on in the supposed order).
This is the traceback:
Code: Select all
File "leolamp.py", line 121, in <lambda>
File "lux_ll.py", line 104, in fairy
File "lux_ll.py", line 126, in fairy_colora
File "flashbdev.py", line 14, in readblocks
Anyone can help me?
Tnank you!