-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Handle socket creation errors during start up #4522
Conversation
spyder/app/mainwindow.py
Outdated
"server to open external files: <br><br> {0} <br><br>" | ||
"Please, if you are using Windows, try to run as an " | ||
"administrator from cmd.exe the following command " | ||
"and restart your computer: <br><br>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to
An error occurred while creating a socket needed by Spyder. If you are on Windows, please try to run as an Administrator from cmd.exe the following command, and then restart your computer:
spyder/app/mainwindow.py
Outdated
except OSError as e: | ||
QMessageBox.warning(None, "Spyder", | ||
_("An error ocurred while creating the socket for the " | ||
"server to open external files: <br><br> {0} <br><br>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use the error message here.
Fixes #4132