MonoDict Error when building documentation

90 views
Skip to first unread message

Nicolas M. Thiery

unread,
Jan 7, 2014, 11:23:53 AM1/7/14
to sage-...@googlegroups.com

Did anyone stumble on errors like this when compiling the
documentation?

It's on the current develop branch, but I have been through other
development branches before, so there might be leftovers thereof lying
around.

------------------------------------------------------------------------------
mistral-/opt/sage>make
...
Building reference manual, first pass.
...
[number_fi] no targets are out of date.
[numerical] no targets are out of date.
Traceback (most recent call last):
File "/opt/sage-git/src/doc/common/builder.py", line 1452, in <module>
getattr(get_builder(name), type)()
File "/opt/sage-git/src/doc/common/builder.py", line 269, in _wrapper
getattr(get_builder(document), 'inventory')(*args, **kwds)
File "/opt/sage-git/src/doc/common/builder.py", line 472, in _wrapper
pool.map_async(build_ref_doc, L, 1).get(99999)
File "/opt/sage-git/local/lib/python/multiprocessing/pool.py", line 554, in get
raise self._value
ValueError: sage.structure.coerce_dict.MonoDict has the wrong size, try recompiling
------------------------------------------------------------------------------

Thanks!
Nicolas
--
Nicolas M. Thi�ry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/

Travis Scrimshaw

unread,
Jan 7, 2014, 11:58:49 AM1/7/14
to sage-...@googlegroups.com, Nicolas M. Thiery
Hey Nicolas,
   I've come across it a few times (less than 5), but when I did, I did what it suggested: touched the file and recompiled everything.

Best,
Travis
Nicolas M. Thi�ry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/

Jeroen Demeyer

unread,
Jan 7, 2014, 1:17:34 PM1/7/14
to sage-...@googlegroups.com
On 2014-01-07 17:58, Travis Scrimshaw wrote:
> Hey Nicolas,
> I've come across it a few times (less than 5), but when I did, I did
> what it suggested: touched the file and recompiled everything.

Then there's an error in the Cython dependency checking, if that file
needs to be recompiled it should happen automatically.

Robert Bradshaw

unread,
Jan 7, 2014, 5:30:09 PM1/7/14
to sage-devel
Does anyone know how to reproduce this? It does look like a dependency
checking error, which I'd like to fix.

David Roe

unread,
Jan 7, 2014, 8:53:12 PM1/7/14
to sage-devel
I'm not sure, but I have seen it as well.  For me it was fixed by
make doc-clean
make

Try starting with a fresh 6.0, make, pull in all changes from the development branch, make again?
David



--
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+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Volker Braun

unread,
Jan 8, 2014, 2:18:26 AM1/8/14
to sage-...@googlegroups.com
I've seen it, too. Not sure how to reproduce it, but it is probably triggered by Trac #15367 

Simon King

unread,
Jan 8, 2014, 1:40:24 PM1/8/14
to sage-...@googlegroups.com, Nicolas M. Thiery


Am Dienstag, 7. Januar 2014 17:23:53 UTC+1 schrieb Nicolas M. Thiéry:

Did anyone stumble on errors like this when compiling the
documentation?


I just met a very similar yet different error (by coincidance (?), it is while working on your functorial constructions ticket...).

[numerical] dumping object inventory... done
[numerical] build succeeded.

Traceback (most recent call last):
  File "/home/king/Sage/git/sage/src/doc/common/builder.py", line 1452, in <module>
    getattr(get_builder(name), type)()
  File "/home/king/Sage/git/sage/src/doc/common/builder.py", line 269, in _wrapper
    getattr(get_builder(document), 'inventory')(*args, **kwds)
  File "/home/king/Sage/git/sage/src/doc/common/builder.py", line 472, in _wrapper
    pool.map_async(build_ref_doc, L, 1).get(99999)
  File "/home/king/Sage/git/sage/local/lib/python/multiprocessing/pool.py", line 554, in get
    raise self._value
ValueError: sage.rings.padics.pow_computer.PowComputer_class has the wrong size, try recompiling
make: *** [doc-html] Fehler 1

So, it is a different class that has the wrong size, but it is after the "numerical" section of the docs, as in your case.

Doing "make" again did not help. However, killing src/doc/output and repeating "make" did work. Hence, a recompilation has not been needed.

Best regards,
Simon

Nicolas M. Thiery

unread,
Jan 10, 2014, 11:51:30 AM1/10/14
to sage-...@googlegroups.com
Hi Robert,

On Tue, Jan 07, 2014 at 02:30:09PM -0800, Robert Bradshaw wrote:
> Does anyone know how to reproduce this? It does look like a dependency
> checking error, which I'd like to fix.

I reproduced the error on sagemath.org. Currently if I run `make doc`
in /home/nthiery/sage-6.0 I get the error reproductibly.

Traceback (most recent call last):
File "/home/nthiery/sage-6.0/src/doc/common/builder.py", line 1452, in <module>
getattr(get_builder(name), type)()
File "/home/nthiery/sage-6.0/src/doc/common/builder.py", line 269, in _wrapper
getattr(get_builder(document), 'inventory')(*args, **kwds)
File "/home/nthiery/sage-6.0/src/doc/common/builder.py", line 472, in _wrapper
pool.map_async(build_ref_doc, L, 1).get(99999)
File "/home/nthiery/sage-6.0/local/lib/python/multiprocessing/pool.py", line 554, in get
raise self._value
ValueError: sage.structure.coerce_dict.MonoDict has the wrong size, try recompiling
[number_fi] reading sources... [ 10%] sage/rings/number_field/galois_group
make: *** [doc-html] Error 1

I guess that if you make a copy of this directory this should
reproduce the error for you. If not, send me your public ssh key and
login onto my account.

Don't wait too long, I might accidently clear the error :-)

Cheers,
Nicolas
--
Nicolas M. Thi�ry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/

anne1.s...@gmail.com

unread,
Jan 10, 2014, 5:27:00 PM1/10/14
to sage-...@googlegroups.com, Nicolas M. Thiery
I get the same error as Simon!

Anne
Reply all
Reply to author
Forward
0 new messages