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.Wed, 27 Nov 2019 12:28:46 +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.Sun, 17 Nov 2019 14:41:52 +0100https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/Comment by Iguananaut for <p>Running</p>
<pre><code>gap3('4', name = 'x')
gap3('5', name = 'y')
gap3('6', name = 'z')
</code></pre>
<p>followed up by</p>
<pre><code>gap3('x')
gap3('y')
gap3('z')
gap3('x')
</code></pre>
<p>yields</p>
<pre><code>4
5
6
6
</code></pre>
<p>instead of 4,5,6,4. Is this a bug or am I doing this wrong?</p>
<p>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?</p>
<p>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.</p>
https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48822#post-id-48822That's possible; the gap3 module is not well-tested or particularly maintained. It might be deprecated at some point.Wed, 20 Nov 2019 18:13:27 +0100https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48822#post-id-48822Comment by Iguananaut for <p>Running</p>
<pre><code>gap3('4', name = 'x')
gap3('5', name = 'y')
gap3('6', name = 'z')
</code></pre>
<p>followed up by</p>
<pre><code>gap3('x')
gap3('y')
gap3('z')
gap3('x')
</code></pre>
<p>yields</p>
<pre><code>4
5
6
6
</code></pre>
<p>instead of 4,5,6,4. Is this a bug or am I doing this wrong?</p>
<p>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?</p>
<p>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.</p>
https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48891#post-id-48891Is there something in particular forcing you to use gap3?Tue, 26 Nov 2019 15:45:01 +0100https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48891#post-id-48891Comment by Bob67846 for <p>Running</p>
<pre><code>gap3('4', name = 'x')
gap3('5', name = 'y')
gap3('6', name = 'z')
</code></pre>
<p>followed up by</p>
<pre><code>gap3('x')
gap3('y')
gap3('z')
gap3('x')
</code></pre>
<p>yields</p>
<pre><code>4
5
6
6
</code></pre>
<p>instead of 4,5,6,4. Is this a bug or am I doing this wrong?</p>
<p>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?</p>
<p>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.</p>
https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48898#post-id-48898Yes, the CHEVIE package - currently I'm doing some computations with braids.Tue, 26 Nov 2019 20:28:42 +0100https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48898#post-id-48898Comment by Iguananaut for <p>Running</p>
<pre><code>gap3('4', name = 'x')
gap3('5', name = 'y')
gap3('6', name = 'z')
</code></pre>
<p>followed up by</p>
<pre><code>gap3('x')
gap3('y')
gap3('z')
gap3('x')
</code></pre>
<p>yields</p>
<pre><code>4
5
6
6
</code></pre>
<p>instead of 4,5,6,4. Is this a bug or am I doing this wrong?</p>
<p>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?</p>
<p>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.</p>
https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48904#post-id-48904I had a feeling :/ Why don't you ask the authors of CHEVIE if they'd like to help maintain the gap3 interface to Sage, since they seem to think continuing to support gap3 is easier than porting their code to a system that's still supported :/
(P.S. I don't say this to be snarky to you; your problem is legitimate.)Wed, 27 Nov 2019 12:28:46 +0100https://ask.sagemath.org/question/48786/bug-gap3-interface-confuses-variables/?comment=48904#post-id-48904