hi all, i have downloaded the pre-built version of sage: sage-2.8.5-suse-i686-Linux,
and also as source: sage-2.8.5. i could build succesfully sage-2.8.5: "SAGE build/upgrade complete!" with the GCC version, "gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)". with both versions i could run the example: ./example.sage """ This is a simple SAGE example script. 9765625 5 * 401 [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] [(0 : -1 : 1)] 37 The following should be true: True """ but when a try to start a notebook server from sage promt, i got following error message: sage:notebook() **************************************************** * * * Open your web browser to https://localhost:8000 * * * **************************************************** There is an admin account. If you do not remember the password, quit the notebook and type notebook(reset=True). 2007/10/11 18:41 +0200 [-] Log opened. 2007/10/11 18:41 +0200 [-] twistd 2.5.0 (/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/bin/python 2.5.1) starting up 2007/10/11 18:41 +0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007/10/11 18:41 +0200 [-] Loading sage_notebook/twistedconf.tac... 2007/10/11 18:42 +0200 [-] Timeout exceeded in read_nonblocking(). 2007/10/11 18:42 +0200 [-] <pexpect.spawn instance at 0xb7206b2c> 2007/10/11 18:42 +0200 [-] version: 2.0 ($Revision: 1.151 $) 2007/10/11 18:42 +0200 [-] command: /users/gime_se/llama/DOWNLOAD/ sage-2.8.5/sage 2007/10/11 18:42 +0200 [-] args: ['/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/sage', '-python', '-u'] 2007/10/11 18:42 +0200 [-] patterns: 2007/10/11 18:42 +0200 [-] >>> 2007/10/11 18:42 +0200 [-] buffer (last 100 chars): 2007/10/11 18:42 +0200 [-] before (last 100 chars): SE Linux)] on linux2 2007/10/11 18:42 +0200 [-] Type "help", "copyright", "credits" or "license" for more information. 2007/10/11 18:42 +0200 [-] sage: 2007/10/11 18:42 +0200 [-] after: <class 'pexpect.TIMEOUT'> 2007/10/11 18:42 +0200 [-] match: None 2007/10/11 18:42 +0200 [-] match_index: None 2007/10/11 18:42 +0200 [-] exitstatus: None 2007/10/11 18:42 +0200 [-] flag_eof: 0 2007/10/11 18:42 +0200 [-] pid: 20886 2007/10/11 18:42 +0200 [-] child_fd: 6 2007/10/11 18:42 +0200 [-] timeout: 30 2007/10/11 18:42 +0200 [-] delimiter: <class 'pexpect.EOF'> 2007/10/11 18:42 +0200 [-] logfile: None 2007/10/11 18:42 +0200 [-] maxread: 1 2007/10/11 18:42 +0200 [-] searchwindowsize: None 2007/10/11 18:42 +0200 [-] delaybeforesend: 0 2007/10/11 18:42 +0200 [-] Traceback (most recent call last): 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/twisted/application/ app.py", line 218, in getApplication 2007/10/11 18:42 +0200 [-] application = service.loadApplication(filename, style, passphrase) 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/twisted/application/ service.py", line 341, in loadApplication 2007/10/11 18:42 +0200 [-] application = sob.loadValueFromFile(filename, 'application', passphrase) 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/twisted/persisted/ sob.py", line 215, in loadValueFromFile 2007/10/11 18:42 +0200 [-] exec fileObj in d, d 2007/10/11 18:42 +0200 [-] File "sage_notebook/twistedconf.tac", line 15, in <module> 2007/10/11 18:42 +0200 [-] worksheet.init_sage_prestart(twist.notebook.get_server(), twist.notebook.get_ulimit()) 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/sage/server/notebook/ worksheet.py", line 93, in init_sage_prestart 2007/10/11 18:42 +0200 [-] _a_sage = initialized_sage(server, ulimit) 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/sage/server/notebook/ worksheet.py", line 79, in initialized_sage 2007/10/11 18:42 +0200 [-] S._start(block_during_init=False) 2007/10/11 18:42 +0200 [-] File "/users/gime_se/llama/DOWNLOAD/ sage-2.8.5/local/lib/python2.5/site-packages/sage/interfaces/ expect.py", line 408, in _start 2007/10/11 18:42 +0200 [-] raise RuntimeError, "Unable to start %s"%self.__name 2007/10/11 18:42 +0200 [-] RuntimeError: Unable to start sage 2007/10/11 18:42 +0200 [-] Failed to load application: Unable to start sage 2007/10/11 18:42 +0200 [-] Unhandled Error Traceback (most recent call last): File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/application/app.py", line 379, in run runApp(config) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/application/app.py", line 157, in run self.application = self.createOrGetApplication() File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/application/app.py", line 207, in createOrGetApplication application = getApplication(self.config, passphrase) --- <exception caught here> --- File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/application/app.py", line 218, in getApplication application = service.loadApplication(filename, style, passphrase) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/application/service.py", line 341, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile exec fileObj in d, d File "sage_notebook/twistedconf.tac", line 15, in <module> worksheet.init_sage_prestart(twist.notebook.get_server(), twist.notebook.get_ulimit()) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/sage/server/notebook/worksheet.py", line 93, in init_sage_prestart _a_sage = initialized_sage(server, ulimit) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/sage/server/notebook/worksheet.py", line 79, in initialized_sage S._start(block_during_init=False) File "/users/gime_se/llama/DOWNLOAD/sage-2.8.5/local/lib/ python2.5/site-packages/sage/interfaces/expect.py", line 408, in _start raise RuntimeError, "Unable to start %s"%self.__name exceptions.RuntimeError: Unable to start sage Failed to load application: Unable to start sage 2007/10/11 18:42 +0200 [-] --------------------------------------------------------------------------- <class 'socket.error'> Traceback (most recent call last) /llama01/gime_se/DOWNLOAD/sage-2.8.5/<ipython console> in <module>() /users/gime_se/llama/DOWNLOAD/sage-2.8.5/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 /users/gime_se/llama/DOWNLOAD/sage-2.8.5/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 /users/gime_se/llama/DOWNLOAD/sage-2.8.5/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'>: ----------------------------------------------- Any ideas? Thanks, sebastian --~--~---------~--~----~------------~-------~--~----~ 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-forum URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
