Hi, Thank for answering my question!
I found the same solution earlier which I reported at Sage Ask: http://ask.sagemath.org/question/196/service-temporarily-unavailable. Now, what is the cause? I suspect that memory leaks are causing this. I noticed several times that after a large number of loops (say 1 mln), suddenly Sage is starting to use memory. Sometimes 0,5Mb per loop. After a while the system halts, and I have to reset VMplayer with all the above consequences. Could memory leaks be the cause at your end too? N.B.: Unfortunally, memory leaks tickets are not often solved. Roland On 22 nov, 15:14, mandrake <mt02c...@gmail.com> wrote: > I ran into the same problems and I solved it by removing (or renaming) > the offending, empty files: > > /home/sage/.sage/sage_notebook.sagenb/conf.pickle > /home/sage/.sage/sage_notebook.sagenb/users.pickle > > That way sage does not try to load empty pickle files. > > I still was missing some of my notebook content though. If you're > lucky like me you have a snapshots folder in > '/home/sage/.sage/sage_notebook.sagenb/home/<user>/<notebook id>/'. > Pick the latest snapshot, extract and copy the contents of the file. > > Paste that content in "Edit plain text" mode in your notebook in the > browser, press "save changes" and presto you should have your contents > back. > > /Calle > > On 12 Nov, 22:09, Rolandb <rola...@planet.nl> wrote: > > > Hi, > > > I have a similar problem as Brian had > > earlier:http://groups.google.com/group/sage-support/browse_thread/thread/c56d... > > > If I start Sage from the command line with notebook(), I get the > > following messages: > > > sage: notebook() > > --------------------------------------------------------------------------- > > EOFError Traceback (most recent call > > last) > > > /home/sage/.sage/<ipython console> in <module>() > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/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 > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/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) > > 172 print '*'*70 > > 173 > > --> 174 nb = notebook.load_notebook(directory) > > 175 > > 176 directory = nb._dir > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/sagenb/notebook/notebook.pyc in load_notebook(dir, > > interface, port, secure) > > 1704 > > 1705 dir = make_path_relative(dir) > > -> 1706 nb = Notebook(dir) > > 1707 nb.interface = interface > > 1708 nb.port = port > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/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. > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/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): > > > /home/sage/sage/local/lib/python2.6/site-packages/sagenb-0.8.2- > > py2.6.egg/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: > > > --- > > > What to do? I'm very concerned I cannot reach my files! > > > My knowledge of Linux is almost zero... > > Dan Drake advised "One guess is to edit the filesystem_storage.py > > file, and just above line 134, put something like "print > > self._abspath(filename)" to figure out what file it is looking for. " > > For me ??? > > > Some detailed information: > > > * I use Sage version 4.5.3 via Firefox ( Windows) and VM player 3.1.1 > > (Ubuntu). > > > * If I start Sage notebook within VM-player, it shows only a flash of > > comments (I can't read it) and then the application closes. N.B.: If I > > could catch the information, it maybe would indicate the problem. > > However, I my knowledge of Linux is almost zero. > > > * If I start Firefox within VM-player, it shows the same information > > as the Windows version. > > > * If I use the terminal, Sage works. N.B.: Maybe via this route I can > > save my notebook files? > > > * Also older versions of Sage (4.1 and 4.5.1) run smoothly. N.B.: Is > > this a route to get access to my 4.5.3 notebook files? > > > Any help is very much appreciated! > > > If a solution is found, I will add it to Ask Sage. > > > Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org