#6568: [with patch, needs work] 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 was):

 Hi,

 I get 8 rejects when trying to apply the first patch to a 100% clean build
 of sage-4.1:

 {{{
 wst...@sage:~/build/sage-4.1$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 4.1, Release Date: 2009-07-09                         |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 Loading Sage library. Current Mercurial branch is: ref3
 sage:
 
hg_sage.apply('http://trac.sagemath.org/sage_trac/attachment/ticket/6568/12659.patch')
 Attempting to load remote file: http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/6568/12659.patch
 Loading: [.........]
 cd "/scratch/wstein/build/sage-4.1/devel/sage" && hg status
 /scratch/wstein/build/sage-4.1/local/lib/python2.6/site-
 packages/sage/misc/hg.py:240: DeprecationWarning: os.popen3 is deprecated.
 Use the subprocess module.
   x = os.popen3(s)
 cd "/scratch/wstein/build/sage-4.1/devel/sage" && hg status
 cd "/scratch/wstein/build/sage-4.1/devel/sage" && hg import
 "/scratch/wstein/sage/temp/sage.math.washington.edu/5378/tmp_1.patch"
 applying
 /scratch/wstein/sage/temp/sage.math.washington.edu/5378/tmp_1.patch
 patching file sage/server/notebook/notebook.py
 Hunk #1 FAILED at 23
 Hunk #2 FAILED at 32
 Hunk #3 FAILED at 1355
 Hunk #4 FAILED at 1402
 Hunk #5 FAILED at 1506
 Hunk #6 FAILED at 1704
 Hunk #7 FAILED at 1903
 Hunk #8 FAILED at 2162
 8 out of 8 hunks FAILED -- saving rejects to file
 sage/server/notebook/notebook.py.rej
 file sage/server/notebook/templates/debug_window.html already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/debug_window.html.rej
 file sage/server/notebook/templates/guest_top_bar_and_worksheet.html
 already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/guest_top_bar_and_worksheet.html.rej
 file sage/server/notebook/templates/head.html already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/head.html.rej
 file sage/server/notebook/templates/top_bar_and_worksheet.html already
 exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/top_bar_and_worksheet.html.rej
 file sage/server/notebook/templates/user_controls.tmpl already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/user_controls.tmpl.rej
 file sage/server/notebook/templates/worksheet_body.html already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/worksheet_body.html.rej
 file sage/server/notebook/templates/worksheet_topbar.tmpl already exists
 1 out of 1 hunks FAILED -- saving rejects to file
 sage/server/notebook/templates/worksheet_topbar.tmpl.rej
 abort: patch failed to apply
 }}}

 What should I do?  What are these patches against exactly?

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