activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

I am getting a "TypeError: Cannot read properties of undefined (reading 'value')." when changing values in "settings".

Open welovfree opened this issue 3 years ago • 4 comments

  • [x] I am on the latest ActivityWatch version.
  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • Windows 10 Version 21H1 (OS Build 19044.1889):
  • ActivityWatch v0.12.0:

Describe the bug

I am getting this error "TypeError: Cannot read properties of undefined (reading 'value'). See dev console (F12) and/or server logs for more info." when changing Start of day from the default value which is "4 AM" to "12 AM".

Error message

To Reproduce

Steps to reproduce the behavior, for example: 1. Go to 'Settings' 2. Click on the little clock icon and change the value form "4 AM" to "12 AM" 3. See error

Expected behavior

I expect the value to change with no errors.

welovfree avatar Sep 10 '22 01:09 welovfree

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

github-actions[bot] avatar Sep 10 '22 01:09 github-actions[bot]

I am getting a similar issue, except the undefined property is 'hide'. For me, this also sets the color of all categories in the Activity page to grey.

To reproduce this issue, do the following:

  1. Go to 'Settings'
  2. Change the category for ActivityWatch from Work>Programming>ActivityWatch to Uncategorized>ActivityWatch.
  3. See error

mtillman14 avatar Oct 01 '22 19:10 mtillman14

It seems that this issue has been fixed thanks to: https://github.com/ActivityWatch/aw-webui/pull/493 https://github.com/ActivityWatch/activitywatch/releases/tag/v0.12.3b11

pkvach avatar Apr 08 '24 21:04 pkvach