#5675: Auto browser open of notebook does not open to a valid url when
interface=""
------------------------+---------------------------------------------------
Reporter: was | Owner: boothby
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Old description:
> {{{
> On Thu, 02 Apr 2009 at 11:53PM -0700, Ondrej Certik wrote:
> >
> > Hi,
> >
> [...]
> > sage: notebook(secure=False, address="")
> > [...]
> >
> > and it starts firefox on the local machine with this address:
> >
> > http://[www.:8000.com]/?startup_token=41e2a34e89e40139333a8113e9be2a50
> >
> > which obviously fails. This also happens with sage 3.2.3 (I didn't try
> > other versions).
>
> This has been around for a while; I haven't filed a ticket for it, since
> I just retype the URL.
> }}}
>
> It used to be in the notebook that address="" was an error. Then when we
> switched to twisted, it suddenly meant "listen on all interfaces". Now
> it's a common option to give.
>
> The two places I know of where the address is given are: (1) when popping
> up a web browser pointed at the notebook, and (2) when publishing a
> worksheet and it shows the URL where people can get the published
> version.
>
> Ideas:
> * If one gives address="", everywhere else, set the address to the
> fully qualified domain name. How to get that in Python?
> * If one gives address="", simply never automatically pop up a viewer,
> and doesn't display the URL for published worksheets (since it is wrong).
> If people want proper URL's they shouldn't be lazy with their address=
> option.
> * Make address="" an error, and require the user to give a proper
> fully qualified name.
New description:
{{{
On Thu, 02 Apr 2009 at 11:53PM -0700, Ondrej Certik wrote:
>
> Hi,
>
[...]
> sage: notebook(secure=False, address="")
> [...]
>
> and it starts firefox on the local machine with this address:
>
> http://[www.:8000.com]/?startup_token=41e2a34e89e40139333a8113e9be2a50
>
> which obviously fails. This also happens with sage 3.2.3 (I didn't try
> other versions).
This has been around for a while; I haven't filed a ticket for it, since
I just retype the URL.
}}}
It used to be in the notebook that address="" was an error. Then when we
switched to twisted, it suddenly meant "listen on all interfaces". Now
it's a common option to give.
--
Comment(by timdumol):
Renaming this to a more appropriate title.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5675#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.