Skip to content

dvc[ssh]>=2.8.2 dvc exp push origin unexpected error - argument 0 must be str, not NoneType #7085

@agrizzli

Description

@agrizzli

Bug Report

When using dvc exp push origin with dvc[ssh]==2.8.2, dvc[ssh]==2.8.3 or from repo, it results in unexpected error - argument 0 must be str, not NoneType. The same happens with dvc exp list origin. There is no problem with 2.8.1 at all.

Description

I have a repo with just few first experiments using dvc exp run. Trying to push experiments to git over ssh results in:

$ dvc exp push origin exp-fac6d

ERROR: unexpected error - argument 0 must be str, not NoneType                                                                                                                                             

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

The same for the list origin. Verbose versions of output attached.

Reproduce

  • Install dvc[ssh]==2.8.2 or higher
  • Setup DVC project and a pipeline with dvc.yaml
  • Run some experiments using dvc exp run
  • dvc exp list origin or dvc exp list push EXP-HASH

Expected

  • dvc exp list origin should list experiments from git.
  • dvc exp push origin EXP-HASH is expected to push experiment to git.

Environment information

dvc_list_origin.txt
dvc_push_origin.txt

Output of dvc doctor:

DVC version: 2.8.2 (pip)
---------------------------------
Platform: Python 3.8.10 on Linux-5.8.0-63-generic-x86_64-with-glibc2.32
Supports:
	hdfs (fsspec = 2021.11.1, pyarrow = 6.0.1),
	webhdfs (fsspec = 2021.11.1),
	http (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
	https (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
	ssh (sshfs = 2021.11.2)
Cache types: hardlink, symlink
Cache directory: ext4 on /dev/nvme0n1p3
Caches: local
Remotes: ssh, ssh
Workspace directory: ext4 on /dev/nvme0n1p3
Repo: dvc, git

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: experimentsRelated to dvc expawaiting responsewe are waiting for your reply, please respond! :)bugDid we break something?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions