I am getting the below error when running my main.py file and I tried installing it on the bash console but I keep getting error.
2021-08-05 05:07:06,285: Error running WSGI application
2021-08-05 05:07:06,292: from main import app as application # noqa
2021-08-05 05:07:06,292:
2021-08-05 05:07:06,293: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-05 05:07:06,293: import views, models
2021-08-05 05:07:06,293:
2021-08-05 05:07:06,293: File "/home/Nathaniel/mysite/views.py", line 4, in <module>
2021-08-05 05:07:06,293: from main import db
2021-08-05 05:07:06,293: ***************************************************
2021-08-05 05:07:06,294: If you're seeing an import error and don't know why,
2021-08-05 05:07:06,294: we have a dedicated help page to help you debug:
2021-08-05 05:07:06,294: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 05:07:06,294: ***************************************************
2021-08-05 05:08:14,369: Error running WSGI application
2021-08-05 05:08:14,374: ImportError: cannot import name 'db' from partially initialized module 'main' (most likely due to a circular import) (/home/Nathaniel/mysite/main.py)
2021-08-05 05:08:14,374: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 05:08:14,374: from main import app as application # noqa
2021-08-05 05:08:14,374:
2021-08-05 05:08:14,374: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-05 05:08:14,375: import views, models
2021-08-05 05:08:14,375:
2021-08-05 05:08:14,375: File "/home/Nathaniel/mysite/views.py", line 4, in <module>
2021-08-05 05:08:14,375: from main import db
2021-08-05 05:08:14,375: ***************************************************
2021-08-05 05:08:14,375: If you're seeing an import error and don't know why,
2021-08-05 05:08:14,376: we have a dedicated help page to help you debug:
2021-08-05 05:08:14,376: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 05:08:14,376: ***************************************************
2021-08-05 05:42:56,442: Error running WSGI application
2021-08-05 05:42:56,448: ImportError: cannot import name 'db' from partially initialized module 'main' (most likely due to a circular import) (/home/Nathaniel/mysite/main.py)
2021-08-05 05:42:56,448: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 05:42:56,449: from main import app as application # noqa
2021-08-05 05:42:56,449:
2021-08-05 05:42:56,449: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-05 05:42:56,449: import views, models
2021-08-05 05:42:56,449:
2021-08-05 05:42:56,449: File "/home/Nathaniel/mysite/views.py", line 4, in <module>
2021-08-05 05:42:56,449: from main import db
2021-08-05 05:42:56,449: ***************************************************
2021-08-05 05:42:56,449: If you're seeing an import error and don't know why,
2021-08-05 05:42:56,450: we have a dedicated help page to help you debug:
2021-08-05 05:42:56,450: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 05:42:56,450: ***************************************************
2021-08-05 06:06:00,248: Error running WSGI application
2021-08-05 06:06:00,249: ImportError: cannot import name 'db' from partially initialized module 'main' (most likely due to a circular import) (/home/Nathaniel/mysite/main.py)
2021-08-05 06:06:00,249: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 06:06:00,250: from main import app as application # noqa
2021-08-05 06:06:00,250:
2021-08-05 06:06:00,250: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-05 06:06:00,250: import views, models
2021-08-05 06:06:00,250:
2021-08-05 06:06:00,250: File "/home/Nathaniel/mysite/views.py", line 4, in <module>
2021-08-05 06:06:00,250: from main import db
2021-08-05 06:06:00,250: ***************************************************
2021-08-05 06:06:00,250: If you're seeing an import error and don't know why,
2021-08-05 06:06:00,250: we have a dedicated help page to help you debug:
2021-08-05 06:06:00,250: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 06:06:00,251: ***************************************************
2021-08-05 07:24:28,324: Error running WSGI application
2021-08-05 07:24:28,326: File "/home/Nathaniel/mysite/main.py", line 72
2021-08-05 07:24:28,326:
2021-08-05 07:24:28,326: @blueprint.route()
2021-08-05 07:24:28,326:
2021-08-05 07:24:28,327: ^
2021-08-05 07:24:28,327:
2021-08-05 07:24:28,327: IndentationError: unindent does not match any outer indentation level
2021-08-05 07:24:28,327: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 07:24:28,327: from main import app as application # noqa
2021-08-05 07:24:28,327: ***************************************************
2021-08-05 07:24:28,327: If you're seeing an import error and don't know why,
2021-08-05 07:24:28,327: we have a dedicated help page to help you debug:
2021-08-05 07:24:28,328: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 07:24:28,328: ***************************************************
2021-08-05 07:27:54,388: Error running WSGI application
2021-08-05 07:27:54,390: File "/home/Nathaniel/mysite/main.py", line 72
2021-08-05 07:27:54,390:
2021-08-05 07:27:54,390: @blueprint.route()
2021-08-05 07:27:54,390:
2021-08-05 07:27:54,391: ^
2021-08-05 07:27:54,391:
2021-08-05 07:27:54,391: IndentationError: unindent does not match any outer indentation level
2021-08-05 07:27:54,391: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 07:27:54,391: from main import app as application # noqa
2021-08-05 07:27:54,392: ***************************************************
2021-08-05 07:27:54,392: If you're seeing an import error and don't know why,
2021-08-05 07:27:54,392: we have a dedicated help page to help you debug:
2021-08-05 07:27:54,392: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 07:27:54,392: ***************************************************
2021-08-05 07:36:54,594: Error running WSGI application
2021-08-05 07:36:54,597: File "/home/Nathaniel/mysite/main.py", line 72
2021-08-05 07:36:54,597:
2021-08-05 07:36:54,597: @blueprint.route()
2021-08-05 07:36:54,597:
2021-08-05 07:36:54,597: ^
2021-08-05 07:36:54,598:
2021-08-05 07:36:54,598: IndentationError: unindent does not match any outer indentation level
2021-08-05 07:36:54,598: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 07:36:54,598: from main import app as application # noqa
2021-08-05 07:36:54,598: ***************************************************
2021-08-05 07:36:54,599: If you're seeing an import error and don't know why,
2021-08-05 07:36:54,599: we have a dedicated help page to help you debug:
2021-08-05 07:36:54,599: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 07:36:54,599: ***************************************************
2021-08-05 08:40:58,575: Error running WSGI application
2021-08-05 08:40:58,578: File "/home/Nathaniel/mysite/main.py", line 72
2021-08-05 08:40:58,578:
2021-08-05 08:40:58,579: @blueprint.route()
2021-08-05 08:40:58,579:
2021-08-05 08:40:58,579: ^
2021-08-05 08:40:58,579:
2021-08-05 08:40:58,579: IndentationError: unindent does not match any outer indentation level
2021-08-05 08:40:58,579: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 08:40:58,580: from main import app as application # noqa
2021-08-05 08:40:58,580: ***************************************************
2021-08-05 08:40:58,580: If you're seeing an import error and don't know why,
2021-08-05 08:40:58,580: we have a dedicated help page to help you debug:
2021-08-05 08:40:58,580: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 08:40:58,580: ***************************************************
2021-08-05 08:41:08,142: Error running WSGI application
2021-08-05 08:41:08,142: File "/home/Nathaniel/mysite/main.py", line 72
2021-08-05 08:41:08,142:
2021-08-05 08:41:08,143: @blueprint.route()
2021-08-05 08:41:08,143:
2021-08-05 08:41:08,143: ^
2021-08-05 08:41:08,143:
2021-08-05 08:41:08,143: IndentationError: unindent does not match any outer indentation level
2021-08-05 08:41:08,143: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 08:41:08,143: from main import app as application # noqa
2021-08-05 08:41:08,144: ***************************************************
2021-08-05 08:41:08,144: If you're seeing an import error and don't know why,
2021-08-05 08:41:08,144: we have a dedicated help page to help you debug:
2021-08-05 08:41:08,144: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 08:41:08,144: ***************************************************
2021-08-05 09:55:32,161: TypeError: route() missing 1 required positional argument: 'rule'
2021-08-05 09:55:32,161: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 09:55:32,162:
2021-08-05 09:55:32,162: File "/home/Nathaniel/mysite/main.py", line 72, in <module>
2021-08-05 09:55:32,162: @blueprint.route()
2021-08-05 09:55:32,162: If you're seeing an import error and don't know why,
2021-08-05 09:55:32,162: we have a dedicated help page to help you debug:
2021-08-05 09:55:32,162: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 09:55:32,162: ***************************************************
2021-08-05 09:55:36,216: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 09:55:36,216: from main import app as application # noqa
2021-08-05 09:55:36,216:
2021-08-05 09:55:36,216: File "/home/Nathaniel/mysite/main.py", line 72, in <module>
2021-08-05 09:55:36,216: @blueprint.route()
2021-08-05 09:55:36,216: ***************************************************
2021-08-05 09:55:36,217: If you're seeing an import error and don't know why,
2021-08-05 09:55:36,217: we have a dedicated help page to help you debug:
2021-08-05 09:55:36,217: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 09:55:36,217: ***************************************************
2021-08-05 09:57:22,013: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 09:57:52,490: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 10:02:56,070: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:19:24,172: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:42:50,132: Error running WSGI application
2021-08-05 13:42:50,138: TypeError: logout_user() takes 0 positional arguments but 1 was given
2021-08-05 13:42:50,138: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 13:42:50,138: from main import app as application # noqa
2021-08-05 13:42:50,138:
2021-08-05 13:42:50,139: File "/home/Nathaniel/mysite/main.py", line 74, in <module>
2021-08-05 13:42:50,139: def logout():
2021-08-05 13:42:50,139: ***************************************************
2021-08-05 13:42:50,139: If you're seeing an import error and don't know why,
2021-08-05 13:42:50,139: we have a dedicated help page to help you debug:
2021-08-05 13:42:50,139: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 13:42:50,139: ***************************************************
2021-08-05 13:43:54,650: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:44:06,606: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:44:56,403: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:51:28,009: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:51:30,574: Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/Nathaniel/mysite/views.py", line 13, in home
infogol=pd.read_csv('dumps\\today\\infogol-050821.csv')
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 948, in __init__
self._make_engine(self.engine)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/usr/local/lib/python3.9/site-packages/pandas/io/parsers.py", line 2010, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] No such file or directory: 'dumps\\today\\infogol-050821.csv'
2021-08-05 13:58:10,102: Error running WSGI application
2021-08-05 13:58:10,106: TypeError: logout_user() takes 0 positional arguments but 1 was given
2021-08-05 13:58:10,107: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 13:58:10,107: from main import app as application # noqa
2021-08-05 13:58:10,107:
2021-08-05 13:58:10,107: File "/home/Nathaniel/mysite/main.py", line 71, in <module>
2021-08-05 13:58:10,107: def logout():
2021-08-05 13:58:10,107: ***************************************************
2021-08-05 13:58:10,108: If you're seeing an import error and don't know why,
2021-08-05 13:58:10,108: we have a dedicated help page to help you debug:
2021-08-05 13:58:10,108: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 13:58:10,108: ***************************************************
2021-08-05 14:10:30,469: Error running WSGI application
2021-08-05 14:10:30,473: TypeError: logout_user() takes 0 positional arguments but 1 was given
2021-08-05 14:10:30,473: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 14:10:30,473: from main import app as application # noqa
2021-08-05 14:10:30,473:
2021-08-05 14:10:30,473: File "/home/Nathaniel/mysite/main.py", line 71, in <module>
2021-08-05 14:10:30,473: def logout():
2021-08-05 14:10:30,474: ***************************************************
2021-08-05 14:10:30,474: If you're seeing an import error and don't know why,
2021-08-05 14:10:30,474: we have a dedicated help page to help you debug:
2021-08-05 14:10:30,474: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 14:10:30,474: ***************************************************
2021-08-05 14:10:36,385: Error running WSGI application
2021-08-05 14:10:36,386: TypeError: logout_user() takes 0 positional arguments but 1 was given
2021-08-05 14:10:36,386: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 14:10:36,387: from main import app as application # noqa
2021-08-05 14:10:36,387:
2021-08-05 14:10:36,387: File "/home/Nathaniel/mysite/main.py", line 71, in <module>
2021-08-05 14:10:36,387: def logout():
2021-08-05 14:10:36,387: ***************************************************
2021-08-05 14:10:36,387: If you're seeing an import error and don't know why,
2021-08-05 14:10:36,388: we have a dedicated help page to help you debug:
2021-08-05 14:10:36,388: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 14:10:36,388: ***************************************************
2021-08-05 17:34:46,351: Error running WSGI application
2021-08-05 17:34:46,352: TypeError: route() missing 1 required positional argument: 'rule'
2021-08-05 17:34:46,352: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-08-05 17:34:46,353: from main import app as application # noqa
2021-08-05 17:34:46,353:
2021-08-05 17:34:46,353: File "/home/Nathaniel/mysite/main.py", line 69, in <module>
2021-08-05 17:34:46,353: @blueprint.route()
2021-08-05 17:34:46,353: ***************************************************
2021-08-05 17:34:46,353: If you're seeing an import error and don't know why,
2021-08-05 17:34:46,353: we have a dedicated help page to help you debug:
2021-08-05 17:34:46,353: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-05 17:34:46,353: ***************************************************
2021-08-06 04:43:22,141: Error running WSGI application
2021-08-06 04:43:22,144: ModuleNotFoundError: No module named 'pandas'
2021-08-06 04:43:22,144: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 04:43:22,144: from main import app as application # noqa
2021-08-06 04:43:22,144:
2021-08-06 04:43:22,145: File "/home/Nathaniel/mysite/main.py", line 3, in <module>
2021-08-06 04:43:22,145: import pandas as pd
2021-08-06 04:43:22,145: ***************************************************
2021-08-06 04:43:22,145: If you're seeing an import error and don't know why,
2021-08-06 04:43:22,145: we have a dedicated help page to help you debug:
2021-08-06 04:43:22,145: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 04:43:22,145: ***************************************************
2021-08-06 04:48:46,321: Error running WSGI application
2021-08-06 04:48:46,327: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 04:48:46,327: from main import app as application # noqa
2021-08-06 04:48:46,327:
2021-08-06 04:48:46,327: File "/home/Nathaniel/mysite/main.py", line 5, in <module>
2021-08-06 04:48:46,328: we have a dedicated help page to help you debug:
2021-08-06 04:48:46,328: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 04:48:46,328: ***************************************************
2021-08-06 04:49:32,128: Error running WSGI application
2021-08-06 04:49:32,133: ModuleNotFoundError: No module named 'flask_sqlalchemy'
2021-08-06 04:49:32,133: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 04:49:32,134: from main import app as application # noqa
2021-08-06 04:49:32,134:
2021-08-06 04:49:32,134: File "/home/Nathaniel/mysite/main.py", line 5, in <module>
2021-08-06 04:49:32,134: from config import Config, SECRET_KEY, SECRET_SALT
2021-08-06 04:49:32,134:
2021-08-06 04:49:32,134: File "/home/Nathaniel/mysite/config.py", line 3, in <module>
2021-08-06 04:49:32,134: from flask_sqlalchemy import SQLAlchemy
2021-08-06 04:49:32,134: ***************************************************
2021-08-06 04:49:32,134: If you're seeing an import error and don't know why,
2021-08-06 04:49:32,135: we have a dedicated help page to help you debug:
2021-08-06 04:49:32,135: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 04:49:32,135: ***************************************************
2021-08-06 04:49:56,184: from main import app as application # noqa
2021-08-06 04:49:56,185:
2021-08-06 04:49:56,185: File "/home/Nathaniel/mysite/main.py", line 5, in <module>
2021-08-06 04:49:56,185: from config import Config, SECRET_KEY, SECRET_SALT
2021-08-06 04:49:56,185: from flask_sqlalchemy import SQLAlchemy
2021-08-06 04:49:56,186: ***************************************************
2021-08-06 04:49:56,186: If you're seeing an import error and don't know why,
2021-08-06 04:49:56,186: we have a dedicated help page to help you debug:
2021-08-06 04:49:56,186: ***************************************************
2021-08-06 04:50:12,140: Error running WSGI application
2021-08-06 04:50:12,141: ModuleNotFoundError: No module named 'flask_sqlalchemy'
2021-08-06 04:50:12,141: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 04:50:12,141: from main import app as application # noqa
2021-08-06 04:50:12,141:
2021-08-06 04:50:12,141: File "/home/Nathaniel/mysite/main.py", line 5, in <module>
2021-08-06 04:50:12,141: from config import Config, SECRET_KEY, SECRET_SALT
2021-08-06 04:50:12,141:
2021-08-06 04:50:12,142: File "/home/Nathaniel/mysite/config.py", line 3, in <module>
2021-08-06 04:50:12,142: from flask_sqlalchemy import SQLAlchemy
2021-08-06 04:50:12,142: ***************************************************
2021-08-06 04:50:12,142: If you're seeing an import error and don't know why,
2021-08-06 04:50:12,142: we have a dedicated help page to help you debug:
2021-08-06 04:50:12,142: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 04:50:12,142: ***************************************************
2021-08-06 05:05:58,102: ModuleNotFoundError: No module named 'flask_security'
2021-08-06 05:05:58,102: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 05:05:58,102: from main import app as application # noqa
2021-08-06 05:05:58,103: ***************************************************
2021-08-06 05:05:58,103: If you're seeing an import error and don't know why,
2021-08-06 05:30:42,280: Error running WSGI application
2021-08-06 05:30:42,286: ModuleNotFoundError: No module named 'flask_security'
2021-08-06 05:30:42,286: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 05:30:42,286: from main import app as application # noqa
2021-08-06 05:30:42,286:
2021-08-06 05:30:42,287: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-06 05:30:42,287: import models
2021-08-06 05:30:42,287:
2021-08-06 05:30:42,287: File "/home/Nathaniel/mysite/models.py", line 5, in <module>
2021-08-06 05:30:42,287: from flask_security.core import RoleMixin, UserMixin
2021-08-06 05:30:42,287: ***************************************************
2021-08-06 05:30:42,288: If you're seeing an import error and don't know why,
2021-08-06 05:30:42,288: we have a dedicated help page to help you debug:
2021-08-06 05:30:42,288: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 05:30:42,288: ***************************************************
2021-08-06 05:40:10,299: Error running WSGI application
2021-08-06 05:40:10,300: Exception: Install 'email_validator' for email validation support.
2021-08-06 05:40:10,300: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 05:40:10,300: from main import app as application # noqa
2021-08-06 05:40:10,301:
2021-08-06 05:40:10,301: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-06 05:40:10,301: import models
2021-08-06 05:40:10,301:
2021-08-06 05:40:10,301: File "/home/Nathaniel/mysite/models.py", line 5, in <module>
2021-08-06 05:40:10,301: from flask_security.core import RoleMixin, UserMixin
2021-08-06 05:40:10,301:
2021-08-06 05:40:10,302: File "/home/Nathaniel/.virtualenvs/flaskenv/lib/python3.9/site-packages/flask_security/__init__.py", line 13, in <module>
2021-08-06 05:40:10,302: from .core import Security, RoleMixin, UserMixin, AnonymousUser, current_user
2021-08-06 05:40:10,302:
2021-08-06 05:40:10,302: File "/home/Nathaniel/.virtualenvs/flaskenv/lib/python3.9/site-packages/flask_security/core.py", line 28, in <module>
2021-08-06 05:40:10,302: from .forms import ChangePasswordForm, ConfirmRegisterForm, \
2021-08-06 05:40:10,302:
2021-08-06 05:40:10,302: File "/home/Nathaniel/.virtualenvs/flaskenv/lib/python3.9/site-packages/flask_security/forms.py", line 69, in <module>
2021-08-06 05:40:10,302: email_validator = Email(message='INVALID_EMAIL_ADDRESS')
2021-08-06 05:40:10,303:
2021-08-06 05:40:10,303: raise Exception("Install 'email_validator' for email validation support.")
2021-08-06 05:40:10,303: ***************************************************
2021-08-06 05:40:10,304: ***************************************************
2021-08-06 05:49:12,026: Error running WSGI application
2021-08-06 05:49:12,033: ModuleNotFoundError: No module named 'flask_migrate'
2021-08-06 05:49:12,033: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 05:49:12,033: from main import app as application # noqa
2021-08-06 05:49:12,033:
2021-08-06 05:49:12,033: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-06 05:49:12,033: import models
2021-08-06 05:49:12,033:
2021-08-06 05:49:12,033: File "/home/Nathaniel/mysite/models.py", line 10, in <module>
2021-08-06 05:49:12,034: from app import db
2021-08-06 05:49:12,034:
2021-08-06 05:49:12,034: File "/home/Nathaniel/mysite/app.py", line 8, in <module>
2021-08-06 05:49:12,034: from flask_migrate import Migrate
2021-08-06 05:49:12,034: ***************************************************
2021-08-06 05:49:12,034: If you're seeing an import error and don't know why,
2021-08-06 05:49:12,034: we have a dedicated help page to help you debug:
2021-08-06 05:49:12,034: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 05:49:12,034: ***************************************************
2021-08-06 05:49:18,449: from main import app as application # noqa
2021-08-06 05:49:18,449:
2021-08-06 05:49:18,449: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-06 05:49:18,449: import models
2021-08-06 05:49:18,449: File "/home/Nathaniel/mysite/models.py", line 10, in <module>
2021-08-06 05:49:18,450: from app import db
2021-08-06 05:49:18,450:
2021-08-06 05:49:18,450: File "/home/Nathaniel/mysite/app.py", line 8, in <module>
2021-08-06 05:49:18,450: from flask_migrate import Migrate
2021-08-06 05:49:18,450: ***************************************************
2021-08-06 05:49:18,450: If you're seeing an import error and don't know why,
2021-08-06 05:49:18,450: we have a dedicated help page to help you debug:
2021-08-06 05:49:18,450: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 05:49:18,450: ***************************************************
2021-08-06 05:51:16,218: Error running WSGI application
2021-08-06 05:51:16,219: ModuleNotFoundError: No module named 'flask_admin'
2021-08-06 05:51:16,219: File "/var/www/nathaniel_pythonanywhere_com_wsgi.py", line 82, in <module>
2021-08-06 05:51:16,219: from main import app as application # noqa
2021-08-06 05:51:16,219:
2021-08-06 05:51:16,219: File "/home/Nathaniel/mysite/main.py", line 6, in <module>
2021-08-06 05:51:16,219: import models
2021-08-06 05:51:16,220:
2021-08-06 05:51:16,220: File "/home/Nathaniel/mysite/models.py", line 10, in <module>
2021-08-06 05:51:16,220: from app import db
2021-08-06 05:51:16,220:
2021-08-06 05:51:16,220: File "/home/Nathaniel/mysite/app.py", line 10, in <module>
2021-08-06 05:51:16,220: from flask_admin import Admin
2021-08-06 05:51:16,220: ***************************************************
2021-08-06 05:51:16,221: If you're seeing an import error and don't know why,
2021-08-06 05:51:16,221: we have a dedicated help page to help you debug:
2021-08-06 05:51:16,221: https://help.pythonanywhere.com/pages/DebuggingImportError/
2021-08-06 05:51:16,221: ***************************************************
[edit by admin: formatting]