Advertisement
JoelSjogren

sagenb error

Jan 20th, 2013
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.78 KB | None | 0 0
  1. joel@joel-laptop:~$ sage
  2. ----------------------------------------------------------------------
  3. | Sage Version 5.4.1, Release Date: 2012-11-15                       |
  4. | Type "notebook()" for the browser-based notebook interface.        |
  5. | Type "help()" for help.                                            |
  6. ----------------------------------------------------------------------
  7. sage: notebook()
  8. The notebook files are stored in: sage_notebook.sagenb
  9. **************************************************
  10. *                                                *
  11. * Open your web browser to http://localhost:8080 *
  12. *                                                *
  13. **************************************************
  14. Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
  15. 2013-01-20 12:26:15+0100 [-] Log opened.
  16. 2013-01-20 12:26:15+0100 [-] twistd 12.1.0 (/usr/lib/sagemath/local/bin/python 2.7.3) starting up.
  17. 2013-01-20 12:26:15+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
  18. 2013-01-20 12:26:15+0100 [-] QuietSite starting on 8080
  19. 2013-01-20 12:26:15+0100 [-] Starting factory <__builtin__.QuietSite instance at 0x54e6ab8>
  20. 2013-01-20 12:26:23+0100 [-] WSGI application error
  21.     Traceback (most recent call last):
  22.       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 167, in _worker
  23.         result = context.call(ctx, function, *args, **kwargs)
  24.       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
  25.         return self.currentContext().callWithContext(ctx, func, *args, **kw)
  26.       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 81, in callWithContext
  27.         return func(*args,**kw)
  28.       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 332, in run
  29.         self.reactor.callFromThread(wsgiError, self.started, *exc_info())
  30.     --- <exception caught here> ---
  31.       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
  32.         appIterator = self.application(self.environ, self.startResponse)
  33.       File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1701, in __call__
  34.         return self.wsgi_app(environ, start_response)
  35.       File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1689, in wsgi_app
  36.         response = self.make_response(self.handle_exception(e))
  37.       File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1687, in wsgi_app
  38.         response = self.full_dispatch_request()
  39.       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
  40.         rv = self.handle_user_exception(e)
  41.       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
  42.         rv = self.dispatch_request()
  43.       File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py", line 1344, in dispatch_request
  44.         return self.view_functions[rule.endpoint](**req.view_args)
  45.       File "/usr/lib/sagemath/devel/sagenb/flask_version/decorators.py", line 22, in wrapper
  46.         return f(*args, **kwds)
  47.       File "/usr/lib/sagemath/devel/sagenb/flask_version/worksheet_listing.py", line 68, in home
  48.         return render_worksheet_list(request.args, pub=False, username=username)
  49.       File "/usr/lib/sagemath/devel/sagenb/flask_version/worksheet_listing.py", line 43, in render_worksheet_list
  50.         search=search, reverse=reverse)
  51.       File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line 1282, in worksheet_list_for_user
  52.         X = self.get_worksheets_with_viewer(user)
  53.       File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line 1460, in get_worksheets_with_viewer
  54.         if self._user_manager.user_is_admin(username): return self.get_all_worksheets()
  55.       File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line 1455, in get_all_worksheets
  56.         for w in self.users_worksheets(username):
  57.       File "/usr/lib/sagemath/devel/sagenb/sagenb/notebook/notebook.py", line 372, in users_worksheets
  58.         worksheets = self.__storage.worksheets(username)
  59.       File "/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.py", line 600, in worksheets
  60.         path = self._abspath(self._user_path(username))
  61.       File "/usr/lib/sagemath/devel/sagenb/sagenb/storage/filesystem_storage.py", line 119, in _user_path
  62.         os.rename(path, new_path)
  63.     exceptions.OSError: [Errno 39] Directory not empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement