I upgraded to sage-2.8.5 Started a notebook, but ...
I had a notebook running with sage-2.8.4.2, so I expected a new notebook with a different port, say 8002. There was a notebook in a new tab running with sage-2.8.4.2 Jaap sage: notebook() Port 8000 is already in use. Trying next port... **************************************************** * * * Open your web browser to https://localhost:8001 * * * **************************************************** There is an admin account. If you do not remember the password, quit the notebook and type notebook(reset=True). Removing stale pidfile /usr/local/sage/sage_notebook/twistd.pd 2007/09/21 13:05 +0200 [-] Log opened. 2007/09/21 13:05 +0200 [-] twistd 2.5.0 (/usr/local/sage/local/bin/python 2.5.1) starting up 2007/09/21 13:05 +0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007/09/21 13:05 +0200 [-] Loading sage_notebook/twistedconf.tac... 2007/09/21 13:05 +0200 [-] Loaded. 2007/09/21 13:05 +0200 [-] Traceback (most recent call last): 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/bin/twistd", line 21, in <module> 2007/09/21 13:05 +0200 [-] run() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27, in run 2007/09/21 13:05 +0200 [-] app.run(runApp, ServerOptions) 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/application/app.py", line 379, in run 2007/09/21 13:05 +0200 [-] runApp(config) 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in runApp 2007/09/21 13:05 +0200 [-] _SomeApplicationRunner(config).run() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/application/app.py", line 158, in run 2007/09/21 13:05 +0200 [-] self.postApplication() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line 213, in postApplication 2007/09/21 13:05 +0200 [-] startApplication(self.config, self.application) 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line 174, in startApplication 2007/09/21 13:05 +0200 [-] service.IService(application).privilegedStartService() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/application/service.py", line 228, in privilegedStartService 2007/09/21 13:05 +0200 [-] service.privilegedStartService() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/application/internet.py", line 68, in privilegedStartService 2007/09/21 13:05 +0200 [-] self._port = self._getPort() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/application/internet.py", line 86, in _getPort 2007/09/21 13:05 +0200 [-] return getattr(reactor, 'listen'+self.method)(*self.args, **self.kwargs) 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/gnutls/interfaces/twisted/__init__.py", line 348, in listenTLS 2007/09/21 13:05 +0200 [-] p.startListening() 2007/09/21 13:05 +0200 [-] File "/usr/local/sage/local/lib/python2.5/site-packages/twisted/internet/tcp.py", line 733, in startListening 2007/09/21 13:05 +0200 [-] raise CannotListenError, (self.interface, self.port, le) 2007/09/21 13:05 +0200 [-] twisted.internet.error.CannotListenError: Couldn't listen on any:8001: (98, 'Address already in use'). --------------------------------------------------------------------------- <class 'socket.error'> Traceback (most recent call last) /usr/local/sage/<ipython console> in <module>() /usr/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/notebook_object.py in __call__(self, *args, **kwds) 120 """ 121 def __call__(self, *args, **kwds): --> 122 return self.notebook(*args, **kwds) 123 124 notebook = run_notebook.notebook_twisted /usr/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/run_notebook.py in notebook_twisted(self, directory, port, address, port_tries, secure, reset, accounts, server_pool, ulimit, timeout, open_viewer) 204 if open_viewer: 205 "Open viewer automatically isn't fully implemented. You have to manually open your web browser to the above URL." --> 206 run(port) 207 208 return True /usr/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/run_notebook.py in run(port) 190 e = os.system('sage -twistd --pidfile="%s"/twistd.pd -ny "%s"/twistedconf.tac'%(directory, directory)) 191 if e == 256: --> 192 raise socket.error 193 194 if address != 'localhost' and not secure: <class 'socket.error'>: sage: --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
