Ask Your Question

How to resolve the problem of Sage app version in Lion

asked 2012-04-05 05:13:04 -0500

Naji gravatar image

updated 2015-01-13 15:38:36 -0500

FrédéricC gravatar image

I have managed to find a solution to the ones that has lion and cannot start Sage from the applications directory. These are the instructions:

  1. Open the terminal window
  2. Type login and enter your username as user and password as your password in Mac OSX
  3. Type

    cd /Applications/

  4. type

    ./sage -notebook

  5. it will set the required permissions and ask for a login password. So select a password.

Congragulations! you can now start sage app whenever you want to.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2013-01-26 08:39:38 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

On Lion i ran into an additional problem. I had started the 10.6 server the night before and when i returned the next day, i could not connect to it through the browser because it kept asking for login id/passwd, but i don't have any id/passwd setup. I modified your suggestion slightly in order to get things to work for me. The problem appears to be that a server was running but not visible, so every attempt to restart the server simply caused a conflict with the other server that was already running.

do the following from a terminal window

ps A | fgrep -i sage
// Kill all sage process with a simple "kill <pid> <pid>" etc.
// CD to proper application version which is 10.6 for Lion.

// Now follow instructions provided earlier
cd /Applications/

./sage -notebook // This will open the worksheet in default browser.

I was not prompted for any login credentials and this opened my default workspace showing both of my existing worksheets.

edit flag offensive delete link more


Sometimes same thing happens to me and using Activity monitor, I close all instances of python to make sure the server is shut down!

Naji gravatar imageNaji ( 2013-01-26 08:51:35 -0500 )edit

Thanks, I'm passing this on to the app developer. There are indeed occasionally stray processes.

kcrisman gravatar imagekcrisman ( 2013-01-27 14:02:44 -0500 )edit

I think this is caused by a bug I just fixed in [bug #11026]( If anyone can help test this on Lion to get it positively reviewed I think it would be a huge help to everyone.

Ivan Andrus gravatar imageIvan Andrus ( 2013-01-27 20:21:51 -0500 )edit

By "this" I mean this "answer", not the "question" on this page.

Ivan Andrus gravatar imageIvan Andrus ( 2013-01-27 20:22:51 -0500 )edit

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


Asked: 2012-04-05 05:13:04 -0500

Seen: 508 times

Last updated: Jan 26 '13