#15168: Plots not shown in the notebook
--------------------------------+----------------------------
Reporter: novoselt | Owner:
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-5.12
Component: notebook | Resolution:
Keywords: plot | Merged in:
Authors: Volker Braun | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+----------------------------
Comment (by ppurka):
Sorry this patch works on normal notebook setup, but plots still don't
work for me for server pool setup. This is the output I get on evaluating
`plot(x)`
{{{
~/tmp/sagenb_test» ~/Installations/sage-5.12.beta4/sage -n port=8888
accounts=True interface='' "server_pool=['sagenb@localhost']" openid=True
automatic_login=False port_tries=0 directory=./a.sagenb
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 5.12.beta4, Release Date: 2013-08-30 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Please wait while the Sage Notebook server starts...
notebook(port=8888,accounts=True,interface=r'''''',server_pool=r'''['sagenb@localhost']''',openid=True,automatic_login=False,port_tries=0,directory=r'''./a.sagenb''')
**********************************************************************
WARNING: Running the notebook insecurely not on localhost is dangerous
because its possible for people to sniff passwords and gain access to
your account. Make sure you know what you are doing.
**********************************************************************
The notebook files are stored in: a.sagenb
**********************************************************************
WARNING: Insecure notebook server listening on external interface.
Unless you are running this via ssh port forwarding, you are
**crazy**! You should run the notebook with the option secure=True.
**********************************************************************
**************************************************
* *
* Open your web browser to http://localhost:8888 *
* *
**************************************************
Executing twistd --pidfile="a.sagenb/sagenb.pid" -ny
"a.sagenb/twistedconf.tac"
2013-09-10 13:51:18+0800 [-] Log opened.
2013-09-10 13:51:18+0800 [-] twistd 13.1.0
(/home/punarbasu/Installations/sage-5.12.beta4/local/bin/python 2.7.5)
starting up.
2013-09-10 13:51:18+0800 [-] reactor class:
twisted.internet.epollreactor.EPollReactor.
2013-09-10 13:51:18+0800 [-] QuietSite starting on 8888
2013-09-10 13:51:18+0800 [-] Starting factory <__builtin__.QuietSite
instance at 0x671e5a8>
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1] got EOF subprocess must
have crashed...
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1] ssh: Could not resolve
hostname a: Name or service not known
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1] import
os;os.chdir("/tmp/tmpQBuIjM");
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
execfile("_sage_input_2.py")
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1] import
os;os.chdir("/tmp/tmpHowNpR");
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
execfile("_sage_input_3.py")
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1] import
os;os.chdir("/tmp/tmpVyZzb5");
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
execfile("_sage_input_4.py")
2013-09-10 13:51:34+0800 [HTTPChannel,8,127.0.0.1]
# ALso another one
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1] got EOF subprocess
must have crashed...
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1]
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1] import
os;os.chdir("/tmp/tmpWS7Rb9");
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1]
execfile("_sage_input_1.py")
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1] ssh: Could not resolve
hostname n: Name or service not known
2013-09-10 13:54:15+0800 [HTTPChannel,15,127.0.0.1]
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1] got EOF subprocess
must have crashed...
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1]
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1] import
os;os.chdir("/tmp/tmpE2UNNA");
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1]
execfile("_sage_input_1.py")
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1] ssh: Could not resolve
hostname n: Name or service not known
2013-09-10 13:54:15+0800 [HTTPChannel,16,127.0.0.1]
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1] got EOF subprocess
must have crashed...
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1]
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1] import
os;os.chdir("/tmp/tmpBPZ8ZZ");
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1]
execfile("_sage_input_1.py")
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1] ssh: Could not resolve
hostname "/home/punarbasu/Installations/sage-5.12.beta4/sage -python":
Name or service not known
2013-09-10 13:54:16+0800 [HTTPChannel,16,127.0.0.1]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15168#comment:16>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.