Skip to content

Terminating app due to uncaught exception 'NSInvalidArgumentException' #1262

@ChangSZ

Description

@ChangSZ

Describe the bug

(so-vits-svc-fork) so-vits-svc % svcg

[11:22:47] INFO [11:22:47] version: 4.2.26 gui.py:161
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x000000018b3fbae0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018aebeb90 objc_exception_throw + 88
2 CoreFoundation 0x000000018b32c3bc -[__NSArrayM insertObject:atIndex:] + 1276
3 libtk8.6.dylib 0x0000000103fba80c setAllowedFileTypes + 240
4 libtk8.6.dylib 0x0000000103fbb22c Tk_GetOpenFileObjCmd + 1252
5 libtcl8.6.dylib 0x0000000103d72b34 Tcl_EvalObjv + 340
6 _tkinter.cpython-310-darwin.so 0x000000010397855c Tkapp_Call + 336
7 python3.10 0x0000000102784264 cfunction_call + 96
8 python3.10 0x000000010283d1e0 _PyEval_EvalFrameDefault + 33096
9 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
10 python3.10 0x000000010283d5b4 _PyEval_EvalFrameDefault + 34076
11 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
12 python3.10 0x000000010285df08 call_function + 148
13 python3.10 0x00000001028374c0 _PyEval_EvalFrameDefault + 9256
14 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
15 python3.10 0x000000010272bc30 method_vectorcall + 388
16 python3.10 0x000000010283d0e8 _PyEval_EvalFrameDefault + 32848
17 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
18 python3.10 0x000000010272bc30 method_vectorcall + 388
19 _tkinter.cpython-310-darwin.so 0x000000010397a890 PythonCmd + 196
20 libtcl8.6.dylib 0x0000000103d748d8 TclEvalObjEx + 112
21 libtk8.6.dylib 0x0000000103fac8c8 Ttk_InvokeEnsemble + 296
22 libtk8.6.dylib 0x0000000103fb59bc WidgetInstanceObjCmd + 92
23 libtcl8.6.dylib 0x0000000103d748d8 TclEvalObjEx + 112
24 libtk8.6.dylib 0x0000000103fb64c4 TtkWidgetInstateCommand + 252
25 libtk8.6.dylib 0x0000000103fac8c8 Ttk_InvokeEnsemble + 296
26 libtk8.6.dylib 0x0000000103fb59bc WidgetInstanceObjCmd + 92
27 libtcl8.6.dylib 0x0000000103d748d8 TclEvalObjEx + 112
28 libtk8.6.dylib 0x0000000103fb64c4 TtkWidgetInstateCommand + 252
29 libtk8.6.dylib 0x0000000103fac8c8 Ttk_InvokeEnsemble + 296
30 libtk8.6.dylib 0x0000000103fb59bc WidgetInstanceObjCmd + 92
31 libtcl8.6.dylib 0x0000000103d72b34 Tcl_EvalObjv + 340
32 libtcl8.6.dylib 0x0000000103d73cd4 TclEvalEx + 2152
33 libtk8.6.dylib 0x0000000103ef7e80 Tk_BindEvent + 5572
34 libtk8.6.dylib 0x0000000103efe968 TkBindEventProc + 336
35 libtk8.6.dylib 0x0000000103f0691c Tk_HandleEvent + 844
36 libtk8.6.dylib 0x0000000103f06f70 WindowEventProc + 112
37 libtcl8.6.dylib 0x0000000103e2ea04 Tcl_ServiceEvent + 180
38 libtcl8.6.dylib 0x0000000103e2ec6c Tcl_DoOneEvent + 248
39 _tkinter.cpython-310-darwin.so 0x0000000103979e10 _tkinter_tkapp_mainloop_impl + 252
40 python3.10 0x00000001027366e4 method_vectorcall_FASTCALL + 108
41 python3.10 0x000000010283d5b4 _PyEval_EvalFrameDefault + 34076
42 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
43 python3.10 0x000000010283d5b4 _PyEval_EvalFrameDefault + 34076
44 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
45 python3.10 0x000000010272bb28 method_vectorcall + 124
46 python3.10 0x000000010285df08 call_function + 148
47 python3.10 0x00000001028374c0 _PyEval_EvalFrameDefault + 9256
48 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
49 python3.10 0x000000010283d5b4 _PyEval_EvalFrameDefault + 34076
50 python3.10 0x0000000102727524 _PyFunction_Vectorcall + 548
51 python3.10 0x000000010285df08 call_function + 148
52 python3.10 0x0000000102836e98 _PyEval_EvalFrameDefault + 7680
53 python3.10 0x0000000102833454 _PyEval_Vector + 532
54 python3.10 0x00000001028ac470 run_mod + 220
55 python3.10 0x00000001028ac210 pyrun_file + 156
56 python3.10 0x00000001028abc5c _PyRun_SimpleFileObject + 316
57 python3.10 0x00000001028ab5c4 _PyRun_AnyFileObject + 216
58 python3.10 0x00000001028cfba4 pymain_run_file_obj + 196
59 python3.10 0x00000001028cf430 pymain_run_file + 72
60 python3.10 0x00000001028ceabc pymain_run_python + 340
61 python3.10 0x00000001028ce910 Py_RunMain + 40
62 python3.10 0x00000001026ca710 main + 56
63 dyld 0x000000018aefeb98 start + 6076
)
libc++abi: terminating due to uncaught exception of type NSException
[1] 38313 abort svcg
/opt/homebrew/anaconda3/envs/so-vits-svc-fork/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '

To Reproduce

NSInvalidArgumentException occurs when clicking "Model Path" to browse on MacOS

Additional context

No response

Version

v4.2.26

Platform

macOS 15.6

Code of Conduct

  • I agree to follow this project's Code of Conduct.

No Duplicate

  • I have checked existing issues to avoid duplicates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions