matplotlib / matplotlib/viscm

viscm fails on MacOS

Abierto
#52 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
188
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza reproduciendo python -m viscm view jet con las versiones indicadas de macOS, Python, viscm, Matplotlib y Colorspacious. Sigue el fallo a través de la inicialización de Tk que se muestra en el stack trace; se considera terminado cuando el ejemplo básico se inicia correctamente en macOS, con una prueba de regresión si el proyecto proporciona un lugar apropiado para ella.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
macos, matplotlib, python
Área
desktop
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.