Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Dima Pasechnik
Sage assumes that every GAP package that is installed can be used in its pexpect GAP as well as in its libgap GAP. And not every GAP package out there in GAP upstream tarball can be used in libgap, yet. Basically, packages that need compiling might need special treatment (have a look in build/pkgs/

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Vincent Delecroix
I can reproduce in a gap session by loading the workspace that SageMath created. More precisely with $ gap -r -L /home/vincent/.sage/gap/gap-workspace-0x1322bf55a264f3c9 -E I got gap> S := SymmetricGroup(7); Sym( [ 1 .. 7 ] ) gap> ConjugacyClassesSubgroups(S); Error, sorry, the GAP Tables Of Ma

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Dima Pasechnik
On Sun, Jun 23, 2019 at 5:39 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Sage does some funny things to launch gap > > - first of all gap inside Sage is started with a workspace >by the command line given as the output of >sage.interfaces.gap.gap_command() > > - secondly it

Re: [sage-devel] Re: Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
On Sun, Jun 23, 2019 at 6:24 PM Antonio Rojas wrote: > I just noticed this yesterday after updating GAP to 4.10.2 in Arch. > SymmetricGroup(n).conjugacy_classes_subgroups() works fine for n<=4, and > fails for n>=5. Same as you, it works after removing all additional GAP > packages. > > Additiona

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Vincent Delecroix
Sage does some funny things to launch gap - first of all gap inside Sage is started with a workspace by the command line given as the output of sage.interfaces.gap.gap_command() - secondly it loads a certain list of packages that is given by the function sage.tests.gap_packages.all_insta

[sage-devel] Re: Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Antonio Rojas
I just noticed this yesterday after updating GAP to 4.10.2 in Arch. SymmetricGroup(n).conjugacy_classes_subgroups() works fine for n<=4, and fails for n>=5. Same as you, it works after removing all additional GAP packages. Additionally, after the update (and with all GAP packages installed) som

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Vincent Delecroix
Now I do reproduce the error! Le 23/06/2019 à 17:51, Isuru Fernando a écrit : Hi, Thanks for trying out sage conda package. sage on conda comes only with "gap-core" which is just gap + those 4 packages. You need to install "gap" to get all the other packages. Isuru On Sun, Jun 23, 2019 at 5:4

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
Hi, Thanks for trying out sage conda package. sage on conda comes only with "gap-core" which is just gap + those 4 packages. You need to install "gap" to get all the other packages. Isuru On Sun, Jun 23, 2019 at 5:48 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Isuru, I installed s

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Vincent Delecroix
Isuru, I installed successfully Sage in conda yesterday and my version *does* work $ conda activate sage $ conda list|grep sage sage 8.8.rc1 py36hcb32578_0 conda-forge and then in the Sage console I obtain sage: SymmetricGroup(7).conjugacy_classes_subgroups() [Subgroup generated by [()] o

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
Yes, gap.load_package("tomlib") works and running the "SymmetricGroup(7).conjugacy_classes_subgroups()" command doesn't work even tomlib is imported. I cleared the gap workspace and it doesn't help either. Isuru On Sun, Jun 23, 2019 at 4:39 PM Dima Pasechnik wrote: > does > > sage: gap.load_pac

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Dima Pasechnik
does sage: gap.load_package("tomlib") work? if it does, do you get the same error message if you run your command after this one? On Sun, 23 Jun 2019 15:25 Isuru Fernando, wrote: > In the conda package for gap, we packaged almost all of the gap packages > (136 of 145) and sage pexpect gives a

[sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
In the conda package for gap, we packaged almost all of the gap packages (136 of 145) and sage pexpect gives an error for the following, sage: SymmetricGroup(7).conjugacy_classes_subgroups() saying, RuntimeError: Gap produced error output Error, sorry, the GAP Tables Of Marks Library is not insta