Ask Your Question
0

Is the SAGE_SERVER set correctly?

asked 2011-01-27 12:29:13 -0500

tdupu10000 gravatar image

updated 2015-01-13 13:54:26 -0500

FrédéricC gravatar image

I'm trying to install the Macaulay experimental package but I can't get sage to talk to the internet. I know I want to install macaulay2-1.1-r7221.p0.spkg

sage: sage.misc.package.experimental_packages()
Using SAGE Server http://www.sagemath.org//packages
http://www.sagemath.org//packages/experimental/list --> /opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/tmp/list
[Errno 13] Permission denied: '/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/tmp/list'
********************************************************************************  
Error contacting http://www.sagemath.org//packages/experimental/list. Try using an alternative server.
For example, from the bash prompt try typing

   export SAGE_SERVER=http://sage.scipy.org/sage/

then try again.   
********************************************************************************
experimental package list (shown above) appears to be currently not available or corrupted (network error?).
([], [])

SO, I did what the error message suggested and it didn't do anything (edit: the double slash in the url doesn't matter) How do I fix this?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2011-01-27 14:18:43 -0500

Mike Hansen gravatar image

Given the line

[Errno 13] Permission denied: '/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/tmp/list'

it seems as if the user you are running Sage as does not have permission to write into that directory. Is /opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/tmp owned by root? You should try changing the permissions on that directory or run the command as a user with the appropriate permissions.

edit flag offensive delete link more
0

answered 2011-01-27 15:15:16 -0500

tdupu10000 gravatar image

Yeah. I'm retarded. I needed to use sudo. Thanks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-01-27 12:29:13 -0500

Seen: 205 times

Last updated: Jan 27 '11