John Cremona wrote:
On 1 June 2014 17:33, leif <not.rea...@online.de> wrote:
leif wrote:

Dima Pasechnik wrote:

Is there anything short of "make distclean && make" to fix the stuck
docbuild:

By "stuck" I mean that I run make and

the output (and logs/dochtml.log) getting stuck at
....
[history_a] no targets are out of date.
[structure] loading cross citations... looking for now-outdated
files... none found
[structure] no targets are out of date.

while there are python processes like this:
   python $SAGE_ROOT/src/doc/common/builder.py --no-pdf-links all html
sitting in the memory doing (almost) nothing for hours and hours.

"make doc-clean" does not help.


I'm currently having exactly the same problem (for the first time!)
after upgrading from 6.2.beta7 to 6.3.beta2 (with 'sage --upgrade ...').

'make doc' first failed with an import error though.  After 'make
doc-clean && make', building the reference manual hangs in the first
pass.  Interrupting it and rerunning 'make [doc]' doesn't bring me
further, with Python processes waiting forever (pipe_wait).

(Ubuntu 10.04.4 x86_64, GNU make 3.82.)


FWIW, little "update":

This is what I got after

make doc-clean && ./sage --docbuild --no-pdf-links reference html

...

             writing output... [ 93%] sage/combinat/tutorial
                     writing output... [ 93%] sage/combinat/vector_partition
writing output... [ 94%] sage/combinat/words/abstract_word
writing output... [ 94%] sage/combinat/words/alphabet
writing output... [ 94%] sage/combinat/words/finite_word
        writing output... [ 95%] sage/combinat/words/infinite_word
                writing output... [ 95%] sage/combinat/words/morphism
                        writing output... [ 95%] sage/combinat/words/paths
writing output... [ 96%] sage/combinat/words/shuffle_product
writing output... [ 96%] sage/combinat/words/suffix_trees
writing output... [ 97%] sage/combinat/words/word
        writing output... [ 97%] sage/combinat/words/word_generators
                writing output... [ 97%] sage/combinat/words/words
                        writing output... [ 98%]
sage/combinat/yang_baxter_graph
writing output... [ 98%] sage/databases/oeis
writing output... [ 98%] species
writing output... [ 99%] symmetric_functions
        writing output... [ 99%] tableaux
                writing output... [100%] words
[combinat ] None:38: WARNING: citation not found: Schiffmann
Error building the documentation.

Traceback (most recent call last):
   File "/foo/sage-6.2.beta7/src/doc/common/builder.py", line 1477, in
<module>
     getattr(get_builder(name), type)()
   File "/foo/sage-6.2.beta7/src/doc/common/builder.py", line 487, in
_wrapper
     x.get(99999)
   File "/foo/sage-6.2.beta7/local/lib/python/multiprocessing/pool.py", line
554, in get
     raise self._value
OSError: [combinat ] None:38: WARNING: citation not found: Schiffmann


Probably someone can make sense of that.

It looks as if the citation Schiffmann is defined in
algebras/hall_algebra.py:210 and referred to in that file but also in
combinat/hall_polynomial.py so perhaps there should be a second
definition in the second file.

Not sure. Isn't the purpose of building the reference manual in two passes (which I don't see there by the way) to resolve cross-references (and also to not have to define the same [external] reference more than once)?

I'm getting the same with a clean install of Sage 6.3.beta2 (built from scratch, on another system), so to me it seems 'sage --docbuild <other than all at least> ...' is broken (opposed to 'make doc' and what it calls, namely 'sage --docbuild *all* html').


-leif

P.S.:  Also the output (...%) doesn't get flushed; I'm getting

[combinat ] loading pickled environment... not yet created
[combinat ] building [html]: targets for 269 source files that are out of date
[combinat ] updating environment: 269 added, 0 changed, 0 removed

then a burst of "reading sources... [0%] ... reading sources... [100%]", then

            loading cross citations...
[combinat ] pickling environment... done
[combinat ] checking consistency... done
[combinat ] preparing documents... done

followed by a burst of "writing output... [0%] ... writing output... [100%]", followed by the error message:

[combinat ] None:38: WARNING: citation not found: Schiffmann
Error building the documentation.
Traceback (most recent call last):
File "/foo/sage-6.3.beta2/src/doc/common/builder.py", line 1477, in <module>
    getattr(get_builder(name), type)()
File "/foo/sage-6.3.beta2/src/doc/common/builder.py", line 487, in _wrapper
    x.get(99999)
File "/foo/sage-6.3.beta2/local/lib/python/multiprocessing/pool.py", line 554, in get
    raise self._value
OSError: [combinat ] None:38: WARNING: citation not found: Schiffmann

The 'None' there btw. is exceptionally useful.

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to