repro, status: config file error: Unsupported URL type b''://
See original GitHub issueUPDATE (@shcheklein )
See this fast way to reproduce and the summary of the issue: https://github.com/iterative/dvc/issues/6530#issuecomment-913818383
Bug Report
Description
I just upgraded DVC to version 2.6.4 and all of a sudden get this error with the same dvc.yaml file which worked fine previously. Note that while running these commands, another DVC process was running.
Reproduce
$ dvc status dvc.yaml
ERROR: config file error: Unsupported URL type b''://
$ dvc repro dvc.yaml --dry
ERROR: configuration error - config file error: Unsupported URL type b''://
Expected
Environment information
Output of dvc doctor:
$ dvc doctor
DVC version: 2.6.4 (conda)
---------------------------------
Platform: Python 3.9.6 on Linux-3.10.0-1160.15.2.el7.x86_64-x86_64-with-glibc2.17
Supports:
http (requests = 2.25.1),
https (requests = 2.25.1),
s3 (s3fs = 2021.8.0, boto3 = 1.17.106)
Cache types: hardlink, symlink
Cache directory: xfs on /dev/md124
Caches: local
Remotes: s3, s3
Workspace directory: xfs on /dev/md124
Repo: dvc (subdir), git
Also observe this issue with DVC 2.5.4 after downgrading again:
> dvc doctor
DVC version: 2.5.4 (conda)
---------------------------------
Platform: Python 3.9.6 on Linux-3.10.0-1160.15.2.el7.x86_64-x86_64-with-glibc2.17
Supports:
http (requests = 2.25.1),
https (requests = 2.25.1),
s3 (s3fs = 2021.6.1, boto3 = 1.17.49)
Cache types: hardlink, symlink
Cache directory: xfs on /dev/md124
Caches: local
Remotes: s3, s3
Workspace directory: xfs on /dev/md124
Repo: dvc (subdir), git
Additional Information (if any):
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Getting "Unsupported URL" when adding SSH remote - DVC
I am trying to add a new ssh remote. and I get a Initialization error: Config file error: Unsupported URL when trying dvc...
Read more >config error · Issue #2388 · iterative/dvc - GitHub
I set up a remote to an S3, but went on to delete it (and all other remotes from dvc remote list), now...
Read more >unsupported url scheme; fallback: http error: status code 404, net
i have a poor understanding of js and webpack. I want to know which js file is triggerd when i press a button....
Read more >Troubleshoot sync health and errors in Azure File Sync
Troubleshoot common issues with monitoring sync health and resolving sync errors in an Azure File Sync deployment.
Read more >Messages - IBM
Create / configure property files required for Active Directory to IBM Tivoli Directory Server ... Unsupported URL in the entry at line line...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think I just found the cause of this issue. I added a print statement of
stageanddepsarguments passed tofill_stage_dependencies()and discovered that thedepslist included a booleanFalsevalue. This was caused by the following in thedvc.yaml:where
eval.model_pathis set in theparams.yamlfile. I set this tofalsein order to indicate that the model to be evaluated is a dummy model without trainable parameters (used as a reference for comparison). Removing this line from the dependencies resolved the issue.It would probably make sense to check whether the arguments are valid file path strings to produce a more helpful error message.
@schuhschuh Can you clarify whether you still expect this pipeline to run as is? I want to make sure we’re addressing your initial question, since it seems like at this point all of the issues found are about error handling, and some error was expected here since your dependency resolved to nothing.
👍 I think we can leave this issue open to address validating the schema after applying the values.
Combined with the concerns about the stack trace, this seems like a discussion that might extend outside of this ticket about how that code is organized, but honestly I don’t have a lot of context without digging deeper. @skshetry What do you think?