-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"AttributeError: NoneType object has no attribute 'wdir'" on dvc get-url call #3897
Comments
Hi, @nickdelgrosso. Gdrive currently does not support |
We should definitely handle it better though. Same ugly error is showing up when you Btw, support for gdrive will be coming along in the nearest future. We are waiting for iterative/PyDrive2#39. So stay tuned 🙂 |
@nickdelgrosso To solve it for now, we could simply check |
also to cross-link support for gdrive streaming: #3408 |
Fixes iterative#3408 Related iterative#2865 Fixes iterative#3897
Ok, we need to revisit our |
Fixes iterative#3408 Related iterative#2865 Fixes iterative#3897
This wasn't fixed by #3916. Reopening |
This allows us to properly process the errors like missing target. Fixes iterative#3897
This allows us to properly process the errors like missing target. Fixes #3897
Bug Report
When calling
dvc get-url gdrive://{mylink}
from the command line, I am getting the following AttributeError: "NoneType' object has no attribute 'wdir'. The full traceback is below.I'm calling
dvc get-url
from outside the .dvc working directory. A quick look at the source code suggests that this is related to output.LocalOutput being initialized with stage=None from the dependency.loads_from() function in repo.get_url.py.Please provide information about your setup
Output of
dvc version
:Additional Information (if any):
The text was updated successfully, but these errors were encountered: