`--export-config` hangs and fails silently

Offen
#869 18 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
python
Bereich
cli

Rechercherichtung

The payload names only the meshtastic --export-config command and its redirected output, so start by running that command with stdout redirected and with it attached to a terminal to reproduce the hang and the missing error. Find where the CLI writes its warnings and errors and check whether they go to stdout instead of stderr. Done means errors and warnings reach stderr, the YAML on stdout stays clean, and the hang is either fixed or confirmed to be a separate problem.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

When I use --export-config in the form below, it fails silently. The error which I would expect in STDERR is redirected as STDOUT to the file.

meshtastic --export-config > config_backup.yaml

I think it would be an improvement to have warnings and errors printed to STDERR.

Vorherrschende Sprache
Python
Sterne
855
Forks
355
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
12

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus meshtastic/python

Alle Issues in meshtastic/python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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