Progress bars have color red and never completed to 100%
CONTRIBUTOR
Hi @echatzikyriakidis, thanks for submitting the issue.
Which shell are you using exactly? I tried to run the command you sent, but I don't see colors at all 🧐

I tried from bash and zsh as well.
2022-10-16T17:42:25Z
https://github.com/huggingface/datasets/issues/5117#issuecomment-1280017973
https://api.github.com/repos/huggingface/datasets/issues/5117
IC_kwDODunzps5MS4Y1
https://api.github.com/repos/huggingface/datasets/issues/comments/1280017973/reactions
2022-10-16T17:43:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1280017973
https://avatars.githubusercontent.com/u/9879252?v=4
https://api.github.com/users/david1542/events{/privacy}
https://api.github.com/users/david1542/followers
https://api.github.com/users/david1542/following{/other_user}
https://api.github.com/users/david1542/gists{/gist_id}
https://github.com/david1542
david1542
MDQ6VXNlcjk4NzkyNTI=
https://api.github.com/users/david1542/orgs
https://api.github.com/users/david1542/received_events
https://api.github.com/users/david1542/repos
https://api.github.com/users/david1542/starred{/owner}{/repo}
https://api.github.com/users/david1542/subscriptions
User
https://api.github.com/users/david1542
public
NONE
Hi @david1542 ,

I use Google Colab.

2022-10-16T18:08:18Z
https://github.com/huggingface/datasets/issues/5117#issuecomment-1280022550
https://api.github.com/repos/huggingface/datasets/issues/5117
IC_kwDODunzps5MS5gW
https://api.github.com/repos/huggingface/datasets/issues/comments/1280022550/reactions
2022-10-16T18:08:18Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1280022550
https://avatars.githubusercontent.com/u/63857529?v=4
https://api.github.com/users/echatzikyriakidis/events{/privacy}
https://api.github.com/users/echatzikyriakidis/followers
https://api.github.com/users/echatzikyriakidis/following{/other_user}
https://api.github.com/users/echatzikyriakidis/gists{/gist_id}
https://github.com/echatzikyriakidis
echatzikyriakidis
MDQ6VXNlcjYzODU3NTI5
https://api.github.com/users/echatzikyriakidis/orgs
https://api.github.com/users/echatzikyriakidis/received_events
https://api.github.com/users/echatzikyriakidis/repos
https://api.github.com/users/echatzikyriakidis/starred{/owner}{/repo}
https://api.github.com/users/echatzikyriakidis/subscriptions
User
https://api.github.com/users/echatzikyriakidis
public
CONTRIBUTOR
Got it. I [created a PR](https://github.com/huggingface/datasets/pull/5120) that fixes this issue. Turns out that the wrapping logic for the inner loop was slightly incorrect.
2022-10-16T22:20:21Z
https://github.com/huggingface/datasets/issues/5117#issuecomment-1280070000
https://api.github.com/repos/huggingface/datasets/issues/5117
IC_kwDODunzps5MTFFw
https://api.github.com/repos/huggingface/datasets/issues/comments/1280070000/reactions
2022-10-16T22:20:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1280070000
https://avatars.githubusercontent.com/u/9879252?v=4
https://api.github.com/users/david1542/events{/privacy}
https://api.github.com/users/david1542/followers
https://api.github.com/users/david1542/following{/other_user}
https://api.github.com/users/david1542/gists{/gist_id}
https://github.com/david1542
david1542
MDQ6VXNlcjk4NzkyNTI=
https://api.github.com/users/david1542/orgs
https://api.github.com/users/david1542/received_events
https://api.github.com/users/david1542/repos
https://api.github.com/users/david1542/starred{/owner}{/repo}
https://api.github.com/users/david1542/subscriptions
User
https://api.github.com/users/david1542
public
NONE
Thank you!
2022-10-17T08:51:40Z
https://github.com/huggingface/datasets/issues/5117#issuecomment-1280509984
https://api.github.com/repos/huggingface/datasets/issues/5117
IC_kwDODunzps5MUwgg
https://api.github.com/repos/huggingface/datasets/issues/comments/1280509984/reactions
2022-10-17T08:51:40Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1280509984
https://avatars.githubusercontent.com/u/63857529?v=4
https://api.github.com/users/echatzikyriakidis/events{/privacy}
https://api.github.com/users/echatzikyriakidis/followers
https://api.github.com/users/echatzikyriakidis/following{/other_user}
https://api.github.com/users/echatzikyriakidis/gists{/gist_id}
https://github.com/echatzikyriakidis
echatzikyriakidis
MDQ6VXNlcjYzODU3NTI5
https://api.github.com/users/echatzikyriakidis/orgs
https://api.github.com/users/echatzikyriakidis/received_events
https://api.github.com/users/echatzikyriakidis/repos
https://api.github.com/users/echatzikyriakidis/starred{/owner}{/repo}
https://api.github.com/users/echatzikyriakidis/subscriptions
User
https://api.github.com/users/echatzikyriakidis
public
NONE
Hello @mariosasko 

I am still facing this issue. Was this problem fixed?

![Screen Shot 2024-06-19 at 11 35 57 AM](https://github.com/huggingface/datasets/assets/66180831/cd9c6ac4-178c-4297-821c-a56411d34c89)

I cleared the hugging face cache before running, and no error message was given. Let me know if you need a minimal repro of my code.
2024-06-19T19:03:41Z
https://github.com/huggingface/datasets/issues/5117#issuecomment-2179327560
https://api.github.com/repos/huggingface/datasets/issues/5117
IC_kwDODunzps6B5eZI
https://api.github.com/repos/huggingface/datasets/issues/comments/2179327560/reactions
2024-06-19T19:03:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2179327560
https://avatars.githubusercontent.com/u/66180831?v=4
https://api.github.com/users/11301858/events{/privacy}
https://api.github.com/users/11301858/followers
https://api.github.com/users/11301858/following{/other_user}
https://api.github.com/users/11301858/gists{/gist_id}
https://github.com/11301858
11301858
MDQ6VXNlcjY2MTgwODMx
https://api.github.com/users/11301858/orgs
https://api.github.com/users/11301858/received_events
https://api.github.com/users/11301858/repos
https://api.github.com/users/11301858/starred{/owner}{/repo}
https://api.github.com/users/11301858/subscriptions
User
https://api.github.com/users/11301858
public
## Describe the bug
Progress bars after transformative operations turn in red and never be completed to 100%

## Steps to reproduce the bug
```python
from datasets import load_dataset

load_dataset('rotten_tomatoes', split='test').filter(lambda o: True)
```

## Expected results
Progress bar should be 100% and green

## Actual results
Progress  bar turn in red and never completed to 100%

## Environment info
- `datasets` version: 2.6.1
- Platform: Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.14
- PyArrow version: 6.0.1
- Pandas version: 1.3.5