Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Invalid UTF8 bytes in default TAGS.txt

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

@pierrot0 đang làm issue này rồi.

Từ ngày 13/5/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

Short description
Some of the language tags in the default TAGS.txt cause a UnicodeDecodeError.

Environment information

  • Operating System: Windows 11

  • Python version: 3.10.13

  • tensorflow-datasets/tfds-nightly version: tfds-nightly 4.9.4.dev202405100044

  • tensorflow/tf-nightly version: tensorflow 2.10.0

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ? Yes

Reproduction instructions
Make a toy dataset with tfds new test. Then try to instantiate the builder.

from test.test_dataset_builder import *
b = Builder()

Link to logs
Stack trace here

Expected behavior
The builder to instantiate without error.

Additional context
Deleting lines 73, 79, 126, 128, 156, and 173 in TAGS.txt fixes the problem. These are all language tags.

Ngôn ngữ chính
Python
Star
4.6k
Fork
1.6k
Merge trung bình
5 giờ 47 phút
Pull request đã merge (30 ngày)
2

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

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 tensorflow/datasets

Tất cả issue của tensorflow/datasets

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.