Skip to content

No Such File Error if using ssh remote on windows #1701

@qsineu

Description

@qsineu

Hi

Since the Update to Version 0.30 I can't use my ssh remote anymore.
dvc pull and dvc status -c gives me a "No Such File"-Error. I was able to find the problem in the new ssh-remote-implementation of version 0.30:
https://github.com/iterative/dvc/blob/master/dvc/remote/ssh/connection.py#L131
This line of Code constructs a path to use on the ssh-server using os.path.join which is platform-dependent.
The created path looks like this: /opt/dir/hdd/myfolder/dvcremote\9b which is not a valid unix-path.

It would be great if this issue gets fixed. I patched my local connection.py-file to be able to work again.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions