[sage-devel] Re: Errors in GAP small groups library

2018-02-18 Thread Alexander Konovalov
1) For info, CRISP is distributed under the BSD 2-Clause "Simplified" License, repository is at https://github.com/bh11/crisp 2) GAP never included the Braid package in the distribution, and this package was superseded by MapClass package which IS redistributed with GAP and will be updated for

[sage-devel] Re: Errors in GAP small groups library

2018-02-17 Thread Dima Pasechnik
On Saturday, February 17, 2018 at 11:53:51 AM UTC, Simon King wrote: > > Hi! > > On 2018-02-17, Dima Pasechnik > wrote: > > sage: gap_reset_workspace(verbose=True) > > Doing that, I get > sage: gap_reset_workspace(verbose=True) > Loading GAP package GAPDoc > Loading GAP package ctbllib

[sage-devel] Re: Errors in GAP small groups library

2018-02-17 Thread Simon King
Hi! On 2018-02-17, Dima Pasechnik wrote: > sage: gap_reset_workspace(verbose=True) Doing that, I get sage: gap_reset_workspace(verbose=True) Loading GAP package GAPDoc Loading GAP package ctbllib Loading GAP package sonata Loading GAP package guava Loading GAP package factint Loading GAP

Re: [sage-devel] Re: Errors in GAP small groups library

2018-02-17 Thread Dima Pasechnik
I can further add that GAP 4.9 fixes this: for computing NormalSubgroups(SmallGroup(1458,1180)); CRISP is no longer neeed. On Saturday, February 17, 2018 at 10:30:01 AM UTC, Dima Pasechnik wrote: > > > > On Saturday, February 17, 2018 at 7:31:19 AM UTC, David Roe wrote: >> >> I realized that I r

Re: [sage-devel] Re: Errors in GAP small groups library

2018-02-17 Thread Dima Pasechnik
On Saturday, February 17, 2018 at 7:31:19 AM UTC, David Roe wrote: > > I realized that I ran > sage: gap.eval('LoadAllPackages();') > which broke libgap. > Really? I don't think so. It didn't break it for me, although it did break GAP's workspaces, which is for some reason very fragile. (libG

Re: [sage-devel] Re: Errors in GAP small groups library

2018-02-17 Thread Dima Pasechnik
On Saturday, February 17, 2018 at 5:58:17 AM UTC, David Roe wrote: > > Thanks, that helps a lot. After some experimentation, it seems like > gap> LoadPackage("CRISP"); > is sufficient. > Indeed, thanks for digging this up. > > However, when I try to do it from sage I get the following: > sag

Re: [sage-devel] Re: Errors in GAP small groups library

2018-02-16 Thread David Roe
I realized that I ran sage: gap.eval('LoadAllPackages();') which broke libgap. For anyone else reading this, the following fixed the problem (taken from gap_reset_workspace, with sonata and guava removed due to "Warning: this should never happen" and braid removed because I don't have it installed

Re: [sage-devel] Re: Errors in GAP small groups library

2018-02-16 Thread David Roe
Thanks, that helps a lot. After some experimentation, it seems like gap> LoadPackage("CRISP"); is sufficient. However, when I try to do it from sage I get the following: sage: gap.eval('LoadPackage("CRISP");') Warning: this should never happen and sage hangs. Googling leads me to https://groups

[sage-devel] Re: Errors in GAP small groups library

2018-02-16 Thread Dima Pasechnik
The problem is in the packages loaded (or not) by Sage's GAP vs by GAP's GAP. Namely, if I start Sage's gap by ./sage --gap and do gap> LoadAllPackages(); gap> NormalSubgroups(SmallGroup(1458,1180)); I'd get your error Now, if I take GAP's source for 4.8.6: https://www.gap-system.org/pub/gap/gap4