One question: how do I build the documentation?

On an Intel iMac (10.5), I've had two doctest failures so far;
doctesting is about 3/4 of the way through, but I need to go to
sleep.  The failures so far:

sage -t -long "devel/sage/doc/en/bordeaux_2008/method_of_graphs.rst"
**********************************************************************
File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/devel/sage/doc/
en/bordeaux_2008/method_of_graphs.rst", line 25:
    sage: t2 = ModularSymbols(389,sign=1).hecke_matrix(2); t2[0]
Expected:
    (3, 0, -1, 0, 0, -1, 1, 0, 0, 0, 1, -1, 0, 0, 1, 1, 0, 1,
     -1, 1, -1, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, -1, -1)
Got:
    (3, 0, -1, 0, 0, -1, 1, 0, 0, 0, -1, 1, 0, 1, -1, 0, 1, 1, 0, 1,
-1, 1, -1, 1, 0, 0, 0, 0, 0, 0, 1, -1, -1)
**********************************************************************

sage -t -long "devel/sage/sage/libs/mwrank/all.py"
**********************************************************************
File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/devel/sage/
sage/libs/mwrank/all.py", line 26:
    sage: file= Sage_TMP + '/PRIMES'
Exception raised:
    Traceback (most recent call last):
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/Applications/sage_builds/sage-3.3.rc1/local/bin/
sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_1[2]>", line 1, in <module>
        file= Sage_TMP + '/PRIMES'###line 26:
    sage: file= Sage_TMP + '/PRIMES'
    NameError: name 'Sage_TMP' is not defined
**********************************************************************
File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/devel/sage/
sage/libs/mwrank/all.py", line 27:
    sage: open(file,'w').write(' '.join([str(p) for p in prime_range
(10^6)]))
Exception raised:
    Traceback (most recent call last):
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/Applications/sage_builds/sage-3.3.rc1/local/bin/
sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_1[3]>", line 1, in <module>
        open(file,'w').write(' '.join([str(p) for p in prime_range
(Integer(10)**Integer(6))]))###line 27:
    sage: open(file,'w').write(' '.join([str(p) for p in prime_range
(10^6)]))
    TypeError: coercing to Unicode: need string or buffer, type found
**********************************************************************
File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/devel/sage/
sage/libs/mwrank/all.py", line 28:
    sage: mwrank_initprimes(file, verb=False)
Exception raised:
    Traceback (most recent call last):
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/Applications/sage_builds/sage-3.3.rc1/local/bin/
sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
bin/ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_1[4]>", line 1, in <module>
        mwrank_initprimes(file, verb=False)###line 28:
    sage: mwrank_initprimes(file, verb=False)
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
lib/python2.5/site-packages/sage/libs/mwrank/all.py", line 31, in
mwrank_initprimes
        return mwrank_initprimes(filename, verb)
      File "mwrank.pyx", line 119, in
sage.libs.mwrank.mwrank.initprimes (sage/libs/mwrank/mwrank.c:630)
      File "/Applications/sage_builds/sage-3.4.alpha0-upgrade/local/
lib/python2.5/posixpath.py", line 171, in exists
        st = os.stat(path)
    TypeError: coercing to Unicode: need string or buffer, type found
**********************************************************************
1 items had failures:
   3 of   5 in __main__.example_1
***Test Failed*** 3 failures.


  John

--~--~---------~--~----~------------~-------~--~----~
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