RundownRhino / aw-watcher-mpv-sender

ActivityWatch watcher for mpv
MIT License
7 stars 0 forks source link

Can't find the path to aw-qt.exe on windows 11 #2

Open arnishbaruah opened 1 year ago

arnishbaruah commented 1 year ago

I placed the aw-watcher-mpv.exe in C:\Program Files\ActivityWatch\aw-watcher-mpv as I couldn't figure out the location of aw-qt.exe. Hence the aw-watcher-mpv doesn't appear in modules. How to find the path to aw-qt.exe on windows 11?

RundownRhino commented 1 year ago

Do you not have it at C:\Program Files\ActivityWatch\aw-qt.exe? If so, I'm not sure - perhaps try:

I'm on Windows 10, not 11, so can't test myself.

Another way that should work is opening the Task Manager, finding aw-qt.exe in the Details tab, and doing Open File Location on it.

arnishbaruah commented 1 year ago

This is the location : "C:\Users\\AppData\Local\Programs\ActivityWatch" My mpv watcher : "C:\Users\\AppData\Local\Programs\ActivityWatch\aw-watcher-mpv" My mpv history location : "C:\Users\\AppData\Roaming\mpv\mpv-history" There is no tick mark when I click on the mpv watcher module. There is no tick mark even after adding it to autostart.

RundownRhino commented 1 year ago

There is no tick mark when I click on the mpv watcher module

So you do see aw-watcher-mpv among the modules now, and before you didn't? That's progress - if it doesn't stay checkmarked after clicking on it, that means it crashes on launch. The most likely cause is an incorrect or unspecified path to the history location, but you can check by rightclicking the tray icon, "Open log folder", and looking at the latest log in the aw-watcher-mpv subfolder. It should contain some error message, hopefully describing what's wrong.

arnishbaruah commented 1 year ago

This is the only line in my toml file log_folder = "C:\Users\\AppData\Roaming\mpv\mpv-history" and there is no aw-watcher-mpv subfolder in log folder.

RundownRhino commented 1 year ago

I looked over the code and I don't see anything that might cause it to crash before setting up logging (and so not leave a log of that), so not sure how this can happen. The next step would be to try running it with a debugger, but I can't replicate the issue locally for that.

arnishbaruah commented 1 year ago

You can try running it in a windows 11 VM