Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Workaround for socket permission errors on Cygwin#4584

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
blink1073 merged 2 commits intojupyter:masterfromembray:cygwin/bind-eperm
Jun 7, 2020

Conversation

@embray
Copy link
Contributor

As reported firsthere, when running on Cygwin if the notebook server tries to bind on the default port (say 8888) and this results in a permission error for some reason (perhaps a service is installed that as exclusive permission to use that port) the notebook server crashes instead of automatically trying another port.

I confirmed that this is likely due to abug in Cygwin such that it does not properly map theWSAEACCES winsock error code to the POSIXEACCES.

This provides a simple workaround--unfortunately the workaround can in principle mask other errors (since theEPERM set by Cygwin is a default fallback for unrecognized winsock errors), but this is going to be the most likely culprit for users.

@embray
Copy link
ContributorAuthor

Error on Travis appears to be spurious.

@blink1073
Copy link
Contributor

Kicking CI.

Copy link
Contributor

@blink1073blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@blink1073blink1073 merged commit8e7c99a intojupyter:masterJun 7, 2020
@blink1073blink1073 added this to the6.1 milestoneJun 7, 2020
@embrayembray deleted the cygwin/bind-eperm branchJune 8, 2020 12:12
@embray
Copy link
ContributorAuthor

Oh cool, I forgot about this. Thanks for accepting the fix.

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 23, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@blink1073blink1073blink1073 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

2 participants

@embray@blink1073

[8]ページ先頭

©2009-2025 Movatter.jp