overview not working
alperyilmaz opened this issue · comments
I have been using ulogme for 6 months (between Jan-Jun), and then I had a large gap without data (installed Ubuntu 16.04 and didnt setup commands to start ulogme at startup).. now I started logging again.. And in overview page "Key frequencies during each day" is blank and console log says (in Chrome):
Uncaught (in promise) TypeError: Cannot read property 't' of undefined
at drawKeyEvents (http://localhost:8124/overview.html:218:32)
at http://localhost:8124/overview.html:364:9
Console log (Firefox)
TypeError: es[0] is undefined
And that is the line causing the error:
var d0 = new Date(es[0].t * 1000);
I'm guessing this is not promise compatability issue because both Chrome and Firefox were able to show overview page without problems 4-5 months ago.
How can I fix this problem? (I pulled the latest version - 416163e version)
I deleted all the log files in /log. Ulogme then created new log files and overview started working again.