Re: [sage-support] Re: Running doctests in group writable directory

2013-11-07 Thread Jeroen Demeyer
On 2013-11-07 19:37, Nils Bruin wrote: I can confirm that I also am not able to get "sage --python" to run without printing a warning in any situation I tried where the current directory is group writeable. You need either your umask to allow group-writing or you need to run python on a group-wr

[sage-support] Re: Why can't I see my code while debugging with trace?

2013-11-07 Thread Nils Bruin
On Thursday, November 7, 2013 3:02:11 PM UTC-8, Dima Pasechnik wrote: > > wow, this must be in the docs! > I agree, but for instance on http://www.sagemath.org/doc/reference/cmd/sage/misc/trace.html it isn't mentioned, so is it in the docs? -- You received this message because you are subscr

Re: [sage-support] New username not recognized

2013-11-07 Thread William Stein
On Thu, Nov 7, 2013 at 4:54 PM, James Traynor wrote: > Last login: Thu Nov 7 19:25:31 on ttys001 > > /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/sage; > exit > > Jim:~ jamestraynor$ > /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/sage; > exit > > ┌─

[sage-support] New username not recognized

2013-11-07 Thread James Traynor
Last login: Thu Nov 7 19:25:31 on ttys001 /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/sage; exit Jim:~ jamestraynor$ /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/sage; exit ┌┐

[sage-support] Re: Why can't I see my code while debugging with trace?

2013-11-07 Thread Dima Pasechnik
On 2013-11-06, Nils Bruin wrote: > On Wednesday, November 6, 2013 1:56:12 AM UTC-8, Tobias Weich wrote: >> >> Hi, >> If I load some sage script and try to debug it with trace I am unable to >> see the code which I'm debugging >> >> load('~/test.sage') >> trace('example_func()') >> >> yields only

[sage-support] Re: Running doctests in group writable directory

2013-11-07 Thread Nils Bruin
On Thursday, November 7, 2013 10:01:00 AM UTC-8, scma...@gmail.com wrote: > How come this only comes into play for doctesting and not for just running > a script with sage? Using the example I posted before in the file > example_script.py, I get > It looks like sage silences the python message

[sage-support] Re: exact eigenvalues

2013-11-07 Thread ccandide
Le jeudi 7 novembre 2013 18:19:39 UTC+1, John H Palmieri a écrit : > > > sage: b._exact_value() > a - 1 where a^2 - 2 = 0 and a in -1.414213562373095? > It is reassuring to see that we can recover the exact value! thanks -- You received this message because you are subscribed to the Google G

[sage-support] Re: exact eigenvalues

2013-11-07 Thread ccandide
Le jeudi 7 novembre 2013 18:28:31 UTC+1, Nils Bruin a écrit : > > On Thursday, November 7, 2013 9:00:36 AM UTC-8, ccandide wrote: >> >> I dont' understand why Sage is unable to give an exact expression for the >> eigenvalues of the following matrix : >> >> sage: A= matrix([[0,1],[1,-2]]) >> sage

[sage-support] Re: Running doctests in group writable directory

2013-11-07 Thread scmancuso
On Thursday, November 7, 2013 10:16:45 AM UTC-7, Nils Bruin wrote: > > > Your problem arises from the fact that sage's python is patched to be a > little more picky about permissions on paths. > How come this only comes into play for doctesting and not for just running a script with sage? Usi

[sage-support] Re: exact eigenvalues

2013-11-07 Thread Nils Bruin
On Thursday, November 7, 2013 9:00:36 AM UTC-8, ccandide wrote: > > I dont' understand why Sage is unable to give an exact expression for the > eigenvalues of the following matrix : > > sage: A= matrix([[0,1],[1,-2]]) > sage: [a for a,_,_ in A.eigenvectors_right()] > [-2.414213562373095?, 0.414213

[sage-support] Re: exact eigenvalues

2013-11-07 Thread John H Palmieri
On Thursday, November 7, 2013 9:00:36 AM UTC-8, ccandide wrote: > > I dont' understand why Sage is unable to give an exact expression for the > eigenvalues of the following matrix : > > sage: A= matrix([[0,1],[1,-2]]) > sage: [a for a,_,_ in A.eigenvectors_right()] > [-2.414213562373095?, 0.414213

[sage-support] Re: Running doctests in group writable directory

2013-11-07 Thread Nils Bruin
On Thursday, November 7, 2013 7:13:39 AM UTC-8, scma...@gmail.com wrote: > > > I read through that ticket before posting, but I didn't (and still don't) > see a solution to my problem. Admittedly I don't understand all of the > issues talked about on that ticket. I created a test script in the sa

[sage-support] exact eigenvalues

2013-11-07 Thread ccandide
I dont' understand why Sage is unable to give an exact expression for the eigenvalues of the following matrix : sage: A= matrix([[0,1],[1,-2]]) sage: [a for a,_,_ in A.eigenvectors_right()] [-2.414213562373095?, 0.4142135623730951?] The characteristic polynomial is very simple : sage: A.charpo

[sage-support] Re: Running doctests in group writable directory

2013-11-07 Thread scmancuso
On Wednesday, November 6, 2013 10:27:53 PM UTC-7, Volker Braun wrote: > See http://trac.sagemath.org/ticket/13579#comment:40 and following... > > > > On Wednesday, November 6, 2013 4:14:08 PM UTC-8, scma...@gmail.com > wrote:After our sysadmin updated the computer we use for a major project in