tensorflow / tensorflow/datasets

HTTP code: 406 when downloading dataset

Open
#2,075 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Short description
DownloadManager.download("http://www.manythings.org/anki/fra-eng.zip") throws an error, even though I can download directly from that address, e.g. using wget.

Environment information

  • Operating System: Ubuntu 20.04
  • Python version: 3.8
  • tensorflow-datasets/tfds-nightly tensorflow-datasets version: 3.1.0
  • tensorflow/tensorflow-gpu/tf-nightly/tf-nightly-gpu tensorflow-gpu version: 2.2.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing DownloadManager.download with the manythings.org URL and inspect how the download request handles the HTTP 406 response. Done means the dataset downloads through TFDS without the error and a regression test covers this URL or equivalent response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.