#6927: [with patch, needs review] extend CachedFunction to handle disk-cache
-------------------------+--------------------------------------------------
Reporter: boothby | Owner: boothby
Type: enhancement | Status: new
Priority: major | Milestone: sage-feature
Component: misc | Keywords: cache database
Reviewer: | Author: boothby
Merged: |
-------------------------+--------------------------------------------------
Comment(by was):
I tried to apply this to a clean 4.1.2.alpha1 and got nowhere:
{{{
wst...@sage:~/build/sage-4.1.2.alpha1$ ./sage
----------------------------------------------------------------------
| Sage Version 4.1.2.alpha1, Release Date: 2009-09-07 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
Loading Sage library. Current Mercurial branch is: referee
sage:
hg_sage.apply('http://trac.sagemath.org/sage_trac/attachment/ticket/6927/6927
-disk-cache.patch')
Attempting to load remote file: http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/6927/6927-disk-cache.patch
Loading: [.....]
cd "/scratch/wstein/build/sage-4.1.2.alpha1/devel/sage" && hg status
/scratch/wstein/build/sage-4.1.2.alpha1/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.2.alpha1/devel/sage" && hg status
cd "/scratch/wstein/build/sage-4.1.2.alpha1/devel/sage" && hg import
"/scratch/wstein/sage/temp/sage.math.washington.edu/22785/tmp_1.patch"
applying
/scratch/wstein/sage/temp/sage.math.washington.edu/22785/tmp_1.patch
unable to find 'sage/misc/function_mangling.py' for patching
3 out of 3 hunks FAILED -- saving rejects to file
sage/misc/function_mangling.py.rej
patching file sage/misc/all.py
Hunk #1 succeeded at 154 with fuzz 2 (offset 2 lines).
patching file sage/misc/all.py
Hunk #1 FAILED at 149
1 out of 1 hunks FAILED -- saving rejects to file sage/misc/all.py.rej
patching file sage/misc/cachefunc.py
Hunk #1 FAILED at 3
Hunk #2 FAILED at 13
Hunk #3 succeeded at 219 with fuzz 2 (offset 20 lines).
2 out of 4 hunks FAILED -- saving rejects to file
sage/misc/cachefunc.py.rej
sage/misc/function_mangling.py: No such file or directory
abort: patch failed to apply
}}}
Your patch contains changes to function_mangling.py, but doesn't even
contain that file in the first place.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6927#comment:5>
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
-~----------~----~----~----~------~----~------~--~---