[sage-support] Re: Easy way to combine fractions in Sage?
On Monday, September 12, 2016 at 9:26:34 PM UTC+2, saad khalid wrote: > > I couldn't find a better solution, so I made this: > > https://trac.sagemath.org/ticket/21477 > That has nothing to do with combining fractions. Also, numerics alone in the denominator can in principle not be combined because the resulting expression will be immediately expanded again (try it). The ex.combine() member function will combine symbolic denominators. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Computation has been running for a very long time...
I tried checking the process, here was the output: ~/Saad Khalid$ ps x | grep -w 12616 12616 pts/22 Ssl+ 0:00 /usr/bin/M2-binary --no-debug --no-readline --silent -e ZZ#{Standard,Core#"private dictionary"#"InputPrompt"} = lineno -> "_EGAS_ : ";ZZ#{Standard,Core#"private dictionary"#"InputContinuationPrompt"} = lineno -> "_EGAS_ : ";printWidth = 0;lineNumber = 10^9; 13296 pts/24 S+ 0:00 grep --color=auto -w Not really sure what it means. I also posted the question in the sage-cloud board -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] How does @interact work in Sage 7.3 Jupiter notebook?
Hi, the Interact command does not seem to be working in Sage 7.3 Jupyer Notebook! Here is the code from a notebook cell: - from ipywidgets import interact, interactive, fixed import ipywidgets as widgets def plotNthRoots(n): # Create a unit circle c = circle((0,0), radius=1, rgbcolor=(1,0,0)) # Combine the circle with points on the circle representing the roots of unity theta = 2.0*pi/float(n) p = c + point([(cos(t), sin(t)) for t in srange(0, 2.0*pi, theta)],frame=True,size=60) # Add in vectors from the origin to the roots of unity. p = p + sum([arrow2d( (0,0), (cos(t),sin(t)) ) for t in srange(0, 2.0*pi, theta)]) show(p) print("The Principle %d-Root: (%5.3f)+(%5.3f)I"%(n,cos(theta), sin(theta)) ) @interact def _(n=(1,20)): plotNthRoots(n) - Rather than creating a slider, it generates a plot for the case n=20. Any suggestions? Adam Hausknecht -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: win 10, virtualbox 5.1.4, sage 7.3
I should correct that, the size of the .vdi file is in fact ~20GBytes not 8. On Monday, September 12, 2016 at 2:00:06 PM UTC-7, multiscalar wrote: > > I let VirtualBox do dynamic allocation for the disk. I installed Centos7 > development/creative station and built sage7.3 from source. > The size of the .vdi file is ~8GBytes. That shouldn't be too surprising; > if you compare that to the .ova file (~3GBytes) the vdi is bigger > but still comparable...they essentially do the same thing. > > On Monday, September 12, 2016 at 7:02:06 AM UTC-7, Dima Pasechnik wrote: >> >> >> >> On Sunday, September 11, 2016 at 7:38:13 PM UTC, multiscalar wrote: >>> >>> You might want to consider just installing a linux virtual machine and >>> building sage from source there. >>> It's a little bit more work than importing an ova, but longterm it's >>> more usable. The linux OS + built sage >>> should fit in 10GBytes, so you can in principle have several >>> versions >>> >> 10GB is wildly optimistic. >> With all the tools you need to build/run Sage, you probably would need >> that much for them, excluding Sage. >> I'd reserve at least 30 to 50 GB... >> >> >>> >>> On Thursday, September 8, 2016 at 11:19:33 AM UTC-7, Temperus Tempus >>> wrote: Hello, I´ve installed virtualbox 5.1.4 on win10 system and imported sage 7.3.ova. When I try to start sage with the green arrow at virtual box it comes until the sage promt, where I have to login. When I login with sage, pw: sage, I get: Last login: ..." and prompt. The notebook didn´t start automatically. So I try to start it with "./ notebook-browser (as I found out with ls command). But I only get: (chromium-browser:1622): Gtk-WARNING **: cannot open display: What´s the problem? Couldn´t find any help in the net. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: win 10, virtualbox 5.1.4, sage 7.3
I let VirtualBox do dynamic allocation for the disk. I installed Centos7 development/creative station and built sage7.3 from source. The size of the .vdi file is ~8GBytes. That shouldn't be too surprising; if you compare that to the .ova file (~3GBytes) the vdi is bigger but still comparable...they essentially do the same thing. On Monday, September 12, 2016 at 7:02:06 AM UTC-7, Dima Pasechnik wrote: > > > > On Sunday, September 11, 2016 at 7:38:13 PM UTC, multiscalar wrote: >> >> You might want to consider just installing a linux virtual machine and >> building sage from source there. >> It's a little bit more work than importing an ova, but longterm it's more >> usable. The linux OS + built sage >> should fit in 10GBytes, so you can in principle have several versions >> > 10GB is wildly optimistic. > With all the tools you need to build/run Sage, you probably would need > that much for them, excluding Sage. > I'd reserve at least 30 to 50 GB... > > >> >> On Thursday, September 8, 2016 at 11:19:33 AM UTC-7, Temperus Tempus >> wrote: >>> >>> Hello, >>> >>> I´ve installed virtualbox 5.1.4 on win10 system and imported sage >>> 7.3.ova. >>> When I try to start sage with the green arrow at virtual box it comes >>> until the sage promt, where I have to login. >>> When I login with sage, pw: sage, I get: Last login: ..." and prompt. >>> The notebook didn´t start automatically. >>> So I try to start it with "./ notebook-browser (as I found out with ls >>> command). >>> But I only get: (chromium-browser:1622): Gtk-WARNING **: cannot open >>> display: >>> What´s the problem? Couldn´t find any help in the net. >>> >>> Thanks in advance. >>> >>> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Easy way to combine fractions in Sage?
I couldn't find a better solution, so I made this: https://trac.sagemath.org/ticket/21477 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Cosine function erro
Shaun Ault wrote: > Dear sage-support, > > I'm getting the following unexpected results: > > sage: cos(2*pi*4/7).n() > 0.900968867902419 > sage: cos((2*pi*4/7).n()) > -0.900968867902419 > > What is going on here? Clearly the result should be negative both times. Which version? (Works for me in 7.3.) -leif -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Cosine function erro
Dear sage-support, I'm getting the following unexpected results: sage: cos(2*pi*4/7).n() 0.900968867902419 sage: cos((2*pi*4/7).n()) -0.900968867902419 What is going on here? Clearly the result should be negative both times. Thanks, Shaun Ault -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Computation has been running for a very long time...
On Monday, September 12, 2016, saad khalid> wrote: > The reason i didn't run it in a terminal is because the terminal would > stop working after 25 hours(I have 25 hours of inactive time) and, while I > know how to keep a sage worksheet active, I don't know how to keep a > terminal active without interrupting the calculation. I will try running it > in the SMC terminal, however. > You will get better SMC specific support on the SMC mailing lists or at h...@sagemath.com... > >> >> >> -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- Sent from my massive iPhone 6 plus. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] logged out
On Monday, September 12, 2016, Anton Sherwoodwrote: > On Monday, September 12, 2016 at 5:59:42 AM UTC, Anton Sherwood wrote: >> >>> Oh heck. I used my local Sage "server" yesterday, and (thinking >>> nothing of it) signed out before shutting it down; and now it wants >>> me to sign in. I don't remember ever signing in before, and have no >>> idea what it thinks my username is! >>> >> > On 2016-9-12 06:58, Dima Pasechnik wrote: > >> admin >> (most probably, IMHO) >> > > And now when I fire it up I'm logged in, apparently as admin. > Funny old world. > > I wonder whether there's a password. It's passed into the browser via the URL on opening. > > -- > *\\* Anton Sherwood *\\* www.bendwavy.org > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- Sent from my massive iPhone 6 plus. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Interface to lie broken in sage 7.3?
Indeed, the problem has been fixed recently (and the fix will appear in 7.4) https://trac.sagemath.org/ticket/21359 A workaround for sage-7.3 to start lie is to do $ sage -sh -c $SAGE_LOCAL/lib/LiE/Lie.exe If you want to make it work inside Sage you need to edit the file /home/baer/Sage/sage-7.3/local/bin/lie by hand. Normally it contains the two lines LD=/home/baer/Sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src exec $LD/Lie.exe initfile $LD You should change the first line to LD=$SAGE_LOCAL/lib/LiE/ Best, Vincent On 12/09/16 17:37, Christian Bär wrote: In my install $ sage -sh -c "which lie" gives /home/baer/Sage/sage-7.3/local/bin/lie and $ sage -sh -c lie gives /home/baer/Sage/sage-7.3/local/bin/lie: Zeile 4: /home/baer/Sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: Datei oder Verzeichnis nicht gefunden In SageMathCloud $ sage -sh -c "which lie" gives /projects/sage/sage-7.3/local/bin/lie and $ sage -sh -c lie gives /projects/sage/sage-7.3/local/bin/lie: 4: exec: /projects/sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: not found In constrast, in my old sage 7.2 install the command $ sage -sh -c lie does start lie. Christian -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Interface to lie broken in sage 7.3?
Christian Bär wrote: > In my install > > $ sage -sh -c "which lie" > gives > /home/baer/Sage/sage-7.3/local/bin/lie > > and > > $ sage -sh -c lie > gives > /home/baer/Sage/sage-7.3/local/bin/lie: Zeile 4: > /home/baer/Sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: > Datei oder Verzeichnis nicht gefunden > > In SageMathCloud > > $ sage -sh -c "which lie" > gives > /projects/sage/sage-7.3/local/bin/lie > > and > > $ sage -sh -c lie > gives > /projects/sage/sage-7.3/local/bin/lie: 4: exec: > /projects/sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: > not found > > In constrast, in my old sage 7.2 install the command > $ sage -sh -c lie > does start lie. Recent fix from John Palmieri (merged into 7.4.beta4 I think): diff --git a/build/pkgs/lie/spkg-install b/build/pkgs/lie/spkg-install index 3668c4c..282a127 100755 --- a/build/pkgs/lie/spkg-install +++ b/build/pkgs/lie/spkg-install @@ -27,7 +27,7 @@ $MAKE CC="$CC" || die "Error building LiE. Did you install bison?" # "install" the LiE package by moving over the complete build # directory to $SAGE_LOCAL/lib/lie cd .. -sed -e "s'$PWD/LiE'$SAGE_LOCAL/lib/LiE'" src/lie > src/lie~ +sed -e "s'$PWD/src'$SAGE_LOCAL/lib/LiE'" src/lie > src/lie~ mv src/lie~ src/lie chmod +x src/lie rm -rf "$SAGE_LOCAL"/lib/lie # clean up old versions Someone^TM borked it in May, apparently. Presumably simpler to just edit the broken script in $SAGE_ROOT/local/bin than to patch and reinstall LiE... (The real executable apparently is somewhere below $SAGE_ROOT/local/lib/LiE/.) -leif -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: logged out
On Monday, September 12, 2016 at 5:59:42 AM UTC, Anton Sherwood wrote: Oh heck. I used my local Sage "server" yesterday, and (thinking nothing of it) signed out before shutting it down; and now it wants me to sign in. I don't remember ever signing in before, and have no idea what it thinks my username is! On 2016-9-12 06:58, Dima Pasechnik wrote: admin (most probably, IMHO) And now when I fire it up I'm logged in, apparently as admin. Funny old world. I wonder whether there's a password. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Computation has been running for a very long time...
The reason i didn't run it in a terminal is because the terminal would stop working after 25 hours(I have 25 hours of inactive time) and, while I know how to keep a sage worksheet active, I don't know how to keep a terminal active without interrupting the calculation. I will try running it in the SMC terminal, however. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Interface to lie broken in sage 7.3?
In my install $ sage -sh -c "which lie" gives /home/baer/Sage/sage-7.3/local/bin/lie and $ sage -sh -c lie gives /home/baer/Sage/sage-7.3/local/bin/lie: Zeile 4: /home/baer/Sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: Datei oder Verzeichnis nicht gefunden In SageMathCloud $ sage -sh -c "which lie" gives /projects/sage/sage-7.3/local/bin/lie and $ sage -sh -c lie gives /projects/sage/sage-7.3/local/bin/lie: 4: exec: /projects/sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe: not found In constrast, in my old sage 7.2 install the command $ sage -sh -c lie does start lie. Christian -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Computation has been running for a very long time...
On Monday, September 12, 2016 at 2:38:48 PM UTC, leif wrote: > > saad khalid wrote: > > Hello everyone: > > > > I ran a computation on SMC that i figured would take some time. I'm > > generating 8000 groups, I believe, which is a slow process. Generating > > one group can take a few seconds, so I would expect generating 8000 > > groups to take 10-ish hours. However, this computation has been running > > for over 70 hours now, I believe. I keep the page from stopping by > > running some simple arithmetic on the side, so that the page stays > > active. It still says it is running but I can't tell if it actually is. > > The RAM usage on the page used to be going up but now it has stopped at > > 1198mb. Is there any way for me to know if the computation is still > > active, or how far it has gotten, without interrupting it? > > Get the PID and look at the process (e.g. "ps x | grep -w N" in a > shell, where N is the PID). > > I guess > > sage: macaulay2.pid() > > gives you the PID. > > > There are certainly smarter ways on SMC. > the smartest would be to run this directly in Macaulay2 (in SMC terminal). Otherwise you never know whether it's process communication that has failed for you here, or not. > > -leif > > > > > Here is the code I ran: > > > > | > > reset() > > macaulay2.eval(""" > > K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1)) > > needsPackage "InvariantRing" > > A = [] > > B = [] > > C = [] > > for a1 from 1 to 20 do (for a2 from 1 to 20 do (for a3 from 1 to 20 do A > > = A|[matrix{{zet^(a1),0,0},{0,zet^(a2),0},{0,0,zet^(a3)}}] ) ) > > for i from 0 to (#A-1) do B = B|[generateGroup({A#i},K)] > > for j from 0 to (#A-1) do C = C|[toString molienSeries B#j] > > """) > > | > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Computation has been running for a very long time...
saad khalid wrote: > Hello everyone: > > I ran a computation on SMC that i figured would take some time. I'm > generating 8000 groups, I believe, which is a slow process. Generating > one group can take a few seconds, so I would expect generating 8000 > groups to take 10-ish hours. However, this computation has been running > for over 70 hours now, I believe. I keep the page from stopping by > running some simple arithmetic on the side, so that the page stays > active. It still says it is running but I can't tell if it actually is. > The RAM usage on the page used to be going up but now it has stopped at > 1198mb. Is there any way for me to know if the computation is still > active, or how far it has gotten, without interrupting it? Get the PID and look at the process (e.g. "ps x | grep -w N" in a shell, where N is the PID). I guess sage: macaulay2.pid() gives you the PID. There are certainly smarter ways on SMC. -leif > > Here is the code I ran: > > | > reset() > macaulay2.eval(""" > K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1)) > needsPackage "InvariantRing" > A = [] > B = [] > C = [] > for a1 from 1 to 20 do (for a2 from 1 to 20 do (for a3 from 1 to 20 do A > = A|[matrix{{zet^(a1),0,0},{0,zet^(a2),0},{0,0,zet^(a3)}}] ) ) > for i from 0 to (#A-1) do B = B|[generateGroup({A#i},K)] > for j from 0 to (#A-1) do C = C|[toString molienSeries B#j] > """) > | -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Computation has been running for a very long time...
On Monday, September 12, 2016 at 2:19:50 PM UTC, saad khalid wrote: > > Hello everyone: > > I ran a computation on SMC that i figured would take some time. I'm > generating 8000 groups, I believe, which is a slow process. Generating one > group can take a few seconds, so I would expect generating 8000 groups to > take 10-ish hours. However, this computation has been running for over 70 > hours now, I believe. I keep the page from stopping by running some simple > arithmetic on the side, so that the page stays active. It still says it is > running but I can't tell if it actually is. The RAM usage on the page used > to be going up but now it has stopped at 1198mb. Is there any way for me to > know if the computation is still active, or how far it has gotten, without > interrupting it? > > Here is the code I ran: > > reset() > macaulay2.eval(""" > K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1)) > needsPackage "InvariantRing" > A = [] > B = [] > C = [] > for a1 from 1 to 20 do (for a2 from 1 to 20 do (for a3 from 1 to 20 do A = > A|[matrix{{zet^(a1),0,0},{0,zet^(a2),0},{0,0,zet^(a3)}}] ) ) > for i from 0 to (#A-1) do B = B|[generateGroup({A#i},K)] > for j from 0 to (#A-1) do C = C|[toString molienSeries B#j] > """) > it's essentially a question about Macaulay2 computation. perhaps it should go to the appropriate forum. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Computation has been running for a very long time...
Hello everyone: I ran a computation on SMC that i figured would take some time. I'm generating 8000 groups, I believe, which is a slow process. Generating one group can take a few seconds, so I would expect generating 8000 groups to take 10-ish hours. However, this computation has been running for over 70 hours now, I believe. I keep the page from stopping by running some simple arithmetic on the side, so that the page stays active. It still says it is running but I can't tell if it actually is. The RAM usage on the page used to be going up but now it has stopped at 1198mb. Is there any way for me to know if the computation is still active, or how far it has gotten, without interrupting it? Here is the code I ran: reset() macaulay2.eval(""" K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1)) needsPackage "InvariantRing" A = [] B = [] C = [] for a1 from 1 to 20 do (for a2 from 1 to 20 do (for a3 from 1 to 20 do A = A|[matrix{{zet^(a1),0,0},{0,zet^(a2),0},{0,0,zet^(a3)}}] ) ) for i from 0 to (#A-1) do B = B|[generateGroup({A#i},K)] for j from 0 to (#A-1) do C = C|[toString molienSeries B#j] """) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: win 10, virtualbox 5.1.4, sage 7.3
On Sunday, September 11, 2016 at 7:38:13 PM UTC, multiscalar wrote: > > You might want to consider just installing a linux virtual machine and > building sage from source there. > It's a little bit more work than importing an ova, but longterm it's more > usable. The linux OS + built sage > should fit in 10GBytes, so you can in principle have several versions > 10GB is wildly optimistic. With all the tools you need to build/run Sage, you probably would need that much for them, excluding Sage. I'd reserve at least 30 to 50 GB... > > On Thursday, September 8, 2016 at 11:19:33 AM UTC-7, Temperus Tempus wrote: >> >> Hello, >> >> I´ve installed virtualbox 5.1.4 on win10 system and imported sage 7.3.ova. >> When I try to start sage with the green arrow at virtual box it comes >> until the sage promt, where I have to login. >> When I login with sage, pw: sage, I get: Last login: ..." and prompt. >> The notebook didn´t start automatically. >> So I try to start it with "./ notebook-browser (as I found out with ls >> command). >> But I only get: (chromium-browser:1622): Gtk-WARNING **: cannot open >> display: >> What´s the problem? Couldn´t find any help in the net. >> >> Thanks in advance. >> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: logged out
On Monday, September 12, 2016 at 5:59:42 AM UTC, Anton Sherwood wrote: > > Oh heck. I used my local Sage "server" yesterday, and (thinking nothing > of it) signed out before shutting it down; and now it wants me to sign > in. I don't remember ever signing in before, and have no idea what it > thinks my username is! > admin (most probably, IMHO) > > -- > *\\* Anton Sherwood *\\* www.bendwavy.org > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Interface to lie broken in sage 7.3?
Before more investigation could you reproduce the output of the following command $ sage -sh -c "which lie" and see whether the following does start lie $ sage -sh -c lie Vincent On 12/09/16 11:14, Christian Bär wrote: In sage 7.2 the call lie(1+1) yields 2 as it should. In my sage 7.3 install however I get "TypeError: unable to start LiE" even though the optinal LiE package is installed. The same problem occurs in the SageMathCloud. Any ideas? The full output in sage 7.3 is: sage: lie(1+1) --- TypeError Traceback (most recent call last) in () > 1 lie(Integer(1)+Integer(1)) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 244 return cls(self, x, name=name) 245 try: --> 246 return self._coerce_from_special_method(x) 247 except TypeError: 248 raise /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _coerce_from_special_method(self, x) 272 return (x.__getattribute__(s))(self) 273 except AttributeError: --> 274 return self(x._interface_init_()) 275 276 def _coerce_impl(self, x, use_special=True): /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 242 243 if isinstance(x, six.string_types): --> 244 return cls(self, x, name=name) 245 try: 246 return self._coerce_from_special_method(x) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1380 except (RuntimeError, ValueError) as x: 1381 self._session_number = -1 -> 1382 raise_(TypeError, x, sys.exc_info()[2]) 1383 except BaseException: 1384 self._session_number = -1 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1375 else: 1376 try: -> 1377 self._name = parent._create(value, name=name) 1378 # Convert ValueError and RuntimeError to TypeError for 1379 # coercion to work properly. /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _create(self, value, name) 432 def _create(self, value, name=None): 433 name = self._next_var_name() if name is None else name --> 434 self.set(name, value) 435 return name 436 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in set(self, var, value) 689 """ 690 cmd = '%s=%s'%(var,value) --> 691 out = self.eval(cmd) 692 i = min( out.find('not defined'), out.find('\(in'), out.find('Argument types') ) 693 if i != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in eval(self, code, strip, **kwds) 671 '4' 672 """ --> 673 s = Expect.eval(self,code, strip=True, **kwds) 674 #return s.strip() 675 if len(s) > 0 and s.find("\n") != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, allow_use_file, split_lines, **kwds) 1292 elif split_lines: 1293 return '\n'.join([self._eval_line(L, allow_use_file=allow_use_file, **kwds) -> 1294 for L in code.split('\n') if L != '']) 1295 else: 1296 return self._eval_line(code, allow_use_file=allow_use_file, **kwds) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 656 657 """ --> 658 out = Expect._eval_line(self, line, allow_use_file=allow_use_file, wait_for_prompt=wait_for_prompt) 659 #Check to see if an error has occurred 660 err = max( out.find("\n(in"), out.find('not defined'), out.find('Argument types') ) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 903 try: 904 if self._expect is None: --> 905 self._start() 906 E = self._expect 907 try: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _start(self, alt_message, block_during_init) 500 self._expect = None 501
Re: [sage-support] Interface to lie broken in sage 7.3?
I installed it in the same way. In fact, lie.version() works and gives '2.1' as for you but all of the following give error messages: lie(1+1) lie('1+1') lie("1+1") And, as I mentioned, the same problem occurs in the SageMathCloud where they also use sage 7.3. So it's not related to my install and I guess there must be something wrong with the LiE interface in sage 7.3. Christian -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Interface to lie broken in sage 7.3?
How precisely did you install Lie? With the following steps it works on my computer (with Sage version 7.4.beta4) $ sage -i lie $ sage -b And I can do $ sage SageMath version 7.4.beta4 sage: lie.version() '2.1' sage: lie("1+1") 2 Vincent On 12/09/16 11:14, Christian Bär wrote: In sage 7.2 the call lie(1+1) yields 2 as it should. In my sage 7.3 install however I get "TypeError: unable to start LiE" even though the optinal LiE package is installed. The same problem occurs in the SageMathCloud. Any ideas? The full output in sage 7.3 is: sage: lie(1+1) --- TypeError Traceback (most recent call last) in () > 1 lie(Integer(1)+Integer(1)) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 244 return cls(self, x, name=name) 245 try: --> 246 return self._coerce_from_special_method(x) 247 except TypeError: 248 raise /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _coerce_from_special_method(self, x) 272 return (x.__getattribute__(s))(self) 273 except AttributeError: --> 274 return self(x._interface_init_()) 275 276 def _coerce_impl(self, x, use_special=True): /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 242 243 if isinstance(x, six.string_types): --> 244 return cls(self, x, name=name) 245 try: 246 return self._coerce_from_special_method(x) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1380 except (RuntimeError, ValueError) as x: 1381 self._session_number = -1 -> 1382 raise_(TypeError, x, sys.exc_info()[2]) 1383 except BaseException: 1384 self._session_number = -1 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1375 else: 1376 try: -> 1377 self._name = parent._create(value, name=name) 1378 # Convert ValueError and RuntimeError to TypeError for 1379 # coercion to work properly. /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _create(self, value, name) 432 def _create(self, value, name=None): 433 name = self._next_var_name() if name is None else name --> 434 self.set(name, value) 435 return name 436 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in set(self, var, value) 689 """ 690 cmd = '%s=%s'%(var,value) --> 691 out = self.eval(cmd) 692 i = min( out.find('not defined'), out.find('\(in'), out.find('Argument types') ) 693 if i != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in eval(self, code, strip, **kwds) 671 '4' 672 """ --> 673 s = Expect.eval(self,code, strip=True, **kwds) 674 #return s.strip() 675 if len(s) > 0 and s.find("\n") != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, allow_use_file, split_lines, **kwds) 1292 elif split_lines: 1293 return '\n'.join([self._eval_line(L, allow_use_file=allow_use_file, **kwds) -> 1294 for L in code.split('\n') if L != '']) 1295 else: 1296 return self._eval_line(code, allow_use_file=allow_use_file, **kwds) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 656 657 """ --> 658 out = Expect._eval_line(self, line, allow_use_file=allow_use_file, wait_for_prompt=wait_for_prompt) 659 #Check to see if an error has occurred 660 err = max( out.find("\n(in"), out.find('not defined'), out.find('Argument types') ) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 903 try: 904 if self._expect is None: --> 905 self._start() 906 E = self._expect 907 try: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _start(self, alt_message, block_during_init) 500
[sage-support] Interface to lie broken in sage 7.3?
In sage 7.2 the call lie(1+1) yields 2 as it should. In my sage 7.3 install however I get "TypeError: unable to start LiE" even though the optinal LiE package is installed. The same problem occurs in the SageMathCloud. Any ideas? The full output in sage 7.3 is: sage: lie(1+1) --- TypeError Traceback (most recent call last) in () > 1 lie(Integer(1)+Integer(1)) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 244 return cls(self, x, name=name) 245 try: --> 246 return self._coerce_from_special_method(x) 247 except TypeError: 248 raise /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _coerce_from_special_method(self, x) 272 return (x.__getattribute__(s))(self) 273 except AttributeError: --> 274 return self(x._interface_init_()) 275 276 def _coerce_impl(self, x, use_special=True): /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, x, name) 242 243 if isinstance(x, six.string_types): --> 244 return cls(self, x, name=name) 245 try: 246 return self._coerce_from_special_method(x) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1380 except (RuntimeError, ValueError) as x: 1381 self._session_number = -1 -> 1382 raise_(TypeError, x, sys.exc_info()[2]) 1383 except BaseException: 1384 self._session_number = -1 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1375 else: 1376 try: -> 1377 self._name = parent._create(value, name=name) 1378 # Convert ValueError and RuntimeError to TypeError for 1379 # coercion to work properly. /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in _create(self, value, name) 432 def _create(self, value, name=None): 433 name = self._next_var_name() if name is None else name --> 434 self.set(name, value) 435 return name 436 /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in set(self, var, value) 689 """ 690 cmd = '%s=%s'%(var,value) --> 691 out = self.eval(cmd) 692 i = min( out.find('not defined'), out.find('\(in'), out.find('Argument types') ) 693 if i != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in eval(self, code, strip, **kwds) 671 '4' 672 """ --> 673 s = Expect.eval(self,code, strip=True, **kwds) 674 #return s.strip() 675 if len(s) > 0 and s.find("\n") != -1: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, allow_use_file, split_lines, **kwds) 1292 elif split_lines: 1293 return '\n'.join([self._eval_line(L, allow_use_file=allow_use_file, **kwds) -> 1294 for L in code.split('\n') if L != '']) 1295 else: 1296 return self._eval_line(code, allow_use_file=allow_use_file, **kwds) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/lie.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 656 657 """ --> 658 out = Expect._eval_line(self, line, allow_use_file=allow_use_file, wait_for_prompt=wait_for_prompt) 659 #Check to see if an error has occurred 660 err = max( out.find("\n(in"), out.find('not defined'), out.find('Argument types') ) /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 903 try: 904 if self._expect is None: --> 905 self._start() 906 E = self._expect 907 try: /home/baer/bin/Sage/sage-7.3/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _start(self, alt_message, block_during_init) 500 self._expect = None 501 self._session_number = BAD_SESSION --> 502 raise RuntimeError("unable to start %s" % self.name()) 503 self._expect.timeout = None 504 TypeError: unable to start LiE -- You
[sage-support] logged out
Oh heck. I used my local Sage "server" yesterday, and (thinking nothing of it) signed out before shutting it down; and now it wants me to sign in. I don't remember ever signing in before, and have no idea what it thinks my username is! -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.