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

Đang mở
#1,978 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
46/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
41
Fork
12
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Deltares/imod-python

Tất cả issue của Deltares/imod-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.