It looks like a permissions error on that file. Does the user you're running Sage as have permission to open '/home/knsam/.sage/sage_ notebook.sagenb/home/admin/history.pickle'? What does ls -l /home/knsam/.sage/sage_notebook.sagenb/home/admin/history.pickle report? David
On Sun, Dec 16, 2012 at 6:13 AM, Kannappan Sampath <kntri...@gmail.com>wrote: > Hello! > > For some reason, when I try to run notebook on my Sage, the cells don't > respond at all! Can someone please help? > > Here is a part of the clutter I saw on the terminal (every other part of > the clutter seems to be the same message: > > 2012-12-16 16:31:54+0530 [-] WSGI application error > Traceback (most recent call last): > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py", > line 190, in _worker > o = self.q.get() > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py", > line 118, in callWithContext > return self.currentContext().callWithContext(ctx, func, *args, **kw) > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py", > line 83, in callWithContext > self.contexts.pop() > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", > line 340, in run > self.started = True > --- <exception caught here> --- > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", > line 315, in run > appIterator = self.application(self.environ, self.startResponse) > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1701, in __call__ > return self.wsgi_app(environ, start_response) > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1689, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1687, in wsgi_app > response = self.full_dispatch_request() > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1360, in full_dispatch_request > rv = self.handle_user_exception(e) > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1358, in full_dispatch_request > rv = self.dispatch_request() > File > "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", > line 1344, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/usr/lib/sagemath/devel/sagenb/flask_version/decorators.py", line > 22, in wrapper > return f(*args, **kwds) > File "/usr/lib/sagemath/devel/sagenb/flask_version/worksheet.py", line > 46, in wrapper > return f(username, id, **kwds) > File "/usr/lib/sagemath/devel/sagenb/flask_version/worksheet.py", line > 134, in wrapper > return f(*args, **kwds) > File "/usr/lib/sagemath/devel/sagenb/flask_version/worksheet.py", line > 457, in worksheet_cell_update > g.notebook.add_to_user_history(H, g.username) > File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line > 711, in add_to_user_history > history = self.user_history(username) > File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line > 693, in user_history > for hunk in self.__storage.load_user_history(username): > File > "/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.py", line > 311, in load_user_history > return self._load(filename) > File > "/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.py", line > 166, in _load > with open(self._abspath(filename)) as f: > exceptions.IOError: [Errno 13] Permission denied: > '/home/knsam/.sage/sage_notebook.sagenb/home/admin/history.pickle' > > Thank you! > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To post to this group, send email to sage-devel@googlegroups.com. > To unsubscribe from this group, send email to > sage-devel+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.