Closed mosaleh52 closed 2 years ago
Try manually creating the bucket.
I just did this by importing a fake JSON that I created myself, and it works!
For reference only, here was my JSON. If you wish to attempt the same trick, please be sure to replace the hostname with your own and (optionally) a more realistic creation timestamp.
{
"buckets" : {
"aw-watcher-input_hostname" : {
"client" : "aw-watcher-input",
"created" : "2022-01-08T19:17:19.456700+00:00",
"events" : [],
"hostname" : "hostname",
"id" : "aw-watcher-input_hostname",
"name" : null,
"type" : "os.hid.input"
}
}
}
Try manually creating the bucket.
I just did this by importing a fake JSON that I created myself, and it works!
For reference only, here was my JSON. If you wish to attempt the same trick, please be sure to replace the hostname with your own and (optionally) a more realistic creation timestamp.
{ "buckets" : { "aw-watcher-input_hostname" : { "client" : "aw-watcher-input", "created" : "2022-01-08T19:17:19.456700+00:00", "events" : [], "hostname" : "hostname", "id" : "aw-watcher-input_hostname", "name" : null, "type" : "os.hid.input" } } }
It worked, thanks
for those who do not know how to make the watcher start in login, you could use this command since poetry should be run in the same directory (cd /home/mo/Downloads/aw-watcher-input && poetry run aw-watcher-input)
The issue isn't really fixed. You shouldn't have to create the bucket manually, that's just a workaround.
I think I fixed this in https://github.com/ActivityWatch/aw-watcher-input/commit/5ffcacd1940480f470f111f26d28fdb0e0e31ab7.
Please let me know if issues persist.
I lied, finally fixed in https://github.com/ActivityWatch/aw-watcher-input/commit/9bb85c4fa4a4dc6c7307cdd5473ed80ba85bc921
I have installed through
when running the watcher it was returning output in terminal put no effect in web UI raw data as mention in other closed problem #4 I change queued to false in aw-watch[input/src/main.py to false now when run it I have error that there is no bucket with this name should I create it manually and how