Ask Your Question
1

Shift-enter broken (again)

asked 2015-10-02 10:27:36 +0200

Pascal gravatar image

updated 2015-10-02 10:33:21 +0200

I have installed the (new) version of Sage (6.6) on my mac, and the shift-enter is not working, making the notebook pretty much useless. My former version 5.11 worked fine (although I remember having the same problem with it initially too, though it disappeared mysteriously). Note :

  • I have seen the post http://ask.sagemath.org/question/2515... but my PATH does not contain any non-unicode character.
  • I have tried with other browsers, but ... they ask me for a login/password which I don't have (Firefox logs me in automatically)
  • I still use online sage without problems
  • I don't see any "evaluate" button either (never have)

Any suggestions ? Thanks ! Pascal

My config : mac OS 10.9.5 (Maverick) with Firefox 41.0.1

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-10-03 10:41:38 +0200

kcrisman gravatar image

Almost certainly this is due to the JQuery upgrade a few versions back. All you should have to do is do a "hard cache reset" in your browser; how to do this varies by browser and you should look this up. It is probably still using old versions of those javascript functions and will then update to the "correct" ones.

By the way, you can open Sage with other browsers automatically using the SAGE_BROWSER environment variable, i.e.

$ SAGE_BROWSER='open -a Google\ Chrome' ./sage -n

Probably you did set a password the very first time you used Sage; you can get that back too using notebook(reset=True), if memory serves (this is probably elsewhere on ask.sagemath, too).

Finally, the latest Sage is 6.8, though perhaps there isn't a binary for yours?

edit flag offensive delete link more

Comments

Thanks @kcrisman. I did not know about this. Interesting also the SAGE_BROWSER and password reset (I don't need them now, but I'll keep that in mind). Cannot use the 6.8 for the moment, it isn't built for my "old" system version (10.9).

Pascal gravatar imagePascal ( 2015-10-03 13:08:13 +0200 )edit

Aha! I was hoping to build a binary for this on 10.7 and then forgot! I'm definitely planning to build one for Sage 6.9. Unfortunately Apple really doesn't make it easy to support older versions of their platform, grump grump grump.

kcrisman gravatar imagekcrisman ( 2015-10-03 20:42:27 +0200 )edit

(Though you should be able to build from source, if you are so inclined.)

kcrisman gravatar imagekcrisman ( 2015-10-03 20:43:01 +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

Stats

Asked: 2015-10-02 10:27:36 +0200

Seen: 454 times

Last updated: Oct 03 '15