question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Config search path for hydra apps

See original GitHub issue

🐛 Bug

For packaged hydra apps, pkg:// rather than file:// should be used in the config search path.

To reproduce

Install hydra_app and run hydra_app --info.

Stack trace/error message

Config search path
******************
| Provider | Search path        
--------------------------------------------------------------------------------------------
| hydra    | pkg://hydra.conf  
| main     | file:///Users/jm/Git/hydra/examples/advanced/hydra_app_example/hydra_app/conf 
| schema   | structured:// 
--------------------------------------------------------------------------------------------

Expected Behavior

Config search path
******************
| Provider | Search path  
--------------------------------------------------------------------------------------------
| hydra    | pkg://hydra.conf
| main     | pkg://hydra_app.conf
| schema   | structured://
--------------------------------------------------------------------------------------------

System information

  • Hydra Version : master at dc8bed5a4d4a0324357f5baeae97962e759cdc6b
  • Python version : 3.7.7
  • Virtual environment type and version : conda
  • Operating system : macOS

Additional context

Using pkg:// rather than file:// would e.g. help with making configurations accessible across machines when using remote launchers where file://-based paths may differ.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
omrycommented, Jul 8, 2020

#750 fixes it but this is sensitive. I may have to revert if it end up causing issues.

0reactions
jieru-hucommented, Jul 19, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Config Search Path - Hydra
The Config Search Path is a list of paths that Hydra searches in order to find non-primary configs. It is similar to the...
Read more >
mpich-3.4.3-README.txt
(d) Configure MPICH specifying the installation directory and device: for csh ... a smaller application or benchmark and send that along in your...
Read more >
Bug listing with status RESOLVED with resolution INVALID as ...
... Bug:2364 - "Backspace key doesn't work when saving config file in "make menuconfig" installation stage" status:RESOLVED resolution:INVALID severity: ...
Read more >
hydra changelog - Awesome Python | LibHunt
Hydra is a framework for elegantly configuring complex applications ... Fix a bug where Structured Config has a field like 'list : Optional[List[int]] ......
Read more >
hydra | Kali Linux Tools
hydra Usage Example Attempt to login as the root user (-l root) using a password list (-P ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found