JUncaught Error: Font bitmap must be a String, in lato.app.jss #5710
Replies: 1 comment
-
Posted at 2023-02-09 by @gfwilliams I wouldn't worry about MEMORY_BUSY, it's just a warning and is unlikely to affect the code. I think what's been hit is something I noticed with the slopeclock as well. Basically when you have a custom font, you've got the code in something like The issue is that It's a tricky one to fix nicely, since I can't change I guess the nice solution would be to rename The way to work around it in your clock is to pre-allocate the font bitmap as was done here: espruino/BangleApps@c47bc07 The side-effect is your clock actually works a bit faster too, at the expense of more RAM usage. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-02-07 by HughB
I have been trying to catch a hang bug I see very rarely with my Lato clock.
I suspect that the problem is not down to Lato as the clock will run for days without issue
I was trying the mitherm app yesterday and that went offpiste and I had to reset the watch - so it might be associated with that. Prior to installling that app everything had been fine for 10 days or so. Theat could just be clutching at straws as I dont have a reproducable test case for this problem yet - its very random and rare.
Last night I woke up at 5Am and noticed the clock said it was 2:37am - ie the hang had occurred.
This morning I managed to retrieve the log.txt file and can see the following.
The question is, what caused the MEMORY_BUSY ? and did that corrupt the app code ?
Beta Was this translation helpful? Give feedback.
All reactions