Hello, previously I reported this issue https://groups.google.com/forum/#!searchin/openmc-users/openmc-plot-mesh-tally|sort:date/openmc-users/qE5UwBcjrY4/PwghffqJBwAJ , which i fixed it later, and provide the solution there. That was working for me for a while. Now, after 5 months later i am having the same kind of issue with running openmc-plot-mesh-tally script.
Sharifs-MacBook-Pro:allup sharifabudarda$ openmc-plot-mesh-tally statepoint.750.h5
2019-04-20 22:50:57.178 python[22885:3425742] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fec5a95b8c0
2019-04-20 22:50:57.190 python[22885:3425742] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fec5a95b8c0’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff46cdfe45 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff719163c6 objc_exception_throw + 48
2 CoreFoundation 0x00007fff46d5a54b -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff46c81e98 forwarding + 1478
4 CoreFoundation 0x00007fff46c81848 _CF_forwarding_prep_0 + 120
5 libtk8.6.dylib 0x0000000109207154 TkpInit + 324
6 libtk8.6.dylib 0x000000010915f0ee Initialize + 2622
7 _tkinter.cpython-36m-darwin.so 0x0000000108f88a46 _tkinter_create + 1174
8 python 0x0000000107de5538 _PyCFunction_FastCallDict + 200
9 python 0x0000000107ebc58f call_function + 143
10 python 0x0000000107eba111 _PyEval_EvalFrameDefault + 46817
11 python 0x0000000107ead869 _PyEval_EvalCodeWithName + 425
12 python 0x0000000107ebd165 _PyFunction_FastCallDict + 373
13 python 0x0000000107d63c80 _PyObject_FastCallDict + 320
14 python 0x0000000107d8b3d8 method_call + 136
15 python 0x0000000107d6b2de PyObject_Call + 62
16 python 0x0000000107e0c8d5 slot_tp_init + 117
17 python 0x0000000107e10e21 type_call + 241
18 python 0x0000000107d63bf1 _PyObject_FastCallDict + 177
19 python 0x0000000107ebc688 call_function + 392
20 python 0x0000000107eba111 _PyEval_EvalFrameDefault + 46817
21 python 0x0000000107ead869 _PyEval_EvalCodeWithName + 425
22 python 0x0000000107ea80d9 builtin_exec + 345
23 python 0x0000000107de5538 _PyCFunction_FastCallDict + 200
24 python 0x0000000107ebc58f call_function + 143
25 python 0x0000000107eba111 _PyEval_EvalFrameDefault + 46817
26 python 0x0000000107ebc94c fast_function + 188
27 python 0x0000000107ebc5ec call_function + 236
28 python 0x0000000107eba111 _PyEval_EvalFrameDefault + 46817
29 python 0x0000000107ebc94c fast_function + 188
30 python 0x0000000107ebc5ec call_function + 236
31 python 0x0000000107eba111 _PyEval_EvalFrameDefault + 46817
32 python 0x0000000107ead869 _PyEval_EvalCodeWithName + 425
33 python 0x0000000107f060bc PyRun_FileExFlags + 252
34 python 0x0000000107f05594 PyRun_SimpleFileExFlags + 372
35 python 0x0000000107f2c1f6 Py_Main + 3766
36 python 0x0000000107d5bd19 main + 313
37 libdyld.dylib 0x00007fff7313b3d5 start + 1
38 ??? 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
with the fixed script. Now, this time i keep the previous change and add the fix
import matplotlib
matplotlib.use(“TkAgg”)
Now, the Mesh plotter window does open, but that is only a white/black window. attached is the image. I am on Mac OS 10.14.4. Any pointer is much appreciated. when I run conda list, these are the packages I currently have
Sharifs-MacBook-Pro:untitled folder sharifabudarda$ conda list
packages in environment at /Users/sharifabudarda/miniconda3:
openmc-plot-mesh-tally (11.3 KB)