#11583: Sagetex example has some nontrivial dependancy's
------------------------+---------------------------------------------------
   Reporter:  mderickx  |          Owner:  tbd            
       Type:  defect    |         Status:  new            
   Priority:  blocker   |      Milestone:  sage-4.8       
  Component:  packages  |       Keywords:                 
Work_issues:            |       Upstream:  N/A            
   Reviewer:            |         Author:  Maarten Derickx
     Merged:            |   Dependencies:                 
------------------------+---------------------------------------------------
Changes (by jhpalmieri):

  * priority:  major => blocker


Comment:

 A related, but not completely identical problem: self-tests fail for the
 sagetex package.  If I set SAGE_CHECK=yes and then do `sage -f
 sagetex...`, I get a message like
 {{{
 /Applications/sage_builds/sage/local/bin/sage-preparse: File
 'example.sage' is missing
 python: can't open file 'example.py': [Errno 2] No such file or directory
 Error running Sage on example.sage!
 }}}
 I know how to fix this problem, but self-tests still fail if various
 `.sty` files are missing, as they are on sage.math:
 {{{
 ! LaTeX Error: File `ifxetex.sty' not found.

 Type X to quit or <RETURN> to proceed,
 or enter new name. (Default extension: sty)

 Enter file name:
 ! Emergency stop.
 <read *>
 }}}
 I think the following patch fixes the first problem, but not the second:
 {{{
 #!diff
 diff --git a/spkg-check b/spkg-check
 --- a/spkg-check
 +++ b/spkg-check
 @@ -46,10 +46,10 @@ fi
  cd src

  typeset example.tex
 -checkdotsage example
 +checkdotsage example.sagetex

 -typeset sagetexpackage.dtx
 -checkdotsage sagetexpackage
 +typeset sagetex.dtx
 +checkdotsage sagetex.sagetex

  # if we get here, we assume the .sage files are good, and exit
 successfully
  exit 0
 }}}
 I'm upgrading this to a blocker, since all of our spkg's should pass self-
 tests.  (Well, except for Python...)

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

Reply via email to