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

fix: module 'signal' has no attribute 'SIGHUP' on Windows #325

Merged
merged 1 commit into from
Sep 1, 2019

Conversation

dkhokhlov
Copy link

Fix error on Windows that was introduced by change:
50cbbeb

(base) v:>jupyter kernelgateway
[KernelGatewayApp] Jupyter Kernel Gateway at http://127.0.0.1:8888
Traceback (most recent call last):
File "C:\Anaconda3\Scripts\jupyter-kernelgateway-script.py", line 9, in
sys.exit(launch_instance())
File "C:\Anaconda3\lib\site-packages\jupyter_core\application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "C:\Anaconda3\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance
app.start()
File "C:\Anaconda3\lib\site-packages\kernel_gateway\gatewayapp.py", line 549, in start
signal.signal(signal.SIGHUP, signal.SIG_IGN)
AttributeError: module 'signal' has no attribute 'SIGHUP'

Signed-off-by: Dmitri Khokhlov <dkhokhlov@hotmail.com>
dkhokhlov referenced this pull request Aug 31, 2019
Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thank you!

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

Successfully merging this pull request may close these issues.

2 participants