I compiled sage for Ubuntu 12.10 and installed in a multiuser environment. When 
i ran the tests I got

The following tests failed:

        sage -t  --long -force_lib devel/sage/sage/tests/cmdline.py # 1 
doctests failed
        sage -t  --long -force_lib devel/sage/sage/structure/sage_object.pyx # 
1 doctests failed


When I run sage as root it works but when I run sage as my user I get the 
following message:


sage
----------------------------------------------------------------------
| Sage Version 5.5, Release Date: 2012-12-22                         |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)

/usr/local/sage/sage-5.5/local/lib/python2.7/site-packages/IPython/ipmaker.pyc 
in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64         
     65 

/usr/local/sage/sage-5.5/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     

/usr/local/sage/sage-5.5/local/lib/python2.7/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)

/usr/local/sage/sage-5.5/local/lib/python2.7/site-packages/sage/all.py in 
<module>()
    295 # Cache the contents of star imports.
    296 import sage.misc.lazy_import
--> 297 sage.misc.lazy_import.save_cache_file()
    298 
    299 

/usr/local/sage/sage-5.5/local/lib/python2.7/site-packages/sage/misc/lazy_import.so
 in sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:5770)()
    879 
    880 
--> 881 
    882 
    883 

/usr/local/sage/sage-5.5/local/lib/python/shutil.pyc in move(src, dst)
    297             rmtree(src)
    298         else:
--> 299             copy2(src, real_dst)
    300             os.unlink(src)
    301 

/usr/local/sage/sage-5.5/local/lib/python/shutil.pyc in copy2(src, dst)
    126     if os.path.isdir(dst):
    127         dst = os.path.join(dst, os.path.basename(src))
--> 128     copyfile(src, dst)
    129     copystat(src, dst)
    130 

/usr/local/sage/sage-5.5/local/lib/python/shutil.pyc in copyfile(src, dst)
     81 
     82     with open(src, 'rb') as fsrc:
---> 83         with open(dst, 'wb') as fdst:
     84             copyfileobj(fsrc, fdst)
     85 

IOError: [Errno 13] Permission denied: 
'/home/michael/.sage/cache/_usr_local_sage_sage-5.5_devel_sage-main-lazy_import_cache.pickle'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.


However I do get into sage and it does appear to work. I was running a binary 
copy of sage before I started the compile.

How do i proceed to debug these issues

Michael
How should I proceed to debug these problems

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to