On 5/8/12 3:23 AM, Christian Stump wrote:
Hi --
# follow the instructions on trac #11080 to install the new notebook, then:
sage -i
http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
<http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg>
I just tried, and get a trivial reject in
sage/plot/plot.py:
Patching Sage
adding 01-sage-embedded.patch to series file
applying 01-sage-embedded.patch
patching file sage/plot/plot.py
Hunk #1 FAILED at 336
1 out of 1 hunks FAILED -- saving rejects to file sage/plot/plot.py.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 01-sage-embedded.patch
Error pushing patch 01-sage-embedded.patch.
which is
-EMBEDDED_MODE = False
+from sage.misc.misc import EMBEDDED_MODE
How can I fix that?
What version of Sage are you using?
You just need to edit that file (plot/plot.py) and make that change
(delete the EMBEDDED_MODE line, and replace it with the "from
sage.misc...." line).
You'll then need to apply the second patch:
* go to SAGE_ROOT/devel/sage/
* do: ../../sage -hg qimport -P
https://raw.github.com/sagemath/sagecell/master/sage-patches/02-sage-show.patch
* do: ../../sage -b
Then reinstall the sagecell spkg.
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org