The option `allow_use_file` seems to be the problem as setting it
to False make the issue disappear.

sage: for i in range(10):
....:     print(i)
....: gap.eval("D_4 := SmallGroup(8,3);;" + "IsSolvable(D_4);"*i, allow_use_file=False)
0
''
1
'true'
2
'true\ntrue'
3
'true\ntrue\ntrue'
4
'true\ntrue\ntrue\ntrue'
5
'true\ntrue\ntrue\ntrue\ntrue'
6
'true\ntrue\ntrue\ntrue\ntrue\ntrue'
7
'true\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue'
8
'true\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue'
9
'true\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue\ntrue'


Le 29/04/2019 à 04:28, Vincent Delecroix a écrit :
I confirm the bug on arch. It seems to me that there is
something related to the "input length" (but nothing about the
specific commands)

sage: for i in range(10):
....:     print(i)
....:     gap.eval("D_4 := SmallGroup(8,3);;" + "IsSolvable(D_4);" * i)
0
''
1
'true'
2
'true\ntrue'
3
'true\ntrue\ntrue'
4
'true\ntrue\ntrue\ntrue'
5
''
6
''
7
''
8
''
9
''

Vincent

Le 29/04/2019 à 02:30, Andrey Novoseltsev a écrit :
Hello,

I got a report about GAP problem in SageMathCell, but it looks like the GAP
interface in Sage itself is having issues. I am getting an empty string
from the following command:
sage: print(gap.eval("""
....: D_4 := SmallGroup(8,3);
....: IsAbelian( D_4 );
....: List( ConjugacyClasses( D_4 ), Size );
....: IsCyclic( D_4 );
....: Size( AllSubgroups( D_4 ) );
....: Size( Set( D_4, Order ) );
....: IsSolvable( D_4 );"""))

All commands work fine in GAP and even in Sage each one seems to be
working, but certain combinations of them do not, while some do - I can't
understand the system here...

Does anyone have any ideas on what is going on?

Thank you!
Andrey


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to