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 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 [()] of
>    (Symmetric group of order 7! as a permutation group),
> ...
>   Subgroup generated by [(1,2), (1,2,3,4,5,6,7)] of
>    (Symmetric group of order 7! as a permutatio
>
> However, launching gap I see a lot of warnings about missing packages
> such as
>
> #I  autpgrp package is not available. Check that the name is correct
> #I  and it is present in one of the GAP root directories (see
> '??RootPaths')
>
> and then gap informs me that only the following are available
>
> Packages:   GAPDoc 1.6.2, PrimGrp 3.3.2, SmallGrp 1.3, TransGrp 2.0.4
>
> It is clear that we don't have the same setup! What did i miss in the
> installation?
>
> Vincent
>
> Le 23/06/2019 à 16:44, Isuru Fernando a écrit :
> > 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 <dimp...@gmail.com>
> wrote:
> >
> >> 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, <isu...@gmail.com> wrote:
> >>
> >>> 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
> >>> <
> https://groups.google.com/d/msgid/sage-devel/CA%2B01voOFt2NxM%3DHoRWNfORifmOqX%2B_ULHe-BNY6PK-rEZ6JheQ%40mail.gmail.com?utm_medium=email&utm_source=footer
> >
> >>> .
> >>> For more options, visit https://groups.google.com/d/optout.
> >>>
> >> --
> >> 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/CAAWYfq1%3DjdZ5Emm4Eorm5Y4e1BFPQ1DwuxUdE00Z6aCfoANqqQ%40mail.gmail.com
> >> <
> https://groups.google.com/d/msgid/sage-devel/CAAWYfq1%3DjdZ5Emm4Eorm5Y4e1BFPQ1DwuxUdE00Z6aCfoANqqQ%40mail.gmail.com?utm_medium=email&utm_source=footer
> >
> >> .
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
>
> --
> 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/a3156d86-c6be-0561-2402-a3f338820fd2%40gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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%2B01voMobOYFFKBUL31qyS76VZjjPjibkTFpE-LPfOd_LSpEWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to