Closed sojusnik closed 3 years ago
OS name and version: Windows 10 x64 ActivityWatch version: v0.11.0
I'm having the same/similar issue. Someone in the forum mentioned the same
Thanks for reporting!
Fixed in https://github.com/ActivityWatch/aw-webui/commit/41a5f579fe22fb2f3450604187a59d42a26d95bf, hoping to get a patch release out soon.
OS name and version: Windows 10 x64 ActivityWatch version: v0.11.0
I'm having the same/similar issue. Someone in the forum mentioned the same
@ErikBjare Looks like my above comment is more related to this forum-post. Should I post a separate issue for that? or the already posted forum post is enough.
@kulbhushanchand I think that is actually the same problem as described in this issue (and should be fixed by the linked commit). The forum post looks like something different (note it mentions 'label', not 'target' or 'value').
Oh, you are right. Later I did a clean install and removed all the previous data (including log files, which I have already exported at a safe place). Now, I am seeing label
instead of value
TypeError: Cannot read property 'label' of undefined. See dev console (F12) and/or server logs for more info.
@kulbhushanchand Did you try resetting the categories to the defaults? (you can export your existing ones before you do)
The 'missing c' in logs is a good hint and leads me to https://github.com/ActivityWatch/aw-webui/blob/889a911e584145569f82d207e564f9686b735cb2/src/util/datasets.js#L34. It's undoubtedly the cause of the error (as the branch arm would result in undefined
passing through the map), but I'm not sure under which conditions the if(c)
ends up being false.
Perhaps a workaround would be to simply filter out the undefined
's that slip through? Unsure about what that would mean in practice though, and would be nice to know the underlying cause...
Yes, I did reset the categories to their defaults before, but the problem was there. So to be sure, just now, I did the same again and here are my findings.
label
error stops.label
error shows up, along with value
error.label
error definitely returns.Update: I end up manually recreating my previous category tree, and there was a single instance when label
error pops up. After that all good. @ErikBjare Hope it may help. I'll post any new findings.
EDIT: Wonderful!! Found Git CI build for Windows 😄
The new release is still pending, I get that error too :/
OS name and version: Ubuntu 20.10 ActivityWatch version: v0.11.0
Describe the bug
After updating to v0.11.0, I get the following error message, when changing the
duration default value
under http://127.0.0.1:5600/#/settings:TypeError: t.target is undefined. See dev console (F12) and/or server logs for more info.
Here's the relevant part of the log: