First time here? Check out the FAQ!

Ask Your Question
0

Is the SAGE_SERVER set correctly?

asked 14 years ago

tdupu10000 gravatar image

updated 10 years ago

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?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 14 years ago

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.

Preview: (hide)
link
0

answered 14 years ago

tdupu10000 gravatar image

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

Preview: (hide)
link

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: 14 years ago

Seen: 479 times

Last updated: Jan 27 '11