First time here? Check out the FAQ!

Ask Your Question
0

How to resolve the problem of Sage app version in Lion

asked 12 years ago

Naji gravatar image

updated 5 years ago

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/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage

  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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

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-5.6-OSX-64bit-10.6.app/Contents/Resources/sage

./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.

Preview: (hide)
link

Comments

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 ( 12 years ago )

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

kcrisman gravatar imagekcrisman ( 12 years ago )

I think this is caused by a bug I just fixed in [bug #11026](http://trac.sagemath.org/sage_trac/ticket/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 ( 12 years ago )

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

Ivan Andrus gravatar imageIvan Andrus ( 12 years ago )

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: 12 years ago

Seen: 853 times

Last updated: Jan 26 '13