On Mon, Apr 5, 2010 at 3:28 PM, Tru Huynh <[email protected]> wrote:
> Hi,
>
> building doc still fails for 4.3.4 and 4.3.5 (since 4.3.2) with the same 
> error message:

Does sage work?  What happens if you type

 ./sage

then

sage: 2+2
4

William

>
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
>
> [...@liberte sage-4.3.4]$ make
> cd spkg && ./install all 2>&1 | tee -a ../install.log
> make[1]: Entering directory `/Bis/home/tru/build/sage-4.3.4/spkg'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/Bis/home/tru/build/sage-4.3.4/spkg'
>
> real    0m0.030s
> user    0m0.002s
> sys     0m0.002s
> To install gap, gp, singular, etc., scripts
> in a standard bin directory, start sage and
> type something like
>   sage: install_scripts('/usr/local/bin')
> at the Sage command prompt.
>
> To build the documentation, run
>   make doc
>
> Sage build/upgrade complete!
> ./sage -docbuild all html  2>&1 | tee -a dochtml.log
> sphinx-build -b html -d 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/doctrees/en/developer    
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/en/developer 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/developer
> Traceback (most recent call last):
>  File "/Bis/home/tru/build/sage-4.3.4/local/bin/sphinx-build", line 6, in 
> <module>
>    import sage.all
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/all.py",
>  line 72, in <module>
>    from sage.rings.all      import *
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/all.py",
>  line 94, in <module>
>    from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/qqbar.py",
>  line 4941, in <module>
>    qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
>  File "element.pyx", line 1260, in sage.structure.element.RingElement.__sub__ 
> (sage/structure/element.c:10962)
>  File "element.pyx", line 1242, in 
> sage.structure.element.RingElement._add_long (sage/structure/element.c:10829)
>  File "coerce.pyx", line 765, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (sage/structure/coerce.c:6994)
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
> Build finished.  The built documents can be found in 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/developer
> sphinx-build -b html -d 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/doctrees/en/installation 
>    /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/en/installation 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/installation
> Traceback (most recent call last):
>  File "/Bis/home/tru/build/sage-4.3.4/local/bin/sphinx-build", line 6, in 
> <module>
>    import sage.all
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/all.py",
>  line 72, in <module>
>    from sage.rings.all      import *
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/all.py",
>  line 94, in <module>
>    from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/qqbar.py",
>  line 4941, in <module>
>    qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
>  File "element.pyx", line 1260, in sage.structure.element.RingElement.__sub__ 
> (sage/structure/element.c:10962)
>  File "element.pyx", line 1242, in 
> sage.structure.element.RingElement._add_long (sage/structure/element.c:10829)
>  File "coerce.pyx", line 765, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (sage/structure/coerce.c:6994)
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
> Build finished.  The built documents can be found in 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/installation
> sphinx-build -b html -d 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/doctrees/en/a_tour_of_sage
>     /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/en/a_tour_of_sage 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/a_tour_of_sage
> Traceback (most recent call last):
>  File "/Bis/home/tru/build/sage-4.3.4/local/bin/sphinx-build", line 6, in 
> <module>
>    import sage.all
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/all.py",
>  line 72, in <module>
>    from sage.rings.all      import *
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/all.py",
>  line 94, in <module>
>    from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/qqbar.py",
>  line 4941, in <module>
>    qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
>  File "element.pyx", line 1260, in sage.structure.element.RingElement.__sub__ 
> (sage/structure/element.c:10962)
>  File "element.pyx", line 1242, in 
> sage.structure.element.RingElement._add_long (sage/structure/element.c:10829)
>  File "coerce.pyx", line 765, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (sage/structure/coerce.c:6994)
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
> Build finished.  The built documents can be found in 
> /Bis/home/tru/build/sage-4.3.4/devel/sage/doc/output/html/en/a_tour_of_sage
> Traceback (most recent call last):
>  File "/Bis/home/tru/build/sage-4.3.4/devel/sage/doc/common/builder.py", line 
> 1043, in <module>
>    getattr(get_builder(name), type)()
>  File "/Bis/home/tru/build/sage-4.3.4/devel/sage/doc/common/builder.py", line 
> 260, in _wrapper
>    getattr(get_builder(document), name)(*args, **kwds)
>  File "/Bis/home/tru/build/sage-4.3.4/devel/sage/doc/common/builder.py", line 
> 360, in _wrapper
>    self.write_auto_rest_file(module_name)
>  File "/Bis/home/tru/build/sage-4.3.4/devel/sage/doc/common/builder.py", line 
> 593, in write_auto_rest_file
>    title = self.get_module_docstring_title(module_name)
>  File "/Bis/home/tru/build/sage-4.3.4/devel/sage/doc/common/builder.py", line 
> 563, in get_module_docstring_title
>    import sage.all
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/all.py",
>  line 72, in <module>
>    from sage.rings.all      import *
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/all.py",
>  line 94, in <module>
>    from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>  File 
> "/Bis/home/tru/build/sage-4.3.4/local/lib/python2.6/site-packages/sage/rings/qqbar.py",
>  line 4941, in <module>
>    qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
>  File "element.pyx", line 1260, in sage.structure.element.RingElement.__sub__ 
> (sage/structure/element.c:10962)
>  File "element.pyx", line 1242, in 
> sage.structure.element.RingElement._add_long (sage/structure/element.c:10829)
>  File "coerce.pyx", line 765, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (sage/structure/coerce.c:6994)
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
> [...@liberte sage-4.3.4]$
>
> [...@liberte sage-4.3.5]$ make
> cd spkg && ./install all 2>&1 | tee -a ../install.log
> make[1]: Entering directory `/Bis/home/tru/build/sage-4.3.5/spkg'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/Bis/home/tru/build/sage-4.3.5/spkg'
>
> real    0m0.042s
> user    0m0.003s
> sys     0m0.001s
> To install gap, gp, singular, etc., scripts
> in a standard bin directory, start sage and
> type something like
>   sage: install_scripts('/usr/local/bin')
> at the Sage command prompt.
>
> To build the documentation, run
>   make doc
>
> Sage build/upgrade complete!
> ./sage -docbuild all html  2>&1 | tee -a dochtml.log
> Traceback (most recent call last):
>  File "/Bis/home/tru/build/sage-4.3.5/devel/sage/doc/common/builder.py", line 
> 1043, in <module>
>    getattr(get_builder(name), type)()
>  File "/Bis/home/tru/build/sage-4.3.5/devel/sage/doc/common/builder.py", line 
> 260, in _wrapper
>    getattr(get_builder(document), name)(*args, **kwds)
>  File "/Bis/home/tru/build/sage-4.3.5/devel/sage/doc/common/builder.py", line 
> 360, in _wrapper
>    self.write_auto_rest_file(module_name)
>  File "/Bis/home/tru/build/sage-4.3.5/devel/sage/doc/common/builder.py", line 
> 593, in write_auto_rest_file
>    title = self.get_module_docstring_title(module_name)
>  File "/Bis/home/tru/build/sage-4.3.5/devel/sage/doc/common/builder.py", line 
> 563, in get_module_docstring_title
>    import sage.all
>  File 
> "/Bis/home/tru/build/sage-4.3.5/local/lib/python2.6/site-packages/sage/all.py",
>  line 72, in <module>
>    from sage.rings.all      import *
>  File 
> "/Bis/home/tru/build/sage-4.3.5/local/lib/python2.6/site-packages/sage/rings/all.py",
>  line 94, in <module>
>    from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>  File 
> "/Bis/home/tru/build/sage-4.3.5/local/lib/python2.6/site-packages/sage/rings/qqbar.py",
>  line 4941, in <module>
>    qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
>  File "element.pyx", line 1260, in sage.structure.element.RingElement.__sub__ 
> (sage/structure/element.c:10962)
>  File "element.pyx", line 1242, in 
> sage.structure.element.RingElement._add_long (sage/structure/element.c:10829)
>  File "coerce.pyx", line 765, in 
> sage.structure.coerce.CoercionModel_cache_maps.bin_op 
> (sage/structure/coerce.c:6994)
> TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring 
> in x over Algebraic Real Field' and '<type 'int'>'
>
> Tru
> --
> Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
> mailto:[email protected] | tel/fax +33 1 45 68 87 37/19
> Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
> To unsubscribe, reply using "remove me" as the subject.
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to