On Wed, Jul 8, 2009 at 4:09 PM, Robert Miller<rlmills...@gmail.com> wrote:
>
> All known issues have been fixed, and all long doctests pass on
> sage.math (* -- see below), so there is a chance this could be
> sage-4.1.

Here's an annoying issue with the documentation builder. In Sage
4.0.2, the following sequence of commands work OK. In fact, these
commands in that order also work fine on Sage 4.0.1.

[mv...@sage sage-4.0.2]$ ./sage -b main
[mv...@sage sage-4.0.2]$ ./sage -docbuild reference html
[mv...@sage sage-4.0.2]$ ./sage -clone exp
[mv...@sage sage-4.0.2]$ ./sage -docbuild reference html
[mv...@sage sage-4.0.2]$ rm -rf devel/sage-exp/
[mv...@sage sage-4.0.2]$ ./sage -b main
[mv...@sage sage-4.0.2]$ ./sage -docbuild reference html
<all well and fine>

Now follow that same sequence of commands in Sage 4.1.rc1

[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -b main
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -docbuild reference html
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -clone exp
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -docbuild reference html
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ rm -rf devel/sage-exp/
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -b main
[mv...@sage sage-4.1.rc1-x86_64-Linux]$ ./sage -docbuild reference html
Traceback (most recent call last):
  File 
"/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/devel/sage/doc/common/builder.py",
line 667, in <module>
    getattr(get_builder(name), type)()
  File 
"/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/devel/sage/doc/common/builder.py",
line 348, in _wrapper
    for module_name in self.get_modified_modules():
  File 
"/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/devel/sage/doc/common/builder.py",
line 415, in get_modified_modules
    added, changed, removed = env.get_outdated_files(False)
  File 
"/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/local/lib/python2.6/site-packages/Sphinx-0.5.1-py2.6.egg/sphinx/environment.py",
line 400, in get_outdated_files
    newmtime = path.getmtime(self.doc2path(docname))
  File 
"/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/local/lib/python/genericpath.py",
line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory:
'/scratch/mvngu/sage-4.1.rc1-x86_64-Linux/devel/sage-exp/doc/en/reference/sage/combinat/words/morphism.rst'

Note that I have already deleted the experimental repository sage-exp,
but the documentation build script (I think) still links to or uses
that deleted repository. This might be due to ticket #5350

http://trac.sagemath.org/sage_trac/ticket/5350

but I may be wrong here. I don't get the above problem if I make
clones of the main repository and don't delete them. But that eats up
a lot of disk space, even though /scratch on sage.math is pretty large
in terms of storage. And sometimes I remove repositories because I
don't need them any more.

-- 
Regards
Minh Van Nguyen

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

Reply via email to