sagemath notebook have no open ports
When I open a sws file in sagemath 7.5.1, I get the following error:
RuntimeError: no available port.
How to repair it.
By the way, is there some easily method to convert sws files to ipynb files.
Thanks.
I think to answer the first question we'll need more information about how you are using Sage, what you downloaded, how you try to open them, etc.
My OS is macOS Sierra 10.12.3
Sagemath installed from pre-built binarie: sage-7.5.1-OSX_10.11.6-x86_64.app.dmg
The web browse can not be open whether click sws files or run " /Applications/SageMath-7.5.1.app"
But the jupyter notebook work well.
So you mean when you double click the app, it doesn't start?
Some potentially related questions: https://www.kubuntuforums.net/archive... and https://ask.sagemath.org/question/845... and https://ask.sagemath.org/question/869...
I would actually try restarting your computer first to make sure there aren't any stray sagenb processes causing this problem as well, though that usually manifests with a different error message.
The following is system log:
Checking install location Checking existence of SageNB directory Starting Notebook ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 7.5.1, Release Date: 2017-01-15 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Please wait while the old SageNB Notebook server starts... The notebook files are stored in: sage_notebook.sagenb Traceback (most recent call last):
File "/Applications/SageMath-7.5.1.app/Contents/Resources/sage/src/bin/sage-notebook", line 234, in <module> launcher(unknown)
File "/Applications/SageMath-7.5.1.app/Contents/Resources/sage/src/bin/sage-notebook", line 74, in __init__ notebook(self.args, *self.kwds)
File "/Applications/SageMath-7.5.1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook_object.py", line 239, in __call__ return self.notebook(args, *kwds)
File "/Applications/SageMath-7.5.1.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/run_notebook.py", line 606, in notebook_run port = find_next_available_port(interface, port, port_tries)