On Mon, Nov 9, 2009 at 1:32 AM, Pavel Sutyrin <psuty...@cs.msu.su> wrote:
>
> Hi all,
>
> After updating from 3.2 to  4.2  (both by sage -upgrade and rebuilding
> from fresh tarball) I get following result, when trying to merely
> import graphs.graph module:
>
> ======================================================
> pa...@pavelx:~$ uname -a
> Linux pavelx 2.6.30-2-amd64 #1 SMP Fri Sep 25 22:16:56 UTC 2009 x86_64
> GNU/Linux
> pa...@pavelx:~$ sage --version
> | Sage Version 4.2, Release Date: 2009-10-24                         |
> pa...@pavelx:~$ sage 1.py

What is 1.py?

William

> Traceback (most recent call last):
>  File "1.py", line 1, in <module>
>    from sage.graphs.graph import DiGraph
>  File "/home/pavel/sage/local/lib/python2.6/site-packages/sage/graphs/
> graph.py", line 388, in <module>
>    from sage.rings.integer import Integer
>  File "integer.pyx", line 158, in sage.rings.integer (sage/rings/
> integer.c:31398)
>  File "/home/pavel/sage/local/lib/python2.6/site-packages/sage/rings/
> infinity.py", line 200, in <module>
>    import sage.rings.rational
>  File "rational.pyx", line 70, in sage.rings.rational (sage/rings/
> rational.c:23942)
>  File "real_mpfr.pyx", line 1, in sage.rings.real_mpfr (sage/rings/
> real_mpfr.c:29489)
>  File "complex_number.pxd", line 8, in sage.libs.mpmath.utils (sage/
> libs/mpmath/utils.c:5327)
>  File "complex_double.pxd", line 13, in sage.rings.complex_number
> (sage/rings/complex_number.c:14452)
>  File "complex_double.pyx", line 88, in sage.rings.complex_double
> (sage/rings/complex_double.c:13818)
>  File "/home/pavel/sage/local/lib/python2.6/site-packages/sage/rings/
> complex_field.py", line 86, in ComplexField
>    C = ComplexField_class(prec)
>  File "/home/pavel/sage/local/lib/python2.6/site-packages/sage/rings/
> complex_field.py", line 175, in __init__
>    ParentWithGens.__init__(self, self._real_field(), ('I',), False)
>  File "/home/pavel/sage/local/lib/python2.6/site-packages/sage/rings/
> complex_field.py", line 228, in _real_field
>    self.__real_field = real_mpfr.RealField_constructor(self._prec)
>  File "real_mpfr.pyx", line 247, in
> sage.rings.real_mpfr.RealField_constructor (sage/rings/real_mpfr.c:
> 3923)
> TypeError: 'NoneType' object is unsubscriptable
> ======================================================
>
> That is Debian lenny/testing. The same thing reportedly happens at
> i586 machine (Kubuntu 9.10) too.
>
> Something similar was googled up under following ticket, but I have
> little clue how to relate these:
>
> http://trac.sagemath.org/sage_trac/ticket/6505
>
> So thanks for advice,
> and for great software,
>
> --Pavel.
> >
>



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

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to