Skip to content

Set kernel_id before checking websocket#6003

Merged
minrk merged 1 commit into
ipython:masterfrom
stevenmanton:master
Jun 17, 2014
Merged

Set kernel_id before checking websocket#6003
minrk merged 1 commit into
ipython:masterfrom
stevenmanton:master

Conversation

@stevenmanton
Copy link
Copy Markdown
Contributor

If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.

If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.
@minrk minrk added this to the 2.2 milestone Jun 17, 2014
minrk added a commit that referenced this pull request Jun 17, 2014
Set kernel_id before checking websocket
@minrk minrk merged commit bc81e09 into ipython:master Jun 17, 2014
@minrk
Copy link
Copy Markdown
Member

minrk commented Jun 17, 2014

thanks

minrk added a commit that referenced this pull request Jun 24, 2014
If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Set kernel_id before checking websocket
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