Ah, I just found that I should specify the point as a list and not a tuple. Now it works. However, the error is sure weird and indecipherable!
Victor On Wednesday, April 24, 2013 8:22:33 AM UTC-4, Victor Miller wrote: > > In Sage 5.8 on a mac. I have a functioning (and licensed) magma on my > computer, and apparently sage is trying to call it. > > Victor > > R.<x,y,z> = QQ[] > F = x^3 + 2*x*(y^2 + y*z + z^2) + y*z*(y + z) > F(0,0,1) > > 0 > E = EllipticCurve_from_cubic(F,(0,0,1)) > > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "_sage_input_8.py", line 10, in <module> > exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 > -*-\\n" + > _support_.preparse_worksheet_cell(base64.b64decode("RSA9IEVsbGlwdGljQ3VydmVfZnJvbV9jdWJpYyhGLCgwLDAsMSkp"),globals())+"\\n"); > execfile(os.path.abspath("___code___.py")) > File "", line 1, in <module> > > File > "/private/var/folders/zs/sfhqf6rs4dgdjf89wmqsc6440000gn/T/tmpy6Qdo7/___code___.py", > line 3, in <module> > exec compile(u'E = EllipticCurve_from_cubic(F,(_sage_const_0 > ,_sage_const_0 ,_sage_const_1 )) > File "", line 1, in <module> > > File > "/Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/schemes/elliptic_curves/constructor.py", > line 575, in EllipticCurve_from_cubic > s = magma.eval(cmd) > File > "/Applications/Sage-5.8-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/interfaces/magma.py", > line 539, in eval > raise RuntimeError, "Error evaluating Magma code.\nIN:%s\nOUT:%s"%(x, ans) > RuntimeError: Error evaluating Magma code. > IN:aInvariants(MinimalModel(EllipticCurve(Curve(Scheme(P, x^3 + 2*x*y^2 + > 2*x*y*z + y^2*z + 2*x*z^2 + y*z^2)),P!(0, 0, 1)))); > OUT: > In file > "/Users/victorsmiller/.sage/temp/Victors_MacBook_Pro_2.local/7371/interface/tmp7444", > line 1, column 110: > >> x^3 + 2*x*y^2 + 2*x*y*z + y^2*z + 2*x*z^2 + y*z^2)),P!(0, 0, 1)))); > ^ > Runtime error in elt< ... >: No permutation group context in which to create > cycle > > > > > -- 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 http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.