Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to use #1

Closed
eclake opened this issue Feb 10, 2020 · 1 comment
Closed

Error when trying to use #1

eclake opened this issue Feb 10, 2020 · 1 comment

Comments

@eclake
Copy link

eclake commented Feb 10, 2020

@kevinhainline - Any idea where I can start to figure this one out?

2020-02-10 18:21:10.514 python[10649:453777] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fbc9dbdbac0
2020-02-10 18:21:10.514 python[10649:453777] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fbc9dbdbac0'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2f0d98ab __exceptionPreprocess + 250
	1   libobjc.A.dylib                     0x00007fff6534a805 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff2f158b61 -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x00007fff2f03dadf ___forwarding___ + 1427
	4   CoreFoundation                      0x00007fff2f03d4b8 _CF_forwarding_prep_0 + 120
	5   libtk8.6.dylib                      0x0000000123a2231d TkpInit + 413
	6   libtk8.6.dylib                      0x000000012397a17e Initialize + 2622
	7   _tkinter.so                         0x00000001237a5be4 Tcl_AppInit + 84
	8   _tkinter.so                         0x00000001237a5448 Tkinter_Create + 1128
	9   libpython2.7.dylib                  0x000000010ed954e4 PyEval_EvalFrameEx + 22980
	10  libpython2.7.dylib                  0x000000010ed8f8c4 PyEval_EvalCodeEx + 2164
	11  libpython2.7.dylib                  0x000000010ed11723 function_call + 355
	12  libpython2.7.dylib                  0x000000010ece8c55 PyObject_Call + 101
	13  libpython2.7.dylib                  0x000000010ecf8032 instancemethod_call + 162
	14  libpython2.7.dylib                  0x000000010ece8c55 PyObject_Call + 101
	15  libpython2.7.dylib                  0x000000010ed9961f PyEval_CallObjectWithKeywords + 159
	16  libpython2.7.dylib                  0x000000010ecf5fc4 PyInstance_New + 148
	17  libpython2.7.dylib                  0x000000010ece8c55 PyObject_Call + 101
	18  libpython2.7.dylib                  0x000000010ed95168 PyEval_EvalFrameEx + 22088
	19  libpython2.7.dylib                  0x000000010ed8f8c4 PyEval_EvalCodeEx + 2164
	20  libpython2.7.dylib                  0x000000010ed8f042 PyEval_EvalCode + 34
	21  libpython2.7.dylib                  0x000000010edbca7d PyRun_FileExFlags + 157
	22  libpython2.7.dylib                  0x000000010edbc5c0 PyRun_SimpleFileExFlags + 816
	23  libpython2.7.dylib                  0x000000010edd3452 Py_Main + 3506
	24  libdyld.dylib                       0x00007fff666b87fd start + 1
	25  ???                                 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
@eclake
Copy link
Author

eclake commented Feb 10, 2020

OK, found answer (here)[https://github.com/MTG/sms-tools/issues/36]
and added

matplotlib.use("TkAgg")

after the matplotlib import - leaving here in case anyone else finds the same problem!

@eclake eclake closed this as completed Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant