Good day.
I'm trying to build sage 4.1 on a CentOS 5.3 64-bit machine (fully
patched).
The build seems to go fine until the end:
Traceback (most recent call last):
File "/usr/local/sage/sage-4.1/local/bin/sphinx-build", line 6, in
<module>
import sage.all
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/all.py",
line 72, in <module>
from sage.rings.all import *
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/rings/al
l.py", line 94, in <module>
from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/rings/qqbar.py", line 4914, in <module>
qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF
(1)))
File "element.pyx", line 788, in
sage.structure.element.ModuleElement.__sub__ (sage/structure/element.c:
7048)
File "element.pyx", line 2764, in
sage.structure.element.CoercionModel.bin_op (sage/structure/element.c:
20181)
TypeError: unsupported operand parent(s) for '-': 'Univariate
Polynomial Ring in x over Algebraic Real Field' and '<type 'int'>'
and further down there is another, identical error:
File "/usr/local/sage/sage-4.1/devel/sage/doc/common/builder.py",
line 667, in
<module>
getattr(get_builder(name), type)()
File "/usr/local/sage/sage-4.1/devel/sage/doc/common/builder.py",
line 258, in
_wrapper
getattr(get_builder(document), name)(*args, **kwds)
File "/usr/local/sage/sage-4.1/devel/sage/doc/common/builder.py",
line 345, in
_wrapper
self.write_auto_rest_file(module_name)
File "/usr/local/sage/sage-4.1/devel/sage/doc/common/builder.py",
line 528, in write_auto_rest_file
title = self.get_module_docstring_title(module_name)
File "/usr/local/sage/sage-4.1/devel/sage/doc/common/builder.py",
line 497, in get_module_docstring_title
import sage.all
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/all.py", line 72, in <module>
from sage.rings.all import *
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/rings/all.py", line 94, in <module>
from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
File "/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/
sage/rings/qqbar.py", line 4914, in <module>
qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF
(1)))
File "element.pyx", line 788, in
sage.structure.element.ModuleElement.__sub__ (sage/structure/element.c:
7048)
File "element.pyx", line 2764, in
sage.structure.element.CoercionModel.bin_op (sage/structure/element.c:
20181)
TypeError: unsupported operand parent(s) for '-': 'Univariate
Polynomial Ring in x over Algebraic Real Field' and '<type 'int'>'
When sage is started, I see the following errors:
TypeError Traceback (most recent call
last)
/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/IPython/
ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/usr/local/sage/sage-4.1/local/bin/ipy_profile_sage.py in <module>()
5 preparser(True)
6
----> 7 import sage.all_cmdline
/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/sage/rings/
qqbar.py in <module>()
4912 return self._interval_fast(prec)
4913
-> 4914 qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1,
RIF(1)))
4915
4916 _cyclotomic_gen_cache = {}
/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/sage/
structure/element.so in sage.structure.element.ModuleElement.__sub__
(sage/structure/element.c:7048)()
/usr/local/sage/sage-4.1/local/lib/python2.6/site-packages/sage/
structure/element.so in sage.structure.element.CoercionModel.bin_op
(sage/structure/element.c:20181)()
TypeError: unsupported operand parent(s) for '-': 'Univariate
Polynomial Ring in x over Algebraic Real Field' and '<type 'int'>'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
Any clues for the clueless are much appreciated.
Cheers,
SQ
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---