[sage-support] Re: Number fields bug?

2012-01-31 Thread Mike OS
Why does sage handle the two examples: 2^(1/3) and 2^(1/2) differently? I'm trying to understand when the are considered equal, as opposed to just isomorphic. On Jan 31, 8:47 am, Jeroen Demeyer wrote: > You are probably looking for > > sage: K.is_isomorphic(K1) > True > > The equality test == a

[sage-support] Re: Unexplained doctest error

2012-01-31 Thread Jason Grout
On 1/31/12 8:03 PM, Starx wrote: Oops, well for those who don't want to download the attachment here's the pastebin link: http://pastebin.com/z1x00AEa If you put: import pdb; pdb.set_trace() before the error in the function, that will start up the debugger and you can step through the code

Re: [sage-support] Re: Unexplained doctest error

2012-01-31 Thread William Stein
On Tue, Jan 31, 2012 at 6:19 PM, Tom Boothby wrote: > This may be a problem with your install.  It works fine on uw.sagenb.org: He is complaining that his code now fails to work with sage-4.8, but used to work with sage-4.7.2. I think the "problem" with his install is that he is using sage-4.8.

Re: [sage-support] Re: Unexplained doctest error

2012-01-31 Thread Tom Boothby
This may be a problem with your install. It works fine on uw.sagenb.org: http://uw.sagenb.org/home/pub/102 On Tue, Jan 31, 2012 at 6:03 PM, Starx wrote: > Oops, well for those who don't want to download the attachment here's > the pastebin link: http://pastebin.com/z1x00AEa > > -Jim > > On Tue,

Re: [sage-support] Re: Unexplained doctest error

2012-01-31 Thread Starx
Oops, well for those who don't want to download the attachment here's the pastebin link: http://pastebin.com/z1x00AEa -Jim On Tue, Jan 31, 2012 at 5:26 PM, William Stein wrote: > On Tue, Jan 31, 2012 at 5:18 PM, Starx wrote: >>>Please make your code available. [...] It depends on the code... >>

Re: [sage-support] Re: Unexplained doctest error

2012-01-31 Thread William Stein
On Tue, Jan 31, 2012 at 5:18 PM, Starx wrote: >>Please make your code available. [...] It depends on the code... > > I hesitated to do this at first because it's a rather large amount of > code, but as you requested I've attached the file.  It goes in the > sage/modules folder. Oh, regarding "lar

[sage-support] Re: Unexplained doctest error

2012-01-31 Thread John H Palmieri
On Tuesday, January 31, 2012 3:17:51 PM UTC-8, JStarx wrote: > > Hi, I am running OS X 10.6.8 and I just upgraded to 4.8 from 4.7.2. > Some code I've been working on all of a sudden started failing it's > doctests. Most of the failures have been easy to track down and fix, > I only have one left

Re: [sage-support] Unexplained doctest error

2012-01-31 Thread William Stein
On Jan 31, 2012 3:18 PM, "Starx" wrote: > > Hi, I am running OS X 10.6.8 and I just upgraded to 4.8 from 4.7.2. > Some code I've been working on all of a sudden started failing it's > doctests. Most of the failures have been easy to track down and fix, > I only have one left to go but it's stumpe

[sage-support] Unexplained doctest error

2012-01-31 Thread Starx
Hi, I am running OS X 10.6.8 and I just upgraded to 4.8 from 4.7.2. Some code I've been working on all of a sudden started failing it's doctests. Most of the failures have been easy to track down and fix, I only have one left to go but it's stumped me: d-69-91-134-166:sage-main Starx$ sage -t sag

Re: [sage-support] cropped 3dplots

2012-01-31 Thread Dana Ernst
On Jan 31, 2012, at 2:49 PM, Jason Grout wrote: > Thanks. The problem is that you are only plotting the planes from z=-3 to > z=3. Try changing the z range to -10,10 and the planes will extend further. Wow. Sorry to waste everyone's time. The z-values of 3 versus 18 appearing in the plots s

[sage-support] Re: cropped 3dplots

2012-01-31 Thread Jason Grout
On 1/31/12 1:26 PM, Dana Ernst wrote: On Jan 31, 2012, at 2:08 PM, Jason Grout wrote: On 1/31/12 12:58 PM, D.C. Ernst wrote: I'm using Sage 4.7. I've attached screenshots (.jpeg) of both so you can see what I mean. Can you reproduce this in a published worksheet on sagenb.org? Sorry…here

Re: [sage-support] Re: cropped 3dplots

2012-01-31 Thread Dana Ernst
On Jan 31, 2012, at 2:08 PM, Jason Grout wrote: > On 1/31/12 12:58 PM, D.C. Ernst wrote: >> I'm using Sage 4.7. I've attached screenshots (.jpeg) of both so you >> can see what I mean. > > Can you reproduce this in a published worksheet on sagenb.org? Sorry…here is the worksheet: http://sagenb

Re: [sage-support] Re: cropped 3dplots

2012-01-31 Thread Dana Ernst
On Jan 31, 2012, at 2:08 PM, Jason Grout wrote: > On 1/31/12 12:58 PM, D.C. Ernst wrote: >> I'm using Sage 4.7. I've attached screenshots (.jpeg) of both so you >> can see what I mean. > > Can you reproduce this in a published worksheet on sagenb.org? Comes out the same. Do you see what I mean

[sage-support] Re: cropped 3dplots

2012-01-31 Thread Jason Grout
On 1/31/12 12:58 PM, D.C. Ernst wrote: I'm using Sage 4.7. I've attached screenshots (.jpeg) of both so you can see what I mean. Can you reproduce this in a published worksheet on sagenb.org? Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: cropped 3dplots

2012-01-31 Thread D.C. Ernst
I'm using Sage 4.7. I've attached screenshots (.jpeg) of both so you can see what I mean. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://

[sage-support] Re: cropped 3dplots

2012-01-31 Thread Dox
I'm using sage-4.8 and those commands work just fine! Cheers. On Jan 31, 2:19 pm, "D.C. Ernst" wrote: > If I plot > > var('x y z') > A=implicit_plot3d(x+y+z==1,(x,-3,3),(y,-3,3),(z,-3,3)) > B=implicit_plot3d(x+y+z==0,(x,-3,3),(y,-3,3),(z,-3,3),color='red') > A+B > > You get what you expect.  How

[sage-support] cropped 3dplots

2012-01-31 Thread D.C. Ernst
If I plot var('x y z') A=implicit_plot3d(x+y+z==1,(x,-3,3),(y,-3,3),(z,-3,3)) B=implicit_plot3d(x+y+z==0,(x,-3,3),(y,-3,3),(z,-3,3),color='red') A+B You get what you expect. However, if I plot var('x y z') A=implicit_plot3d(x+y+z==1,(x,-3,3),(y,-3,3),(z,-3,3)) B=implicit_plot3d(x+y+z==0,(x,-3,3

Re: [sage-support] Number fields bug?

2012-01-31 Thread Jeroen Demeyer
You are probably looking for sage: K.is_isomorphic(K1) True The equality test == also checks that the name of the generator is the same. In your case, they differ: "a" versus "sqrt2". -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send ema

Re: [sage-support] Re: unable to create new user on Sage server

2012-01-31 Thread Dana Ernst
On Jan 31, 2012, at 10:40 AM, Jason Grout wrote: > No. The log would be something shown on the server screen (on the physical > server LCD screen, not a web page) at the command line when the sage notebook > is started up. It's probably something that IT can see. If they were able to > send

[sage-support] Re: unable to create new user on Sage server

2012-01-31 Thread Jason Grout
On 1/31/12 9:30 AM, Dana Ernst wrote: On Jan 31, 2012, at 9:58 AM, Jason Grout wrote: Can you see the log? That is the stdout output of the Sage server. When I click on "log" from within the Sage notebook (while logged in as admin), the worksheet it generates is blank. Is this the log you

Re: [sage-support] Re: unable to create new user on Sage server

2012-01-31 Thread Dana Ernst
On Jan 31, 2012, at 9:58 AM, Jason Grout wrote: > Can you see the log? That is the stdout output of the Sage server. When I click on "log" from within the Sage notebook (while logged in as admin), the worksheet it generates is blank. Is this the log you meant? Dana -- To post to this group,

[sage-support] Re: unable to create new user on Sage server

2012-01-31 Thread Jason Grout
On 1/31/12 8:30 AM, D.C. Ernst wrote: I'm currently attempting to create new users on my university's Sage server (sage.plymouth.edu). I've successfully done this in the past, but I am currently getting the following error message: "An error occurred rendering the requested page. More information

Re: [sage-support] unable to create new user on Sage server

2012-01-31 Thread Berkin Malkoc
On Tue, Jan 31, 2012 at 4:30 PM, D.C. Ernst wrote: > A related question: Once I get this fixed, is there a way to add users in > bulk? You are probably looking for add_user (http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html). Berkin -- To post to this group, send email to sa

[sage-support] unable to create new user on Sage server

2012-01-31 Thread D.C. Ernst
I'm currently attempting to create new users on my university's Sage server (sage.plymouth.edu). I've successfully done this in the past, but I am currently getting the following error message: "An error occurred rendering the requested page. More information is available in the server log." A

[sage-support] Re: ImportError: No module named sage.all

2012-01-31 Thread Simon King
Hi Andrey, probably other people are able to tell you whether (and how) it is possible to use a package in one Python version that was installed in a totally different Python version. I have never tried it, myself. So, sorry that I can't help you in that point. On 30 Jan., 15:37, Andrey Abramov