Hi Simon,

On Thu, Dec 3, 2009 at 8:34 PM, Simon King <simon.k...@nuigalway.ie> wrote:

<SNIP>

> 10. sage: hg_sage.status()
>     Getting status of modified or unknown files:
>     cd "/home/SimonKing/sandbox/sage-4.3.alpha0/devel/sage" && hg
> status
>     ! doc/fr/a_tour_of_sage/eigen_plot.png
>     ! doc/fr/a_tour_of_sage/sin_plot.png
>
> Aha! There is a problem with the docs, right? Are these files missing?

You get those two lines with the exclamation marks because the file
MANIFEST.in in Sage 4.3.alpha0 isn't configured to pick up those two
image files. When ticket #7190 (French translation: A Tour of Sage)
[1] was merged in Sage 4.3.alpha0, the file
devel/sage-main/MANIFEST.in wasn't also changed to take into account
the new image files, so these are not picked up when releasing the
alpha0 tarball. A result is that one would not see the image files in
devel/sage-main/doc/fr/a_tour_of_sage. You can fix the missing files
problem as follows:

[mv...@sage sage-4.3.alpha0-7473-sphinx]$ cd devel/sage-main/
[mv...@sage sage-main]$ hg st
! doc/fr/a_tour_of_sage/eigen_plot.png
! doc/fr/a_tour_of_sage/sin_plot.png
[mv...@sage sage-main]$ hg revert -a
reverting doc/fr/a_tour_of_sage/eigen_plot.png
reverting doc/fr/a_tour_of_sage/sin_plot.png
[mv...@sage sage-main]$ hg st
<no output>

At the moment, cloning in Sage 4.3.alpha0 is messed up. See ticket
#7473 [2] for a patch to fix this issue. You should apply that patch
to the script repository. From the look of it, that respository is a
bit messed up; some files are not yet under revision control:

[mv...@sage sage-4.3.alpha0-7473-sphinx]$ cd local/bin/
[mv...@sage bin]$ hg st
M sage-latest-online-package
? hmac256
? jmol
? pilconvert.py
? pildriver.py
? pilfile.py
? pilfont.py
? pilprint.py
? sphinx-autogen

A work around is to check in the changes with "hg ci", then apply the
patch at #7473:

[mv...@sage bin]$ hg ci
<write a commit message>
[mv...@sage bin]$ hg qimport
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/7473/trac_7473-scripts_clone_v3.patch
adding trac_7473-scripts_clone_v3.patch to series file
[mv...@sage bin]$ hg qpush
applying trac_7473-scripts_clone_v3.patch
now at: trac_7473-scripts_clone_v3.patch

Now make a clone:

[mv...@sage sage-4.3.alpha0-7473-sphinx]$ ./sage -clone exp
<wait for about 20 minutes to 1 hour>


[1] http://trac.sagemath.org/sage_trac/ticket/7190

[2] http://trac.sagemath.org/sage_trac/ticket/7473

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to