On Oct 20, 2006, at 19:02 , Luis Finotti wrote:

>
> Hi,
>
> I'm trying to install version 1.4.1.2, but I don't seem to be able
> to...  The "make" process seems to go fine  but:
[snip]
> /usr/local/sage-1.4.1.2/local/lib/python2.5/os.py in makedirs(name,  
> mode)
>     164         if tail == curdir:           # xxx/newdir/. exists if
> xxx/newdir exists
>     165             return
> --> 166     mkdir(name, mode)
>     167
>     168 def removedirs(name):
>
> <type 'exceptions.OSError'>: [Errno 13] Permission denied:
> '/home/finotti/.sage//tmp/6743/'
> WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
> sage.misc.preparser_ipython.magma_colon_equals=True'
> ---------------------------------------------------------------------- 
> -----
> <type 'exceptions.OSError'>               Traceback (most recent  
> call last)
>
> /usr/local/sage-1.4.1.2/local/bin/<ipython console> in <module>()
>
> /usr/local/sage-1.4.1.2/local/lib/python2.5/site-packages/sage/misc/ 
> misc.py
> in <module>()
>      68 SAGE_TMP='%s/tmp/%s/'%(DOT_SAGE,os.getpid())
>      69 if not os.path.exists(SAGE_TMP):
> ---> 70     os.makedirs(SAGE_TMP)
>      71
>      72 SAGE_DATA = '%s/data'%SAGE_ROOT
>
> /usr/local/sage-1.4.1.2/local/lib/python2.5/os.py in makedirs(name,  
> mode)
>     164         if tail == curdir:           # xxx/newdir/. exists if
> xxx/newdir exists
>     165             return
> --> 166     mkdir(name, mode)
>     167
>     168 def removedirs(name):
>
> <type 'exceptions.OSError'>: [Errno 13] Permission denied:
> '/home/finotti/.sage//tmp/6743/'

Check, in a shell window, the permissions on the directories involved:

   ls -ld /home/finotti/.sage
   ls -ld /home/finotti/.sage/tmp
   ls -ld /home/finotti/.sage/tmp/6743

It appears that there is an ownership problem.  Did you build as  
root, for example?

> <ERROR: name 'sage_prompt' is not defined>

I think this occurs because of the above permission problems.

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
-----------
Nobody knows the trouble I've been
-----------




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to