Vector35 / Vector35/binaryninja-api

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

Aperta
#4,100 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: UI Effort: Low Impact: Low UI: Python Console
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, python
Ambito
desktop, devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.