Thank you. On 19 February 2013 09:55, Jan Groenewald <[email protected]> wrote:
> HI > > Sometimes $SAGE_ROOT/.sage/sage_notebook.sagenb/conf.pickle or > users.pickle get corrupted. Try back them up elsewhere and try start > without them. A blank one will be created. > > Regards, > Jan > > > > On 19 February 2013 05:16, Santanu Sarkar > <[email protected]>wrote: > >> Dear all, >> when I type notebook(), I get the following error. >> Will you kindly help me? >> >> >> sage: notebook() >> >> --------------------------------------------------------------------------- >> EOFError Traceback (most recent call >> last) >> >> /home/a/.sage/<ipython console> in <module>() >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/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 >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/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 >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/sagenb/notebook/notebook.pyc >> in load_notebook(dir, interface, port, secure, user_manager) >> 1794 >> 1795 dir = make_path_relative(dir) >> -> 1796 nb = Notebook(dir) >> 1797 nb.interface = interface >> 1798 nb.port = port >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/sagenb/notebook/notebook.pyc >> in __init__(self, dir, user_manager) >> 147 # Set the list of users >> 148 try: >> --> 149 S.load_users(self._user_manager) >> 150 except IOError: >> 151 pass >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/sagenb/storage/filesystem_storage.pyc >> in load_users(self, user_manager) >> 265 {'admin': admin, 'wstein': wstein} >> 266 """ >> --> 267 for user in >> self._basic_to_users(self._load('users.pickle')).itervalues(): >> 268 user_manager.add_user_object(user, force=True) >> 269 user_manager.set_password(user.username(), >> user.password(), encrypt = False) >> >> /home/a/Downloads/sage-5.6-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/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: >> sage: >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sage-support?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > .~. > /V\ Jan Groenewald > /( )\ www.aims.ac.za > ^^-^^ > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
