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

viscm fails on MacOS #52

Open
abatten opened this issue Dec 5, 2019 · 3 comments
Open

viscm fails on MacOS #52

abatten opened this issue Dec 5, 2019 · 3 comments

Comments

@abatten
Copy link

abatten commented Dec 5, 2019

I am trying to use viscm on MacOS however it fails with this error when using the basic example.

python -m viscm view jet

I have tried using both the version available on pip and through cloning the repo. But the both raise the same error.

MacOS Version: 10.12.6

Python Version: 3.6.8
Viscm Version: 0.9
Matplotlib Version: 3.0.3
Colorspacious Version: 1.1.2

2019-12-05 12:29:01.650 python[59049:28695194] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QNSApplication _setup:]: unrecognized selector sent to instance 0x7fb406f810d0'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff9f5cd2cb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fffb43e648d objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff9f64ef04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x00007fff9f53f755 ___forwarding___ + 1061
	4   CoreFoundation                      0x00007fff9f53f2a8 _CF_forwarding_prep_0 + 120
	5   libtk8.6.dylib                      0x000000011ae6931d TkpInit + 413
	6   libtk8.6.dylib                      0x000000011adc117e Initialize + 2622
	7   _tkinter.cpython-36m-darwin.so      0x000000011abe9a16 _tkinter_create + 1174
	8   python                              0x000000010e7bf068 _PyCFunction_FastCallDict + 200
	9   python                              0x000000010e89461f call_function + 143
	10  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	11  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	12  python                              0x000000010e8952cc _PyFunction_FastCallDict + 364
	13  python                              0x000000010e73df80 _PyObject_FastCallDict + 320
	14  python                              0x000000010e7655f8 method_call + 136
	15  python                              0x000000010e7455ce PyObject_Call + 62
	16  python                              0x000000010e7e65b5 slot_tp_init + 117
	17  python                              0x000000010e7eaaf1 type_call + 241
	18  python                              0x000000010e73def1 _PyObject_FastCallDict + 177
	19  python                              0x000000010e746137 _PyObject_FastCallKeywords + 327
	20  python                              0x000000010e894718 call_function + 392
	21  python                              0x000000010e892225 _PyEval_EvalFrameDefault + 47013
	22  python                              0x000000010e8949dc fast_function + 188
	23  python                              0x000000010e89467c call_function + 236
	24  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	25  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	26  python                              0x000000010e8952cc _PyFunction_FastCallDict + 364
	27  python                              0x000000010e73df80 _PyObject_FastCallDict + 320
	28  python                              0x000000010e7655f8 method_call + 136
	29  python                              0x000000010e7455ce PyObject_Call + 62
	30  python                              0x000000010e892376 _PyEval_EvalFrameDefault + 47350
	31  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	32  python                              0x000000010e894a8a fast_function + 362
	33  python                              0x000000010e89467c call_function + 236
	34  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	35  python                              0x000000010e8949dc fast_function + 188
	36  python                              0x000000010e89467c call_function + 236
	37  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	38  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	39  python                              0x000000010e880129 builtin_exec + 345
	40  python                              0x000000010e7bf068 _PyCFunction_FastCallDict + 200
	41  python                              0x000000010e89461f call_function + 143
	42  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	43  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	44  python                              0x000000010e894a8a fast_function + 362
	45  python                              0x000000010e89467c call_function + 236
	46  python                              0x000000010e892175 _PyEval_EvalFrameDefault + 46837
	47  python                              0x000000010e8858c9 _PyEval_EvalCodeWithName + 425
	48  python                              0x000000010e78892d function_call + 125
	49  python                              0x000000010e7455ce PyObject_Call + 62
	50  python                              0x000000010e9053a6 RunModule + 182
	51  python                              0x000000010e904534 Py_Main + 3076
	52  python                              0x000000010e735f59 main + 313
	53  libdyld.dylib                       0x00007fffb4ccc235 start + 1
	54  ???                                 0x0000000000000005 0x0 + 5
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6```
@tacaswell
Copy link
Member

What Matplotlib backend are you using?

@abatten
Copy link
Author

abatten commented Feb 12, 2020

Apparently I'm using 'TkAgg'

@mfisher87
Copy link
Collaborator

@abatten curious if you can try this again with v0.10. We've dropped support for many of the software versions you were using when you originally reported. Please try pip install viscm[PySide] to ensure Qt is also installed!

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

3 participants