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

Offen
#1,978 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
46/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
41
Forks
12
Ø Merge
2 T. 8 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Deltares/imod-python

Alle Issues in Deltares/imod-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.