Here's my Lion attempt:
1 %> /Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/sage
----------------------------------------------------------------------
| Sage Version 4.7.2, Release Date: 2011-10-29 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: notebook()
The notebook files are stored in: sage_notebook.sagenb
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (97, 0))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/Users/bedge/.sage/<ipython console> in <module>()
/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds)
215 """
216 def __call__(self, *args, **kwds):
--> 217 return self.notebook(*args, **kwds)
218
219 notebook = run_notebook.notebook_twisted
/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_twisted(self, directory, port, interface, address, port_tries, secure, reset, accounts, require_login, server_pol, ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet, subnets)
441 print "*" * 70
442
--> 443 port = find_next_available_port(interface, port, port_tries)
444 if open_viewer:
445 "Open viewer automatically isn't fully implemented. You have to manually open your web browser to the above URL."
/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sagenb/sagenb/misc/misc.pyc in find_next_available_port(interface, start, max_tries, verbose)
132 print "Port %s is already in use."%port
133 print "Trying next port..."
--> 134 raise RuntimeError, "no available port."
135
136
RuntimeError: no available port.
sage:
Exiting Sage (CPU time 0m0.69s, Wall time 0m27.68s).
1 22:41:43 bedge@tmacc ~/personal/sage
and my python info:
0 %> python
Python 2.7.2 (default, Aug 11 2011, 14:59:27)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>