`--export-config` hangs and fails silently

Aberta
#869 18 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
855
Forks
355
Merge médio
3d 3h
PRs com merge (30d)
12

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshtastic/python

Todas as issues de meshtastic/python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.