ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 27 Jan 2011 22:15:16 +0100Is the SAGE_SERVER set correctly?https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/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?
Thu, 27 Jan 2011 19:29:13 +0100https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/Answer by tdupu10000 for <p>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</p>
<pre><code>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?).
([], [])
</code></pre>
<p>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?</p>
https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/?answer=12020#post-id-12020Yeah. I'm retarded. I needed to use sudo. Thanks.Thu, 27 Jan 2011 22:15:16 +0100https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/?answer=12020#post-id-12020Answer by Mike Hansen for <p>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</p>
<pre><code>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?).
([], [])
</code></pre>
<p>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?</p>
https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/?answer=12019#post-id-12019Given 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.Thu, 27 Jan 2011 21:18:43 +0100https://ask.sagemath.org/question/7901/is-the-sage_server-set-correctly/?answer=12019#post-id-12019