This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 281
This repository has been archived by the owner. It is now read-only.
I am getting attribute error! NoneType! #23
Copy link
Copy link
Open
Description
I have no clue what is going on! but first my localhost:5000 was not found. I tried another time and now it is up with showing Builtins.Attribute.Errors
And I am getting many of these things below on my machine:
- Serving Flask app "app/app.py" (lazy loading)
- Environment: development
- Debug mode: on
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
- Restarting with stat
- Debugger is active!
- Debugger PIN: 167-677-124
127.0.0.1 - - [28/Dec/2020 17:32:39] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask/cli.py", line 76, in find_best_app
app = call_factory(script_info, app_factory)
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask/cli.py", line 116, in call_factory
return app_factory()
File "/Users/shahand/mlh-hackathon-flask-starter/app/app.py", line 14, in create_app
register_extensions(app)
File "/Users/shahand/mlh-hackathon-flask-starter/app/app.py", line 24, in register_extensions
db.create_all()
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 963, in create_all
self._execute_for_all_tables(app, bind, 'create_all')
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 955, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), **extra)
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 896, in get_engine
return connector.get_engine()
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 556, in get_engine
self._sa.apply_driver_hacks(self._app, info, options)
File "/Users/shahand/mlh-hackathon-flask-starter/venv/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 830, in apply_driver_hacks
Can someone tell me please what I am missing?
Thank you
Metadata
Metadata
Assignees
Labels
No labels