Skip to content

ssh get-url throws ERROR: unexpected error - 'NoneType' object has no attribute 'cache' #4174

Closed
@mathias3

Description

@mathias3

Bug Report

Please provide information about your setup

Output of dvc version:

$ dvc version

DVC version: 1.0.1
Python version: 3.7.1
Platform: Linux-5.3.0-62-generic-x86_64-with-debian-buster-sid
Binary: True
Package: deb
Supported remotes: azure, gdrive, gs, hdfs, http, https, s3, ssh, oss
Filesystem type (workspace): ('ext4', '/dev/mapper/ubuntu--vg-root')

Additional Information (if any):

If applicable, please also provide a --verbose output of the command, eg: dvc add --verbose.

2020-07-07 09:42:34,195 ERROR: unexpected error - 'NoneType' object has no attribute 'cache'
------------------------------------------------------------
Traceback (most recent call last):
  File "dvc/main.py", line 53, in main
  File "dvc/command/get_url.py", line 17, in run
  File "dvc/repo/get_url.py", line 19, in get_url
  File "dvc/output/base.py", line 264, in save
  File "dvc/output/base.py", line 192, in save_info
  File "dvc/remote/base.py", line 756, in save_info
  File "dvc/remote/base.py", line 323, in save_info
  File "dvc/remote/base.py", line 291, in get_hash
  File "dvc/remote/base.py", line 304, in get_dir_hash
  File "dvc/remote/base.py", line 183, in cache
AttributeError: 'NoneType' object has no attribute 'cache'

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting 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