Notebook problems

asked 2018-02-02 21:13:09 +0100

al gravatar image

I am asking this for the third time with more details, since there are no answers yet. Since my notebook isn't working, I am using the Cloud, but I'd like to get the notebook running again.

So, I have sagemath notebook installed on my Mac laptop, and it has been working fine until recently, maybe because I tried to run some 3d graphics program I found on the Sagemath manual. Then it froze up.

I can see all my files, but I cannot run any programs. There is no "evaluate" button. The box for a new program doesn't turn blue around the edge. If I open up a worksheet, and go back to the list of files, it says (running), though nothing is working. Also, the "Help" and "Report a Problem" and "log" buttons don't work. "Home" and "Sign Out" do.

I can sign out, log back in and it's still stuck. Restarting the Mac also doesn't help. Do I have to create a new notebook? Reinstall everything?

Help please !!!

thanks very much

edit retag flag offensive close merge delete

Comments

Morecomments: In answer to the comment: I have SAGE 7.2 installed on my mac with OSX 10.10.5. It opens in the Firefox browser. To install it I downloaded the Mac OSX binaries fior which it says Download Mac OS X binaries "These binaries are only for OS X 10.4 - 10.10. " from this page: http://www.sagemath.org/download.html

I am using the Sage notebook. There is no error message- it just doesn't work anymore, as described above. The "Discard and Quit" and Delete" buttons also don't work. If I open a file, it is marked (running) but Stpo doesn't stop it. To stop it, I can logout, then I start sage from terminal, kill the old PID, type notebook() and I see all the files, none are running.

al gravatar imageal ( 2018-02-02 22:09:34 +0100 )edit

Is it possible to start sage in the command line? If yes, loading / importing the one or the other file works?

dan_fulea gravatar imagedan_fulea ( 2018-02-03 22:04:47 +0100 )edit

Yes, I use /Applications/SageMath-7.2.app/Contents/Resources/sage/sage; exit then notebook()

Not sure how to test what you suggest, can you be more explicit? Thanks !!

al gravatar imageal ( 2018-02-04 01:36:01 +0100 )edit

This is a linux machine. On it i can start a terminal. In a terminal i can simply launch the iron python interpreter for sage simply as follows:

[dan@k7 ~]$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.1, Release Date: 2017-12-07                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage:

If i have a file ~/a.py containing only print r"Hello \/\/or|d", then running it may be done as follows:

sage: load("~/a.py")
Hello \/\/or|d

If a.py would have errors, then this interpreter gives valuable information on it.

dan_fulea gravatar imagedan_fulea ( 2018-02-08 01:08:06 +0100 )edit