On Sat, Nov 16, 2013 at 11:12 PM, Paul Z <[email protected]> wrote: > I still have the same notebook refresh problem: no evaluation until I hit > command-R. My java console log is empty, but the sage log shows lots of > errors (below). > > Please advise! > > Thanks, > Paul Zeitz > > 2013-11-17 00:03:57-0700 [-] WSGI application error > Traceback (most recent call last): > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-x86_64.egg/twisted/python/threadpool.py", > line 212, in _worker > o = self.q.get() > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-x86_64.egg/twisted/python/context.py", > line 118, in callWithContext > return self.currentContext().callWithContext(ctx, func, *args, **kw) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-x86_64.egg/twisted/python/context.py", > line 83, in callWithContext > self.contexts.pop() > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-x86_64.egg/twisted/web/wsgi.py", > line 340, in run > self.started = True > --- <exception caught here> --- > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-x86_64.egg/twisted/web/wsgi.py", > line 315, in run > appIterator = self.application(self.environ, self.startResponse) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1836, in __call__ > return self.wsgi_app(environ, start_response) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1820, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1403, in handle_exception > reraise(exc_type, exc_value, tb) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1817, in wsgi_app > response = self.full_dispatch_request() > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1477, in full_dispatch_request > rv = self.handle_user_exception(e) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1381, in handle_user_exception > reraise(exc_type, exc_value, tb) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1475, in full_dispatch_request > rv = self.dispatch_request() > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", > line 1461, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/flask_version/decorators.py", > line 22, in wrapper > return f(*args, **kwds) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/flask_version/worksheet.py", > line 46, in wrapper > return f(username, id, **kwds) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/flask_version/worksheet.py", > line 135, in wrapper > return f(*args, **kwds) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/flask_version/worksheet.py", > line 458, in worksheet_cell_update > g.notebook.add_to_user_history(H, g.username) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/notebook/notebook.py", > line 713, in add_to_user_history > history = self.user_history(username) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/notebook/notebook.py", > line 695, in user_history > for hunk in self.__storage.load_user_history(username): > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/storage/filesystem_storage.py", > line 311, in load_user_history > return self._load(filename) > File > "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/devel/sagenb/sagenb/storage/filesystem_storage.py", > line 167, in _load > result = cPickle.load(f) > exceptions.EOFError:
This means that some data related to the notebook is corrupt. Can you try stopping everything sage-related, moving $HOME/.sage to $HOME/.sage_tmp, and starting again? William > > > On Mon, Nov 11, 2013 at 11:10 PM, Paul Z <[email protected]> wrote: >> >> Hi Sage people, >> >> I have been an enthusiastic user of Sage for a couple of years, but >> recently (past 4 months) have had a problem with Sage that is native to my >> computer (as opposed to running Sage on a server using an internet >> connection). I sometimes like to have my own Sage, since I don't have to >> worry about an internet connection; this is especially important if I am >> giving a talk somewhere, etc. >> >> Anyway, the problem is that my evaluations will not show up unless I >> refresh the page myself (on a Mac, by hitting command-R). Until I hit >> command-R, I just get the green line to the left. This is a minor annoyance >> unless I am using an interactive cell (i.e., using "@interact", etc.). In >> this case, I cannot get real-time interactivity without refreshing the page >> multiple times. It's clumsy and unprofessional, and I have had to revive my >> moribund Mathematica files to do some upcoming talks. >> >> I am at my wits end with this. I've tried reloading and reinstalling the >> software, changing browsers, but nothing works. I am currently using Sage >> 5.12 64-bit on OS 10.8, and Safari, Chrome, Firefox all behave the same way. >> Again, when I use sagenb.org, no problem. >> >> Please advise! I'd love to use Sage confidently on my own machine again. >> >> Thanks, >> >> Paul Zeitz > > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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. For more options, visit https://groups.google.com/groups/opt_out.
