Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-notebook fix is in
Date: Sun, 14 Mar 2010 05:18:37
Message-Id: 1268543846.20285.0@pavilion64
In Reply to: [gentoo-science] [sage-on-gentoo] sage-notebook fix is in by "François Bissey"
1 François,
2
3 The patches to pexpect do allow the notebook to function. However, with the
4 new patches to pexpect when I, from the notebook, do
5
6 g=sin(x); plot(g,(x,-pi,3*pi/2))
7
8 I get
9
10 import os;os.chdir("/tmp/tmpo2KomY");
11 execfile("_sage_input_1.py")Python 2.6.4 (r264:75706, Mar 4 2010,
12 21:15:13)
13 [GCC 4.3.4] on linux2
14 Type "help", "copyright", "credits" or "license" for more information.
15 >>>
16 >>> import os;os.chdir("/tmp/tmpo2KomY");
17 >>> execfile("_sage_input_1.py")
18 START1
19
20 import os;os.chdir("/tmp/tmpY61yjM");
21 execfile("_sage_input_2.py")
22
23 import os;os.chdir("/tmp/tmpXjmsQK");
24 execfile("_sage_input_3.py")
25 __SAGE__
26 __SAGE__import os;os.chdir("/tmp/tmpY61yjM");
27 __SAGE__execfile("_sage_input_2.py")
28 START2
29 __SAGE__
30 __SAGE__import os;os.chdir("/tmp/tmpXjmsQK");
31
32 The result should be the indicated graph in the notebook. So there still must
33 be some functional differences between the pexpect-2.4-r1 in sage-on-gentoo
34 and the pexpect-2.0_p4 provide by Sage.
35
36 Steve

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] sage-notebook fix is in "François Bissey" <f.r.bissey@×××××××××.nz>