Vector35 / Vector35/binaryninja-api

Provide better UX when user's python version has changed.

Abierto
#4,100 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Component: UI Effort: Low Impact: Low UI: Python Console
Lenguaje dominante
C++
Estrellas
1.3k
Forks
298
Merge medio
5 d 5 h
PR fusionados (30 d)
19

Descripción

When a user updates the python version that BinaryNinja points to the failure condition can be confusing. We do provide an error in the log but that can be subtle and hidden by other errors on the system.

Recommended remediation:
If the python can't be found still let the python console pop up but disabled. Add some text to the effect of:

Unable to identify the libpython: "/usr/local/lib/libpython3.9.so"  

Bonus points: @toolCHAINZ suggested we should throw the settings drop down for selecting the python interpreter right there in the widget for even better UX.

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

Start by reproducing the failure after changing the Python version Binary Ninja points to, then trace how the Python console handles an unidentified libpython such as "/usr/local/lib/libpython3.9.so". Done means the console still opens in a disabled state with a visible error, with the interpreter-selection settings available if that bonus behavior is implemented.

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

Evaluación

Stack tecnológico
cpp, python
Área
desktop, devtools
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.