I am kindy asking someone to look at my problem
Kubuntu 8.04 KDE 4 64 bit
I have compiled sage (a mathematical software) and in kde 3.5.9 worked fine
Now I get the error posted below.
My questions are simple
Where can I disable firewall and where are the settings to open ports ?
If you are an advanced linux user I would appriciate if you check the code below.
Maybe someone more experienced will know how to solve this.
Till now I tried:
compiling and running as root --> works
compiling and running as user --> works
downgrading the same program to previous versions --> works
upgrading --> works
I have searched this forum for similar topics but couldn find what I was looking for --> did not work
runnign notebook() FAILS ! ->> this is my problem
Also important
notebook() is run inside sage inviroment or sage console
it provides cool GUI in firefox or other browser
my problem, nootbook() fails to find an open port and fails
I am also asking the same question on sage math forum but the reson to post
this error also here is because I suspect KDE4 might be the problem or my lack of knewledge
on how to configure KDE 4.
boris@eV:~/Programs/Sage/sage-3.0.2$ ./sage
----------------------------------------------------------------------
| SAGE Version 3.0.2, Release Date: 2008-05-24 |
| 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/sage-3.0.2/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/sage-3.0.2/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/sage-3.0.2/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.
Thank you for response and effort
Lp
Boris
Kubuntu 8.04 KDE 4 64 bit
I have compiled sage (a mathematical software) and in kde 3.5.9 worked fine
Now I get the error posted below.
My questions are simple
Where can I disable firewall and where are the settings to open ports ?
If you are an advanced linux user I would appriciate if you check the code below.
Maybe someone more experienced will know how to solve this.
Till now I tried:
compiling and running as root --> works
compiling and running as user --> works
downgrading the same program to previous versions --> works
upgrading --> works
I have searched this forum for similar topics but couldn find what I was looking for --> did not work
runnign notebook() FAILS ! ->> this is my problem
Also important
notebook() is run inside sage inviroment or sage console
it provides cool GUI in firefox or other browser
my problem, nootbook() fails to find an open port and fails
I am also asking the same question on sage math forum but the reson to post
this error also here is because I suspect KDE4 might be the problem or my lack of knewledge
on how to configure KDE 4.
boris@eV:~/Programs/Sage/sage-3.0.2$ ./sage
----------------------------------------------------------------------
| SAGE Version 3.0.2, Release Date: 2008-05-24 |
| 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/sage-3.0.2/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/sage-3.0.2/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/sage-3.0.2/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.
Thank you for response and effort
Lp
Boris
Comment