Hi!
I thought that sage's pexpect interface to GAP just launches "sage -gap"
and then sends strings that are evaluated in the subprocess.
Hence, I am very surprised by the following.
I have installed GAP's ModIsom package, and in "sage -gap" I see that it
really is available:
gap> RequirePackage("ModIsom");
Loading ModIsom 2.0...
true
gap> $sage2:=NilpotentQuotientOfFpAlgebra;
function( arg ) ... end
Doing the same in the pexpect interface, I get
sage: gap.RequirePackage('"ModIsom"')
Traceback (most recent call last):
...
RuntimeError: Gap produced error output
Error, Variable: 'WeightVector' is read only
Error, was not in any namespace
Error, was not in any namespace
executing RequirePackage($sage1);
Amazingly, when immediately retrying to load the package, it seems to
work:
sage: gap.RequirePackage('"ModIsom"')
true
But actually it doesn:
sage: gap("NilpotentQuotientOfFpAlgebra")
Traceback (most recent call last):
...
TypeError: Gap produced error output
Error, Variable: 'NilpotentQuotientOfFpAlgebra' must have a value
executing $sage2:=NilpotentQuotientOfFpAlgebra;;
What is wrong here?
Best regards,
Simon
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.