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 installed I checked gap separately and tomlib imports fine and also running the equivalent command on gap runs fine. When I run the command in gap with the sage created workspace I get the same issue. I removed all gap packages except for the 18 packages that sage installs, cleared the cache and it works. So, this is clearly an issue with a package that sage doesn't install. Has anyone seen such an error before? Isuru --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-1-f1931822b935> in <module>() ----> 1 SymmetricGroup(Integer(7)).conjugacy_classes_subgroups() /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/groups/perm_gps/permgroup.pyc in conjugacy_classes_subgroups(self) 3372 - David Joyner (2006-10) 3373 """ -> 3374 cl = self._gap_().ConjugacyClassesSubgroups() 3375 return [self.subgroup(gap_group=sub.Representative()) for sub in cl] 3376 /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/interfaces/interface.pyc in __call__(self, *args, **kwds) 661 662 def __call__(self, *args, **kwds): --> 663 return self._obj.parent().function_call(self._name, [self._obj] + list(args), kwds) 664 665 def help(self): /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc in function_call(self, function, args, kwds) 937 # We combine the two commands so we only run eval() once and the 938 # only output would be from the second command --> 939 res = self.eval(marker+cmd) 940 else: 941 self.eval(marker) /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc in eval(self, x, newlines, strip, split_lines, **kwds) 581 if not input_line.endswith(';'): 582 input_line += ';' --> 583 result = Expect.eval(self, input_line, **kwds) 584 if not newlines: 585 result = result.replace("\\\n","") /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, allow_use_file, split_lines, **kwds) 1350 elif split_lines: 1351 return '\n'.join([self._eval_line(L, allow_use_file=allow_use_file, **kwds) -> 1352 for L in code.split('\n') if L != '']) 1353 else: 1354 return self._eval_line(code, allow_use_file=allow_use_file, **kwds) /projects/3ae7bec7-0b36-47fd-9e01-c1fda619cf35/conda-sagelib-tests/sagemath/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt, restart_if_needed) 788 return '' 789 else: --> 790 raise RuntimeError(message) 791 792 except KeyboardInterrupt: RuntimeError: Gap produced error output Error, sorry, the GAP Tables Of Marks Library is not installed executing __SAGE_LAST__:="__SAGE_LAST__";;ConjugacyClassesSubgroups(\$sage1);; -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CA%2B01voOFt2NxM%3DHoRWNfORifmOqX%2B_ULHe-BNY6PK-rEZ6JheQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.