Skip to content

'NoneType' object is not subscriptable  #4266

@DavidGOrtega

Description

@DavidGOrtega

Bug Report

I came up with this issue by other paths, but I tried to find an easy way to isolate it.

steps to reproduce

dvc remote add s3 s3://
dvc remote default s3
dvc run --no-exec -n train \
  --outs-persist model.data \
   ./train.sh

git add dvc.yaml
dvc commit

outputs

ERROR: unexpected error - 'NoneType' object is not subscriptable 
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!               

Please provide information about your setup

Output of dvc version:

WARNING: Unable to detect supported link types, as cache directory '.dvc/cache' doesn't exist. It is usually auto-created by commands such as `dvc add/fetch/pull/run/import`, but you could create it manually to enable this check.
DVC version: 1.1.11
Python version: 3.7.6
Platform: Darwin-19.0.0-x86_64-i386-64bit
Binary: False
Package: pip
Supported remotes: azure, gdrive, gs, hdfs, http, https, s3, ssh, oss
Repo: dvc, git
Filesystem type (workspace): ('apfs', '/dev/disk1s5')

Metadata

Metadata

Assignees

Labels

bugDid we break something?p1-importantImportant, aka current backlog of things to do

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions