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

problems running the application #1

Open
Vescuderoceballos opened this issue Dec 8, 2020 · 0 comments
Open

problems running the application #1

Vescuderoceballos opened this issue Dec 8, 2020 · 0 comments

Comments

@Vescuderoceballos
Copy link

/project/ $ flask run

  • Serving Flask app "application.py" (lazy loading)
  • Environment: development
  • Debug mode: off
  • Running on https://42187ba2-2bce-4290-acbe-da9e7e37dcca-ide.cs50.xyz:8080/ (Press CTRL+C to quit)
  • Restarting with stat
    192.168.177.222 - - [08/Dec/2020 11:13:07] "GET / HTTP/1.0" 500 -
    Error on request:
    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 240, in locate_app
    import(module_name)
    ModuleNotFoundError: No module named 'application'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/werkzeug/serving.py", line 323, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.7/site-packages/werkzeug/serving.py", line 312, in execute
application_iter = app(environ, start_response)
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 338, in call
self._flush_bg_loading_exception()
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 326, in _flush_bg_loading_exception
reraise(*exc_info)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 314, in _load_app
self._load_unlocked()
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 330, in _load_unlocked
self._app = rv = self.loader()
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 388, in load_app
app = locate_app(self, import_name, name)
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 250, in locate_app
raise NoAppException('Could not import "{name}".'.format(name=module_name))
flask.cli.NoAppException: Could not import "application".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant