Open jtpjr opened 1 year ago
Update: Issue still arises even with the attempted fix. See here for log, could be a driver issue with the app trying to select my webcam:
[2023-03-06 03:32:56.699] [aitrack] [info] ---------- AITRACK LOG ---------- [2023-03-06 03:32:56.699] [aitrack] [info] Created/Found prefs.ini [2023-03-06 03:32:57.006] [aitrack] [info] Searching for cameras... [2023-03-06 03:33:00.630] [aitrack] [info] Number of recognized cameras: 1 [2023-03-06 03:33:00.631] [aitrack] [info] UDP sender reinitialized. IP: 127.0.0.1 PORT: 4242 [2023-03-06 03:33:00.631] [aitrack] [info] Building Tracker with selected camera: 0 [2023-03-06 03:33:00.879] [aitrack] [info] Tracker initialized. [2023-03-06 03:33:00.879] [aitrack] [info] Updated stabilizer. [2023-03-06 03:33:00.879] [aitrack] [info] Updating camera parameters... [2023-03-06 03:33:00.879] [aitrack] [info] Updated camera parameters. 640x480@30 [2023-03-06 03:33:00.879] [aitrack] [info] Checking for updates [2023-03-06 03:33:00.913] [aitrack] [info] App initialized [2023-03-06 03:33:01.672] [aitrack] [info] Starting camera 0 capture [2023-03-06 03:33:03.819] [aitrack] [info] Camera 0 started capturing [2023-03-06 03:33:05.717] [aitrack] [info] Stop camera 0 capture
Fixed the issue. I have changed the fps of my camera in prefs.ini to "fps=60" and saving it. Also, I was using the "DCS Updater / Launcher GUI Utility by Skate Zilla" to launch the application via shortcut. Launching the app through this method caused it to crash regularly. Now, I navigate to the .exe file manually, and launch as administrator. All of these steps allows for the app to work as expected.
Describe the bug Upon launching the app, clicking any button would cause the GUI to crash. Clicking either "Start tracking" or "Enable Preview" would cause the app to crash immediately. Clicking "Configuration" would open the settings menu, and after closing the ConfigWindow with "Apply" would crash the app. Strange because it only happened sometimes.
To Reproduce Steps to reproduce the behavior:
Expected behavior App remains running without crashing
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Seem to fix the problem by running the app as admin and in compatibility mode for Windows 8: