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
-~----------~----~----~----~------~----~------~--~---