#20567: live documentation in sage notebook is broken
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  defect             |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-7.2
      Component:  notebook           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:  François Bissey
Report Upstream:  Completely fixed;  |  Work issues:
  Fix reported upstream              |       Commit:
         Branch:                     |  5a36e1e7100ff89f447639c3dc84ae2b2bff5d65
  u/jdemeyer/live_documentation_in_sage_notebook_is_broken|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by vdelecroix):

 * status:  positive_review => needs_info


Comment:

 Actually, I installed the new package and try to ran the live
 documentation. I still got the same error
 {{{
 [Errno 2] No such file or directory:
 
u'/opt/sage/local/share/doc/sage/html/en/thematic_tutorials/_static/default.css'
 Traceback (most recent call last):
   File "/opt/sage/local/lib/python2.7/site-
 packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in
 full_dispatch_request
     rv = self.dispatch_request()
   File "/opt/sage/local/lib/python2.7/site-
 packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in
 dispatch_request
     return self.view_functions[rule.endpoint](**req.view_args)
   File "/opt/sage/local/lib/python2.7/site-
 packages/sagenb-0.11.7-py2.7.egg/sagenb/flask_version/decorators.py", line
 22, in wrapper
     return f(*args, **kwds)
   File "/opt/sage/local/lib/python2.7/site-
 packages/sagenb-0.11.7-py2.7.egg/sagenb/flask_version/doc.py", line 73, in
 doc_live
     return send_file(filename)
   File "/opt/sage/local/lib/python2.7/site-
 packages/Flask-0.10.1-py2.7.egg/flask/helpers.py", line 520, in send_file
     file = open(filename, 'rb')
 IOError: [Errno 2] No such file or directory:
 
u'/opt/sage/local/share/doc/sage/html/en/thematic_tutorials/_static/default.css'
 }}}
 What is the procedure to properly reinstall the sage notebook?

 For reference I did
 {{{
 $ git checkout -b sagenb
 $ git fetch trac u/jdemeyer/live_documentation_in_sage_notebook_is_broken
 $ git merge FETCH_HEAD
 $ make build
 }}}
 Doing the above the package is '''not''' reinstalled. It seems that the
 script is actually stopped after "cunningham_tables"
 {{{
 checking package versions...
     4ti2-1.6.7
     alabaster-0.7.7
     arb-2.8.1.p0
     atlas-3.10.2.p2
     autotools-20141105
     babel-2.2.0
     backports_abc-0.4
     backports_ssl_match_hostname-3.5.0.1
     benzene-20130630
     bliss-0.73
     boost_cropped-1.58.0
     brial-0.8.4.3
     buckygen-1.0
     bzip2-1.0.6-20150304
     cbc-2.9.4
     ccache-3.2.2
     cddlib-094g.p0
     cephes-2.8.p1
     certifi-2016.2.28
     cliquer-1.21.p3
     cmake-3.2.3
     combinatorial_designs-20140630
     compilerwrapper-1.2
     configure-162
     conway_polynomials-0.4.p0
     coxeter3-1.1
     cryptominisat-2.9.6
 "/opt/sage/build/pkgs/cunningham_tables/type" is missing.
     csdp-6.2
 "/opt/sage/build/pkgs/cunningham_tables/type" is missing.
 "/opt/sage/build/pkgs/cunningham_tables/type" is missing.
 "/opt/sage/build/pkgs/cunningham_tables/type" is missing.
 "/opt/sage/build/pkgs/cunningham_tables/type" is missing.
 checking that generated files are newer than configure... done
 }}}

 And there are other problems that we can read from the log
 {{{
 ln: failed to create symbolic link 'mathjax/mathjax': File exists
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20567#comment:7>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to