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.Sun, 17 Nov 2019 14:41:52 +0100Bug: Gap3 interface confuses variableshttps://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/Running
gap3('4', name = 'x')
gap3('5', name = 'y')
gap3('6', name = 'z')
followed up by
gap3('x')
gap3('y')
gap3('z')
gap3('x')
yields
4
5
6
6
instead of 4,5,6,4. Is this a bug or am I doing this wrong?
Update: I've tried it on a different computer (which uses a slightly older version of Sage) and did not have any issues there. I'm running the latest version of Sage here; any idea what might be causing this?
Update2: I'm experiencing the exact same problem on the other computer, when running slightly more complicated code: the gap3 interface seems to override its variables with other outputs.Bob67846Sun, 17 Nov 2019 14:41:52 +0100https://ask.sagemath.org/question/48786/Chevie on Windowshttps://ask.sagemath.org/question/46418/chevie-on-windows/Hello,
I am currently trying to install SageMath and gap3 (because I am in need of the Chevie package) on my Windows 7 computer. I am using Jean Michels gap3 for this, which I found at his website.
So I unpacked it to where my sage files are and tried "gap3 = Gap3(command='/usr/user/.sage/gap3-jm/bin/gap3.cmd')" , because it says on the doc.sagemath site that this will lead sage to the version of gap3 that I want to use (it says in the ReadMe that the cmd file is the one for Windows).
But if I type in "gap3" in sage afterwards gap3 doesnt open and if I try something like "x=gap3(1+1)" sage just tells me, that I didn't install gap3 the right way.
I am not able to provide links because of the Karma system, but I hope that it became clear what sites I am referring to.
I would be very happy if anyone could provide a fix to this.
ErratisWed, 01 May 2019 08:19:54 +0200https://ask.sagemath.org/question/46418/Conversion between Gap3 and Gap4 elementshttps://ask.sagemath.org/question/9229/conversion-between-gap3-and-gap4-elements/I am using Sage 4.7 with Gap4 (4.4.12) and Gap3 (3.4.4) -- Required for the Chevie package. The issue I am having is with what Sage declares a Gap element. I would like to create an instance of a group in gap3 then use it in sage as a gap element, however since it is a gap3 element not a gap4 element there seems to be some confusion in how sage handles the object (I assume this is due to how Gap4 has been rebuilt -- as noted in the documentation). The question I have, is there any function or method which will convert a gap3 element into a gap4 element which can then be used by Sage?
(I'm fairly new to Gap/Sage so I apologize if my understanding is incorrect)schrod121Mon, 13 Aug 2012 14:42:11 +0200https://ask.sagemath.org/question/9229/