Dear all,

I just compiled sage from source (since the binary did not work for me) in
ubuntu 11.04 (in particular, lubuntu). I followed the instructions and the
compilation seemed to be successful. Also I set the permissions correctly.
However, when I run sage, I get a long message, which I attach below.

Do you have any suggestions what causes that problem?

Many thanks in advance!

I copy/paste the error message:
-----------------------------------------------------------------------------------------------------------
tzanakis@turing:/opt/sage4.7$ ./sage
----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)

/opt/sage4.7/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

/opt/sage4.7/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

/opt/sage4.7/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)

/opt/sage4.7/local/lib/python2.6/site-packages/sage/all.py in <module>()
    326 # Cache the contents of star imports.

    327 import sage.misc.lazy_import
--> 328 sage.misc.lazy_import.save_cache_file()
    329
    330

/opt/sage4.7/local/lib/python2.6/site-packages/sage/misc/lazy_import.so in
sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:4398)()

/opt/sage4.7/local/lib/python/shutil.pyc in move(src, dst)
    262             rmtree(src)
    263         else:
--> 264             copy2(src, real_dst)
    265             os.unlink(src)
    266

/opt/sage4.7/local/lib/python/shutil.pyc in copy2(src, dst)
     98         dst = os.path.join(dst, os.path.basename(src))
     99     copyfile(src, dst)
--> 100     copystat(src, dst)
    101
    102 def ignore_patterns(*patterns):

/opt/sage4.7/local/lib/python/shutil.pyc in copystat(src, dst)
     71     mode = stat.S_IMODE(st.st_mode)
     72     if hasattr(os, 'utime'):
---> 73         os.utime(dst, (st.st_atime, st.st_mtime))
     74     if hasattr(os, 'chmod'):
     75         os.chmod(dst, mode)

OSError: [Errno 1] Operation not permitted:
'/home/tzanakis/.sage/_opt_sage4.7_devel_sage-main-lazy_import_cache.pickle'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

sage:

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

Reply via email to