#6568: [with patch, needs review] Migrate Notebook to Jinja
-------------------------+--------------------------------------------------
 Reporter:  timdumol     |       Owner:  timdumol                          
     Type:  enhancement  |      Status:  assigned                          
 Priority:  minor        |   Milestone:  sage-wishlist                     
Component:  notebook     |    Keywords:  notebook, jinja, templating engine
 Reviewer:               |      Author:  Tim Joseph Dumol                  
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by mpatel):

 From some testing in Firefox 3.5 on Linux, with both new patches applied:
  * Live doc worksheets do not load their stylesheets.
  * Published worksheets are now [partially] editable.
  * The "re-publish" and "stop publishing" buttons do not work, apparently.
  * The print representation of a worksheet is missing cell boundaries.

 Also, a number of doctests in `notebook.py` and `worksheet.py` failed with
 `sage -t -long -option -verbose -randorder`.  For `worksheet.py`, there
 are mostly just small changes in expected HTML output.  I think some of
 the randomized failures are pre-existing:
 {{{
 sage -t -long -optional -randorder=87873 "4.1.1.rc1/devel/sage-
 main/sage/server/notebook/worksheet.py"
 **********************************************************************
 File "/home/apps/sage-4.1.1.rc1/devel/sage-
 main/sage/server/notebook/worksheet.py", line 178:
     sage: sage.server.notebook.worksheet.one_prestarted_sage(None,None)
 Expected:
     Sage
 Got nothing
 **********************************************************************
 File "/home/apps/sage-4.1.1.rc1/devel/sage-
 main/sage/server/notebook/worksheet.py", line 148:
     sage: sage.server.notebook.worksheet._a_sage
 Expected nothing
 Got:
     Sage
 **********************************************************************
 2 items had failures:
    1 of   6 in __main__.example_1270084472
    1 of   5 in __main__.example_1700749147
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/apps/sage/tmp/.doctest_worksheet.py
          [7.9 s]
 exit code: 1024

 ----------------------------------------------------------------------
 The following tests failed:
         sage -t -long -optional -randorder=87873 "4.1.1.rc1/devel/sage-
 main/sage/server/notebook/worksheet.py"
 Total time for all tests: 7.9 seconds
 }}}
 For `notebook.py`, there are other error types.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6568#comment:14>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to