[Bug] - Docs are showing a lot of warnings/error in logging.

Aperta
#1,978 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Start by reviewing the logging output on the TeamCity agent and the linked Hondsrug partitioning example, then trace why logging attempts to write to a closed file. The issue says the failure may be hard to reproduce locally; confirm the error and identify a fix that removes the warnings and errors from the examples. It also suggests basing a patch release on the 1.2.0 tag.

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

Descrizione

bug

I didn't run into this locally, but apparently there is something failing in the logging on the TeamCity agent. A ValueError is thrown that it tries to write to a closed log file. So apparently something is going wrong here. This creates a lot of annoying warnings/errors, cluttering examples a lot. For example see:

https://deltares.github.io/imod-python/examples/mf6/hondsrug_partitioning.html

To not stall developments, we can branch off the commit with the 1.2.0 tag for this and commit fixes there, then create a patch release based on that branch. It might be hard to reproduce this error locally, but hopefully it is not.

Lingua principale
Python
Stelle
41
Fork
12
Merge medio
2g 8h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 Deltares/imod-python

Tutte le issue di Deltares/imod-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.