#9430: Update SageNB to version 0.8.1
---------------------------+------------------------------------------------
Reporter: timdumol | Owner: jason, was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.5
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by leif):
* status: needs_review => needs_work
Comment:
Doctest error preview ({{{ptestlong}}} still running):
{{{
sage -t -long local/lib/python2.6/site-
packages/sagenb-0.8.1-py2.6.egg/sagenb/notebook/interact.py
**********************************************************************
File "/home/leif/sage-4.5.alpha4/local/lib/python2.6/site-
packages/sagenb-0.8.1-py2.6.egg/sagenb/notebook/interact.py", line 2205:
sage: @interact
def _(n=(Integer(10),Integer(100),Integer(1)), auto_update=False):
show(factor(x**n - Integer(1)))
Exception raised:
Traceback (most recent call last):
File "/home/leif/sage-4.5.alpha4/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/leif/sage-4.5.alpha4/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/leif/sage-4.5.alpha4/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_99[9]>", line 2, in <module>
def _(n=(Integer(10),Integer(100),Integer(1)), auto_update=False):
File "/home/leif/sage-4.5.alpha4/local/lib/python/site-
packages/sage/misc/misc.py", line 2666, in my_wrap
return func(*args)
File "/home/leif/sage-4.5.alpha4/local/lib/python2.6/site-
packages/sagenb-0.8.1-py2.6.egg/sagenb/notebook/interact.py", line 2519,
in interact
html(C.render())
File "/home/leif/sage-4.5.alpha4/local/lib/python2.6/site-
packages/sagenb-0.8.1-py2.6.egg/sagenb/notebook/interact.py", line 2058,
in render
s = "%s%s"%(self.render_controls(), self.render_output())
File "/home/leif/sage-4.5.alpha4/local/lib/python2.6/site-
packages/sagenb-0.8.1-py2.6.egg/sagenb/notebook/interact.py", line 1994,
in render_controls
layout = [[c.var()] for c in self.__controls]
AttributeError: 'UpdateButton' object has no attribute 'var'
**********************************************************************
1 items had failures:
1 of 34 in __main__.example_99
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/leif/.sage//tmp/.doctest_interact.py
[6.3 s]
}}}
(Ubuntu 9.04 x86, P4 Prescott, gcc 4.3.3, sequential build)
With vanilla Sage 4.5.'''alpha3''', all doctests passed on that system
(same with alpha4 on Ubuntu 9.04 x86_64, gcc 4.5.0; {{{ptestlong}}}).
I've copied {{{sagenb-0.8.1.spkg}}} and {{{zodb3-3.7.0.p4.spkg}}} (#9436)
to {{{spkg/standard}}}, built Sage, applied #7379 (Sage library patch for
sagenb 0.8.1), run {{{./sage -b}}}, rebuilt the documentation and then
started the test.
I blindly guess there won't come up further errors originating from the
new sagenb package.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9430#comment:4>
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.