OSError: config file not found in examples/standalone_dns
See original GitHub issueIssue Description
I am trying to follow the [quickstart guide]https://vaping.readthedocs.io/en/stable/quickstart/) but getting the following error:
$ vaping start --home examples/standalone_dns
Traceback (most recent call last):
File "/home/casadmin/.pyenv/versions/3.9.6/bin/vaping", line 8, in <module>
sys.exit(cli())
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
return self.main(*args, **kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/vaping/cli.py", line 72, in start
update_context(ctx, kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/vaping/cli.py", line 21, in update_context
ctx.update_options(kwargs)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/munge/click.py", line 119, in update_options
self.config = self.config_class(read=self.home)
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/munge/config.py", line 54, in __init__
self.read(kwargs["read"])
File "/home/casadmin/.pyenv/versions/3.9.6/lib/python3.9/site-packages/munge/config.py", line 133, in read
raise OSError(f"config file not found in {conf_path}")
OSError: config file not found in examples/standalone_dns
$ vaping --version
vaping, version 1.4.1
$ python --version
Python 3.9.6
$ pip list
Package Version
------------------ ---------
certifi 2021.5.30
charset-normalizer 2.0.3
click 8.0.1
confu 1.8.0
docutils 0.17.1
Flask 1.1.2
graphsrv 2.0.0
idna 3.2
itsdangerous 2.0.1
Jinja2 2.11.3
lockfile 0.12.2
MarkupSafe 2.0.1
munge 1.2.0
pid 3.0.4
pip 21.1.3
pluginmgr 1.0.1
python-daemon 2.3.0
requests 2.26.0
setuptools 56.0.0
tmpl 1.0.0
urllib3 1.26.6
vaping 1.4.1
vodka 3.1.0
Werkzeug 2.0.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
File not found java ini4j - Stack Overflow
I am trying to write something to a ini file using ini4j. When i call the store() method it throws a FileNotFound exception...
Read more >DLC live test - pose config file not found - Image.sc Forum
Hi, just trying out installing dlc live and have had a couple of issues. The first was something to do with the tensorflow...
Read more >Error while loading Spacy's "en_core_web_md" - Microsoft Q&A
Hi, I am trying to load "en_core_web_md". Every time I do so I get the error "OSError: [E050] Can't find model 'en_core_web_md'.
Read more >yaml-cpp: error at line 37, column 4: end of map not found
Hello guys. I have a little problem. After configuring the configuration file, the following alert appears: “Parameter error YAML config ...
Read more >Trouble setting up git error: could not lock config file
See if any of those tips help you: Verify if there's some file called ~/.gitconfig.lock . If that's the case just delete it....
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
Some more info, I can run it okay now in a venv on Python 3.9.6 and munge 1.2.0 when I run
vaping start --home=examples/distributed_dns/vaping/ --debug
, but trying to run through gunicorn or uwsgi gives the OSException, can’t find config file.No problem, let us know if you have any more issues!