CadQuery / CadQuery/cq-cli

Swallows print Statements

Aperta
#12 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
30
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Related to this [CadHub issue](https://github.com/Irev-Dev/cadhub/issues/548).

Calls to `print()` (stdout) within a script will not show up in the CadHub console, but calls to `println(..., file=sys.stderr)` (stderr) do. My guess is that this is related to how CQGI is executed from within cq-cli, but it needs to be investigated.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the issue with a script that calls print() and another that writes to stderr, then inspect how CQGI is executed from cq-cli. Compare the handling of stdout with stderr in the console, using the related CadHub issue for context. Done means script stdout appears in the CadHub console while stderr continues to work.

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

Valutazione

Stack tecnologico
python
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.