Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot access notebook Mac OSX Lion

I downloaded sage-4.8-OSX-64bit-10.6-x86_64-Darwin-app.p0.dmg to my Mac OSX 10.7.3 (lion). I can start Sage from the terminal and do command line calculations, but when I say notebook() it gives me an error (traceback below). Same thing when I tried with the non-app version. It used to work fine when I was on Snow Leopard!

Traceback:

sage: notebook()

EOFError Traceback (most recent call last)

/Users/ramanath/.sage/<ipython console=""> in <module>()

/Applications/sage/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, args, *kwds) 215 """ 216 def __call__(self, args, *kwds): --> 217 return self.notebook(args, *kwds) 218 219 notebook = run_notebook.notebook_twisted

/Applications/sage/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets) 200 print '*' * 70 201 --> 202 nb = notebook.load_notebook(directory) 203 204 directory = nb._dir

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure) 1798 1799 dir = make_path_relative(dir) -> 1800 nb = Notebook(dir) 1801 nb.interface = interface 1802 nb.port = port

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir) 86 # Now set the configuration, loaded from the datastore. 87 try: ---> 88 self.__conf = S.load_server_conf() 89 except IOError: 90 # Worksheet has never been saved before, so the server conf doesn't exist.

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_server_conf(self) 181
182 def load_server_conf(self): --> 183 return self._basic_to_server_conf(self._load('conf.pickle')) 184
185 def save_server_conf(self, server_conf):

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self, filename) 132 ######################################################################### 133 def _load(self, filename): --> 134 return cPickle.load(open(self._abspath(filename))) 135 136 def _save(self, obj, filename, ):

EOFError: sage:

click to hide/show revision 2
retagged

Cannot access notebook Mac OSX Lion

I downloaded sage-4.8-OSX-64bit-10.6-x86_64-Darwin-app.p0.dmg to my Mac OSX 10.7.3 (lion). I can start Sage from the terminal and do command line calculations, but when I say notebook() it gives me an error (traceback below). Same thing when I tried with the non-app version. It used to work fine when I was on Snow Leopard!

Traceback:

sage: notebook()

EOFError Traceback (most recent call last)

/Users/ramanath/.sage/<ipython console=""> in <module>()

/Applications/sage/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, args, *kwds) 215 """ 216 def __call__(self, args, *kwds): --> 217 return self.notebook(args, *kwds) 218 219 notebook = run_notebook.notebook_twisted

/Applications/sage/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets) 200 print '*' * 70 201 --> 202 nb = notebook.load_notebook(directory) 203 204 directory = nb._dir

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure) 1798 1799 dir = make_path_relative(dir) -> 1800 nb = Notebook(dir) 1801 nb.interface = interface 1802 nb.port = port

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir) 86 # Now set the configuration, loaded from the datastore. 87 try: ---> 88 self.__conf = S.load_server_conf() 89 except IOError: 90 # Worksheet has never been saved before, so the server conf doesn't exist.

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_server_conf(self) 181
182 def load_server_conf(self): --> 183 return self._basic_to_server_conf(self._load('conf.pickle')) 184
185 def save_server_conf(self, server_conf):

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self, filename) 132 ######################################################################### 133 def _load(self, filename): --> 134 return cPickle.load(open(self._abspath(filename))) 135 136 def _save(self, obj, filename, ):

EOFError: sage:

Cannot access notebook Mac OSX Lion

I downloaded sage-4.8-OSX-64bit-10.6-x86_64-Darwin-app.p0.dmg to my Mac OSX 10.7.3 (lion). I can start Sage from the terminal and do command line calculations, but when I say notebook() it gives me an error (traceback below). Same thing when I tried with the non-app version. It used to work fine when I was on Snow Leopard!

Traceback:

Traceback:

sage: notebook()

notebook() --------------------------------------------------------------------------- EOFError Traceback (most recent call last)

last) /Users/ramanath/.sage/<ipython console=""> in <module>()

console> in <module>() /Applications/sage/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, args, *kwds) *args, **kwds) 215 """ 216 def __call__(self, args, *kwds): *args, **kwds): --> 217 return self.notebook(args, *kwds) self.notebook(*args, **kwds) 218 219 notebook = run_notebook.notebook_twisted

run_notebook.notebook_twisted /Applications/sage/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets) 200 print '*' * 70 201 --> 202 nb = notebook.load_notebook(directory) 203 204 directory = nb._dir

nb._dir /Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure) 1798 1799 dir = make_path_relative(dir) -> 1800 nb = Notebook(dir) 1801 nb.interface = interface 1802 nb.port = port

port /Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir) 86 # Now set the configuration, loaded from the datastore. 87 try: ---> 88 self.__conf = S.load_server_conf() 89 except IOError: 90 # Worksheet has never been saved before, so the server conf doesn't exist.

exist. /Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_server_conf(self) 181
182 def load_server_conf(self): --> 183 return self._basic_to_server_conf(self._load('conf.pickle')) 184
185 def save_server_conf(self, server_conf):

server_conf): /Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self, filename) 132 ######################################################################### 133 def _load(self, filename): --> 134 return cPickle.load(open(self._abspath(filename))) 135 136 def _save(self, obj, filename, ):

): EOFError: sage:

sage:
click to hide/show revision 4
retagged

Cannot access notebook Mac OSX Lion

I downloaded sage-4.8-OSX-64bit-10.6-x86_64-Darwin-app.p0.dmg to my Mac OSX 10.7.3 (lion). I can start Sage from the terminal and do command line calculations, but when I say notebook() it gives me an error (traceback below). Same thing when I tried with the non-app version. It used to work fine when I was on Snow Leopard!

Traceback:

sage: notebook()
---------------------------------------------------------------------------
EOFError                                  Traceback (most recent call last)

/Users/ramanath/.sage/<ipython console> in <module>()

/Applications/sage/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds)
    215     """
    216     def __call__(self, *args, **kwds):
--> 217         return self.notebook(*args, **kwds)
    218 
    219     notebook = run_notebook.notebook_twisted

/Applications/sage/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets)
    200         print '*' * 70
    201 
--> 202     nb = notebook.load_notebook(directory)
    203 
    204     directory = nb._dir

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure)
   1798 
   1799     dir = make_path_relative(dir)
-> 1800     nb = Notebook(dir)
   1801     nb.interface = interface
   1802     nb.port = port

/Applications/sage/devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir)
     86         # Now set the configuration, loaded from the datastore.
     87         try:
---> 88             self.__conf = S.load_server_conf()
     89         except IOError:
     90             # Worksheet has never been saved before, so the server conf doesn't exist.

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_server_conf(self)
    181     
    182     def load_server_conf(self):
--> 183         return self._basic_to_server_conf(self._load('conf.pickle'))
    184     
    185     def save_server_conf(self, server_conf):

/Applications/sage/devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self, filename)
    132     #########################################################################
    133     def _load(self, filename):
--> 134         return cPickle.load(open(self._abspath(filename)))
    135 
    136     def _save(self, obj, filename, ):

EOFError: 
sage: