Skip to content

remote: handle -d ERROR  #3219

@ghost

Description

I encountered ERROR: unexpected error - expected str, bytes or os.PathLike object, not NoneType
when I run command dvc remote add -d tmpremote [a shared Windows drive] at default home directory of my environment.

The issue is gone when I run the same command at my git folder.

image

EDIT:

More context:

https://discordapp.com/channels/485586884165107732/485596304961962003/669661824190513162

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?p2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions