Skip to content

'NoneType' object is not subscriptable #4266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DavidGOrtega opened this issue Jul 23, 2020 · 1 comment · Fixed by #4305
Closed

'NoneType' object is not subscriptable #4266

DavidGOrtega opened this issue Jul 23, 2020 · 1 comment · Fixed by #4305
Assignees
Labels
bug Did we break something? p1-important Important, aka current backlog of things to do

Comments

@DavidGOrtega
Copy link

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')
@efiop efiop added bug Did we break something? p1-important Important, aka current backlog of things to do labels Jul 23, 2020
@efiop efiop self-assigned this Jul 30, 2020
@efiop
Copy link
Contributor

efiop commented Jul 30, 2020

Ran into this as well. Working on a fix...

efiop added a commit to efiop/dvc that referenced this issue Jul 30, 2020
efiop added a commit that referenced this issue Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Did we break something? p1-important Important, aka current backlog of things to do
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants