Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dvc pull cannot be stopped by Ctrl+C (at least on Windows) #10658

Open
a18 opened this issue Dec 22, 2024 · 0 comments
Open

dvc pull cannot be stopped by Ctrl+C (at least on Windows) #10658

a18 opened this issue Dec 22, 2024 · 0 comments
Labels
A: data-sync Related to dvc get/fetch/import/pull/push help wanted P: windows Related to the Platform: Windows triage Needs to be triaged

Comments

@a18
Copy link

a18 commented Dec 22, 2024

Bug Report

pull: cannot be stopped by Ctrl+C

Description

When DVC downloads huge files from S3, an attempt to cancel the process using Ctrl+C is just ignored.

Reproduce

  1. Prepare and push several huge DVC files to S3, commit repo changes
  2. Get clean repo copy
  3. dvc pull
  4. Try to press Ctrl+C
    -->

Expected

The downloading process should stop neary immediately (probably, within 1-2 seconds).

Environment information

Output of dvc doctor:

$ dvc doctor
DVC version: 3.58.0 (pip)
-------------------------
Platform: Python 3.9.18 on Windows-10-10.0.19041-SP0
Subprojects:
        dvc_data = 3.16.5
        dvc_objects = 5.1.0
        dvc_render = 1.0.2
        dvc_task = 0.4.0
        scmrepo = 3.3.9
Supports:
        http (aiohttp = 3.10.5, aiohttp-retry = 2.8.3),
        https (aiohttp = 3.10.5, aiohttp-retry = 2.8.3),
        s3 (s3fs = 2024.5.0, boto3 = 1.35.16)
Config:
        Global: C:\Users\User11\AppData\Local\iterative\dvc
        System: C:\ProgramData\iterative\dvc
Cache types: hardlink
Cache directory: NTFS on D:\
Caches: local
Remotes: s3
Workspace directory: NTFS on D:\
Repo: dvc, git
Repo.site_cache_dir: C:\ProgramData\iterative\dvc\Cache\repo\7d446d749c90842fa5ee817a678499c6

Additional Information (if any):
Similar old issue, but for "run" command and on Linux: #2272

@shcheklein shcheklein added triage Needs to be triaged P: windows Related to the Platform: Windows p2-medium Medium priority, should be done, but less important p3-nice-to-have It should be done this or next sprint help wanted A: data-sync Related to dvc get/fetch/import/pull/push and removed p2-medium Medium priority, should be done, but less important p3-nice-to-have It should be done this or next sprint help wanted labels Dec 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A: data-sync Related to dvc get/fetch/import/pull/push help wanted P: windows Related to the Platform: Windows triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants