Ask Your Question
0

sagemath notebook have no open ports

asked 2017-03-20 08:32:14 +0200

danny gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

kcrisman gravatar imagekcrisman ( 2017-03-20 14:19:14 +0200 )edit

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.

danny gravatar imagedanny ( 2017-03-21 03:06:40 +0200 )edit

So you mean when you double click the app, it doesn't start?

kcrisman gravatar imagekcrisman ( 2017-03-21 15:47:57 +0200 )edit

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.

kcrisman gravatar imagekcrisman ( 2017-03-21 15:48:32 +0200 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-03-20 10:49:20 +0200

eric_g gravatar image

The answer to the second question is yes: the command

sage -n export --list

displays the list of of your sws files. Then to convert, say, the one listed as admin:10, run

sage -n export --ipynb=Output.ipynb admin:10

See sage -n --help for further details. In SageMath 8.0 (arriving just after 7.6), some automatic conversion will be implemented.

edit flag offensive delete link more
0

answered 2017-04-03 15:53:08 +0200

It should be repared now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-20 08:32:14 +0200

Seen: 447 times

Last updated: Apr 03 '17