Hi

On 12 July 2012 18:32, Jason Grout <[email protected]> wrote:

> On 7/12/12 9:33 AM, Jan Groenewald wrote:
>
>> Can anyone help with this?
>> (It is a sage 5.1 compiled from source on Ubuntu 12.04)
>>
>> sage: notebook(interface="eth1", port=8080, secure=true,
>> open_viewer=false)
>> 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', (114, 0))
>>
>> ------------------------------**------------------------------**
>> ---------------
>> RuntimeError                              Traceback (most recent call
>> last)
>>
>> /home/jan/.sage/<ipython console> in <module>()
>>
>> /home/jan/src/sagemath-source/**sage-5.1/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
>>
>> /home/jan/src/sagemath-source/**sage-5.1/devel/sagenb/sagenb/**
>> notebook/run_notebook.pyc
>> in notebook_twisted(self, directory, port, interface, address,
>> port_tries, secure, reset, accounts, require_login, server_pool, 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."
>>
>> /home/jan/src/sagemath-source/**sage-5.1/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.
>>
>
> Does netstat say something else is running on 8080?  I have this when I
> have another server running on 8080 that I forgot about.
>
>
No, netstat shows nothing, and 5 other ports showing nothing give the same
error.

Regards,
Jan


-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
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-support
URL: http://www.sagemath.org

Reply via email to