Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Invalid UTF8 bytes in default TAGS.txt

Aperta
#5,406 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@pierrot0 ci sta già lavorando.

Dal 13/5/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
4.6k
Fork
1.6k
Merge medio
5h 47m
PR unite (30g)
2

Preparare l'ambiente

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

Tutte le issue di tensorflow/datasets

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.