Problem with dvc list

Ahh, got it, latest release can be found under releases: Releases · iterative/dvc · GitHub, look for latest existing exe :slight_smile:

dvc version
DVC version: 2.9.5 (exe)
---------------------------------
Platform: Python 3.9.9 on Windows-10-10.0.18363-SP0
Supports:
        azure (adlfs = 2022.2.0, knack = 0.9.0, azure-identity = 1.7.1),
        gdrive (pydrive2 = 1.10.0),
        gs (gcsfs = 2022.1.0),
        hdfs (fsspec = 2022.1.0, pyarrow = 7.0.0),
        webhdfs (fsspec = 2022.1.0),
        http (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
        https (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
        s3 (s3fs = 2022.1.0, boto3 = 1.20.24),
        ssh (sshfs = 2021.11.2),
        oss (ossfs = 2021.8.0),
        webdav (webdav4 = 0.9.4),
        webdavs (webdav4 = 0.9.4)
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: s3
Workspace directory: NTFS on C:\
Repo: dvc, git

Tried dvc list again and got the same error. Part of the what dvc list does is run

git clone -v --no-single-branch --progress https://sourcecode.com/scm/asx-jbbd/dvc.git C:\Users\cesc\AppData\Local\Temp\tmpc69r8qwydvc-clone

When I run that command directly, I am prompted for my Bitbucket credentials and the repo is cloned successfully. However, I am never prompted for my credentials when I run dvc list. Could the issue lie there? For whatever reason dvc is not able to authenticate to Bitbucket because it doesn’t have the credentials it never asked for.

I want to mention again that I am doing all of this from inside my company’s network/environment so perhaps some local setting on Windows, set by my company’s IT, could be preventing dvc list from working as expected.

My personal tests on private GitHub repo showed that I will get asked for password, that’s something else, seemingly.

I agree. It must be something local here with the Windows machines. Thank you so much for your help!

I am unable to point to a single reason why the git would fail. You might want to try out few things that are described here, which contains problem with the same git error code. If nothing will work, feel free to ping me again, there needs to be some solution to that.

It is not working and I don’t know why.

Hi @niamul21 . Which issue are you facing? Could you share the output traceback ?

Clipping Path Company in Bangladesh

Probably related to this issue.

hi, I am new to DVC and also facing the same issue, any advice please?

I am able to git clone but when I try dvc list the error appears

ERROR: failed to list ‘https://user@stash.mycompany.com/xxx/xxx/dataset_registry/’ - Failed to clone repo ‘https://user@stash.mycompany.com/xxx/xxx/datasetregistry/’ to ‘/var/folders/zz/vndjfngsrutngvkjsnvgkbjg/T/dsfkbnfgsljbnfg-clone’

It is a git repo, I have also done dvc init. I am on MacOS.
dvc version is 2.38.1.

Thank you, appreciate any advice please!

Sorry - it now works just by switching to ssh instead of using https

dvc list ssh://git@stash.mycompany.com/xxx/xxx/dataset_registry/