question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dvc push: progress bar frozen at 0% when pushing to S3 until completed on M1 MacBook Pro

See original GitHub issue

Bug Report

Description

The progress bar remained frozen at 0% until it had completed sending data to S3. I thought S3 was broken or so, but it was just the progress bar not working. This was not a short push but 100 MB and took a few minutes on my connection. The upload finished fine, however. (Took me a random break to not ctrl-c and see that it finished eventually.)

Reproduce

Setup a remote to S3 and add some data.

dvc push

Expected

A progress bar that keeps updating every 10 seconds or so.

Environment information

Output of dvc doctor:

$ dvc doctor

DVC version: 2.33.0 (brew)
---------------------------------
Platform: Python 3.10.8 on macOS-12.6-arm64-arm-64bit
Subprojects:
	dvc_data = 0.25.1
	dvc_objects = 0.12.1
	dvc_render = 0.0.12
	dvc_task = 0.1.4
	dvclive = 0.12.1
	scmrepo = 0.1.2
Supports:
	azure (adlfs = 2022.10.0, knack = 0.10.0, azure-identity = 1.11.0),
	gdrive (pydrive2 = 1.14.0),
	gs (gcsfs = 2022.10.0),
	http (aiohttp = 3.8.3, aiohttp-retry = 2.8.3),
	https (aiohttp = 3.8.3, aiohttp-retry = 2.8.3),
	oss (ossfs = 2021.8.0),
	s3 (s3fs = 2022.10.0, boto3 = 1.24.59),
	ssh (sshfs = 2022.6.0),
	webdav (webdav4 = 0.9.8),
	webdavs (webdav4 = 0.9.8),
	webhdfs (fsspec = 2022.10.0)
Cache types: reflink, hardlink, symlink
Cache directory: apfs on /dev/disk3s1s1
Caches: local
Remotes: s3
Workspace directory: apfs on /dev/disk3s1s1
Repo: dvc, git

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
BlackHCcommented, Nov 22, 2022

PyCharm’s terminal. Note that it’s not a TQDM or similar issue. The overall progress bar works:

E.g.:

 33% Transferring|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ                                                                                                          |1/3 [00:08<00:17,  8.57s/file]
                                                                                                                                                                                                                
  0%|          |/Users/andreaskirsch/PycharmProjects/xxxx/.dvc/cache/43/7b424ca7ed779658b02c45da716a2c                                                     0.00/1.95M [00:00<?,        ?B/s]
  0%|          |/Users/andreaskirsch/PycharmProjects/xxxx/.dvc/cache/7b/cbf03e78f78cfbc1ca8145115e06b8                                                     0.00/3.11M [00:00<?,        ?B/s]
0reactions
daavoocommented, Nov 22, 2022

Hi @BlackHC , which terminal are you using?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac OS Monterey 12.3 Update Stuck - Apple Community
I tried to update to Monterey 12.3 last night. The update is stuck - black screen with apple logo and progress bar about...
Read more >
Dvc push to public S3 bucket - Questions - Community Forum
Hello there. I'm excited to try DVC's features but I'm stuck with a basic problem in S3. Ideally, I'd like to push to...
Read more >
Fixed- MacBook Pro M1 Stuck on Apple Logo with ... - YouTube
Many people complains their M1 Mac is stuck on Apple Logo (with or without Progress Bar ) or loading screen. In this video...
Read more >
DVC commands hanging forever Β· Issue #1756 Β· iterative/dvc
When launching a command such as dvc status or dvc pull, the command seem to hang forever. My setup $ lsb_release -a No...
Read more >
How to Fix MacBook Pro Stuck on Loading Screen?
These all are the solutions you can use to fix the MacBook freeze error. Make sure you try them all and surely you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found