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

Take care of unclean shutdown with Ctrl+C KeyboardInterrupt #1

Open
dspruell opened this issue Sep 20, 2017 · 0 comments
Open

Take care of unclean shutdown with Ctrl+C KeyboardInterrupt #1

dspruell opened this issue Sep 20, 2017 · 0 comments
Labels

Comments

@dspruell
Copy link
Contributor

dspruell commented Sep 20, 2017

$ sudo ./venv.d/ampt-generator/bin/ampt-server 
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py", line 29, in poll
    pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt

A couple of exception handlers for KeyboardInterrupt have improved the situation, but need to figure out how to address a keyboard interrupt causing a messy looking traceback on exit.

Possible resources:

@dspruell dspruell added the bug label Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant