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

Abierto
#1,978 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
46/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
testing

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
41
Forks
12
Merge medio
2 d 8 h
PR fusionados (30 d)
13

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Deltares/imod-python

Todos los issues de Deltares/imod-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.