Ask Your Question

andresfelipeordonez's profile - activity

2015-12-21 07:16:25 +0100 received badge  Famous Question (source)
2015-12-21 07:16:25 +0100 received badge  Notable Question (source)
2015-04-17 05:11:20 +0100 received badge  Popular Question (source)
2013-03-09 11:05:19 +0100 commented question recover worksheets from the sage_notebook.sagenb directory?

ebs I tried replacing the .sage/ from the new computer by that from the old computer and it didn't work, and now that I renamed the directories as they were before I can't start the notebook :(

2013-03-09 11:04:20 +0100 answered a question recover worksheets from the sage_notebook.sagenb directory?

ebs I tried replacing the .sage/ from the new computer by that from the old computer and it didn't work, and now that I renamed the directories as they were before I can't start the notebook :(

Here's the traceback

EOFError Traceback (most recent call last) <ipython-input-1-3728cb3d7c7d> in <module>() ----> 1 notebook()

/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, args, *kwds) 221 """ 222 def __call__(self, args, *kwds): --> 223 return self.notebook(args, *kwds) 224 225 notebook = run_notebook.notebook_run

/usr/lib/sagemath/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_run(self, directory, port, interface, port_tries, secure, reset, accounts, openid, server_pool, ulimit, timeout, upload, automatic_login, start_path, fork, quiet, server, profile, subnets, require_login, open_viewer, address) 526 # if none use defaults 527 --> 528 nb = notebook.load_notebook(directory) 529 530 directory = nb._dir

/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure, user_manager) 1795 1796 dir = make_path_relative(dir) -> 1797 nb = Notebook(dir) 1798 nb.interface = interface 1799 nb.port = port

/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir, user_manager) 138 # Now set the configuration, loaded from the datastore. 139 try: --> 140 self.__conf = S.load_server_conf() 141 except IOError: 142 # Worksheet has never been saved before, so the server conf doesn't exist.

/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_server_conf(self) 219
220 def load_server_conf(self): --> 221 return self._basic_to_server_conf(self._load('conf.pickle')) 222
223 def save_server_conf(self, server_conf):

/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self, filename) 165 def _load(self, filename): 166 with open(self._abspath(filename)) as f: --> 167 result = cPickle.load(f) 168 return result 169

EOFError:

2013-03-05 13:29:08 +0100 received badge  Student (source)
2013-03-05 13:09:24 +0100 asked a question recover worksheets from the sage_notebook.sagenb directory?

Hi, I used to have sage installed in an old computer and when I got a new one I only copied the .sage directory. Now I need access to the worksheets that I had in my old computer through the old .sage directory. I already installed sage in the new computer and renamed the old .sage directory .sage_old

notebook(".sage_old/sage_notebook.sagenb") doesn't work, so, is there anyway to force the new sage to use the data from the old sage notebook?