Hi Michael, Thanks for your help & patience.
I tried the first option, but it didn't work, so I deleted my entire sage install and downloaded the binary again from the website. Now I have sage installed and working, but "sage -upgrade" gave me the following warning: ------------------- * This is a binary install, so upgrading in place is *not* recommended unless you are an expert. * (Considering installing a new binary from http://sagemath.org instead.) Do you want to continue [y/N]? N Abort. ------------------- So, as you can see I decided not to upgrade. Rather, I tried to move the process along by adding the new *.py file to my hg repository: ------------------- sage: hg_sage.add('/finance/FinanceDate.py') Adding file /finance/FinanceDate.py cd "/Users/phaedonsinis/sage/devel/sage" && hg add "/finance/ FinanceDate.py" abort: /finance/FinanceDate.py not under root ------------------- I'm a bit lost here... On Mar 1, 9:48 pm, mabshoff <mabsh...@googlemail.com> wrote: > On Mar 1, 9:40 pm, Phaedon Sinis <phaedonsi...@gmail.com> wrote: > > Hi Phaedon, > > > > > > > I just upgraded my installation of sage, using "sage -upgrade", and > > now my sage-finance-test clone won't work. I followed the directions > > to run %upgrade, deleted the indicated file manually, and reran it... > > and it continues to throw the following error: > > > ---------------------------------------------------------------------- > > | Sage Version 3.3, Release Date: 2009-02-21 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > --------------------------------------------------------------------------- > > ImportError Traceback (most recent call > > last) > > > /Users/phaedonsinis/sage/local/lib/python2.5/site-packages/IPython/ > > ipmaker.pyc in force_import(modname) > > 64 reload(sys.modules[modname]) > > 65 else: > > ---> 66 __import__(modname) > > 67 > > 68 > > > /Users/phaedonsinis/sage/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 > > > /Users/phaedonsinis/sage/local/lib/python2.5/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) > > > /Users/phaedonsinis/sage/local/lib/python2.5/site-packages/sage/all.py > > in <module>() > > 90 from sage.functions.all import * > > 91 > > ---> 92 import sage.symbolic.pynac # This must come before Calculus > > -- it initializes the Pynac library. > > 93 from sage.calculus.all import * > > 94 from sage.server.all import * > > > ImportError: dlopen(/Users/phaedonsinis/sage/local/lib/python2.5/site- > > packages/sage/symbolic/pynac.so, 2): Library not loaded: /Users/ > > phaedonsinis/sage/local/lib/libpynac-0.1.1.dylib > > Referenced from: /Users/phaedonsinis/sage/local/lib/python2.5/site- > > packages/sage/symbolic/pynac.so > > Reason: image not found > > Error importing ipy_profile_sage - perhaps you should run %upgrade? > > WARNING: Loading of ipy_profile_sage failed. > > This is likely a problem with an unsuccessful merge, i.e. you have two > heads. You can do two things: > > a) brute force: > > rm -rf devel/sage* > ./sage -f spkg/standard/sage-3.3.spkg > > Obviously this will blow all your changes away ;) > > b) Merge the heads > > ./sage -sh > cd local/bin > hg heads > > [this should show more than one head, probably two] > > hg merge tip > > [You might have to resolve some issues] > > Cheers, > > Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---