(1) I did ./sage -upgrade. (2) Yes (3) The last 4 lines of install.log are """ Successfully installed gap_packages-4.4.9 Now cleaning up tmp files. Making SAGE/Python scripts relocatable... Making script relocatable """ (?) (4) Nothing (5) Waiting to see... (to be continued)
On Mar 30, 11:32 am, "William Stein" <[EMAIL PROTECTED]> wrote: > 1) how did you upgrade? Did you do "sage -upgrade"? > 2) Is this on a (=my) Macbook Pro? > 3) Were there any errors in the install.log during the upgrade, or did > it complete fine? > 4) If you do "./sage -upgrade" again what happens? > 5) If you move devel/sage-main elsewhere and delete the devel/sage symlink, > and the file spkg/installed/sage-2.4.1.2, then do "./sage -upgrade", > what happens? > > -- William > > On 3/30/07, Robert Miller <[EMAIL PROTECTED]> wrote: > > > > > Upgrading from 2.3 to 2.4.1.2, and getting very strange behavior: > > > [EMAIL PROTECTED]:~/sage$ ./sage > > ---------------------------------------------------------------------- > > | SAGE Version 2.4.1.2, Release Date: 2007-03-28 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > <type 'exceptions.RuntimeError'> Traceback (most recent call > > last) > > > /home/rlmill/sage/local/bin/<ipython console> in <module>() > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/ > > all_cmdline.py in <module>() > > 1 """nodoctest""" > > ----> 2 from sage.all import * > > 3 > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/all.py in > > <module>() > > 43 del _l > > 44 except KeyError: > > ---> 45 raise RuntimeError, "To use the SAGE libraries, set the > > environment variable SAGE_ROOT to the SAGE build directory and > > LD_LIBRARY_PATH to $SAGE_ROOT/local/lib" > > 46 > > 47 > > > <type 'exceptions.RuntimeError'>: To use the SAGE libraries, set the > > environment variable SAGE_ROOT to the SAGE build directory and > > LD_LIBRARY_PATH to $SAGE_ROOT/local/lib > > sage: exit > > --------------------------------------------------------------------------- > > <type 'exceptions.AttributeError'> Traceback (most recent call > > last) > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > interpreter.py in sage_prefilter(self, block, continuation) > > 388 for i in range(len(B)): > > 389 L = B[i] > > --> 390 M = do_prefilter_paste(L, continuation or (not > > first)) > > 391 first = False > > 392 # The L[:len(L)-len(L.lstrip())] business here > > preserves > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > interpreter.py in do_prefilter_paste(line, continuation) > > 342 raise ImportError, "Attaching of '%s' not > > implemented (load .py, .spyx, and .sage files)"%name > > 343 if len(line) > 0: > > --> 344 line = preparser_ipython.preparse_ipython(line, not > > continuation) > > 345 return line > > 346 > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > preparser_ipython.py in preparse_ipython(line, reset) > > 65 # but I don't know how yet... > > 66 L = L[1:].strip() > > ---> 67 import sage.interfaces.all > > 68 if L.lower() in sage.interfaces.all.interfaces: > > 69 switch_interface(L.lower()) > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/interfaces/ > > all.py in <module>() > > 8 from genus2reduction import genus2reduction, Genus2reduction > > 9 from gfan import gfan, Gfan > > ---> 10 from gp import gp, gp_console, gp_version, is_GpElement, Gp > > 11 #from gnuplot import gnuplot, gnuplot_console > > 12 from kash import kash, kash_console, kash_version, > > is_KashElement, Kash > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/interfaces/ > > gp.py in <module>() > > 91 from sage.misc.misc import verbose > > 92 from sage.libs.pari.all import pari > > ---> 93 import sage.rings.all > > 94 > > 95 class Gp(Expect): > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/all.py > > in <module>() > > 40 > > 41 # Ideals > > ---> 42 from ideal import Ideal, is_Ideal > > 43 > > 44 # Quotient > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/ > > ideal.py in <module>() > > 29 from sage.structure.element import MonoidElement > > 30 from sage.interfaces.singular import singular as > > singular_default, is_SingularElement > > ---> 31 import sage.rings.infinity > > 32 from sage.structure.sequence import Sequence > > 33 > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/ > > infinity.py in <module>() > > 124 #import sage.rings.real_double > > 125 #import sage.rings.real_mpfr > > --> 126 import sage.rings.integer > > 127 import sage.rings.rational > > 128 > > > /home/rlmill/sage/local/bin/integer.pyx in integer() > > 132 > > 133 > > --> 134 > > 135 > > 136 > > > /home/rlmill/sage/local/bin/rational.pxd in integer_ring() > > 5 > > 6 > > ----> 7 > > 8 > > 9 > > > /home/rlmill/sage/local/bin/rational.pyx in rational() > > 39 > > 40 > > ---> 41 > > 42 > > 43 > > > /home/rlmill/sage/local/bin/real_double.pxd in real_mpfr() > > 6 > > 7 > > ----> 8 > > 9 > > 10 > > > /home/rlmill/sage/local/bin/real_double.pyx in real_double() > > 36 > > 37 > > ---> 38 > > 39 > > 40 > > > /home/rlmill/sage/local/bin/complex_double.pyx in complex_double() > > 77 > > 78 > > ---> 79 > > 80 > > 81 > > > /home/rlmill/sage/local/bin/real_mpfr.pxd in complex_number() > > 13 > > 14 > > ---> 15 > > 16 > > 17 > > > <type 'exceptions.AttributeError'>: 'module' object has no attribute > > 'RealNumber' > > sage: exit > > --------------------------------------------------------------------------- > > <type 'exceptions.ImportError'> Traceback (most recent call > > last) > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > interpreter.py in sage_prefilter(self, block, continuation) > > 388 for i in range(len(B)): > > 389 L = B[i] > > --> 390 M = do_prefilter_paste(L, continuation or (not > > first)) > > 391 first = False > > 392 # The L[:len(L)-len(L.lstrip())] business here > > preserves > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > interpreter.py in do_prefilter_paste(line, continuation) > > 342 raise ImportError, "Attaching of '%s' not > > implemented (load .py, .spyx, and .sage files)"%name > > 343 if len(line) > 0: > > --> 344 line = preparser_ipython.preparse_ipython(line, not > > continuation) > > 345 return line > > 346 > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/misc/ > > preparser_ipython.py in preparse_ipython(line, reset) > > 65 # but I don't know how yet... > > 66 L = L[1:].strip() > > ---> 67 import sage.interfaces.all > > 68 if L.lower() in sage.interfaces.all.interfaces: > > 69 switch_interface(L.lower()) > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/interfaces/ > > all.py in <module>() > > 8 from genus2reduction import genus2reduction, Genus2reduction > > 9 from gfan import gfan, Gfan > > ---> 10 from gp import gp, gp_console, gp_version, is_GpElement, Gp > > 11 #from gnuplot import gnuplot, gnuplot_console > > 12 from kash import kash, kash_console, kash_version, > > is_KashElement, Kash > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/interfaces/ > > gp.py in <module>() > > 91 from sage.misc.misc import verbose > > 92 from sage.libs.pari.all import pari > > ---> 93 import sage.rings.all > > 94 > > 95 class Gp(Expect): > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/all.py > > in <module>() > > 43 > > 44 # Quotient > > ---> 45 from quotient_ring import QuotientRing > > 46 > > 47 # Infinities > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/ > > quotient_ring.py in <module>() > > 21 import commutative_ring > > 22 import ideal > > ---> 23 import multi_polynomial_ideal > > 24 import sage.structure.parent_gens > > 25 from sage.interfaces.all import singular as singular_default, > > is_SingularElement > > > /home/rlmill/sage/local/lib/python2.5/site-packages/sage/rings/ > > multi_polynomial_ideal.py in <module>() > > 82 > > 83 from ideal import Ideal_generic > > ---> 84 from sage.interfaces.all import singular as singular_default, > > is_SingularElement > > 85 from sage.interfaces.all import macaulay2 as macaulay2_default > > 86 from sage.interfaces.all import is_SingularElement > > > <type 'exceptions.ImportError'>: cannot import name singular > > sage: > > > On Mar 28, 1:08 pm, Yi Qiang <[EMAIL PROTECTED]> wrote: > > > Actually I think the easiest way to fix this, at least for me, was to > > > do sage -upgrade, have mercurial roll back the merge and then simply do: > > > sage: hg_sage.pull() > > > > This will get you up to the latest version. > > > > On Mar 28, 2007, at 12:27 PM, Robert Bradshaw wrote: > > > > > When I looked carefully at my sage -upgrade output, I noticed a hg > > > > "rollback" caused by the error indicated in my previous email. This > > > > is why I didn't get any of the patches without moving sage-main > > > > first. Perhaps the hg repository in the sage-2.4.1.1 is corrupted? > > > > > - Robert > > > > > On Mar 28, 2007, at 12:16 PM, Joel B. Mohler wrote: > > > > >> Actually, what I get after a sage -upgrade didn't include the > > > >> patch. Did > > > >> my -upgrade go south? There should not be a > > > >> number_field_element.py and > > > >> there should be a number_field_element.pyx in the sage/rings/ > > > >> number_field > > > >> directory. > > > > >> -- > > > >> Joel > > > > >> On Wednesday 28 March 2007 10:30, William Stein wrote: > > > >>> On 3/28/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > >>>>> I've released sage-2.4.1. It has: > > > > >>>>> * d roe: massively updated p-adics code > > > >>>>> * r bradshaw: much misc code; Coleman integration > > > >>>>> * misc bug fixes > > > > >>>> What about my number field pyrexification? > > > >>>> Joel > > > > >>> I forgot to mention Joel Mohler's excellent contribution to number > > > >>> field > > ... > > read more ยป --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---