Skip to content
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

First example of Eve use doesn't work #1277

Closed
sybrenstuvel opened this issue May 29, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@sybrenstuvel
Copy link
Contributor

commented May 29, 2019

Expected Behavior

This should work, as it's the very first example of how Eve works:

from eve import Eve

app = Eve()

Actual Behavior

Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from eve import Eve
>>> app = Eve()
Traceback (most recent call last):
  File "/home/sybren/workspace/cloud/eve/eve/flaskapp.py", line 319, in validate_domain_struct
    domain = self.config["DOMAIN"]
KeyError: 'DOMAIN'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sybren/workspace/cloud/eve/eve/flaskapp.py", line 161, in __init__
    self.validate_domain_struct()
  File "/home/sybren/workspace/cloud/eve/eve/flaskapp.py", line 321, in validate_domain_struct
    raise ConfigException("DOMAIN dictionary missing or wrong.")
eve.exceptions.ConfigException: DOMAIN dictionary missing or wrong.

Environment

  • Python version: 3.6.7
  • Eve version: 0.9.1

@nicolaiarocci nicolaiarocci added this to the 0.9.2 milestone Jun 3, 2019

@nicolaiarocci

This comment has been minimized.

Copy link
Member

commented Jun 7, 2019

Oh, wow .This must have been around since, like, forever. I can only imagine how many people scared away from the project. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.