Closed nickma82 closed 9 years ago
Hi there! From what I can see, this isn't a bug in pyLCD. It looks like PIL couldn't open the file specified by const_default_font
. Did something happen to the file? Does it work if you just restart the script? Maybe try letting it run for that long once more to see if it can be reproduced.
Hi, that seems plausible, the question is, is it worth fetching the exception @ks0108.py:378
const_default_font is defined as following const_default_font = "/home/pi/.fonts/truetype/arial.ttf"
, nothing happened to that file as far as I know.
Restarting worked immediately...
I'm going to log the value of nowPlusDelta
just before line 74, to be able to debug further problems like that one and let's see in a couple of hours then.
Best
Ok, happened again... but it really seems to be an PIL/Imagefont problem. They ran into the same error, and it looks like the up to date code has built in checks to avoid that problem.
Sorry for posting it here. Best
Okay, thank you for your reply.
Hi, after running a modified version of glcd_countdown.py for over 24hours successfully, it ran into an exception.
And my glcd_countdown.py:74-97 looks like the following:
Do you have any clue? Best