machinewrapped / gpt-subtrans

Open Source project using LLMs to translate SRT subtitles
Other
311 stars 36 forks source link

Crash at AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit #75

Closed romanr closed 7 months ago

romanr commented 8 months ago
2023-10-16 10:20:27.221 Python[79554:5933254] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(
    0   CoreFoundation                      0x0000000189bfc8c0 __exceptionPreprocess + 176
    1   libobjc.A.dylib                     0x00000001896f5eb4 objc_exception_throw + 60
    2   CoreFoundation                      0x0000000189b72f20 -[__NSCFString hasSuffix:] + 0
    3   libqcocoa.dylib                     0x0000000110fa811c _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269824
machinewrapped commented 8 months ago

Thanks, I can't imagine why the CapsLockLED is involved in the settings dialog! I've added some error handling to try to identify the root cause of the error, it will be in the next release.