# Problem with dvc list

**URL:** <https://discuss.dvc.org/t/problem-with-dvc-list/1089>\
**Category:** Questions\
**Created:** [March 3, 2022, 2:31pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089 "2022-03-03T14:31:39Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Paffciu](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@Paffciu](https://discuss.dvc.org/u/Paffciu)\
**Post date:** [March 4, 2022, 3:47pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/21 "2022-03-04T15:47:14Z")

</div>

Ahh, got it, latest release can be found under releases: [Releases · iterative/dvc · GitHub](https://github.com/iterative/dvc/releases), look for latest existing exe 🙂

---

<div class="post-metadata">

**Author:** ![cesc](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@cesc](https://discuss.dvc.org/u/cesc)\
**Post date:** [March 7, 2022, 1:05pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/22 "2022-03-07T13:05:19Z")

</div>

```auto
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

```auto
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.

---

<div class="post-metadata">

**Author:** ![Paffciu](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@Paffciu](https://discuss.dvc.org/u/Paffciu)\
**Post date:** [March 7, 2022, 2:29pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/23 "2022-03-07T14:29:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cesc](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@cesc](https://discuss.dvc.org/u/cesc)\
**Post date:** [March 7, 2022, 6:38pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/24 "2022-03-07T18:38:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Paffciu](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@Paffciu](https://discuss.dvc.org/u/Paffciu)\
**Post date:** [March 7, 2022, 6:44pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/25 "2022-03-07T18:44:21Z")

</div>

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](https://stackoverflow.com/questions/9617336/how-to-resolve-git-did-not-exit-cleanly-exit-code-128-error-on-tortoisegit), 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.

---

<div class="post-metadata">

**Author:** ![daavoo](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@daavoo](https://discuss.dvc.org/u/daavoo)\
**Post date:** [May 23, 2022, 1:41pm UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/27 "2022-05-23T13:41:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jorue](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jorue](https://discuss.dvc.org/u/jorue)\
**Post date:** [August 24, 2022, 9:33am UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/29 "2022-08-24T09:33:49Z")

</div>

Probably related to [this issue](https://github.com/iterative/dvc/issues/7577).

---

<div class="post-metadata">

**Author:** ![yllow](https://avatars.discourse-cdn.com/v4/letter/y/6de8d8/32.png) [@yllow](https://discuss.dvc.org/u/yllow)\
**Post date:** [February 8, 2023, 5:40am UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/30 "2023-02-08T05:40:22Z")

</div>

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/](https://user@stash.mycompany.com/xxx/xxx/dataset_registry/)’ - Failed to clone repo ‘[https://user@stash.mycompany.com/xxx/xxx/datasetregistry/](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!

---

<div class="post-metadata">

**Author:** ![yllow](https://avatars.discourse-cdn.com/v4/letter/y/6de8d8/32.png) [@yllow](https://discuss.dvc.org/u/yllow)\
**Post date:** [February 8, 2023, 5:49am UTC](https://discuss.dvc.org/t/problem-with-dvc-list/1089/31 "2023-02-08T05:49:59Z")

</div>

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

> dvc list ssh://git@stash.mycompany.com/xxx/xxx/dataset\_registry/

[Previous page](https://discuss.dvc.org/t/problem-with-dvc-list/1089.md?page=1)
