Skip to content

System Exit Error #1

Description

@bishalbarkalita

When the file app.py was tried to run Jupyter Notebook the error shown are
SystemExit Traceback (most recent call last)
Input In [1], in <cell line: 19>()
17 mysql = MySQL(app)
19 if name == 'main':
---> 20 app.run(debug=True, port=8000)

File ~\anaconda3\lib\site-packages\flask\app.py:990, in Flask.run(self, host, port, debug, load_dotenv, **options)
987 from werkzeug.serving import run_simple
989 try:
--> 990 run_simple(host, port, self, **options)
991 finally:
992 # reset the first request information if the development server
993 # reset normally. This makes it possible to restart the server
994 # without reloader and that stuff from an interactive shell.
995 self._got_first_request = False

File ~\anaconda3\lib\site-packages\werkzeug\serving.py:1009, in run_simple(hostname, port, application, use_reloader, use_debugger, use_evalex, extra_files, exclude_patterns, reloader_interval, reloader_type, threaded, processes, request_handler, static_files, passthrough_errors, ssl_context)
1005 os.unlink(server_address)
1007 from ._reloader import run_with_reloader as _rwr
-> 1009 _rwr(
1010 inner,
1011 extra_files=extra_files,
1012 exclude_patterns=exclude_patterns,
1013 interval=reloader_interval,
1014 reloader_type=reloader_type,
1015 )
1016 else:
1017 inner()

File ~\anaconda3\lib\site-packages\werkzeug_reloader.py:428, in run_with_reloader(main_func, extra_files, exclude_patterns, interval, reloader_type)
426 reloader.run()
427 else:
--> 428 sys.exit(reloader.restart_with_reloader())
429 except KeyboardInterrupt:
430 pass

SystemExit: 1

Can you solve the problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions