My PyCharm debugging suddenly crashed!!!

It's on my mac high sierra. Debugging in PyCharm has been good. Today I found it didn't work any more, and gave the message below. I identified the problem was due to the import statement:

"

from matplotlib import pyplot

"

It's a drawing library in Python. If I suspend this line, it works fine.

 

Error message:

/anaconda3/envs/learn/bin/python "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 54927 --file /Users/congminmin/PycharmProjects/DL/mlLearn/greedy-pre-training-unsupervised.py
pydev debugger: process 7608 is connecting

Connected to pydev debugger (build 183.5429.31)
Using TensorFlow backend.
Start: !!!
2019-02-01 15:33:50.059 python[7608:65400] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fcd1b1164d0
2019-02-01 15:33:50.062 python[7608:65400] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fcd1b1164d0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2b87c2db __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff52a2ec76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2b914db4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff2b7f2820 ___forwarding___ + 1456
4 CoreFoundation 0x00007fff2b7f21e8 _CF_forwarding_prep_0 + 120
5 libtk8.6.dylib 0x0000001a2012f31d TkpInit + 413
6 libtk8.6.dylib 0x0000001a2008717e Initialize + 2622
7 _tkinter.cpython-36m-darwin.so 0x0000001a1feafa16 _tkinter_create + 1174
8 python 0x000000010930e068 _PyCFunction_FastCallDict + 200
9 python 0x00000001093e361f call_function + 143
10 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
11 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
12 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
13 python 0x00000001093e42cc _PyFunction_FastCallDict + 364
14 python 0x000000010928cf80 _PyObject_FastCallDict + 320
15 python 0x00000001092b45f8 method_call + 136
16 python 0x00000001092945ce PyObject_Call + 62
17 python 0x00000001093355b5 slot_tp_init + 117
18 python 0x0000000109339af1 type_call + 241
19 python 0x000000010928cef1 _PyObject_FastCallDict + 177
20 python 0x00000001093e3718 call_function + 392
21 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
22 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
23 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
24 python 0x00000001093e3a8a fast_function + 362
25 python 0x00000001093e367c call_function + 236
26 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
27 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
28 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
29 python 0x00000001093e3a8a fast_function + 362
30 python 0x00000001093e367c call_function + 236
31 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
32 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
33 python 0x00000001093e39dc fast_function + 188
34 python 0x00000001093e367c call_function + 236
35 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
36 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
37 python 0x00000001093e39dc fast_function + 188
38 python 0x00000001093e367c call_function + 236
39 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
40 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
41 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
42 python 0x00000001093e3a8a fast_function + 362
43 python 0x00000001093e367c call_function + 236
44 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
45 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
46 python 0x00000001093e39dc fast_function + 188
47 python 0x00000001093e367c call_function + 236
48 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
49 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce204 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 8708
50 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
51 python 0x00000001093e42cc _PyFunction_FastCallDict + 364
52 python 0x000000010928cf80 _PyObject_FastCallDict + 320
53 python 0x00000001092b45f8 method_call + 136
54 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab4bc21 __Pyx_PyObject_Call + 97
55 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab69aef __pyx_pw_14_pydevd_bundle_26pydevd_cython_darwin_36_64_9PyDBFrame_5do_wait_suspend + 159
56 python 0x000000010930dad1 PyCFunction_Call + 145
57 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab4bc21 __Pyx_PyObject_Call + 97
58 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab5722c __pyx_f_14_pydevd_bundle_26pydevd_cython_darwin_36_64_9PyDBFrame_trace_dispatch + 42892
59 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab68942 __pyx_pw_14_pydevd_bundle_26pydevd_cython_darwin_36_64_9PyDBFrame_19trace_dispatch + 146
60 python 0x000000010930dad1 PyCFunction_Call + 145
61 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab4bc21 __Pyx_PyObject_Call + 97
62 pydevd_cython_darwin_36_64.cpython-36m-darwin.so 0x000000010ab830ed __pyx_pw_14_pydevd_bundle_26pydevd_cython_darwin_36_64_15SafeCallWrapper_3__call__ + 61
63 python 0x000000010928cef1 _PyObject_FastCallDict + 177
64 python 0x000000010943f134 trace_trampoline + 132
65 python 0x00000001093d71f7 _PyEval_EvalFrameDefault + 6007
66 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bccdc63 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 7267
67 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
68 python 0x00000001093cf129 builtin_exec + 345
69 python 0x000000010930e068 _PyCFunction_FastCallDict + 200
70 python 0x00000001093e361f call_function + 143
71 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
72 pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so 0x000000010bcce603 __pyx_f_18_pydevd_frame_eval_35pydevd_frame_evaluator_darwin_36_64_get_bytecode_while_frame_eval + 9731
73 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
74 python 0x00000001093e3a8a fast_function + 362
75 python 0x00000001093e367c call_function + 236
76 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
77 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
78 python 0x00000001093e3a8a fast_function + 362
79 python 0x00000001093e367c call_function + 236
80 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
81 python 0x00000001093e39dc fast_function + 188
82 python 0x00000001093e367c call_function + 236
83 python 0x00000001093e1175 _PyEval_EvalFrameDefault + 46837
84 python 0x00000001093d48c9 _PyEval_EvalCodeWithName + 425
85 python 0x000000010942d55c PyRun_FileExFlags + 252
86 python 0x000000010942ca34 PyRun_SimpleFileExFlags + 372
87 python 0x00000001094537c6 Py_Main + 3734
88 python 0x0000000109284f59 main + 313
89 libdyld.dylib 0x00007fff53648015 start + 1
90 ??? 0x000000000000000a 0x0 + 10
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

1 comment
Comment actions Permalink

Please ignore this.

0

Please sign in to leave a comment.