On Sat, Nov 22, 2008 at 2:09 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Nov 22, 2:06 pm, Jaap Spies <[EMAIL PROTECTED]> wrote: >> Jaap Spies wrote: >> > William Stein wrote: >> >> Hi, >> >> >> For early adopters, sage-3.2 has been released. You can get the >> >> source from here:http://sagemath.org/src/ >> >> Or you can do "sage -upgrade". >> >> >> Binaries and an official announcement should come within a day or two. >> >> >> William >> >> > After sage -upgrade I get: >> >> > [EMAIL PROTECTED] sage-3.2]$ sage >> > ---------------------------------------------------------------------- >> > | Sage Version 3.2, Release Date: 2008-11-20 | >> > | Type notebook() for the GUI, and license() for information. | >> > ---------------------------------------------------------------------- >> > Traceback (most recent call last): >> > File "/usr/local/sage/local/bin/sage-location", line 134, in <module> >> > t, R = install_moved() >> > File "/usr/local/sage/local/bin/sage-location", line 18, in >> > install_moved >> > write_flags_file() >> > File "/usr/local/sage/local/bin/sage-location", line 63, in >> > write_flags_file >> > open(flags_file,'w').write(get_flags_info()) >> > IOError: [Errno 13] Permission denied: >> > '/usr/local/sage/local/lib/sage-flags.txt' >> >> > Thoughts? >> >> > Jaap >> >> Sorry for the noise: >> >> As root: chmod a+rX -R /usr/local/sage >> >> solved the (non) issue. > > I am not so sure this is a non-issue since that file should be created > with the right permissions. Let me think about it before I come to any > conclusion. > > Meanwhile: Did you upgrade as root? Who owned the tree before? >
I'm guessing no test run of Sage occurred as the user (root) doing the upgrade. I think "sage -upgrade" should always run that sage-starts script I recently wrote at least once, say at the end. That will make sure that sage-location gets updated, etc. Thoughts? William >> Jaap > > Cheers, > > Michael > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---