Ask Your Question

How to resolve the problem of Sage app version in Lion

asked 2012-04-05 12:13:04 +0200

Naji gravatar image

updated 2020-01-12 14:06:10 +0200

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 15:39:38 +0200

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 15:51:35 +0200 )edit

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

kcrisman gravatar imagekcrisman ( 2013-01-27 21:02:44 +0200 )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-28 03:21:51 +0200 )edit

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

Ivan Andrus gravatar imageIvan Andrus ( 2013-01-28 03:22:51 +0200 )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 12:13:04 +0200

Seen: 713 times

Last updated: Jan 26 '13