#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.6
Component: build | Keywords: upgrade update dependencies PARI
NewPARI
Author: Leif Leonhardy | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by leif):
Replying to [comment:107 jdemeyer]:
> Upgraded succesfully from 4.5.3 on a Mac OS X 10.4 PPC system.
I did so on Ubuntu 9.04 x86 (in-place), and on Ubuntu 10.04 x86_64 (in a
renamed directory), too.
{{{ptestlong}}} passed all tests, but Sphinx raises an exception related
to {{{linear_programming}}} on both systems:
{{{
...
sphinx-build -b html -d /home/leif/Sage/sage-4.5.3-for-v2b-
upgraded/devel/sage/doc/output/doctrees/en/constructions
/home/leif/Sage/sage-4.5.3-for-v2b-
upgraded/devel/sage/doc/en/constructions /home/leif/Sage/sage-4.5.3-for-
v2b-upgraded/devel/sage/doc/output/html/en/constructions
Running Sphinx v0.6.3
loading pickled environment... done
building [html]: targets for 18 source files that are out of date
updating environment: [config changed] 17 added, 0 changed, 1 removed
reading sources... [ 5%] algebraic_geometry
reading sources... [ 11%] calculus
reading sources... [ 17%] contributions
reading sources... [ 23%] elliptic_curves
reading sources... [ 29%] graph_theory
reading sources... [ 35%] groups
reading sources... [ 41%] index
reading sources... [ 47%] interface_issues
reading sources... [ 52%] linear_algebra
reading sources... [ 58%] linear_codes
reading sources... [ 64%] modular_forms
reading sources... [ 70%] number_fields
reading sources... [ 76%] number_theory
reading sources... [ 82%] plotting
reading sources... [ 88%] polynomials
reading sources... [ 94%] rep_theory
reading sources... [100%] rings
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 5%] algebraic_geometry
writing output... [ 11%] calculus
writing output... [ 16%] contributions
writing output... [ 22%] elliptic_curves
writing output... [ 27%] graph_theory
writing output... [ 33%] groups
writing output... [ 38%] index
writing output... [ 44%] interface_issues
writing output... [ 50%] linear_algebra
writing output... [ 55%] linear_codes
writing output... [ 61%] linear_programming
Exception occurred:
File "/home/leif/Sage/sage-4.5.3-for-v2b-upgraded/local/lib/python2.6
/site-packages/Sphinx-0.6.3-py2.6.egg/sphinx/environment.py", line 934, in
get_toc_for
toc = self.tocs[docname].deepcopy()
KeyError: 'linear_programming'
The full traceback has been saved in /tmp/sphinx-err-BbYhGC.log, if you
want to report the issue to the author.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Send reports to [email protected]. Thanks!
Build finished. The built documents can be found in
/home/leif/Sage/sage-4.5.3-for-v2b-
upgraded/devel/sage/doc/output/html/en/constructions
...
}}}
After removing the doctrees and rebuilding the documentation, this doesn't
happen; {{{linear_programming}}} had been moved from ''Constructions'' to
the ''Thematic Tutorials''. (Note that Sage completely ignores any Sphinx
errors, but that's just another bug.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9896#comment:108>
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.