Ask Your Question
1

.sage does not exist?

asked 2014-07-04 02:40:25 +0100

smbelcas gravatar image

I have a student, Mac OS X 10.7.5, installed the 10.6-app, startup takes her to Terminal, whence the server tries to start and give the error IPython parent 'Users/username/.sage' is not a writable location, using a temp directory. then a bunch of alarms and stuff, and OSError: [Errno 13] Permission denied: 'Users/username/.sage'

I tried reinstalling Sage, and got the same problem. How can I help this student?

edit retag flag offensive close merge delete

Comments

Oh, and I went to look at the directory Users/username/.sage and it didn't exist on the student's machine.

smbelcas gravatar imagesmbelcas ( 2014-07-04 03:22:47 +0100 )edit

Looks like permission problem. Is "username" the login name on that computer?

vdelecroix gravatar imagevdelecroix ( 2014-07-04 08:07:11 +0100 )edit

Indeed, the error indicates it's a permission problem. That doesn't indicate how to *solve* the problem. I'm substituting "username" to keep the student's anonymity. The student is a minor.

smbelcas gravatar imagesmbelcas ( 2014-07-04 14:02:03 +0100 )edit

Does the student have permission to create files in his/her own directory? As a test, can you see whether the student can create *any* files in Terminal in Users/username/? Certainly the file won't exist if the permissions aren't correct to create files. One could try to see what the user and group permissions are for Users/username/, but it's possible that e.g. parental controls might cause this to happen. For Sage to work, one does need that permission at least, I believe.

kcrisman gravatar imagekcrisman ( 2014-07-04 14:17:04 +0100 )edit

And what does "$ ls -l /Users/" says?

vdelecroix gravatar imagevdelecroix ( 2014-07-04 14:44:26 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
-2

answered 2014-07-04 07:09:06 +0100

Gregory Bard gravatar image

Personally, I think it is a serious mistake to install Sage locally on a personal computer. The Sage Cloud interface is far easier to use, requires no installation (it works through the web browser), and it brings you all the advantages of cloud computing---for example, your data lives forever on a server even if your laptop suffers some grave mishap. There are many features for sharing your work with others, and so forth. There's just no reason to bother with a local install.

https://cloud.sagemath.com/

Even simpler is the Sage Single-Cell Server which is great for small Sage tasks.

https://sagecell.sagemath.org/

edit flag offensive delete link more

Comments

This isn't really answering the question, though I see your point. However, given that a large percentage of the world (including in North America) is not online 100% of the time, this isn't a practical solution for everyone.

kcrisman gravatar imagekcrisman ( 2014-07-04 14:24:34 +0100 )edit

unless you have a very fast network always available (and this is not so if you sit at home on a ADSL via a phone line, as it will slow down at busy times, when your neighbours go online), a local install of Sage beats a remote one with one hand. And data loss can be beaten by backups (it's a bit unwise to fully rely on a free service like Sage Cloud for your crucial data; if you ask me it's unwise to fully trust just one remote service with your crucial data, even if you pay for it!).

Dima gravatar imageDima ( 2014-07-04 15:00:41 +0100 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-04 02:40:25 +0100

Seen: 425 times

Last updated: Jul 04 '14