ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 08 Apr 2019 16:26:52 +0200Why does Sage Math crash instantly? / Running .sage files?https://ask.sagemath.org/question/46051/why-does-sage-math-crash-instantly-running-sage-files/ Hello.
First of all, I need to Mention that I am completely new to Sage Math and I have no idea what causes my problem(s), like seriousely, no idea.
When I start SageMath, it instantly crashes, I don't even touch anything. I'm running Windows 10 and I downloaded the binaries, a virtual box and this sage-8.6.tar.gz file. I am sure that I must be missing something but I don't know what.
Yesterday, I managed to get Sage to work, so in the terminal i could write simple commands like
sage:4+3
and later, I reinstalled python. Now it does not work anymore. My original aim was it to have sagetex in Latex, but for some reason running the .sage file which is created with every document using sagetex doesn't do anything and sage does not compile my document. And yes, I did follow the instructions how to make sagetex known to tex.
I have no idea how to continue, so many problems and i'm desperately trying to get things to work. (Feel like I downloaded half the Internet...) LilanarusMon, 08 Apr 2019 16:26:52 +0200https://ask.sagemath.org/question/46051/groebner_basis() makes singular crashhttps://ask.sagemath.org/question/26633/groebner_basis-makes-singular-crash/ Hi,
I am obtaining the following error
Singular crashed -- automatically restarting.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_13.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("SS5ncm9lYm5lcl9iYXNpcygp"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/private/var/folders/n0/xtxhjph92sx243qp7jk1fjkc0000gn/T/tmprpswoC/___code___.py", line 2, in <module>
exec compile(u'I.groebner_basis()
File "", line 1, in <module>
File "sage/misc/cachefunc.pyx", line 1889, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:11355)
File "sage/misc/cachefunc.pyx", line 2545, in sage.misc.cachefunc.CachedMethod._instance_call (build/cythonized/sage/misc/cachefunc.c:14801)
File "/Applications/sage/local/lib/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 3640, in groebner_basis
gb = self._groebner_basis_singular("groebner", deg_bound=deg_bound, mult_bound=mult_bound, *args, **kwds)
File "/Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 2575, in wrapper
return func(*args, **kwds)
File "/Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 2530, in __exit__
self.singular.option("set",self.o)
File "/Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 1162, in option
self.eval("option(set,%s)"%val.name())
File "/Applications/sage/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 590, in eval
raise SingularError('Singular error:\n%s'%s)
sage.interfaces.singular.SingularError: Singular error:
? unknown option `set`
? unknown option `sage61`
? error occurred in or before STDIN line 11: `option(set,sage61);`
When trying to execute the following code in sage (actually it is the bare minimum needed to obtain such an error)
CF.<a1, b1, b2, q1, q2, r1, r2, d1, d2> = QQ[];
FF = Frac(CF);
R1.<x1, x2, x3, w1> = PolynomialRing(FF,4,order='degrevlex');
I = R1*ideal(b1^2*r1^2*r2^2*x1^2 + 2*b2^2*r1^3*r2*x1*x2 + (-b1^2*r1*r2^2*d1)*x2^2 +
(-2*a1*r1^3*r2^2)*x1 - q1*r1^3*r2^2,(-b2^2*r1^2*r2*d2)*x1^2 + 2*b1^2*r1*r2^3*x1*x2 + b2^2*r1^2*r2^2*x2^2+(-2*a1*r1^2*r2^3)*x2 - q2*r1^2*r2^3,(-2*b1^2*r1*r2^2)*x1*x3*w1^2+(-2*b2^2*r1^2*r2)*x2*x3*w1^2+2*a1*r1^2*r2^2*x3*w1^2+r1^2*r2^2*w1^2-r1^2*r2^2);
B = I.groebner_basis();
Does anyone have an idea of why does this error occur?
Any help is appreciated.
CorradoFri, 24 Apr 2015 09:10:29 +0200https://ask.sagemath.org/question/26633/What do these messages after a crash indicate?https://ask.sagemath.org/question/8869/what-do-these-messages-after-a-crash-indicate/I was recently running a script I wrote to triangulate a polygon, and after a few hours sage crashed. I was left with the following messages:
/usr/local/bin/sage/local/bin/sage-sage: line 301: 20880 Killed sage-cleaner &>/dev/null
/usr/local/bin/sage/local/bin/sage-sage: line 301: 20881 Killed sage-ipython "$@" -i
What happened? What do these messages indicate?BillMon, 09 Apr 2012 22:57:46 +0200https://ask.sagemath.org/question/8869/