Cannot preview cnn_dailymail dataset
MEMBER
I guess the cache got corrupted due to a previous issue with Google Drive service.

The cache should be regenerated, e.g. by passing `download_mode="force_redownload"`.

CC: @severo 
2022-03-21T08:49:58Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1073643829
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps4__oE1
https://api.github.com/repos/huggingface/datasets/issues/comments/1073643829/reactions
2022-03-21T08:49:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073643829
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode="force_redownload"` doesn't help. But yes indeed the cache must be refreshed.

The CNN Dailymail dataste is currently hosted on Google Drive, which is an unreliable host and we've had many issues with it. Unless we found another most reliable host for the data, we will keep running into issues from time to time.

At Hugging Face we're not allowed to host the CNN Dailymail data by ourselves AFAIK
2022-03-21T17:16:12Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1074179693
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5ABq5t
https://api.github.com/repos/huggingface/datasets/issues/comments/1074179693/reactions
2022-03-21T17:16:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1074179693
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
Yes @lhoestq, I didn't explain myself well: my previous message was addressed to @severo. 
2022-03-22T06:53:46Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1074800982
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5AEClW
https://api.github.com/repos/huggingface/datasets/issues/comments/1074800982/reactions
2022-03-22T06:53:46Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1074800982
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
COLLABORATOR
I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Drive
2022-03-30T14:08:05Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1083186647
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5AkB3X
https://api.github.com/repos/huggingface/datasets/issues/comments/1083186647/reactions
2022-03-30T14:08:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1083186647
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
MEMBER
Sounds good. I was looking for another host of this dataset but couldn't find any (yet)
2022-03-30T14:13:35Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1083193224
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5AkDeI
https://api.github.com/repos/huggingface/datasets/issues/comments/1083193224/reactions
2022-03-30T14:13:35Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1083193224
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
COLLABORATOR
It seems like the issue is with the streaming mode, not with the hosting:

```python
>>> import datasets
>>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=True, download_mode="force_redownload")
Downloading builder script: 9.35kB [00:00, 10.2MB/s]
Downloading metadata: 9.50kB [00:00, 12.2MB/s]
>>> len(list(dataset))
0
>>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=False)
Reusing dataset cnn_dailymail (/home/slesage/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234)
>>> len(dataset)
287113
```

Note, in particular, that the streaming mode is failing silently, returning 0 row while I would have expected an exception instead. The result is that the dataset viewer shows `No data` instead of a detailed error.

<img width="1511" alt="Capture d’écran 2022-04-12 à 11 50 46" src="https://user-images.githubusercontent.com/1676121/162935341-d50f1e73-d053-41d4-917f-e79708a0ca23.png">

2022-04-12T10:03:10Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1096486848
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5BWw_A
https://api.github.com/repos/huggingface/datasets/issues/comments/1096486848/reactions
2022-04-12T10:03:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1096486848
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
MEMBER
Well this is because the host (Google Drive) returns a document that is not the actual data, but an error page
2022-04-12T15:57:50Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1096910244
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5BYYWk
https://api.github.com/repos/huggingface/datasets/issues/comments/1096910244/reactions
2022-04-12T15:57:50Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1096910244
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
COLLABORATOR
Do you think that `datasets` should detect this anyway and throw an exception?
2022-04-12T16:01:53Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1096914744
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5BYZc4
https://api.github.com/repos/huggingface/datasets/issues/comments/1096914744/reactions
2022-04-12T16:01:53Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1096914744
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
MEMBER
Yes it definitely should ! I don't have the bandwidth to work on this right now though
2022-04-13T15:57:27Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1098222105
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5BdYoZ
https://api.github.com/repos/huggingface/datasets/issues/comments/1098222105/reactions
2022-04-13T15:57:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1098222105
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
Indeed, streaming was not supported: tgz archives were not properly iterated.

I've opened a PR to support streaming.

However, keep in mind that Google Drive will keep generating issues from time to time, like 403,...
2022-04-20T14:09:01Z
https://github.com/huggingface/datasets/issues/3969#issuecomment-1103978608
https://api.github.com/repos/huggingface/datasets/issues/3969
IC_kwDODunzps5BzWBw
https://api.github.com/repos/huggingface/datasets/issues/comments/1103978608/reactions
2022-04-20T14:09:01Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1103978608
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
## Dataset viewer issue for '*cnn_dailymail*'

**Link:** https://huggingface.co/datasets/cnn_dailymail

*short description of the issue*

Am I the one who added this dataset ? Yes-No
