`--export-config` hangs and fails silently

Aperta
#869 18 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
855
Fork
355
Merge medio
3g 3h
PR unite (30g)
12

Preparare l'ambiente

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.

Altre issue di meshtastic/python

Tutte le issue di meshtastic/python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.