On Mon, Apr 05, 2010 at 03:45:22PM -0700, William Stein wrote:
> 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
>
<paste>
[...@liberte sage-4.3.5]$ pwd
/dev/shm/sage-4.3.5
[...@liberte sage-4.3.5]$ echo '2+2' | ./sage
----------------------------------------------------------------------
| Sage Version 4.3.5, Release Date: 2010-03-28 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/dev/shm/sage-4.3.5/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
/dev/shm/sage-4.3.5/local/bin/ipy_profile_sage.py in <module>()
5 preparser(True)
6
----> 7 import sage.all_cmdline
8 sage.all_cmdline._init_cmdline(globals())
9
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/all_cmdline.py in
<module>()
12 try:
13
---> 14 from sage.all import *
15 from sage.calculus.predefined import x
16 preparser(on=True)
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/all.py in <module>()
70 get_sigs()
71
---> 72 from sage.rings.all import *
73 from sage.matrix.all import *
74
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/rings/all.py in
<module>()
92
93 # Algebraic numbers
---> 94 from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
95 AlgebraicReal, is_AlgebraicReal,
96 AlgebraicField, is_AlgebraicField, QQbar,
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/rings/qqbar.py in
<module>()
4939 return self._interval_fast(prec)
4940
-> 4941 qq_generator = AlgebraicGenerator(QQ, ANRoot(AAPoly.gen() - 1, RIF(1)))
4942
4943 _cyclotomic_gen_cache = {}
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/structure/element.so
in sage.structure.element.RingElement.__sub__ (sage/structure/element.c:10962)()
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/structure/element.so
in sage.structure.element.RingElement._add_long
(sage/structure/element.c:10829)()
/dev/shm/sage-4.3.5/local/lib/python2.6/site-packages/sage/structure/coerce.so
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'>'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
sage:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/dev/shm/sage-4.3.5/local/bin/<ipython console> in <module>()
NameError: name 'Integer' is not defined
sage:
</paste>
Something failed to build properly...
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