Vector35 / Vector35/binaryninja-api

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

Offen
#4,100 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Component: UI Effort: Low Impact: Low UI: Python Console
Vorherrschende Sprache
C++
Sterne
1.3k
Forks
298
Ø Merge
5 T. 5 Std.
Gemergte PRs (30 T.)
19

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, python
Bereich
desktop, devtools
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.