`--export-config` hangs and fails silently

Ouverte
#869 18 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Calme
Stack technique
python
Domaine
cli

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
855
Forks
355
Merge moyen
3 j 3 h
PR mergées (30 j)
12

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de meshtastic/python

Toutes les issues de meshtastic/python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.