On Wed, Jul 9, 2008 at 7:51 AM, kex <[EMAIL PROTECTED]> wrote: > > KUBUNTU 8.04.1 64-bit > KDE 4 > SAGE 3.03 > > Sage source was compiled as should without errors > Starting sage works fine > Running notebook() fails with error: RuntimeError: no available port > First it scans from port 8000 to 8050 and fails to find a free port > The rest i dont understand. > > I tried to run as root and the same happens. > I tried to find a topic for my problem but couldnt. > I am downloading a binary version to check if it gives me the same > error. > I also tried to update sage with ./sage -upgrade but it doesnt solve > anything > > [EMAIL PROTECTED]:~$ ./Programs/Sage/sage > ---------------------------------------------------------------------- > | SAGE Version 3.0.3, Release Date: 2008-06-17 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > sage: notebook() > The notebook files are stored in: /home/boris/.sage//sage_notebook > Port 8000 is already in use. > Trying next port... > Port 8001 is already in use. > Trying next port... > Port 8002 is already in use. > Trying next port... > Port 8003 is already in use. > Trying next port... > Port 8004 is already in use. > Trying next port... > Port 8005 is already in use. > Trying next port... > Port 8006 is already in use. > Trying next port... > Port 8007 is already in use. > Trying next port... > Port 8008 is already in use. > Trying next port... > Port 8009 is already in use. > Trying next port... > Port 8010 is already in use. > Trying next port... > Port 8011 is already in use. > Trying next port... > Port 8012 is already in use. > Trying next port... > Port 8013 is already in use. > Trying next port... > Port 8014 is already in use. > Trying next port... > Port 8015 is already in use. > Trying next port... > Port 8016 is already in use. > Trying next port... > Port 8017 is already in use. > Trying next port... > Port 8018 is already in use. > Trying next port... > Port 8019 is already in use. > Trying next port... > Port 8020 is already in use. > Trying next port... > Port 8021 is already in use. > Trying next port... > Port 8022 is already in use. > Trying next port... > Port 8023 is already in use. > Trying next port... > Port 8024 is already in use. > Trying next port... > Port 8025 is already in use. > Trying next port... > Port 8026 is already in use. > Trying next port... > Port 8027 is already in use. > Trying next port... > Port 8028 is already in use. > Trying next port... > Port 8029 is already in use. > Trying next port... > Port 8030 is already in use. > Trying next port... > Port 8031 is already in use. > Trying next port... > Port 8032 is already in use. > Trying next port... > Port 8033 is already in use. > Trying next port... > Port 8034 is already in use. > Trying next port... > Port 8035 is already in use. > Trying next port... > Port 8036 is already in use. > Trying next port... > Port 8037 is already in use. > Trying next port... > Port 8038 is already in use. > Trying next port... > Port 8039 is already in use. > Trying next port... > Port 8040 is already in use. > Trying next port... > Port 8041 is already in use. > Trying next port... > Port 8042 is already in use. > Trying next port... > Port 8043 is already in use. > Trying next port... > Port 8044 is already in use. > Trying next port... > Port 8045 is already in use. > Trying next port... > Port 8046 is already in use. > Trying next port... > Port 8047 is already in use. > Trying next port... > Port 8048 is already in use. > Trying next port... > Port 8049 is already in use. > Trying next port... > Port 8050 is already in use. > Trying next port... > --------------------------------------------------------------------------- > RuntimeError Traceback (most recent call > last) > > /home/boris/.sage/<ipython console> in <module>() > > /home/boris/Programs/Sage/local/lib/python2.5/site-packages/sage/ > server/notebook/notebook_object.py in __call__(self, *args, **kwds) > 141 """ > 142 def __call__(self, *args, **kwds): > --> 143 return self.notebook(*args, **kwds) > 144 > 145 notebook = run_notebook.notebook_twisted > > /home/boris/Programs/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, require_login, > server_pool, ulimit, timeout, open_viewer, sagetex_path, start_path, > fork, quiet) > 264 print "*"*70 > 265 > --> 266 port = find_next_available_port(port, port_tries) > 267 #if open_viewer: > 268 # open_page(address, port, secure, pause=PAUSE) > > /home/boris/Programs/Sage/local/lib/python2.5/site-packages/sage/ > server/misc.py in find_next_available_port(start, max_tries, verbose) > 99 print "Port %s is already in use."%port > 100 print "Trying next port..." > --> 101 raise RuntimeError, "no available port." > 102 > 103 > > RuntimeError: no available port. > sage: > > Is there a way to manualy change port to a value range not between > 8000-8050
notebook(port=8999) or notebook(port=8700) etc > Help appriciated > > Boris > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---