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.

OSError: config file not found in examples/standalone_dns

See original GitHub issue

Issue 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:closed
  • Created a year ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
bile0026commented, Jul 20, 2021

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.

0reactions
grizzcommented, Jul 20, 2021

No problem, let us know if you have any more issues!

Read more comments on GitHub >

github_iconTop 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 >

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