Closed johan-bjareholt closed 5 years ago
Or maybe it's not actually pyinstaller but pywin32?
The IsGatewayRegistered function can be found here
Not sure if it's pywin32 or pypiwin32 installed via PyInstalled though, the function exists in both.
Having trouble starting my windows VM currently...
pypiwin32 hasn't been updated in two years, so my first guess is that it's actually a PyInstaller issue. Try rebuilding with an older, known to work, version of PyInstaller and if that doesn't do it we'll investigate further (which reminds me, we really need to start using dependency locks).
PyInstaller 3.4 adds support for python3.7 and other goodies though so I want to track down the actual issue. I got my windows VM working again and have verified that aw-qt starts from source (I don't get a trayicon though for some reason?)
If I build aw-qt myself locally I get another error:
Failed to execute script __main__
Maybe I'm just building it wrong though
EDIT: Got it working, same issue
Hardcoding PyInstaller version to 3.3.1 instead of 3.4 fixes this issue. Doing this creates another issue with aw-server though, so it's not really a solution.
Fixed the aw-server issue in https://github.com/ActivityWatch/aw-core/pull/75 so this is pretty much fixed, closing
Ran GDB on windows from the build on my 0.8.0b8 branch and got this sefault https://github.com/ActivityWatch/activitywatch/pull/270
starting aw-server manually works fine