Ask Your Question

sage notebook will not start after switching to Mavericks / Yosemite

asked 2014-11-03 15:13:36 +0100

u0 gravatar image

updated 2015-01-13 22:35:17 +0100

FrédéricC gravatar image

After purchasing a new Mac and transferring my data, the sage notebook fails to start on the new machine. I can run sage in the terminal however. The new Mac was originally running OS X Mavericks. I have now upgraded to OS X Yosemite. The notebook will still not start.

Does anyone know what's wrong? I would really appreciate a reasonable hint where to start looking for the cause of the problem.

The log output is copied below.

│ Sage Version 6.3, Release Date: 2014-08-10                         │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │

Please wait while the Sage Notebook server starts...
Traceback (most recent call last):
  File "/Applications/", line 34, in <module>
  File "lazy_import.pyx", line 358, in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3000)
  File "/Applications/", line 228, in __call__
    return self.notebook(*args, **kwds)
  File "/Applications/", line 529, in notebook_run
    nb = notebook.load_notebook(directory)
  File "/Applications/", line 1811, in load_notebook
    nb = Notebook(dir)
  File "/Applications/", line 150, in __init__
  File "/Applications/", line 267, in load_users
    for user in self._basic_to_users(self._load('users.pickle')).itervalues():
  File "/Applications/", line 167, in _load
    result = cPickle.load(f)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-11-09 13:17:22 +0100

Volker Braun gravatar image

The 10.9 binary will work on 10.10. You need sage-6.4 (-rc) to compile anything on Yosemite, though.

Your issue is a corrupted ~/.sage/sage_notebook.sagenb/users.pickle, rename it and try again.

edit flag offensive delete link more

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: 2014-11-03 15:13:36 +0100

Seen: 951 times

Last updated: Nov 12 '14