I get the following error when clicking on the convert button after selecting the file:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00000001909cae80 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001904b2cd8 objc_exception_throw + 88
2 CoreFoundation 0x00000001909ef534 _CFBundleGetValueForInfoKey + 0
3 AppKit 0x00000001944e0460 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 260
4 AppKit 0x0000000194633520 -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 48
5 AppKit 0x00000001944e0350 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
6 AppKit 0x00000001946334d4 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 48
7 AppKit 0x00000001944df0bc -[NSWindowTemplate nibInstantiate] + 216
8 AppKit 0x00000001944b0af0 -[NSIBObjectData instantiateObject:] + 212
9 AppKit 0x00000001944b04b4 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 252
10 AppKit 0x00000001944a5f6c loadNib + 340
11 AppKit 0x00000001944a5594 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 560
12 AppKit 0x00000001944a5298 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 180
13 AppKit 0x0000000194768e14 -[NSAlert init] + 92
14 libtcl9tk9.0.dylib 0x00000001012c997c Tk_MessageBoxObjCmd + 76
15 libtcl9.0.dylib 0x0000000101ba6aa8 TclNRRunCallbacks + 72
16 _tkinter.cpython-312-darwin.so 0x0000000100c945e8 Tkapp_Call + 488
17 libpython3.12.dylib 0x0000000101443874 cfunction_call + 180
18 libpython3.12.dylib 0x00000001013f4b94 _PyObject_Call + 184
19 libpython3.12.dylib 0x00000001014ffbfc _PyEval_EvalFrameDefault + 44728
20 libpython3.12.dylib 0x00000001013f71e8 method_vectorcall + 328
21 libpython3.12.dylib 0x00000001015c7d24 thread_run + 92
22 libpython3.12.dylib 0x0000000101566e68 pythread_wrapper + 28
23 libsystem_pthread.dylib 0x00000001908702e4 _pthread_start + 136
24 libsystem_pthread.dylib 0x000000019086b0fc thread_start + 8
)
I get the following error when clicking on the convert button after selecting the file: